:root {
            --primary: #6c63ff;
            --primary-rgb: 108,99,255;
            --secondary: #00d4ff;
            --secondary-rgb: 0,212,255;
            --accent: #ff6b6b;
            --accent-rgb: 255,107,107;
            --gold: #f59e0b;
            --emerald: #10b981;
            --dark: #06080f;
            --dark2: #0b0f1a;
            --dark3: #111827;
            --card: rgba(15,20,40,0.75);
            --card-solid: #0f1428;
            --border: rgba(108,99,255,0.18);
            --border-light: rgba(255,255,255,0.06);
            --text: #e8edf5;
            --muted: #8896b0;
            --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font2: 'Space Grotesk', sans-serif;
            --glow-primary: 0 0 30px rgba(var(--primary-rgb),0.4);
            --glow-secondary: 0 0 30px rgba(var(--secondary-rgb),0.3);
            --radius: 16px;
            --radius-sm: 10px;
            --radius-lg: 24px;
            --transition: all 0.35s cubic-bezier(.4,0,.2,1);
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            background: var(--dark);
            color: var(--text);
            font-family: var(--font);
            overflow-x: hidden;
            line-height: 1.6;
        }

        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: var(--dark2); }
        ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 10px; }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

/* ═══════════════════════════════════════════════════════════
       SOCIAL VISTA — PREMIUM LOGIN PAGE
       Glassmorphism · Animated Orbs · Floating Labels · Split Card
       ═══════════════════════════════════════════════════════════ */

    /* ── Auth Wrapper ──────────────────────────────────────── */
    .auth-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        position: relative;
        overflow: hidden;
    }

    /* ── Animated Background ───────────────────────────────── */
    .auth-bg {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }

    .auth-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(rgba(8,12,20,0.92), rgba(8,12,20,0.96)),
            url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 60V0h1v60zm60 0V0h1v60zM0 0h60v1H0zm0 60h60v1H0z' fill='rgba(108,99,255,0.04)'/%3E%3C/svg%3E");
        z-index: 1;
    }

    .bg-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: 0.35;
        will-change: transform;
    }

    .bg-orb--1 {
        width: 500px; height: 500px;
        background: radial-gradient(circle, var(--primary), transparent 70%);
        top: -10%; left: -8%;
        animation: orbFloat1 18s ease-in-out infinite;
    }

    .bg-orb--2 {
        width: 420px; height: 420px;
        background: radial-gradient(circle, var(--secondary), transparent 70%);
        bottom: -12%; right: -6%;
        animation: orbFloat2 22s ease-in-out infinite;
    }

    .bg-orb--3 {
        width: 300px; height: 300px;
        background: radial-gradient(circle, var(--accent), transparent 70%);
        top: 40%; left: 55%;
        animation: orbFloat3 15s ease-in-out infinite;
        opacity: 0.18;
    }

    .bg-orb--4 {
        width: 220px; height: 220px;
        background: radial-gradient(circle, var(--gold), transparent 70%);
        top: 15%; right: 20%;
        animation: orbFloat4 20s ease-in-out infinite;
        opacity: 0.15;
    }

    .bg-orb--5 {
        width: 180px; height: 180px;
        background: radial-gradient(circle, #a78bfa, transparent 70%);
        bottom: 25%; left: 15%;
        animation: orbFloat5 17s ease-in-out infinite;
        opacity: 0.12;
    }

    @keyframes orbFloat1 {
        0%, 100% { transform: translate(0, 0) scale(1); }
        25% { transform: translate(60px, 40px) scale(1.08); }
        50% { transform: translate(30px, -30px) scale(0.95); }
        75% { transform: translate(-40px, 20px) scale(1.04); }
    }
    @keyframes orbFloat2 {
        0%, 100% { transform: translate(0, 0) scale(1); }
        25% { transform: translate(-50px, -35px) scale(1.06); }
        50% { transform: translate(-20px, 50px) scale(0.92); }
        75% { transform: translate(40px, -20px) scale(1.03); }
    }
    @keyframes orbFloat3 {
        0%, 100% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(-60px, 30px) scale(1.1); }
        66% { transform: translate(40px, -50px) scale(0.9); }
    }
    @keyframes orbFloat4 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(-30px, 40px); }
    }
    @keyframes orbFloat5 {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        50% { transform: translate(50px, -30px) rotate(180deg); }
    }

    /* ── Grid Pattern Overlay ──────────────────────────────── */
    .grid-overlay {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image:
            linear-gradient(rgba(108,99,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(108,99,255,0.03) 1px, transparent 1px);
        background-size: 40px 40px;
        mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
        -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    }

    /* ── Auth Card ─────────────────────────────────────────── */
    .auth-card {
        position: relative;
        z-index: 2;
        display: flex;
        max-width: 920px;
        width: 100%;
        border-radius: 24px;
        overflow: hidden;
        background: rgba(18, 25, 45, 0.55);
        backdrop-filter: blur(40px) saturate(1.4);
        -webkit-backdrop-filter: blur(40px) saturate(1.4);
        border: 1px solid rgba(108,99,255,0.15);
        box-shadow:
            0 30px 80px rgba(0,0,0,0.45),
            0 0 0 1px rgba(108,99,255,0.08),
            inset 0 1px 0 rgba(255,255,255,0.04);
        animation: cardEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        opacity: 0;
    }

    @keyframes cardEntrance {
        0% {
            opacity: 0;
            transform: translateY(50px) scale(0.96);
            filter: blur(6px);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    /* ── Left Branding Panel ───────────────────────────────── */
    .auth-brand {
        flex: 0 0 380px;
        position: relative;
        padding: 48px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(160deg, rgba(108,99,255,0.18) 0%, rgba(0,212,255,0.08) 50%, rgba(108,99,255,0.12) 100%);
        border-right: 1px solid rgba(108,99,255,0.1);
    }

    .auth-brand::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 20% 80%, rgba(108,99,255,0.15), transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(0,212,255,0.1), transparent 50%);
        z-index: 0;
    }

    /* Floating orbs inside left panel */
    .brand-orb {
        position: absolute;
        border-radius: 50%;
        z-index: 0;
    }

    .brand-orb--1 {
        width: 120px; height: 120px;
        background: radial-gradient(circle, rgba(108,99,255,0.25), transparent 70%);
        top: 10%; right: -20px;
        animation: panelOrb1 8s ease-in-out infinite;
    }

    .brand-orb--2 {
        width: 80px; height: 80px;
        background: radial-gradient(circle, rgba(0,212,255,0.2), transparent 70%);
        bottom: 15%; left: -10px;
        animation: panelOrb2 10s ease-in-out infinite;
    }

    .brand-orb--3 {
        width: 60px; height: 60px;
        background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%);
        top: 50%; left: 40%;
        animation: panelOrb3 12s ease-in-out infinite;
    }

    @keyframes panelOrb1 {
        0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
        50% { transform: translate(-20px, 30px) scale(1.3); opacity: 1; }
    }
    @keyframes panelOrb2 {
        0%, 100% { transform: translate(0, 0); opacity: 0.5; }
        50% { transform: translate(25px, -20px); opacity: 0.9; }
    }
    @keyframes panelOrb3 {
        0%, 100% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(-15px, 25px) scale(1.2); }
    }

    /* Geometric decoration */
    .geo-deco {
        position: absolute;
        z-index: 0;
        pointer-events: none;
    }

    .geo-deco--ring {
        width: 160px; height: 160px;
        border: 2px solid rgba(108,99,255,0.12);
        border-radius: 50%;
        bottom: -30px; right: -30px;
        animation: geoRingSpin 25s linear infinite;
    }

    .geo-deco--ring::before {
        content: '';
        position: absolute;
        width: 8px; height: 8px;
        background: var(--primary);
        border-radius: 50%;
        top: -4px; left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 12px var(--primary);
    }

    .geo-deco--diamond {
        width: 40px; height: 40px;
        border: 1.5px solid rgba(0,212,255,0.15);
        top: 25px; right: 30px;
        transform: rotate(45deg);
        animation: geoDiamondPulse 6s ease-in-out infinite;
    }

    .geo-deco--triangle {
        width: 0; height: 0;
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-bottom: 30px solid rgba(108,99,255,0.08);
        top: 60%; right: 15%;
        animation: geoTriFloat 8s ease-in-out infinite;
    }

    .geo-deco--dots {
        top: 20%; left: 10%;
        display: grid;
        grid-template-columns: repeat(3, 6px);
        gap: 8px;
        animation: geoDotsFloat 10s ease-in-out infinite;
    }

    .geo-deco--dots span {
        width: 4px; height: 4px;
        background: rgba(108,99,255,0.2);
        border-radius: 50%;
    }

    @keyframes geoRingSpin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    @keyframes geoDiamondPulse {
        0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.5; }
        50% { transform: rotate(45deg) scale(1.15); opacity: 1; }
    }
    @keyframes geoTriFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-12px); }
    }
    @keyframes geoDotsFloat {
        0%, 100% { transform: translate(0, 0); opacity: 0.4; }
        50% { transform: translate(5px, -8px); opacity: 0.8; }
    }

    /* Brand content */
    .brand-content {
        position: relative;
        z-index: 1;
    }

    .brand-logo {
        font-family: var(--font2);
        font-size: 2rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
        background-size: 200% 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientShift 4s ease-in-out infinite;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
    }

    @keyframes gradientShift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    .brand-tagline {
        color: var(--muted);
        font-size: 0.875rem;
        margin-bottom: 44px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    .brand-features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .brand-feature {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        opacity: 0;
        animation: featureSlideIn 0.5s ease forwards;
    }

    .brand-feature:nth-child(1) { animation-delay: 0.5s; }
    .brand-feature:nth-child(2) { animation-delay: 0.7s; }
    .brand-feature:nth-child(3) { animation-delay: 0.9s; }
    .brand-feature:nth-child(4) { animation-delay: 1.1s; }

    @keyframes featureSlideIn {
        from { opacity: 0; transform: translateX(-20px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .feature-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        background: rgba(108,99,255,0.12);
        border: 1px solid rgba(108,99,255,0.15);
        color: var(--primary);
        transition: all 0.3s ease;
    }

    .brand-feature:hover .feature-icon {
        background: rgba(108,99,255,0.22);
        transform: scale(1.08);
        box-shadow: 0 0 20px rgba(108,99,255,0.2);
    }

    .feature-icon--cyan { color: var(--secondary); background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.15); }
    .feature-icon--gold { color: var(--gold); background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.15); }
    .feature-icon--green { color: #22c55e; background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.15); }

    .brand-feature:hover .feature-icon--cyan { background: rgba(0,212,255,0.22); box-shadow: 0 0 20px rgba(0,212,255,0.2); }
    .brand-feature:hover .feature-icon--gold { background: rgba(245,158,11,0.22); box-shadow: 0 0 20px rgba(245,158,11,0.2); }
    .brand-feature:hover .feature-icon--green { background: rgba(34,197,94,0.22); box-shadow: 0 0 20px rgba(34,197,94,0.2); }

    .feature-text h4 {
        font-family: var(--font2);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text);
        margin: 0 0 3px;
    }

    .feature-text p {
        font-size: 0.78rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.4;
    }

    /* ── Right Form Panel ──────────────────────────────────── */
    .auth-form-panel {
        flex: 1;
        padding: 48px 42px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-header {
        margin-bottom: 32px;
    }

    .form-header h2 {
        font-family: var(--font2);
        font-size: 1.65rem;
        font-weight: 700;
        color: #fff;
        margin: 0 0 6px;
        letter-spacing: -0.3px;
    }

    .form-header p {
        color: var(--muted);
        font-size: 0.88rem;
        margin: 0;
    }

    /* Social Login Buttons */
    .social-logins {
        display: flex;
        gap: 10px;
        margin-bottom: 28px;
    }

    .social-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 12px;
        border-radius: 12px;
        border: 1px solid rgba(108,99,255,0.12);
        background: rgba(22, 27, 39, 0.6);
        color: var(--text);
        font-size: 0.82rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        font-family: var(--font);
    }

    .social-btn i {
        font-size: 1.05rem;
        transition: transform 0.3s ease;
    }

    .social-btn:hover {
        background: rgba(108,99,255,0.08);
        border-color: rgba(108,99,255,0.3);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }

    .social-btn:hover i {
        transform: scale(1.15);
    }

    .social-btn--google:hover { border-color: rgba(234,67,53,0.4); box-shadow: 0 8px 24px rgba(234,67,53,0.1); }
    .social-btn--fb:hover { border-color: rgba(24,119,242,0.4); box-shadow: 0 8px 24px rgba(24,119,242,0.1); }
    .social-btn--apple:hover { border-color: rgba(255,255,255,0.25); box-shadow: 0 8px 24px rgba(255,255,255,0.05); }

    .social-btn--google i { color: #ea4335; }
    .social-btn--fb i { color: #1877f2; }
    .social-btn--apple i { color: #fff; }

    /* Divider */
    .auth-divider {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 26px;
    }

    .auth-divider::before,
    .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(108,99,255,0.15), transparent);
    }

    .auth-divider span {
        font-size: 0.75rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
        white-space: nowrap;
    }

    /* ── Floating Label Input Groups ───────────────────────── */
    .input-group {
        position: relative;
        margin-bottom: 22px;
    }

    .input-group__icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-size: 0.92rem;
        transition: all 0.3s ease;
        z-index: 2;
        pointer-events: none;
    }

    .input-group__field,
    .modal-card .input-group__field {
        width: 100%;
        padding: 14px 16px 14px 44px;
        border-radius: 12px;
        border: 1.5px solid rgba(108, 99, 255, 0.1);
        background: rgba(22, 27, 39, 0.5);
        color: var(--text);
        font-size: 0.9rem;
        font-family: var(--font);
        outline: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    .input-group__field::placeholder,
    .modal-card .input-group__field::placeholder {
        color: var(--muted);
        opacity: 0.6;
    }

    .input-group__field:focus,
    .modal-card .input-group__field:focus {
        border-color: var(--primary);
        background: rgba(108, 99, 255, 0.05);
        box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1), 0 0 30px rgba(108, 99, 255, 0.06);
    }

    .input-group__field:focus ~ .input-group__icon,
    .modal-card .input-group__field:focus ~ .input-group__icon {
        color: var(--primary);
    }

    .login-page .input-group__label,
    .modal-card .input-group__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* Float label on focus or filled */
    .input-group__field:focus ~ .input-group__label,
    .input-group__field:not(:placeholder-shown) ~ .input-group__label {
        top: 12px;
        transform: translateY(0) scale(0.75);
        color: var(--primary);
        letter-spacing: 0.5px;
    }

    .input-group__field:focus {
        border-color: var(--primary);
        background: rgba(108,99,255,0.04);
        box-shadow:
            0 0 0 3px rgba(108,99,255,0.1),
            0 0 20px rgba(108,99,255,0.06);
    }

    .input-group__field:focus ~ .input-group__icon {
        color: var(--primary);
        transform: translateY(-50%) scale(1.1);
    }

    /* Password toggle */
    .input-group__toggle {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--muted);
        cursor: pointer;
        padding: 6px;
        border-radius: 8px;
        transition: all 0.25s ease;
        font-size: 0.92rem;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .input-group__toggle:hover {
        color: var(--primary);
        background: rgba(108,99,255,0.08);
    }

    /* ── Form Row ──────────────────────────────────────────── */
    .form-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 28px;
    }

    /* Custom Checkbox */
    .custom-checkbox {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        user-select: none;
    }

    .custom-checkbox input {
        display: none;
    }

    .checkbox-visual {
        width: 18px;
        height: 18px;
        border-radius: 5px;
        border: 1.5px solid rgba(108,99,255,0.25);
        background: rgba(22,27,39,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        flex-shrink: 0;
    }

    .checkbox-visual::after {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.6rem;
        color: #fff;
        opacity: 0;
        transform: scale(0.3);
        transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .custom-checkbox input:checked + .checkbox-visual {
        background: var(--primary);
        border-color: var(--primary);
        box-shadow: 0 0 12px rgba(108,99,255,0.35);
    }

    .custom-checkbox input:checked + .checkbox-visual::after {
        opacity: 1;
        transform: scale(1);
    }

    .custom-checkbox span:last-child {
        font-size: 0.82rem;
        color: var(--muted);
        transition: color 0.25s ease;
    }

    .custom-checkbox:hover span:last-child {
        color: var(--text);
    }

    .forgot-link {
        font-size: 0.82rem;
        color: var(--primary);
        text-decoration: none;
        transition: all 0.25s ease;
        position: relative;
        font-weight: 500;
    }

    .forgot-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .forgot-link:hover {
        color: var(--secondary);
    }

    .forgot-link:hover::after {
        width: 100%;
        background: var(--secondary);
    }

    /* ── Submit Button ─────────────────────────────────────── */
    .btn-login {
        width: 100%;
        padding: 15px 24px;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), #8b5cf6, var(--secondary));
        background-size: 200% 200%;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
        font-family: var(--font2);
        letter-spacing: 0.3px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(108,99,255,0.25);
        margin-bottom: 24px;
    }

    .btn-login::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent, rgba(255,255,255,0.12), transparent);
        transform: translateX(-100%);
        transition: transform 0.6s ease;
    }

    .btn-login:hover {
        transform: translateY(-3px);
        box-shadow:
            0 12px 40px rgba(108,99,255,0.35),
            0 0 60px rgba(108,99,255,0.12);
        background-position: 100% 50%;
    }

    .btn-login:hover::before {
        transform: translateX(100%);
    }

    .btn-login:active {
        transform: translateY(-1px);
        box-shadow: 0 6px 25px rgba(108,99,255,0.3);
    }

    .btn-login .btn-text {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-login .btn-text i {
        transition: transform 0.3s ease;
    }

    .btn-login:hover .btn-text i {
        transform: translateX(4px);
    }

    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
        z-index: 9999;
    }
    .modal-overlay.hidden {
        display: none;
    }
    .modal-card {
        width: min(520px, 100%);
        background: rgba(12, 16, 30, 0.96);
        border: 1px solid rgba(108, 99, 255, 0.14);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        border-radius: 22px;
        padding: 32px 28px;
        position: relative;
        backdrop-filter: blur(18px);
    }
    .modal-close {
        position: absolute;
        top: 18px;
        right: 18px;
        border: none;
        background: rgba(255,255,255,0.06);
        color: var(--text);
        width: 38px;
        height: 38px;
        border-radius: 12px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
    }
    .modal-close:hover {
        background: rgba(108,99,255,0.16);
    }
    .modal-header h3 {
        font-family: var(--font2);
        font-size: 1.45rem;
        margin: 0 0 10px;
    }
    .modal-header p {
        color: var(--muted);
        margin: 0 0 22px;
        line-height: 1.6;
    }
    .modal-card .input-group {
        margin-bottom: 22px;
    }
    .modal-card .input-group__icon {
        color: rgba(255, 255, 255, 0.65);
    }
    .modal-card .input-group__field:focus ~ .input-group__icon {
        color: var(--primary);
    }
    .status-message {
        display: block;
        margin: 0 0 18px;
        font-size: 0.88rem;
        color: var(--text);
        min-height: 20px;
    }
    .status-message.error {
        color: #f87171;
    }
    .status-message.success {
        color: #34d399;
    }

    /* ── Footer Link ───────────────────────────────────────── */
    .auth-footer {
        text-align: center;
    }

    .auth-footer p {
        font-size: 0.85rem;
        color: var(--muted);
        margin: 0;
    }

    .auth-footer a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.25s ease;
        position: relative;
    }

    .auth-footer a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1.5px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transition: width 0.3s ease;
    }

    .auth-footer a:hover {
        color: var(--secondary);
    }

    .auth-footer a:hover::after {
        width: 100%;
    }

    /* ── Security Badge ────────────────────────────────────── */
    .security-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 10px 16px;
        border-radius: 10px;
        background: rgba(34,197,94,0.06);
        border: 1px solid rgba(34,197,94,0.1);
    }

    .security-badge i {
        color: #22c55e;
        font-size: 0.8rem;
    }

    .security-badge span {
        color: var(--muted);
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    /* ── Particles inside brand panel ──────────────────────── */
    .particle {
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .particle--1 {
        width: 3px; height: 3px;
        background: var(--primary);
        top: 18%; left: 25%;
        box-shadow: 0 0 6px var(--primary);
        animation: particleDrift1 12s linear infinite;
    }

    .particle--2 {
        width: 2px; height: 2px;
        background: var(--secondary);
        top: 65%; left: 70%;
        box-shadow: 0 0 6px var(--secondary);
        animation: particleDrift2 15s linear infinite;
    }

    .particle--3 {
        width: 2.5px; height: 2.5px;
        background: var(--gold);
        top: 40%; left: 50%;
        box-shadow: 0 0 6px var(--gold);
        animation: particleDrift3 10s linear infinite;
    }

    .particle--4 {
        width: 2px; height: 2px;
        background: #a78bfa;
        top: 80%; left: 35%;
        box-shadow: 0 0 6px #a78bfa;
        animation: particleDrift4 14s linear infinite;
    }

    .particle--5 {
        width: 1.5px; height: 1.5px;
        background: var(--secondary);
        top: 30%; left: 80%;
        box-shadow: 0 0 4px var(--secondary);
        animation: particleDrift5 18s linear infinite;
    }

    @keyframes particleDrift1 {
        0% { transform: translate(0, 0); opacity: 0; }
        10% { opacity: 1; }
        90% { opacity: 1; }
        100% { transform: translate(60px, -80px); opacity: 0; }
    }
    @keyframes particleDrift2 {
        0% { transform: translate(0, 0); opacity: 0; }
        10% { opacity: 0.8; }
        90% { opacity: 0.8; }
        100% { transform: translate(-50px, -100px); opacity: 0; }
    }
    @keyframes particleDrift3 {
        0% { transform: translate(0, 0); opacity: 0; }
        15% { opacity: 1; }
        85% { opacity: 1; }
        100% { transform: translate(40px, -70px); opacity: 0; }
    }
    @keyframes particleDrift4 {
        0% { transform: translate(0, 0); opacity: 0; }
        10% { opacity: 0.7; }
        90% { opacity: 0.7; }
        100% { transform: translate(-30px, -90px); opacity: 0; }
    }
    @keyframes particleDrift5 {
        0% { transform: translate(0, 0); opacity: 0; }
        20% { opacity: 0.6; }
        80% { opacity: 0.6; }
        100% { transform: translate(20px, -60px); opacity: 0; }
    }

    /* ── Responsive ────────────────────────────────────────── */
    @media (max-width: 840px) {
        .login-page .auth-brand {
            display: none;
        }

        .login-page .auth-card {
            max-width: 460px;
        }

        .login-page .auth-form-panel {
            padding: 40px 28px;
        }
    }

    @media (max-width: 480px) {
        .login-page .auth-wrapper {
            padding: 24px 14px;
        }

        .login-page .auth-form-panel {
            padding: 32px 22px;
        }

        .login-page .social-logins {
            flex-direction: column;
        }

        .login-page .form-header h2 {
            font-size: 1.4rem;
        }
    }

    /* ── Pulse ring on logo ────────────────────────────────── */
    .logo-wrapper {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 4px;
    }

    .logo-icon-ring {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-shrink: 0;
    }

    .logo-icon-ring::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 14px;
        border: 2px solid rgba(108,99,255,0.2);
        animation: ringPulse 3s ease-in-out infinite;
    }

    .logo-icon-ring i {
        color: #fff;
        font-size: 1.1rem;
    }

    @keyframes ringPulse {
        0%, 100% { transform: scale(1); opacity: 0.5; }
        50% { transform: scale(1.12); opacity: 0; }
    }

    /* ── Loading shimmer on button press ───────────────────── */
    .btn-login--loading .btn-text {
        opacity: 0;
    }

    .btn-login--loading::after {
        content: '';
        position: absolute;
        width: 22px; height: 22px;
        border: 2.5px solid rgba(255,255,255,0.3);
        border-top-color: #fff;
        border-radius: 50%;
        top: 50%; left: 50%;
        margin: -11px 0 0 -11px;
        animation: btnSpin 0.7s linear infinite;
    }

    @keyframes btnSpin {
        to { transform: rotate(360deg); }
    }

    /* ── Subtle glow line at top of card ───────────────────── */
    .auth-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
        opacity: 0.6;
        z-index: 10;
    }

    /* ══════════════════════════════════════════════
       REGISTER PAGE — PREMIUM AUTH EXPERIENCE
       ══════════════════════════════════════════════ */

    /* ─── Animated Background Orbs ─── */
    .auth-bg-orb {
        position: fixed;
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.3;
        pointer-events: none;
        z-index: 0;
        animation: orbDrift 20s ease-in-out infinite alternate;
    }
    .auth-bg-orb--1 {
        width: 600px; height: 600px;
        background: radial-gradient(circle, var(--primary), transparent 70%);
        top: -10%; left: -10%;
        animation-duration: 22s;
    }
    .auth-bg-orb--2 {
        width: 500px; height: 500px;
        background: radial-gradient(circle, var(--secondary), transparent 70%);
        bottom: -15%; right: -10%;
        animation-duration: 18s;
        animation-delay: -5s;
    }
    .auth-bg-orb--3 {
        width: 350px; height: 350px;
        background: radial-gradient(circle, var(--accent), transparent 70%);
        top: 40%; left: 50%;
        animation-duration: 25s;
        animation-delay: -10s;
        opacity: 0.15;
    }
    .auth-bg-orb--4 {
        width: 280px; height: 280px;
        background: radial-gradient(circle, var(--gold), transparent 70%);
        top: 20%; right: 20%;
        animation-duration: 30s;
        animation-delay: -8s;
        opacity: 0.12;
    }
    @keyframes orbDrift {
        0%   { transform: translate(0, 0) scale(1); }
        25%  { transform: translate(40px, -30px) scale(1.05); }
        50%  { transform: translate(-20px, 50px) scale(0.95); }
        75%  { transform: translate(30px, 20px) scale(1.08); }
        100% { transform: translate(-40px, -40px) scale(1); }
    }

    /* ─── Grid Overlay ─── */
    .auth-grid-overlay {
        position: fixed;
        inset: 0;
        background-image:
            linear-gradient(rgba(108,99,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(108,99,255,0.03) 1px, transparent 1px);
        background-size: 60px 60px;
        pointer-events: none;
        z-index: 0;
    }

    /* ─── Auth Card (Split Layout) ─── */
    .register-page .auth-card {
        display: flex;
        width: 100%;
        max-width: 1000px;
        min-height: 640px;
        background: rgba(18, 25, 45, 0.65);
        backdrop-filter: blur(40px) saturate(1.4);
        -webkit-backdrop-filter: blur(40px) saturate(1.4);
        border: 1px solid rgba(108, 99, 255, 0.15);
        border-radius: 24px;
        overflow: hidden;
        position: relative;
        z-index: 2;
        box-shadow:
            0 0 0 1px rgba(108, 99, 255, 0.08),
            0 25px 60px rgba(0,0,0,0.5),
            0 0 120px rgba(108, 99, 255, 0.06);
        animation: cardEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    /* ─── Left Branding Panel ─── */
    .register-page .auth-brand {
        width: 42%;
        min-width: 360px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 48px 36px;
        overflow: hidden;
        background: linear-gradient(165deg, rgba(108,99,255,0.15) 0%, rgba(0,212,255,0.08) 50%, rgba(108,99,255,0.12) 100%);
    }
    .register-page .auth-brand::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 300px 300px at 20% 80%, rgba(108,99,255,0.2), transparent),
            radial-gradient(ellipse 250px 250px at 80% 20%, rgba(0,212,255,0.15), transparent);
        animation: brandMeshShift 12s ease-in-out infinite alternate;
    }
    @keyframes brandMeshShift {
        0%   { opacity: 0.6; }
        50%  { opacity: 1; }
        100% { opacity: 0.6; }
    }
    .register-page .auth-brand::after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, var(--border), transparent);
    }

    /* Animated mesh orbs inside brand panel */
    .brand-orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(60px);
        pointer-events: none;
        animation: brandOrbFloat 15s ease-in-out infinite alternate;
    }
    .register-page .brand-orb--1 {
        width: 200px; height: 200px;
        background: rgba(108,99,255,0.35);
        top: 10%; left: -20%;
        animation-duration: 18s;
    }
    .register-page .brand-orb--2 {
        width: 160px; height: 160px;
        background: rgba(0,212,255,0.25);
        bottom: 15%; right: -15%;
        animation-duration: 14s;
        animation-delay: -4s;
    }
    .register-page .brand-orb--3 {
        width: 100px; height: 100px;
        background: rgba(255,107,107,0.2);
        top: 50%; left: 50%;
        animation-duration: 20s;
        animation-delay: -8s;
    }
    @keyframes brandOrbFloat {
        0%   { transform: translate(0,0) scale(1); }
        33%  { transform: translate(20px,-15px) scale(1.1); }
        66%  { transform: translate(-10px,20px) scale(0.9); }
        100% { transform: translate(15px,10px) scale(1.05); }
    }

    /* Brand content */
    .register-page .brand-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    .register-page .brand-logo {
        font-family: var(--font2);
        font-size: 2.2rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
        background-size: 200% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientShift 4s linear infinite;
        margin-bottom: 8px;
        letter-spacing: -0.5px;
    }
    .register-page .brand-tagline {
        font-size: 1.1rem;
        color: var(--muted);
        margin-bottom: 48px;
        font-weight: 300;
        letter-spacing: 0.5px;
    }

    /* Steps Process */
    .steps-process {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        width: 100%;
        max-width: 260px;
    }
    .step-item {
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
        padding: 14px 0;
    }
    .step-circle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font2);
        font-weight: 700;
        font-size: 0.95rem;
        position: relative;
        z-index: 2;
        transition: all 0.4s ease;
    }
    .step-item:nth-child(1) .step-circle {
        background: linear-gradient(135deg, var(--primary), #8b5cf6);
        color: #fff;
        box-shadow: 0 0 20px rgba(108,99,255,0.4);
    }
    .step-item:nth-child(2) .step-circle {
        background: rgba(108,99,255,0.12);
        border: 1.5px solid rgba(108,99,255,0.3);
        color: var(--primary);
    }
    .step-item:nth-child(3) .step-circle {
        background: rgba(108,99,255,0.08);
        border: 1.5px solid rgba(108,99,255,0.15);
        color: var(--muted);
    }

    /* Connecting line between steps */
    .step-connector {
        position: absolute;
        left: 21px;
        top: 58px;
        width: 2px;
        height: 28px;
        z-index: 1;
    }
    .step-connector-line {
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(108,99,255,0.4), rgba(108,99,255,0.1));
        border-radius: 2px;
        position: relative;
        overflow: hidden;
    }
    .step-connector-line::after {
        content: '';
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to bottom, transparent, var(--primary), transparent);
        animation: connectorPulse 2.5s ease-in-out infinite;
    }
    @keyframes connectorPulse {
        0%   { top: -50%; opacity: 0; }
        50%  { opacity: 1; }
        100% { top: 150%; opacity: 0; }
    }

    .step-info{
        display: flex;
        flex-direction: column;
        gap: 4px;
            align-items: flex-start;
    }

    .step-info h4 {
        font-family: var(--font2);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text);
        margin: 0 0 2px;
    }
    .step-info p {
        font-size: 0.78rem;
        color: var(--muted);
        margin: 0;
        line-height: 1.4;
    }

    /* Floating dots animation */
    .brand-dots {
        position: absolute;
        inset: 0;
        overflow: hidden;
        pointer-events: none;
        z-index: 1;
    }
    .brand-dot {
        position: absolute;
        width: 3px;
        height: 3px;
        background: var(--primary);
        border-radius: 50%;
        opacity: 0;
        animation: dotFloat 8s ease-in-out infinite;
    }
    .brand-dot:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
    .brand-dot:nth-child(2) { left: 75%; top: 30%; animation-delay: 1.5s; }
    .brand-dot:nth-child(3) { left: 40%; top: 70%; animation-delay: 3s; }
    .brand-dot:nth-child(4) { left: 85%; top: 60%; animation-delay: 4.5s; }
    .brand-dot:nth-child(5) { left: 25%; top: 85%; animation-delay: 6s; }
    .brand-dot:nth-child(6) { left: 60%; top: 15%; animation-delay: 2s; }
    .brand-dot:nth-child(7) { left: 90%; top: 80%; animation-delay: 3.5s; }
    .brand-dot:nth-child(8) { left: 10%; top: 50%; animation-delay: 5s; }
    @keyframes dotFloat {
        0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
        50%      { opacity: 0.6; transform: translateY(-20px) scale(1); }
    }

    /* ─── Right Form Panel ─── */
    .register-page .auth-form-panel {
        flex: 1;
        padding: 44px 44px 36px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }
    .auth-form-header {
        margin-bottom: 28px;
    }
    .auth-form-header h1 {
        font-family: var(--font2);
        font-size: 1.7rem;
        font-weight: 700;
        color: var(--text);
        margin: 0 0 6px;
    }
    .auth-form-header p {
        font-size: 0.88rem;
        color: var(--muted);
        margin: 0;
    }

    /* ─── Social Signup Buttons ─── */
    .social-signup {
        display: flex;
        gap: 12px;
        margin-bottom: 24px;
    }
    .social-btn i {
        font-size: 1.05rem;
    }
    .social-btn:hover {
        background: rgba(108,99,255,0.08);
        border-color: rgba(108,99,255,0.35);
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(108,99,255,0.12);
        color: var(--text);
        text-decoration: none;
    }
    .social-btn--google:hover  { border-color: rgba(234,67,53,0.4); box-shadow: 0 4px 20px rgba(234,67,53,0.1); }
    .social-btn--fb:hover      { border-color: rgba(24,119,242,0.4); box-shadow: 0 4px 20px rgba(24,119,242,0.1); }
    .social-btn--apple:hover   { border-color: rgba(255,255,255,0.25); box-shadow: 0 4px 20px rgba(255,255,255,0.05); }

    /* ─── Divider ─── */
    .register-page .auth-divider {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
    }
    .register-page .auth-divider::before,
    .register-page .auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--border), transparent);
    }
    .register-page .auth-divider span {
        font-size: 0.75rem;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
        white-space: nowrap;
    }

    /* ─── Form Groups ─── */
    .register-page .form-row {
        display: flex;
        gap: 14px;
        margin-bottom: 10px;
    }
    .register-page .form-row .form-group {
        flex: 1;
    }
    .form-group {
        position: relative;
        margin-bottom: 18px;
    }
    .form-group__icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-size: 0.9rem;
        transition: color 0.3s ease;
        pointer-events: none;
        z-index: 3;
    }
    .form-group__input {
        width: 100%;
        padding: 14px 16px 14px 44px;
        background: rgba(22, 27, 39, 0.5);
        border: 1.5px solid rgba(108, 99, 255, 0.1);
        border-radius: 12px;
        color: var(--text);
        font-size: 0.9rem;
        font-family: var(--font);
        outline: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
    }
    .form-group__input::placeholder {
        color: var(--muted);
        opacity: 0.6;
    }
    select.form-group__input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        cursor: pointer;
        background-color: rgba(22, 27, 39, 0.5);
        color: var(--text);
        background-image:
            url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%23e8edf5' stroke-width='1.5'/%3E%3C/svg%3E"),
            linear-gradient(transparent, transparent);
        background-repeat: no-repeat, repeat;
        background-position: right 16px center, 0 0;
        background-size: 10px 6px, 100% 100%;
    }
    select.form-group__input option {
        background: rgba(12, 16, 30, 0.98);
        color: var(--text);
    }
    .form-group__input[disabled],
    .form-group__input[readonly] {
        opacity: 0.75;
        cursor: not-allowed;
        background: rgba(22, 27, 39, 0.38);
    }
    .form-group__input:focus {
        border-color: var(--primary);
        background: rgba(108, 99, 255, 0.05);
        box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1), 0 0 30px rgba(108, 99, 255, 0.06);
    }
    .form-group__input:focus ~ .form-group__icon {
        color: var(--primary);
    }
    .form-group__input:focus ~ .form-group__glow {
        opacity: 1;
    }
    /* Focus glow line under input */
    .form-group__glow {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
        border-radius: 2px;
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 3;
    }

    /* Password toggle */
    .form-group--password {
        position: relative;
    }
    .password-toggle {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--muted);
        cursor: pointer;
        font-size: 0.95rem;
        z-index: 3;
        padding: 4px;
        transition: color 0.3s ease;
    }
    .password-toggle:hover {
        color: var(--primary);
    }
    .form-group--password .form-group__input {
        padding-right: 48px;
    }

    /* ─── Password Strength Meter ─── */
    .password-strength {
        margin-top: -10px;
        margin-bottom: 18px;
        padding: 0 4px;
    }
    .strength-bar-track {
        width: 100%;
        height: 4px;
        background: rgba(108, 99, 255, 0.08);
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 6px;
    }
    .strength-bar-fill {
        height: 100%;
        width: 0%;
        border-radius: 4px;
        transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s ease;
        background: var(--accent);
    }
    .strength-label {
        font-size: 0.72rem;
        font-weight: 500;
        color: var(--muted);
        display: flex;
        align-items: center;
        gap: 6px;
        min-height: 16px;
    }
    .strength-label i {
        font-size: 0.65rem;
    }

    /* ─── Terms Checkbox ─── */
    .terms-group {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 22px;
    }
    .terms-checkbox {
        position: relative;
        width: 20px;
        height: 20px;
        min-width: 20px;
        margin-top: 1px;
    }
    .terms-checkbox input {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 2;
    }
    .terms-checkbox .checkmark {
        position: absolute;
        inset: 0;
        background: rgba(22, 27, 39, 0.5);
        border: 1.5px solid rgba(108, 99, 255, 0.2);
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    .terms-checkbox .checkmark::after {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.6rem;
        color: #fff;
        opacity: 0;
        transform: scale(0.5);
        transition: all 0.25s ease;
    }
    .terms-checkbox input:checked ~ .checkmark {
        background: linear-gradient(135deg, var(--primary), #8b5cf6);
        border-color: var(--primary);
        box-shadow: 0 0 12px rgba(108, 99, 255, 0.3);
    }
    .terms-checkbox input:checked ~ .checkmark::after {
        opacity: 1;
        transform: scale(1);
    }
    .terms-text {
        font-size: 0.8rem;
        color: var(--muted);
        line-height: 1.5;
    }
    .terms-text a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    .terms-text a:hover {
        color: var(--secondary);
        text-decoration: underline;
    }

    /* ─── Submit Button ─── */
    .auth-submit-btn {
        width: 100%;
        padding: 15px 24px;
        border: none;
        border-radius: 14px;
        font-family: var(--font2);
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, var(--primary), #8b5cf6, var(--secondary));
        background-size: 200% 200%;
        animation: btnGradient 4s ease infinite;
        transition: all 0.4s ease;
        letter-spacing: 0.3px;
        margin-bottom: 20px;
    }
    @keyframes btnGradient {
        0%, 100% { background-position: 0% 50%; }
        50%      { background-position: 100% 50%; }
    }
    .auth-submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.6s ease;
    }
    .auth-submit-btn:hover::before {
        left: 100%;
    }
    .auth-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4), 0 0 60px rgba(108, 99, 255, 0.15);
    }
    .auth-submit-btn:active {
        transform: translateY(0);
    }
    .auth-submit-btn .btn-text {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    /* Shimmer effect */
    .auth-submit-btn::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.05), transparent 30%);
        animation: shimmerRotate 4s linear infinite;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .auth-submit-btn:hover::after {
        opacity: 1;
    }
    @keyframes shimmerRotate {
        to { transform: rotate(360deg); }
    }

    /* ─── Footer Link ─── */
    .auth-footer-link {
        text-align: center;
        font-size: 0.85rem;
        color: var(--muted);
    }
    .auth-footer-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    .auth-footer-link a:hover {
        color: var(--secondary);
        gap: 10px;
    }

    /* ─── Trust Badges ─── */
    .trust-badges {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: auto;
        padding-top: 36px;
    }
    .trust-badge {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.7rem;
        color: var(--muted);
        opacity: 0.7;
    }
    .trust-badge i {
        color: var(--primary);
        font-size: 0.75rem;
    }

    /* ═══════════════════════════════════
       RESPONSIVE
       ═══════════════════════════════════ */
    @media (max-width: 860px) {
        .register-page .auth-brand {
            display: none;
        }
        .register-page .auth-card {
            max-width: 520px;
            min-height: auto;
        }
        .register-page .auth-form-panel {
            padding: 36px 28px 28px;
        }
        .register-page .auth-form-header {
            text-align: center;
        }
        /* Show mobile logo */
        .register-page .mobile-brand-logo {
            display: block !important;
        }
    }
    @media (max-width: 520px) {
        .register-page .auth-wrapper {
            padding: 24px 12px;
        }
        .register-page .auth-form-panel {
            padding: 28px 20px 24px;
        }
        .register-page .social-signup {
            flex-direction: column;
            gap: 10px;
        }
        .register-page .form-row {
            flex-direction: column;
            gap: 16px;
        }
        .register-page .form-row .form-group {
            width: 100%;
            margin-bottom: 0;
        }
        .register-page .form-group {
            margin-bottom: 18px;
        }
        .register-page .auth-form-header h1 {
            font-size: 1.4rem;
        }
    }

    /* ─── Mobile Brand Logo ─── */
    .mobile-brand-logo {
        display: none;
        text-align: center;
        margin-bottom: 8px;
    }
    .mobile-brand-logo span {
        font-family: var(--font2);
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* ─── Particle canvas ─── */
    #registerParticles {
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 1;
    }
/* Back to Home Link */
.back-home-link {
    position: absolute;
    top: 40px;
    left: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.back-home-link i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.back-home-link:hover {
    color: var(--primary);
}

.back-home-link:hover i {
    transform: translateX(-4px);
}


/* Premium Back to Home Button */
.back-home-btn {
    position: absolute;
    top: 30px;
    left: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.back-home-btn i {
    transition: transform 0.3s ease;
    font-size: 1rem;
    color: var(--muted);
}

.back-home-btn:hover {
    background: rgba(108, 99, 255, 0.12);
    border-color: rgba(108, 99, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-home-btn:hover i {
    color: var(--primary);
    transform: translateX(-4px);
}

@media (max-width: 767px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
