@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
        
        :root {
            --neon-red: #ff2a6d;
            --dark-bg: #0a0a12;
            --light-bg: #1a1a24;
            --text-light: #f5f5f7;
            --text-muted: #8e8e93;
            --online: #2ecc71;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background-color: var(--dark-bg);
            color: var(--text-light);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            overflow: hidden;
            position: relative;
        }
        
        .server-network {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                linear-gradient(90deg, var(--dark-bg) 21px, transparent 1%) center,
                linear-gradient(var(--dark-bg) 21px, transparent 1%) center,
                var(--neon-red);
            background-size: 22px 22px;
            opacity: 0.05;
            animation: network-pulse 8s infinite alternate;
            z-index: -1;
        }
        
        @keyframes network-pulse {
            0% { opacity: 0.03; }
            100% { opacity: 0.08; }
        }
        
        .login-card {
            width: 100%;
            max-width: 420px;
            background: var(--light-bg);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .login-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 14px;
            background: linear-gradient(45deg, transparent, transparent, var(--neon-red), transparent);
            background-size: 400% 400%;
            z-index: -1;
            animation: neon-border 6s linear infinite;
            opacity: 0.7;
        }
        
        @keyframes neon-border {
            0% { background-position: 0% 50%; }
            100% { background-position: 400% 50%; }
        }
        
        .server-image {
            height: 180px;
            background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
                        url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            position: relative;
        }
        
        .server-image::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--neon-red);
            box-shadow: 0 0 15px var(--neon-red);
        }
        
        .logo-text {
            font-size: 28px;
            font-weight: 600;
            letter-spacing: 1px;
            color: white;
            margin-bottom: 20px;
            text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
        }
        
        .login-content {
            padding: 32px;
        }
        
        .welcome-text {
            text-align: center;
            margin-bottom: 24px;
        }
        
        .welcome-text h2 {
            font-weight: 500;
            font-size: 20px;
            margin-bottom: 4px;
        }
        
        .welcome-text p {
            color: var(--text-muted);
            font-size: 14px;
        }
        
        .input-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 500;
        }
        
        .input-field {
            width: 100%;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--text-light);
            font-size: 15px;
            transition: all 0.2s;
        }
        
        .input-field:focus {
            outline: none;
            border-color: var(--neon-red);
            box-shadow: 0 0 0 2px rgba(255, 42, 109, 0.2);
        }
        
        .password-container {
            position: relative;
        }
        
        .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--text-muted);
            transition: color 0.2s;
        }
        
        .toggle-password:hover {
            color: var(--neon-red);
        }
        
        .auth-code-container {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 8px;
            margin: 24px 0;
        }
        
        .auth-code-input {
            width: 100%;
            aspect-ratio: 1;
            text-align: center;
            font-size: 18px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: var(--text-light);
            transition: all 0.2s;
        }
        
        .auth-code-input:focus {
            border-color: var(--neon-red);
            box-shadow: 0 0 0 2px rgba(255, 42, 109, 0.2);
            outline: none;
        }
        
        .login-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            font-size: 14px;
        }
        
        .remember-me {
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .remember-me input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .remember-me label {
            display: flex;
            align-items: center;
            cursor: pointer;
            user-select: none;
            position: relative;
            padding-left: 28px;
            font-size: 14px;
            height: 20px;
            line-height: 20px;
        }
        
        .remember-me label::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            border: 1.5px solid var(--neon-red);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            transition: all 0.2s ease;
        }
        
        .remember-me label::after {
            content: '';
            position: absolute;
            left: 4px;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--neon-red);
            opacity: 0;
            transition: all 0.2s ease;
            box-shadow: 0 0 5px var(--neon-red);
        }
        
        .remember-me input:checked + label::after {
            opacity: 1;
        }
        
        .remember-me input:focus + label::before {
            box-shadow: 0 0 0 2px rgba(255, 42, 109, 0.3);
        }
        
        .remember-me:hover label::before {
            border-color: var(--neon-red);
        }
        
        .forgot-password {
            color: var(--text-muted);
            text-decoration: none;
            transition: color 0.2s;
            cursor: pointer;
        }
        
        .forgot-password:hover {
            color: var(--neon-red);
        }
        
        .login-button {
            width: 100%;
            padding: 14px;
            background: rgba(255, 42, 109, 0.1);
            border: 1px solid var(--neon-red);
            border-radius: 8px;
            color: var(--neon-red);
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 16px;
        }
        
        .login-button:hover {
            background: rgba(255, 42, 109, 0.2);
            box-shadow: 0 0 15px rgba(255, 42, 109, 0.3);
        }
        
        .status-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 20px;
            font-size: 13px;
            color: var(--text-muted);
        }
        
        .status-dot {
            width: 8px;
            height: 8px;
            background: var(--online);
            border-radius: 50%;
            margin-right: 8px;
            box-shadow: 0 0 10px var(--online);
        }

        /* Connection Status */
            .connection-status {
                position: fixed;
                bottom: -100px;
                left: 50%;
                transform: translateX(-50%) translateY(0);
                background-color: var(--card-bg);
                padding: 12px 24px;
                border-radius: var(--radius);
                box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
                display: flex;
                align-items: center;
                gap: 12px;
                z-index: 1000;
                opacity: 0;
                transition: 
                    bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                    opacity 0.3s ease,
                    transform 0.3s ease;
                border: 1px solid var(--border);
                max-width: 90%;
            }

            .connection-status.show {
                bottom: 20px;
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }

            .connection-status.hide {
                bottom: 20px;
                opacity: 0;
                transform: translateX(-50%) translateY(20px);
            }

            .connection-status.offline {
                color: var(--primary);
            }

            .connection-status.online {
                color: #10b981;
            }

            .connection-spinner {
                width: 20px;
                height: 20px;
                border: 2px solid rgba(0,0,0,0.1);
                border-radius: 50%;
                border-top-color: currentColor;
                animation: spin 1s linear infinite;
            }

            .connection-check {
                display: none;
                color: #10b981;
                animation: bounceIn 0.5s ease;
            }

            @keyframes spin {
                to { transform: rotate(360deg); }
            }

            @keyframes bounceIn {
                0% { 
                    transform: scale(0.5); 
                    opacity: 0;
                }
                60% { 
                    transform: scale(1.2); 
                    opacity: 1;
                }
                100% { 
                    transform: scale(1); 
                }
            }

            @keyframes pulse {
                0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
                70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
                100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
            }

            .connection-success {
                position: relative;
            }

            .connection-success::after {
                content: '';
                position: absolute;
                top: -10px;
                left: -10px;
                right: -10px;
                bottom: -10px;
                border-radius: 50%;
                animation: pulse 1.5s infinite;
                pointer-events: none;
            }