﻿/* PAGE -- login_desktop | Auto-extracted */

/* ══════════════════════════════════════
       DESIGN DIRECTION: Luxury Dark Cinema
       Typography: Plus Jakarta Sans (display)
                  + Space Grotesk (body)
       Color Story: Deep noir + molten gold
       ══════════════════════════════════════ */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
        --auth-bg: #040406;
        --auth-surface: #0c0c10;
        --auth-surface-elevated: #141418;
        --auth-gold: #C9A84C;
        --auth-gold-light: #FFD700;
        --auth-gold-glow: rgba(201, 168, 76, 0.15);
        --auth-text: #FFFFFF;
        --auth-text-secondary: rgba(255, 255, 255, 0.55);
        --auth-text-muted: rgba(255, 255, 255, 0.3);
        --auth-border: rgba(255, 255, 255, 0.06);
        --auth-border-focus: rgba(201, 168, 76, 0.5);
        --auth-input-bg: rgba(255, 255, 255, 0.025);
        --auth-radius: 16px;
    }

    body {
        background: var(--auth-bg);
        font-family: 'Space Grotesk', 'Inter', sans-serif;
        min-height: 100vh;
        display: flex;
        margin: 0;
        overflow: hidden;
        color: var(--auth-text);
    }

    /* ── Split Layout ── */
    .auth-split {
        display: flex;
        width: 100%;
        min-height: 100vh;
    }

    /* ── LEFT: Banner / Visual Panel ── */
    .auth-visual {
        flex: 1;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Banner Image (when uploaded) */
    .auth-visual-banner {
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    .auth-visual-banner img,
    .auth-visual-banner video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Subtle vignette on banner */
    .auth-visual-banner::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at center, transparent 40%, rgba(4,4,6,0.7) 100%);
        pointer-events: none;
    }

    /* Placeholder (when no banner) */
    .auth-visual-placeholder {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: var(--auth-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px;
        text-align: center;
    }

    /* Animated mesh gradient background */
    .placeholder-mesh {
        position: absolute;
        inset: 0;
        background: 
            radial-gradient(circle at 20% 80%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
        animation: meshShift 8s ease-in-out infinite;
    }
    @keyframes meshShift {
        0%, 100% { transform: scale(1) rotate(0deg); }
        33% { transform: scale(1.05) rotate(1deg); }
        66% { transform: scale(0.98) rotate(-1deg); }
    }

    /* Floating particles */
    .particles {
        position: absolute;
        inset: 0;
        overflow: hidden;
    }
    .particle {
        position: absolute;
        width: 2px;
        height: 2px;
        background: var(--auth-gold);
        border-radius: 50%;
        opacity: 0;
        animation: particleFloat linear infinite;
    }
    .particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
    .particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: 2s; }
    .particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: 4s; }
    .particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s; }
    .particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: 3s; }
    .particle:nth-child(6) { left: 85%; animation-duration: 13s; animation-delay: 5s; }
    .particle:nth-child(7) { left: 15%; animation-duration: 16s; animation-delay: 6s; }
    .particle:nth-child(8) { left: 60%; animation-duration: 9s; animation-delay: 2.5s; }
    @keyframes particleFloat {
        0% { transform: translateY(100vh) scale(0); opacity: 0; }
        10% { opacity: 0.6; }
        90% { opacity: 0.2; }
        100% { transform: translateY(-20vh) scale(1); opacity: 0; }
    }

    /* Grid overlay */
    .placeholder-grid {
        position: absolute;
        inset: 0;
        background-image: 
            linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
        background-size: 60px 60px;
    }

    /* Placeholder content */
    .placeholder-content {
        position: relative;
        z-index: 2;
        max-width: 420px;
    }

    .placeholder-icon-ring {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        border: 2px solid rgba(201, 168, 76, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 36px;
        position: relative;
        animation: ringPulse 3s ease-in-out infinite;
    }
    .placeholder-icon-ring::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        border: 1px solid rgba(201, 168, 76, 0.06);
    }
    .placeholder-icon-ring i {
        font-size: 3rem;
        background: linear-gradient(135deg, var(--auth-gold), var(--auth-gold-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.4));
    }
    @keyframes ringPulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.1); }
        50% { box-shadow: 0 0 0 20px rgba(201, 168, 76, 0); }
    }

    .placeholder-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--auth-text);
        margin-bottom: 16px;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    .placeholder-title span {
        background: linear-gradient(135deg, var(--auth-gold), var(--auth-gold-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .placeholder-desc {
        color: var(--auth-text-secondary);
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }

    /* Feature pills */
    .feature-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .feature-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 18px;
        background: rgba(201, 168, 76, 0.06);
        border: 1px solid rgba(201, 168, 76, 0.1);
        border-radius: 100px;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--auth-text-secondary);
        backdrop-filter: blur(10px);
        transition: all 0.3s;
    }
    .feature-pill:hover {
        background: rgba(201, 168, 76, 0.12);
        border-color: rgba(201, 168, 76, 0.25);
        color: var(--auth-text);
        transform: translateY(-2px);
    }
    .feature-pill i {
        color: var(--auth-gold);
        font-size: 0.85rem;
    }

    /* Divider line between panels */
    .auth-visual::after {
        content: '';
        position: absolute;
        top: 10%;
        right: 0;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.4), rgba(201, 168, 76, 0.2), transparent);
        z-index: 10;
    }

    /* ── RIGHT: Form Panel ── */
    .auth-form-panel {
        width: 520px;
        min-width: 420px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px 56px;
        background: var(--auth-surface);
        position: relative;
        overflow-y: auto;
    }

    /* Subtle ambient glow at top */
    .auth-form-panel::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 200px;
        background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
        pointer-events: none;
    }

    .form-inner {
        position: relative;
        z-index: 2;
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
        animation: formFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes formFadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Logo */
    .form-logo {
        margin-bottom: 40px;
    }
    .form-logo img {
        max-height: 36px;
        max-width: 160px;
        object-fit: contain;
    }
    .form-logo-text {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--auth-text);
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .form-logo-text i {
        color: var(--auth-gold-light);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    }

    /* Headings */
    .form-heading {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 1.85rem;
        font-weight: 800;
        color: var(--auth-text);
        margin-bottom: 8px;
        letter-spacing: -0.3px;
    }
    .form-subheading {
        color: var(--auth-text-secondary);
        font-size: 0.95rem;
        margin-bottom: 36px;
        line-height: 1.5;
    }

    /* Alert */
    .auth-alert {
        background: rgba(239, 68, 68, 0.08);
        border: 1px solid rgba(239, 68, 68, 0.2);
        border-radius: 12px;
        padding: 14px 18px;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.88rem;
        color: #f87171;
        animation: alertShake 0.4s ease;
    }
    @keyframes alertShake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }
    .auth-alert i { font-size: 1.1rem; flex-shrink: 0; }

    /* Resend verification */
    .resend-box {
        background: rgba(201, 168, 76, 0.05);
        border: 1px solid rgba(201, 168, 76, 0.15);
        border-radius: 12px;
        padding: 16px;
        text-align: center;
        margin-bottom: 24px;
    }
    .resend-box p {
        font-size: 0.85rem;
        color: var(--auth-text-secondary);
        margin-bottom: 10px;
    }
    .resend-btn {
        background: transparent;
        border: 1px solid var(--auth-gold);
        color: var(--auth-gold);
        padding: 8px 20px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
    }
    .resend-btn:hover {
        background: rgba(201, 168, 76, 0.1);
        color: var(--auth-gold-light);
    }

    /* Input Group */
    .auth-field {
        margin-bottom: 24px;
    }
    .auth-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    .auth-label span {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--auth-text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }
    .auth-label a {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--auth-gold);
        text-decoration: none;
        transition: color 0.2s;
    }
    .auth-label a:hover { color: var(--auth-gold-light); }

    .auth-input-wrap {
        position: relative;
        display: flex;
        align-items: center;
    }
    .auth-input-icon {
        position: absolute;
        left: 18px;
        color: var(--auth-text-muted);
        font-size: 0.9rem;
        transition: color 0.3s;
        z-index: 2;
        pointer-events: none;
    }
    .auth-input {
        width: 100%;
        padding: 16px 18px 16px 48px;
        background: var(--auth-input-bg);
        border: 1px solid var(--auth-border);
        border-radius: var(--auth-radius);
        color: var(--auth-text);
        font-size: 0.95rem;
        font-family: 'Space Grotesk', sans-serif;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        outline: none;
    }
    .auth-input::placeholder {
        color: var(--auth-text-muted);
    }
    .auth-input:focus {
        border-color: var(--auth-border-focus);
        background: rgba(201, 168, 76, 0.03);
        box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.06), 0 0 20px rgba(201, 168, 76, 0.04);
    }
    .auth-input:focus ~ .auth-input-icon,
    .auth-input-wrap:focus-within .auth-input-icon {
        color: var(--auth-gold);
    }

    /* Password toggle */
    .auth-pw-toggle {
        position: absolute;
        right: 16px;
        background: none;
        border: none;
        color: var(--auth-text-muted);
        cursor: pointer;
        padding: 4px;
        transition: color 0.2s;
        z-index: 2;
    }
    .auth-pw-toggle:hover { color: var(--auth-text-secondary); }

    /* Submit Button */
    .auth-submit {
        width: 100%;
        padding: 16px;
        background: linear-gradient(135deg, var(--auth-gold), var(--auth-gold-light));
        color: #000;
        border: none;
        border-radius: var(--auth-radius);
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: 0.3px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 24px rgba(201, 168, 76, 0.25);
        margin-bottom: 28px;
    }
    .auth-submit::after {
        content: '';
        position: absolute;
        top: -50%; left: -60%;
        width: 40%; height: 200%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
        transform: skewX(-20deg);
        animation: shimmer 3.5s ease-in-out infinite;
    }
    @keyframes shimmer {
        0%, 100% { left: -60%; }
        50% { left: 130%; }
    }
    .auth-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(201, 168, 76, 0.35);
    }
    .auth-submit:active {
        transform: translateY(0);
        box-shadow: 0 4px 16px rgba(201, 168, 76, 0.2);
    }

    /* Footer link */
    .auth-footer {
        text-align: center;
        font-size: 0.9rem;
        color: var(--auth-text-secondary);
    }
    .auth-footer a {
        color: var(--auth-gold);
        font-weight: 700;
        text-decoration: none;
        position: relative;
        transition: color 0.2s;
    }
    .auth-footer a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: var(--auth-gold-light);
        transition: width 0.3s;
    }
    .auth-footer a:hover { color: var(--auth-gold-light); }
    .auth-footer a:hover::after { width: 100%; }

    /* Responsive */
    @media (max-width: 1024px) {
        .auth-visual { display: none; }
        .auth-form-panel {
            width: 100%;
            min-width: unset;
            padding: 40px 32px;
        }
    }
