/* Variables */
        :root {
            --primary: #7540db;
            --primary-light: #8a53f2;
            --primary-dark: #5d2bb1;
            --secondary: #f04e98;
            --secondary-light: #ff6eb0;
            --secondary-dark: #d63a7f;
            --tertiary: #31c6e8;
            --light: #ffffff;
            --light-gray: #f8f9fc;
            --gray: #e0e0e0;
            --dark-gray: #757575;
            --dark: #222236;
            --black: #14141e;
            --accent: #ff9100;
            --success: #4caf50;
            --error: #f44336;
            --warning: #ff9800;
            --text-primary: #14141e;
            --text-secondary: #4f4f6f;
            --text-tertiary: #79798f;
            --transition: all 0.25s ease;
            --border-radius: 12px;
            --card-radius: 16px;
            --box-shadow: 0 10px 30px rgba(20, 20, 30, 0.08);
            --button-shadow: 0 8px 15px rgba(117, 64, 219, 0.15);
            --glow-shadow: 0 0 15px rgba(117, 64, 219, 0.5);
        }

        /* Reset & Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            background-color: var(--light-gray);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            font-weight: 400;
            background-image: 
                radial-gradient(ellipse at top left, rgba(117, 64, 219, 0.03) 0%, transparent 70%),
                radial-gradient(ellipse at bottom right, rgba(240, 78, 152, 0.03) 0%, transparent 70%);
            background-attachment: fixed;
        }

        a {
            text-decoration: none;
            color: var(--primary);
            transition: var(--transition);
            font-weight: 500;
        }

        a:hover {
            color: var(--primary-light);
        }

        /* Typography */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

        /* Header */
        .header {
            background-color: rgba(20, 20, 30, 0.98);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
            padding: 1rem 0;
            position: relative;
            z-index: 10;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 32px;
            margin-right: 10px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
        }

        .logo h1 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: none;
            letter-spacing: -0.5px;
            position: relative;
        }

        .logo h1::after {
            content: '';
            position: absolute;
            bottom: -3px;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            opacity: 0.5;
            border-radius: 2px;
        }

        .back-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--light);
            font-size: 0.9rem;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 30px;
            background-color: rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .back-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: var(--transition);
            z-index: -1;
        }

        .back-link:hover {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--light);
            transform: translateX(-5px);
        }

        .back-link:hover::before {
            width: 100%;
        }

        .back-link i {
            transition: transform 0.3s ease;
        }

        .back-link:hover i {
            transform: translateX(-3px);
        }

        /* Main Content */
        .main {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4rem 0;
            position: relative;
        }

        /* Decorative Elements */
        .shape {
            position: absolute;
            pointer-events: none;
            opacity: 0.5;
            z-index: -1;
        }

        .shape-1 {
            top: 10%;
            left: 5%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(117, 64, 219, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(30px);
            animation: float 15s ease-in-out infinite alternate;
        }

        .shape-2 {
            bottom: 15%;
            right: 5%;
            width: 250px;
            height: 250px;
            background: radial-gradient(circle, rgba(240, 78, 152, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(30px);
            animation: float 12s ease-in-out infinite alternate-reverse;
        }

        .shape-3 {
            top: 40%;
            left: 15%;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(49, 198, 232, 0.1) 0%, transparent 70%);
            border-radius: 50%;
            filter: blur(25px);
            animation: float 10s ease-in-out infinite;
        }

        @keyframes float {
            0% {
                transform: translate(0, 0);
            }
            100% {
                transform: translate(30px, 30px);
            }
        }

        .login-container {
            width: 100%;
            max-width: 1000px;
            display: flex;
            box-shadow: var(--box-shadow);
            border-radius: var(--card-radius);
            overflow: hidden;
            background-color: var(--light);
            margin: 0 1.5rem;
            position: relative;
            z-index: 1;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        /* Glass morphism effect */
        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: -1;
            border-radius: var(--card-radius);
        }

        .login-image {
            flex: 0 0 45%;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3rem;
            color: white;
            z-index: 1;
            overflow: hidden;
        }

        .login-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('/api/placeholder/800/1200') center/cover no-repeat;
            opacity: 0.15;
            z-index: -1;
            animation: subtle-zoom 30s infinite alternate;
        }

        @keyframes subtle-zoom {
            0% {
                transform: scale(1);
            }
            100% {
                transform: scale(1.1);
            }
        }

        .login-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(117, 64, 219, 0.7), rgba(240, 78, 152, 0.7));
            z-index: -1;
            mix-blend-mode: multiply;
        }

        .login-image-content {
            text-align: center;
            max-width: 320px;
            position: relative;
            z-index: 2;
            animation: fadeInUp 1s ease;
        }

        .login-brand {
            margin-bottom: 2rem;
            display: inline-block;
        }

        .login-brand img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            margin-bottom: 1rem;
            filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
        }

        .login-image h2 {
            font-size: 2rem;
            color: white;
            margin-bottom: 1rem;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
            display: inline-block;
        }

        .login-image h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 25%;
            width: 50%;
            height: 3px;
            background: var(--accent);
            border-radius: 3px;
        }

        .login-image p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2.5rem;
            font-size: 1.05rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }

        .login-features {
            list-style: none;
            margin-bottom: 2.5rem;
            text-align: left;
        }

        .login-features li {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.2rem;
            color: rgba(255, 255, 255, 0.95);
            font-size: 1.05rem;
            position: relative;
            padding-left: 0.5rem;
            transition: transform 0.3s ease;
        }

        .login-features li:hover {
            transform: translateX(5px);
        }

        .login-features li i {
            color: var(--accent);
            font-size: 1.2rem;
            background: rgba(255, 255, 255, 0.2);
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            flex-shrink: 0;
        }

        .login-badges {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 3rem;
        }

        .login-badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .login-badge i {
            font-size: 0.9rem;
        }

        .login-form-container {
            flex: 1;
            padding: 3.5rem 3rem;
            background: var(--light);
            position: relative;
            overflow: hidden;
        }

        .login-form-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(117, 64, 219, 0.03) 0%, transparent 70%);
            z-index: 0;
            opacity: 0.7;
        }

        .login-header {
            margin-bottom: 2.5rem;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .login-header h2 {
            font-size: 2rem;
            margin-bottom: 0.7rem;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
        }

        .login-header p {
            color: var(--text-secondary);
            font-size: 1.05rem;
        }

        .login-form {
            max-width: 400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .form-group {
            margin-bottom: 1.8rem;
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: 0.7rem;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-label i {
            color: var(--primary);
            font-size: 0.85rem;
        }

        .form-input {
            width: 100%;
            padding: 0.9rem 1.2rem;
            border: 1.5px solid var(--gray);
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: all 0.3s ease;
            outline: none;
            background: var(--light);
            color: var(--text-primary);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
        }

        .form-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(117, 64, 219, 0.1);
        }

        .form-input:hover {
            border-color: var(--primary-light);
        }

        .input-wrapper {
            position: relative;
        }

        .input-icon {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 1rem;
            color: var(--primary);
            transition: all 0.3s ease;
        }

        .input-with-icon {
            padding-left: 3rem;
        }

        .input-wrapper:focus-within .input-icon {
            color: var(--primary-dark);
        }

        .password-toggle {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 1rem;
            background: none;
            border: none;
            color: var(--dark-gray);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }

        .password-toggle:hover {
            color: var(--primary);
            background-color: rgba(117, 64, 219, 0.05);
        }

        .form-options {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .custom-checkbox {
            position: relative;
            display: inline-block;
            width: 18px;
            height: 18px;
            border: 2px solid var(--primary);
            border-radius: 4px;
            transition: all 0.3s ease;
            background-color: transparent;
            cursor: pointer;
            overflow: hidden;
        }

        .custom-checkbox input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .checkmark {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            color: white;
            font-size: 0.7rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .custom-checkbox input:checked ~ .custom-checkbox {
            background-color: var(--primary);
            border-color: var(--primary);
        }

        .custom-checkbox input:checked ~ .checkmark {
            transform: translate(-50%, -50%) scale(1);
        }

        .form-text {
            font-size: 0.9rem;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .remember-me:hover .form-text {
            color: var(--text-primary);
        }

        .forgot-password {
            font-size: 0.9rem;
            position: relative;
            transition: all 0.3s ease;
        }

        .forgot-password::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            transition: width 0.3s ease;
        }

        .forgot-password:hover::after {
            width: 100%;
        }

        .btn {
            padding: 1rem 1.5rem;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border: none;
            font-size: 1rem;
            gap: 0.7rem;
            line-height: 1.4;
            letter-spacing: 0.2px;
        }

        .btn-primary {
            background: linear-gradient(45deg, var(--primary), var(--primary-light));
            color: white;
            position: relative;
            z-index: 1;
            overflow: hidden;
            box-shadow: var(--button-shadow);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: linear-gradient(45deg, var(--primary-dark), var(--primary));
            transition: width 0.5s ease;
            z-index: -1;
        }

        .btn-primary:hover::before {
            width: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(117, 64, 219, 0.3);
        }

        .btn-primary:active {
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(117, 64, 219, 0.2);
        }

        .btn-primary i {
            font-size: 1.1rem;
            transition: transform 0.3s ease;
        }

        .btn-primary:hover i {
            transform: translateX(3px);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
            position: relative;
            z-index: 1;
            overflow: hidden;
        }

        .btn-outline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background-color: var(--primary);
            transition: width 0.3s ease;
            z-index: -1;
            opacity: 0.05;
        }

        .btn-outline:hover::before {
            width: 100%;
        }

        .btn-outline:hover {
            border-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(117, 64, 219, 0.1);
        }

        .btn-block {
            display: block;
            width: 100%;
        }

        .login-divider {
            display: flex;
            align-items: center;
            margin: 2rem 0;
            color: var(--dark-gray);
            font-size: 0.9rem;
        }

        .login-divider::before,
        .login-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--gray), transparent);
        }

        .login-divider::before {
            margin-right: 1rem;
        }

        .login-divider::after {
            margin-left: 1rem;
        }

        .social-login {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .social-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.8rem;
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border: 1.5px solid var(--gray);
            background-color: var(--light);
            color: var(--text-primary);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .social-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            transition: width 0.3s ease;
            z-index: -1;
            opacity: 0.05;
        }

        .social-btn:hover::before {
            width: 100%;
        }

        .google-btn::before {
            background-color: #DB4437;
        }

        .facebook-btn::before {
            background-color: #4267B2;
        }

        .discord-btn::before {
            background-color: #5865F2;
        }

        .social-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--box-shadow);
        }

        .social-btn i {
            font-size: 1.2rem;
            transition: transform 0.3s ease;
        }

        .social-btn:hover i {
            transform: scale(1.1);
        }

        .register-link {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.95rem;
            color: var(--text-secondary);
            position: relative;
            padding: 1rem;
            border-radius: var(--border-radius);
            background-color: rgba(117, 64, 219, 0.03);
        }

        .register-link a {
            font-weight: 600;
            position: relative;
            margin-left: 0.3rem;
        }

        .register-link a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            transition: width 0.3s ease;
        }

        .register-link a:hover::after {
            width: 100%;
        }

        /* Footer */
        .footer {
            background-color: var(--black);
            color: var(--light);
            padding: 1.5rem 0;
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(to right, transparent, var(--primary), var(--secondary), transparent);
            opacity: 0.3;
        }

        .footer-text {
            font-size: 0.9rem;
            color: var(--dark-gray);
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 0.8rem;
        }

        .footer-link {
            color: var(--dark-gray);
            font-size: 0.85rem;
            transition: color 0.3s ease;
        }

        .footer-link:hover {
            color: var(--primary-light);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

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

        @keyframes fadeInRight {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Input Animations */
        .form-input:focus ~ .placeholder-label,
        .form-input:not(:placeholder-shown) ~ .placeholder-label {
            transform: translateY(-100%) scale(0.8);
            color: var(--primary);
        }

        .placeholder-label {
            position: absolute;
            top: 50%;
            left: 3rem;
            transform: translateY(-50%);
            color: var(--dark-gray);
            pointer-events: none;
            transition: all 0.3s ease;
            transform-origin: left top;
        }

        /* Success Styles */
        .btn.success {
            background: var(--success);
        }

        /* Media Queries */
        @media (max-width: 992px) {
            html {
                font-size: 15px;
            }
            
            .login-container {
                max-width: 800px;
            }
            
            .login-image {
                padding: 2.5rem;
            }
            
            .login-features li {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .login-container {
                flex-direction: column;
                max-width: 500px;
            }

            .login-image {
                padding: 3rem 2rem;
                min-height: 300px;
            }

            .login-form-container {
                padding: 2.5rem 2rem;
            }
            
            .login-features {
                max-width: 300px;
                margin: 0 auto 2rem;
            }
            
            .shape-1, .shape-2, .shape-3 {
                opacity: 0.3;
            }
        }

        @media (max-width: 576px) {
            html {
                font-size: 14px;
            }
            
            .main {
                padding: 2rem 0;
            }
            
            .login-container {
                margin: 0 1rem;
                border-radius: 12px;
            }
            
            .login-image {
                padding: 2rem 1.5rem;
                min-height: 250px;
            }
            
            .login-image h2 {
                font-size: 1.8rem;
            }
            
            .login-form-container {
                padding: 2rem 1.5rem;
            }

            .login-header h2 {
                font-size: 1.8rem;
            }
            
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }
            
            .social-login {
                flex-direction: column;
            }
            
            .login-badges {
                flex-direction: column;
                align-items: center;
                gap: 0.8rem;
            }
        }

        /* Utility Classes */
        .text-center {
            text-align: center;
        }

        .mt-1 {
            margin-top: 0.5rem;
        }

        .mt-2 {
            margin-top: 1rem;
        }

        .mt-3 {
            margin-top: 1.5rem;
        }

        .mb-1 {
            margin-bottom: 0.5rem;
        }

        .mb-2 {
            margin-bottom: 1rem;
        }

        .mb-3 {
            margin-bottom: 1.5rem;
        }

        /* Animation Triggers */
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }

        .fade-in-up {
            animation: fadeInUp 0.5s ease forwards;
        }

        .fade-in-right {
            animation: fadeInRight 0.5s ease forwards;
        }

        /* Animation Delays */
        .delay-1 {
            animation-delay: 0.1s;
        }

        .delay-2 {
            animation-delay: 0.2s;
        }

        .delay-3 {
            animation-delay: 0.3s;
        }

        .delay-4 {
            animation-delay: 0.4s;
        }

        .delay-5 {
            animation-delay: 0.5s;
        }