 :root {
            --primary: #6a11cb;
            --secondary: #2575fc;
            --accent: #ff4d4d;
            --text-light: rgba(255,255,255,0.9);
            --text-muted: rgba(255,255,255,0.6);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
        }
        
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        body {
            background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
            height: 100vh;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            perspective: 1000px;
        }
        
        .cosmic-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.15) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(37, 117, 252, 0.15) 0%, transparent 30%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
            background-size: 100px 100px;
            z-index: 0;
            animation: cosmicDrift 120s linear infinite;
        }
        
        .login-container {
            width: 450px;
            background: rgba(15, 12, 41, 0.7);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            box-shadow: 
                0 25px 50px -12px rgba(0, 0, 0, 0.5),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
            padding: 50px;
            z-index: 10;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            transition: transform 0.5s ease;
            animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .login-container:hover {
            transform: translateY(-5px) rotateX(2deg) rotateY(-1deg);
        }
        
        .login-container::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                transparent 0%,
                transparent 50%,
                rgba(255,255,255,0.03) 50%,
                rgba(255,255,255,0.03) 100%
            );
            transform: rotate(45deg);
            pointer-events: none;
            animation: shine 8s linear infinite;
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 45px;
            position: relative;
            z-index: 2;
        }
        
        .logo {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(106, 17, 203, 0.5);
            transform: translateZ(30px);
        }
        
        .logo i {
            font-size: 36px;
            color: white;
        }
        
        .login-header h1 {
            color: var(--text-light);
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
            letter-spacing: 1.5px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .login-header p {
            color: var(--text-muted);
            font-size: 15px;
            letter-spacing: 0.8px;
            line-height: 1.6;
        }
        
        .input-group {
            position: relative;
            margin-bottom: 30px;
            transform-style: preserve-3d;
        }
        
        .input-group input {
            width: 100%;
            padding: 18px 25px;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            border-radius: 12px;
            color: var(--text-light);
            font-size: 16px;
            font-weight: 500;
            outline: none;
            transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
            border: 1px solid transparent;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .input-group input:focus {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            transform: translateY(-3px);
        }
        
        .input-group i {
            position: absolute;
            top: 18px;
            right: 20px;
            color: var(--text-muted);
            font-size: 18px;
            transition: all 0.3s;
        }
        
        .input-group input:focus + i {
            color: var(--secondary);
            transform: scale(1.1);
        }
        
        .input-group label {
            position: absolute;
            top: 18px;
            left: 25px;
            color: var(--text-muted);
            font-size: 16px;
            font-weight: 400;
            transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
            pointer-events: none;
            transform-origin: left center;
        }
        
        .input-group input:focus + label,
        .input-group input:valid + label {
            top: -12px;
            left: 15px;
            font-size: 13px;
            background: linear-gradient(to right, #0f0c29, #302b63);
            padding: 0 10px;
            color: var(--secondary);
            font-weight: 600;
            transform: translateZ(20px);
        }
        
        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            font-size: 14px;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
            color: var(--text-muted);
        }
        
        .remember-me input {
            margin-right: 10px;
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255,255,255,0.3);
            border-radius: 4px;
            position: relative;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .remember-me input:checked {
            background: var(--secondary);
            border-color: var(--secondary);
        }
        
        .remember-me input:checked::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            color: white;
            font-size: 12px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .forgot-password a {
            color: var(--text-muted);
            text-decoration: none;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
        }
        
        .forgot-password a:hover {
            color: var(--accent);
            text-decoration: none;
        }
        
        .forgot-password a i {
            margin-left: 5px;
            font-size: 12px;
        }
        
        .g-recaptcha {
            margin-bottom: 30px;
            border-radius: 8px;
            overflow: hidden;
            transform: translateZ(0);
        }
        
        .login-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border: none;
            border-radius: 12px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
            box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .login-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--secondary), var(--primary));
            opacity: 0;
            z-index: -1;
            transition: opacity 0.4s;
        }
        
        .login-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(106, 17, 203, 0.4);
        }
        
        .login-button:hover::before {
            opacity: 1;
        }
        
        .login-button:active {
            transform: translateY(0);
        }
        
        .login-footer {
            text-align: center;
            margin-top: 35px;
            color: var(--text-muted);
            font-size: 13px;
            position: relative;
            z-index: 2;
        }
        
        .login-footer a {
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
        }
        
        .login-footer a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--secondary);
            transition: width 0.3s;
        }
        
        .login-footer a:hover {
            color: var(--secondary);
        }
        
        .login-footer a:hover::after {
            width: 100%;
        }
        
        .divider {
            display: flex;
            align-items: center;
            margin: 25px 0;
            color: var(--text-muted);
            font-size: 13px;
        }
        
        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255,255,255,0.1);
            margin: 0 15px;
        }
        
        .social-login {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.08);
            color: var(--text-light);
            font-size: 20px;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }
        
        .social-btn:hover {
            transform: translateY(-3px);
            background: rgba(255,255,255,0.15);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        .social-btn.google { color: #DB4437; }
        .social-btn.facebook { color: #4267B2; }
        .social-btn.twitter { color: #1DA1F2; }
        
        /* Animations */
        @keyframes cosmicDrift {
            0% { background-position: 0 0, 0 0, 0 0; }
            100% { background-position: -1000px 0, 500px 500px, 1000px 1000px; }
        }
        
        @keyframes shine {
            0% { transform: rotate(45deg) translate(-30%, -30%); }
            100% { transform: rotate(45deg) translate(30%, 30%); }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px) rotateX(10deg);
            }
            to {
                opacity: 1;
                transform: translateY(0) rotateX(0);
            }
        }
        
        /* Floating elements */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }
        
        .floating-element {
            position: absolute;
            background: rgba(255,255,255,0.03);
            border-radius: 50%;
            filter: blur(1px);
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% {
                transform: translate(0, 0) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.1;
            }
            100% {
                transform: translate(100px, -1000px) rotate(360deg);
                opacity: 0;
            }
        }