    /* ===== LOGIN PAGE — Shipibo-Cyber ===== */
    .auth-page {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6rem 2rem 4rem;
        position: relative;
    }

    /* Shipibo geometric background for auth pages */
    .auth-page::before {
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;
        background:
            /* Sacred diamond lattice */
            repeating-linear-gradient(
                45deg,
                transparent,
                transparent 50px,
                rgba(196, 162, 101, 0.04) 50px,
                rgba(196, 162, 101, 0.04) 51px
            ),
            repeating-linear-gradient(
                -45deg,
                transparent,
                transparent 50px,
                rgba(196, 162, 101, 0.04) 50px,
                rgba(196, 162, 101, 0.04) 51px
            ),
            radial-gradient(ellipse at 50% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 60%),
            radial-gradient(ellipse at 30% 70%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
        z-index: 0;
    }

    .auth-card {
        background: rgba(26, 22, 16, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(196, 162, 101, 0.15);
        border-radius: 16px;
        padding: 3rem 2.5rem;
        max-width: 420px;
        width: 100%;
        position: relative;
        overflow: hidden;
        z-index: 1;
        animation: shimmerReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(196, 162, 101, 0.03);
    }

    .auth-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), var(--accent), var(--gold), transparent);
    }

    /* Kene corner accents */
    .auth-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.1), transparent);
    }

    .auth-title {
        font-family: 'Cinzel', serif;
        font-size: 1.8rem;
        font-weight: 900;
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        margin-bottom: 0.5rem;
        letter-spacing: 0.06em;
    }

    .auth-subtitle {
        text-align: center;
        color: var(--text-secondary);
        font-size: 0.95rem;
        margin-bottom: 2rem;
        font-family: 'Cormorant Garamond', serif;
        font-style: italic;
    }

    .auth-error {
        background: rgba(255, 107, 53, 0.08);
        border: 1px solid rgba(255, 107, 53, 0.25);
        color: var(--fire);
        padding: 0.75rem 1rem;
        border-radius: 8px;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        text-align: center;
        font-family: 'Rajdhani', sans-serif;
    }

    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    .form-group label {
        font-size: 0.8rem;
        font-weight: 600;
        font-family: 'Rajdhani', sans-serif;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.12em;
    }

    .form-input {
        background: rgba(10, 10, 8, 0.6);
        border: 1px solid rgba(196, 162, 101, 0.12);
        border-radius: 8px;
        padding: 0.75rem 1rem;
        color: var(--text-primary);
        font-size: 0.95rem;
        font-family: 'Cormorant Garamond', serif;
        transition: border-color 0.3s, box-shadow 0.3s;
        outline: none;
    }

    .form-input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.1), 0 0 20px rgba(0, 229, 255, 0.05);
    }

    .form-input::placeholder {
        color: var(--text-secondary);
        opacity: 0.5;
        font-style: italic;
    }

    .auth-submit {
        background: linear-gradient(135deg, rgba(196, 162, 101, 0.3), rgba(0, 229, 255, 0.2));
        color: var(--accent);
        border: 1px solid rgba(0, 229, 255, 0.2);
        padding: 0.85rem;
        border-radius: 8px;
        font-family: 'Cinzel', serif;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 0.5rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .auth-submit:hover {
        background: linear-gradient(135deg, rgba(196, 162, 101, 0.35), rgba(0, 229, 255, 0.25));
        box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
        transform: translateY(-1px);
    }

    .auth-switch {
        text-align: center;
        margin-top: 1.5rem;
        font-size: 0.85rem;
        color: var(--text-secondary);
        font-family: 'Cormorant Garamond', serif;
    }

    .auth-switch a {
        color: var(--gold);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.3s, text-shadow 0.3s;
    }

    .auth-switch a:hover {
        color: var(--gold-light);
        text-shadow: 0 0 10px rgba(196, 162, 101, 0.3);
    }

    /* Passkey Login */
    .auth-divider {
        display: flex;
        align-items: center;
        margin: 1.5rem 0;
        gap: 1rem;
    }

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border), transparent);
    }

    .auth-divider span {
        font-size: 0.8rem;
        font-family: 'Rajdhani', sans-serif;
        color: var(--text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .passkey-login-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: rgba(0, 229, 255, 0.06);
        border: 1px solid rgba(0, 229, 255, 0.2);
        color: var(--accent);
        padding: 0.85rem;
        border-radius: 8px;
        font-family: 'Rajdhani', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .passkey-login-btn:hover {
        background: rgba(0, 229, 255, 0.1);
        border-color: rgba(0, 229, 255, 0.35);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 229, 255, 0.1);
    }

    .passkey-login-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    .passkey-btn-icon {
        font-size: 1.2rem;
    }

    .passkey-login-status {
        margin-top: 0.75rem;
        padding: 0.65rem 0.75rem;
        border-radius: 8px;
        font-size: 0.85rem;
        text-align: center;
        font-family: 'Rajdhani', sans-serif;
    }

    .passkey-login-status.error {
        background: rgba(255, 107, 53, 0.08);
        border: 1px solid rgba(255, 107, 53, 0.25);
        color: var(--fire);
    }

    .passkey-login-status.loading {
        background: rgba(0, 229, 255, 0.06);
        border: 1px solid rgba(0, 229, 255, 0.15);
        color: var(--accent);
    }

    @keyframes shimmerReveal {
        0% {
            opacity: 0;
            transform: translateY(20px);
            filter: blur(4px);
        }
        60% {
            filter: blur(0);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }
