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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background: #0a0a14;
            position: relative;
            overflow: hidden;
        }

        /* Animated gradient background */
        .bg-layer {
            position: fixed;
            inset: 0;
            z-index: 0;
            background:
                radial-gradient(ellipse 80% 60% at 10% 20%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 90% 80%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
            animation: bgShift 12s ease-in-out infinite alternate;
        }

        @keyframes bgShift {
            0% { transform: scale(1) rotate(0deg); opacity: 1; }
            100% { transform: scale(1.15) rotate(3deg); opacity: 0.85; }
        }

        /* Floating orbs */
        .orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(80px);
            pointer-events: none;
            z-index: 0;
        }

        .orb-1 {
            width: 500px; height: 500px;
            background: rgba(79, 70, 229, 0.08);
            top: -150px; left: -100px;
            animation: floatOrb 20s ease-in-out infinite alternate;
        }

        .orb-2 {
            width: 400px; height: 400px;
            background: rgba(124, 58, 237, 0.06);
            bottom: -120px; right: -80px;
            animation: floatOrb 25s ease-in-out infinite alternate-reverse;
        }

        .orb-3 {
            width: 300px; height: 300px;
            background: rgba(59, 130, 246, 0.05);
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            animation: floatOrb 18s ease-in-out infinite alternate;
        }

        @keyframes floatOrb {
            0% { transform: translate(0, 0) scale(1); }
            33% { transform: translate(40px, -30px) scale(1.05); }
            66% { transform: translate(-20px, 20px) scale(0.95); }
            100% { transform: translate(30px, -10px) scale(1.02); }
        }

        /* Subtle grid */
        .grid {
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
            background-size: 48px 48px;
            pointer-events: none;
            mask-image: radial-gradient(ellipse 60% 60% at center, black 30%, transparent 70%);
            -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, black 30%, transparent 70%);
        }

        .container {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 400px;
            animation: fadeUp 0.8s ease-out;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card {
            background: linear-gradient(160deg, rgba(18, 18, 34, 0.92), rgba(12, 12, 26, 0.96));
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 28px;
            padding: 48px 36px 36px;
            box-shadow:
                0 0 0 1px rgba(255,255,255,0.02),
                0 20px 80px rgba(0,0,0,0.6),
                0 0 60px rgba(79, 70, 229, 0.04);
            backdrop-filter: blur(24px);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
        }

        /* Decorative corner accent */
        .card::after {
            content: '';
            position: absolute;
            top: -60px; right: -60px;
            width: 120px; height: 120px;
            background: radial-gradient(circle, rgba(79, 70, 229, 0.06), transparent 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .header {
            text-align: center;
            margin-bottom: 36px;
        }

        .logo-wrap {
            position: relative;
            width: 72px;
            height: 72px;
            margin: 0 auto 22px;
        }

        .logo-wrap::before {
            content: '';
            position: absolute;
            inset: -4px;
            border-radius: 24px;
            background: linear-gradient(135deg, rgba(79,70,229,0.3), rgba(124,58,237,0.1), rgba(79,70,229,0.1));
            animation: logoPulse 3s ease-in-out infinite;
        }

        @keyframes logoPulse {
            0%, 100% { opacity: 0.6; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.05); }
        }

        .logo {
            width: 72px;
            height: 72px;
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
        }

        .logo svg { width: 32px; height: 32px; stroke: white; }

        .header h1 {
            font-size: 22px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.4px;
        }

        .header h1 span {
            background: linear-gradient(135deg, #818cf8, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header p {
            font-size: 13px;
            color: rgba(255,255,255,0.35);
            margin-top: 6px;
            font-weight: 400;
            letter-spacing: 0.2px;
        }

        .error-msg {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.15);
            border-radius: 14px;
            padding: 14px 16px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #fca5a5;
            animation: shake 0.4s ease-out;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20% { transform: translateX(-6px); }
            40% { transform: translateX(6px); }
            60% { transform: translateX(-4px); }
            80% { transform: translateX(4px); }
        }

        .error-msg svg { width: 18px; height: 18px; flex-shrink: 0; }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            font-size: 11px;
            font-weight: 600;
            color: rgba(255,255,255,0.4);
            margin-bottom: 7px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            transition: color 0.2s;
        }

        .form-group:focus-within label { color: #818cf8; }

        .input-wrap {
            position: relative;
        }

        .input-wrap .icon {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: rgba(255,255,255,0.2);
            transition: all 0.3s;
            pointer-events: none;
        }

        .input-wrap .icon svg { width: 18px; height: 18px; display: block; }

        .form-group input {
            width: 100%;
            padding: 15px 16px 15px 48px;
            background: rgba(255,255,255,0.03);
            border: 1.5px solid rgba(255,255,255,0.07);
            border-radius: 14px;
            font-size: 14px;
            font-family: inherit;
            font-weight: 400;
            color: rgba(255,255,255,0.9);
            transition: all 0.25s;
            letter-spacing: 0.2px;
        }

        .form-group input:focus {
            outline: none;
            border-color: rgba(79, 70, 229, 0.4);
            background: rgba(255,255,255,0.05);
            box-shadow:
                0 0 0 3px rgba(79, 70, 229, 0.08),
                0 4px 12px rgba(0,0,0,0.2);
        }

        .form-group input:focus ~ .icon { color: #818cf8; }

        .form-group input::placeholder { color: rgba(255,255,255,0.12); font-weight: 300; }

        .form-group input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0 1000px rgba(18, 18, 34, 0.95) inset !important;
            -webkit-text-fill-color: rgba(255,255,255,0.9) !important;
            border-color: rgba(79, 70, 229, 0.3) !important;
        }

        .toggle-pwd {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: rgba(255,255,255,0.2);
            cursor: pointer;
            padding: 8px;
            border-radius: 10px;
            transition: all 0.2s;
        }

        .toggle-pwd:hover { color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

        .toggle-pwd svg { width: 18px; height: 18px; display: block; }

        .btn {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: white;
            border: none;
            border-radius: 14px;
            font-size: 15px;
            font-weight: 600;
            font-family: inherit;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            letter-spacing: 0.3px;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
            transition: left 0.6s;
        }

        .btn:hover::before { left: 100%; }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(79, 70, 229, 0.35);
        }

        .btn:active { transform: translateY(0) scale(0.99); }

        .btn svg { width: 18px; height: 18px; transition: transform 0.3s; }

        .btn:hover svg { transform: translateX(3px); }

        .btn-loading { opacity: 0.8; pointer-events: none; }

        .footer {
            text-align: center;
            margin-top: 28px;
            padding-top: 22px;
            border-top: 1px solid rgba(255,255,255,0.04);
        }

        .footer p {
            font-size: 11px;
            color: rgba(255,255,255,0.15);
            letter-spacing: 0.5px;
        }

        .footer .brand {
            background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.15));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 600;
            letter-spacing: 1px;
        }

        .version {
            text-align: center;
            margin-top: 14px;
            font-size: 10px;
            color: rgba(255,255,255,0.08);
            letter-spacing: 1px;
            font-weight: 300;
        }

        @media (max-width: 480px) {
            body { padding: 16px; }
            .card { padding: 36px 24px 28px; border-radius: 22px; }
            .header h1 { font-size: 19px; }
            .logo-wrap { width: 60px; height: 60px; margin-bottom: 18px; }
            .logo { width: 60px; height: 60px; border-radius: 16px; }
            .logo svg { width: 26px; height: 26px; }
            .form-group input { padding: 13px 14px 13px 44px; font-size: 15px; }
        }

        @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

        @media (prefers-reduced-motion: reduce) {
            .bg-layer, .orb, .error-msg, .container { animation: none; }
            .btn::before { display: none; }
        }
    