        :root {
            --primary-bg: #0a0a0f;
            --secondary-bg: #111116;
            --card-bg: rgba(17, 17, 22, 0.8);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --neon-blue: #00d4ff;
            --neon-purple: #9d4edd;
            --neon-pink: #ff006e;
            --text-primary: #ffffff;
            --text-secondary: #a0a0a8;
            --border-color: rgba(255, 255, 255, 0.1);
            
            /* Auth Variables */
            --accent-color: #8672FF;
            --base-color: white;
            --text-color: #2E2B41;
            --input-color: #F3F0FF;
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--primary-bg);
            overflow-x: hidden;
            position: relative;
        }

        /* Animated Background */
        .bg-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 40% 60%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
        }

        .floating-orbs {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: -1;
        }

        .orb {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
            opacity: 0.1;
            animation: float 20s infinite linear;
            filter: blur(1px);
        }

        .orb:nth-child(1) { width: 80px; height: 80px; top: 20%; left: -10%; animation-delay: 0s; }
        .orb:nth-child(2) { width: 120px; height: 120px; top: 60%; left: -15%; animation-delay: -5s; }
        .orb:nth-child(3) { width: 60px; height: 60px; top: 80%; left: -5%; animation-delay: -10s; }

        @keyframes float {
            0% { transform: translateX(0) translateY(0) rotate(0deg); }
            33% { transform: translateX(100vw) translateY(-20px) rotate(120deg); }
            66% { transform: translateX(100vw) translateY(20px) rotate(240deg); }
            100% { transform: translateX(0) translateY(0) rotate(360deg); }
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 5%;
            backdrop-filter: blur(20px);
            background: rgba(10, 10, 15, 0.8);
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.5px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 120px 5% 80px;
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            z-index: 10;
        }

        .hero-title {
            font-size: clamp(4rem, 8vw, 8rem);
            font-weight: 900;
            line-height: 0.9;
            margin-bottom: 30px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #f093fb 70%, #f5576c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            letter-spacing: -0.02em;
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3)); }
            100% { filter: drop-shadow(0 0 40px rgba(157, 78, 221, 0.5)); }
        }

        .hero-subtitle {
            font-size: clamp(1.2rem, 2.5vw, 1.8rem);
            color: var(--text-secondary);
            margin-bottom: 50px;
            font-weight: 400;
            line-height: 1.6;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        .cta-button {
            position: relative;
            padding: 18px 45px;
            font-size: 18px;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            background: var(--primary-gradient);
            color: white;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
            overflow: hidden;
            animation: fadeInUp 1s ease-out 0.6s both;
        }

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

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
        }

        .cta-button:hover::before {
            left: 100%;
        }

        /* Features Section */
        .features {
            padding: 100px 5%;
            background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
        }

        .features-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            text-align: center;
            margin-bottom: 20px;
            color: var(--text-primary);
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: var(--text-secondary);
            text-align: center;
            margin-bottom: 80px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .feature-card {
            position: relative;
            padding: 40px 30px;
            border-radius: 24px;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            cursor: pointer;
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-gradient);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
            border-color: rgba(102, 126, 234, 0.3);
        }

        .feature-card:hover::before {
            transform: scaleX(1);
        }

        .feature-icon {
            font-size: 3rem;
            margin-bottom: 25px;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            transition: transform 0.4s ease;
        }

        .feature-card:hover .feature-icon {
            transform: scale(1.1) rotateY(10deg);
        }

        .feature-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
            letter-spacing: -0.01em;
        }

        .feature-description {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 1rem;
        }

        /* Modal Styles */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 20px;
        }

        .modal.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background: var(--secondary-bg);
            border-radius: 24px;
            padding: 40px;
            max-width: 600px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            border: 1px solid var(--border-color);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            transform: scale(0.9) translateY(20px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .modal.active .modal-content {
            transform: scale(1) translateY(0);
        }

        .modal-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 30px;
            text-align: center;
            background: var(--primary-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .modal-text {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 30px;
        }

        .modal-section {
            margin-bottom: 20px;
        }

        .brand-name {
            color: var(--neon-blue);
            font-weight: 600;
        }

        .button-container {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .modal-btn {
            padding: 15px 30px;
            border-radius: 50px;
            border: none;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
        }

        .agree-btn {
            background: var(--primary-gradient);
            color: white;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .disagree-btn {
            background: var(--accent-gradient);
            color: white;
            box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
        }

        .modal-btn:hover {
            transform: translateY(-2px);
        }

        /* Auth Modal Styles */
        .auth-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 20px;
        }

        .auth-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .auth-container {
            position: relative;
            width: 100%;
            max-width: 500px;
            background: var(--base-color);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
            transform: scale(0.9) translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .auth-modal.active .auth-container {
            transform: scale(1) translateY(0);
        }

        .auth-header {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(157, 78, 221, 0.9) 50%, rgba(240, 147, 251, 0.9) 100%);
            padding: 40px;
            text-align: center;
            color: white;
            position: relative;
        }

        .auth-close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 35px;
            height: 35px;
            border: none;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .auth-close-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .auth-header h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .auth-header p {
            font-size: 1rem;
            opacity: 0.95;
            line-height: 1.6;
        }

        .auth-content {
            padding: 40px;
            text-align: center;
            font-family: 'Poppins', sans-serif;
        }

        .auth-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 30px;
        }

        .auth-error {
            color: #f06272;
            text-align: center;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }

        .auth-success {
            color: #4ade80;
            text-align: center;
            margin-bottom: 20px;
            font-size: 0.9rem;
        }

        /* Google Sign-In Button */
        .google-signin-btn {
            width: 100%;
            padding: 16px 20px;
            border: 2px solid var(--input-color);
            border-radius: 50px;
            background: var(--base-color);
            color: var(--text-color);
            font: inherit;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .google-signin-btn:hover:not(:disabled) {
            border-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(134, 114, 255, 0.3);
        }

        .google-signin-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .google-icon {
            width: 24px;
            height: 24px;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23FFC107" d="M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 12.955 4 4 12.955 4 24s8.955 20 20 20 20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z"/><path fill="%23FF3D00" d="m6.306 14.691 6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4 16.318 4 9.656 8.337 6.306 14.691z"/><path fill="%234CAF50" d="M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238A11.91 11.91 0 0 1 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z"/><path fill="%231976D2" d="M43.611 20.083H42V20H24v8h11.303a12.04 12.04 0 0 1-4.087 5.571l.003-.002 6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z"/></svg>') center/contain no-repeat;
        }

        /* Access Code Modal */
        .access-code-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3500;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 20px;
        }

        .access-code-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .access-code-content {
            background: var(--base-color);
            border-radius: 24px;
            padding: 40px;
            max-width: 450px;
            width: 100%;
            text-align: center;
            border: 1px solid var(--border-color);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
            transform: scale(0.9) translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .access-code-modal.active .access-code-content {
            transform: scale(1) translateY(0);
        }

        .access-code-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 20px;
        }

        .access-code-text {
            color: var(--text-color);
            opacity: 0.8;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .access-code-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid var(--input-color);
            border-radius: 50px;
            background: var(--input-color);
            color: var(--text-color);
            font: inherit;
            font-size: 16px;
            text-align: center;
            font-weight: 600;
            letter-spacing: 2px;
            transition: border-color 0.3s ease;
            margin-bottom: 20px;
        }

        .access-code-input:focus {
            outline: none;
            border-color: var(--accent-color);
        }

        .access-code-input.incorrect {
            border-color: #f06272;
        }

        .access-code-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .access-code-btn {
            padding: 12px 25px;
            border: none;
            border-radius: 50px;
            font: inherit;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 100px;
        }

        .access-code-submit-btn {
            background: var(--accent-color);
            color: var(--base-color);
        }

        .access-code-cancel-btn {
            background: transparent;
            color: var(--text-color);
            border: 2px solid var(--input-color);
        }

        .access-code-btn:hover:not(:disabled) {
            transform: translateY(-2px);
        }

        .access-code-submit-btn:hover:not(:disabled) {
            background: var(--text-color);
        }

        .access-code-cancel-btn:hover {
            border-color: var(--accent-color);
        }

        /* Username Creation Modal */
        .username-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(15px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3600;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 20px;
        }

        .username-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .username-content {
            background: var(--base-color);
            border-radius: 24px;
            padding: 40px;
            max-width: 450px;
            width: 100%;
            text-align: center;
            border: 1px solid var(--border-color);
            box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
            transform: scale(0.9) translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .username-modal.active .username-content {
            transform: scale(1) translateY(0);
        }

        .username-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 15px;
        }

        .username-subtitle {
            color: var(--text-color);
            opacity: 0.8;
            margin-bottom: 30px;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .username-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid var(--input-color);
            border-radius: 50px;
            background: var(--input-color);
            color: var(--text-color);
            font: inherit;
            font-size: 16px;
            text-align: center;
            font-weight: 500;
            transition: border-color 0.3s ease;
            margin-bottom: 10px;
        }

        .username-input:focus {
            outline: none;
            border-color: var(--accent-color);
        }

        .username-input.incorrect {
            border-color: #f06272;
        }

        .username-requirements {
            font-size: 0.8rem;
            color: var(--text-color);
            opacity: 0.6;
            margin-bottom: 20px;
            text-align: left;
            padding-left: 10px;
        }

        .username-submit-btn {
            width: 100%;
            padding: 15px 25px;
            border: none;
            border-radius: 50px;
            background: var(--accent-color);
            color: var(--base-color);
            font: inherit;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
        }

        .username-submit-btn:hover:not(:disabled) {
            background: var(--text-color);
            transform: translateY(-2px);
        }

        .username-submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Copyright */
        .copyright {
            text-align: center;
            padding: 40px 5%;
            color: var(--text-secondary);
            font-size: 0.9rem;
            border-top: 1px solid var(--border-color);
            margin-top: 100px;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in-up {
            animation: fadeInUp 0.8s ease-out;
        }

        /* Scroll Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                padding: 15px 5%;
            }

            .hero {
                padding: 100px 5% 60px;
            }

            .features {
                padding: 60px 5%;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .feature-card {
                padding: 30px 20px;
            }

            .modal-content {
                padding: 30px 20px;
                margin: 20px;
            }

            .button-container {
                flex-direction: column;
                align-items: center;
            }

            .modal-btn {
                width: 100%;
                max-width: 300px;
            }

            .auth-container {
                max-width: 400px;
            }

            .auth-header {
                padding: 30px 25px;
            }

            .auth-content {
                padding: 30px 25px;
            }

            .auth-header h2 {
                font-size: 1.6rem;
            }

            .access-code-content,
            .username-content {
                padding: 30px 25px;
                max-width: 350px;
            }

            .access-code-title,
            .username-title {
                font-size: 1.5rem;
            }

            .access-code-buttons {
                flex-direction: column;
            }

            .access-code-btn {
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 3rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .google-signin-btn {
                padding: 12px 18px;
                font-size: 14px;
            }

            .google-icon {
                width: 20px;
                height: 20px;
            }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--primary-bg);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-gradient);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--accent-gradient);
        }
