      @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
        
          :root {
            --primary: #0f1228;
            --secondary: #181e3f;
            --accent: #3b4eff;
            --accent-glow: #5c6eff;
            --text-light: #f0f2ff;
            --text-muted: #b8c0ff;
            --card-bg: rgba(20, 25, 55, 0.7);
        }
        
      
      /* ==================== HEADER STYLES (FIXED) ==================== */
        header {
            background: rgba(10, 14, 36, 0.92);
            backdrop-filter: blur(12px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(59, 78, 255, 0.25);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }

        .nav-container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
            gap: 20px;
        }

       
        .logo:hover {
            transform: scale(1.02);
        }
        
        .logo-img {
            height: 48px;
            width: auto;
            filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
        }
        
       
      

        /* CTA BUTTON (new button in header) */
        .header-cta {
    background: linear-gradient(95deg, var(--accent), #636eff);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center; /* ✅ TEXT CENTER */
    
    gap: 8px;
    box-shadow: 0 5px 12px rgba(59, 78, 255, 0.3);
    letter-spacing: 0.3px;
    text-align: center; /* extra safety */
}
        
        .header-cta i {
            font-size: 1rem;
        }
        
        .header-cta:hover {
            background: linear-gradient(95deg, #2a3ce0, #4a5eff);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(59, 78, 255, 0.4);
        }
        
        /* Desktop navigation */
        nav ul {
            list-style: none;
            display: flex;
            gap: 32px;
            align-items: center;
        }
        
        nav ul li a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: 0.2s;
            white-space: nowrap;
        }
        
        nav ul li a:hover {
            color: var(--accent);
        }
        
        /* Dropdown (desktop) */
        .dropdown {
            position: relative;
        }
        
        .dropdown > a i {
            font-size: 0.75rem;
            margin-left: 5px;
            transition: transform 0.2s;
        }
        
        .dropdown:hover > a i {
            transform: rotate(180deg);
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(20, 25, 55, 0.98);
            backdrop-filter: blur(16px);
            min-width: 230px;
            border-radius: 18px;
            padding: 12px 0;
            box-shadow: 0 20px 35px rgba(0,0,0,0.5);
            border: 1px solid rgba(59, 78, 255, 0.3);
            z-index: 200;
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
            animation: fadeDown 0.2s ease;
        }
        
        @keyframes fadeDown {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .dropdown-content a {
            display: block;
            padding: 12px 22px;
            color: #dfe4ff;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        
        .dropdown-content a:hover {
            background: var(--accent);
            color: white;
            padding-left: 28px;
        }
        
        /* Hamburger menu */
        .hamburger {
            display: none;
            font-size: 1.8rem;
            color: white;
            cursor: pointer;
            background: none;
            border: none;
            width: 45px;
            height: 45px;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s;
        }
        
        .hamburger:hover {
            background: rgba(59, 78, 255, 0.2);
        }
        
        /* ==================== MOBILE RESPONSIVE (FIXED DROPDOWN) ==================== */
        @media (max-width: 992px) {
            .nav-container {
                padding: 0 20px;
            }
            
            .logo-img {
                height: 42px;
            }
            
            .logo-text {
                font-size: 1.4rem;
            }
            
            .hamburger {
                display: flex;
            }
            
            nav ul {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: rgba(8, 12, 30, 0.97);
                backdrop-filter: blur(20px);
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;
                padding: 30px 28px;
                transition: left 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
                gap: 18px;
                overflow-y: auto;
                z-index: 999;
            }
            
            nav ul.active {
                left: 0;
            }
            
            nav ul li {
                width: 100%;
            }
            
            nav ul li a {
                display: block;
                width: 100%;
                padding: 12px 0;
                font-size: 1.2rem;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }
            
            /* Fix mobile dropdown: toggle open/close correctly */
            .dropdown {
                width: 100%;
                position: relative;
            }
            
            .dropdown > a {
                display: flex;
                justify-content: space-between;
                align-items: center;
                cursor: pointer;
            }
            
            .dropdown > a i {
                transition: transform 0.25s;
            }
            
            .dropdown-content {
                position: static;
                display: none;
                background: rgba(26, 32, 70, 0.8);
                width: 100%;
                border-radius: 20px;
                margin-top: 8px;
                margin-bottom: 6px;
                padding: 8px 0;
                box-shadow: none;
                border: 1px solid rgba(59, 78, 255, 0.4);
                transform: none;
                opacity: 1;
            }
            
            .dropdown-content a {
                padding: 12px 20px;
                font-size: 1rem;
                border-bottom: none;
            }
            
            /* active class to show dropdown in mobile */
            .dropdown.active-mobile .dropdown-content {
                display: block;
                animation: fadeInMobile 0.2s ease;
            }
            
            @keyframes fadeInMobile {
                from { opacity: 0; transform: translateY(-5px); }
                to { opacity: 1; transform: translateY(0); }
            }
            
            .dropdown.active-mobile > a i {
                transform: rotate(180deg);
            }
            
            
        }
        
        /* small devices */
        @media (max-width: 550px) {
            .logo-text {
                display: none;
            }
            .logo-img {
                height: 38px;
            }
          
        }


        /* Tablet */
@media (max-width: 768px) {
    .header-cta {
        padding: 20px 22px;
        font-size: 0.9rem;
        border-radius: 30px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .header-cta {
        width: 100%;
        padding: 14px;
        font-size: 0.85rem;
        border-radius: 25px;
    }

    .header-cta i {
        font-size: 0.9rem;
    }
}
        
      
      
        
        /* ==================== FOOTER (enhanced) ==================== */
        footer {
            background: linear-gradient(145deg, #0b0e28, #06081c);
            color: white;
            padding: 60px 20px 30px;
            margin-top: 80px;
            border-top: 1px solid rgba(59, 78, 255, 0.2);
        }
        
        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 40px;
        }
        
        .footer-col h3 {
            margin-bottom: 20px;
            font-size: 1.35rem;
            position: relative;
            display: inline-block;
        }
        
        .footer-col h3:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 45px;
            height: 3px;
            background: var(--accent);
            border-radius: 4px;
        }
        
        .footer-col ul {
            list-style: none;
        }
        
        .footer-col ul li {
            margin-bottom: 12px;
        }
        
        .footer-col ul li a {
            color: #c5ccff;
            text-decoration: none;
            transition: 0.2s;
        }
        
        .footer-col ul li a:hover {
            color: var(--accent);
            padding-left: 5px;
        }
        
        .footer-bottom {
            max-width: 1200px;
            margin: 50px auto 0;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
            font-size: 0.9rem;
        }
        
        button, a {
            transition: all 0.2s;
        }
 
      
      
      :root {
            --primary: #21275b;
            --secondary: #2a3270;
            --accent: #4a5dff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7;
            color: #e0e0ff;
            background: linear-gradient(135deg, #0a0e24 0%, #1a1f3d 100%);
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .hero {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 85px 20px 75px;
            text-align: center;
            border-radius: 0 0 45px 45px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: -120px;
            right: -120px;
            width: 450px;
            height: 450px;
            background: rgba(255,255,255,0.07);
            border-radius: 50%;
        }
        
        h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 8px 25px rgba(0,0,0,0.6);
        }
        
        
        .section {
            background: rgba(20, 25, 55, 0.95);
            margin: 40px 0;
            padding: 52px 48px;
            border-radius: 24px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(74, 93, 255, 0.18);
        }
        
        h2 {
            color: #ffffff;
            font-size: 2rem;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        h2 i {
            color: var(--accent);
            font-size: 2.3rem;
        }
        
        h3 {
            color: #a8b8ff;
            font-size: 1.5rem;
            margin: 35px 0 18px 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        p {
            margin-bottom: 22px;
            font-size: 1rem;
            color: #d0d6ff;
             font-weight: 400;
        }
        
        ul {
            padding-left: 10px;
           
        }
        
        li {
            margin-bottom: 16px;
            font-size: 1.08rem;
            color: #c5ccff;
            display: flex;
            align-items: flex-start;
            gap: 12px;
             font-weight: 400;
        }
        
        li i {
            color: var(--accent);
            margin-top: 4px;
            font-size: 1.1rem;
        }
        
        

        /* Button Container */
.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* Base Button */
.btn {
    position: relative;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s ease;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Glow Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Login */
.login-btn {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    box-shadow: 0 4px 15px rgba(101, 71, 255, 0.4);
}

/* Register */
.register-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    box-shadow: 0 4px 15px rgba(255, 75, 75, 0.4);
}

/* Download */
.download-btn {
    background: linear-gradient(135deg, #00c853, #64dd17);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

/* Hover Effect */
.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Click Effect */
.btn:active {
    transform: scale(0.95);
}

/* Mobile */
@media (max-width: 600px) {
    .btn {
        width: 100%;
        text-align: center;
    }
}



        .button {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(135deg, var(--accent), #6b7fff);
            color: white;
            padding: 16px 38px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.06rem;
            margin: 15px 12px 15px 0;
            transition: all 0.4s ease;
            box-shadow: 0 12px 30px rgba(74, 93, 255, 0.45);
        }
        
        .button:hover {
            transform: translateY(-7px) scale(1.04);
            box-shadow: 0 20px 40px rgba(74, 93, 255, 0.55);
        }
        
        .steps {
            background: rgba(15, 19, 41, 0.85);
            border-left: 7px solid var(--accent);
            padding: 35px 40px;
            margin: 32px 0;
            border-radius: 18px;
        }
        
        .step {
            counter-increment: step;
            position: relative;
            padding-left: 62px;
            margin-bottom: 26px;
            color: #d0d6ff;
             font-weight: 400;
        }
        
        .step:last-child { margin-bottom: 0; }
        
        .step::before {
            content: counter(step);
            position: absolute;
            left: 0;
            top: 0;
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 6px 18px rgba(74, 93, 255, 0.6);
        }
        
        /* FAQ Section - Questions as h3 */
        .faq-section h3 {
            color: #ffffff;
            font-size: 1.45rem;
            margin: 25px 0 12px 0;
            padding: 18px 25px;
            background: rgba(33, 39, 91, 0.9);
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 14px;
            border-left: 5px solid var(--accent);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .faq-section h3:hover {
            background: rgba(42, 50, 112, 0.95);
            transform: translateX(8px);
        }
        
        .faq-answer {
            padding: 0 25px 25px 25px;
            color: #c5ccff;
            font-size: 1.07rem;
            line-height: 1.65;
             font-weight: 400;
        }
       
        
        @media (max-width: 768px) {
            h1 { font-size: 2.5rem; }
            .section { padding: 38px 25px; }
        }

      .games-container {
            max-width: 1100px;
            margin: 0 auto;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-title h2 {
            color: white;
            font-size: 2.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        
        .section-title h2 i {
            color: var(--accent);
            font-size: 2.4rem;
        }
        
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 25px;
        }
        
        .game-card {
            background: rgba(26, 31, 61, 0.95);
            border-radius: 20px;
            overflow: hidden;
            border: 2px solid rgba(74, 93, 255, 0.2);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .game-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent);
            box-shadow: 0 20px 40px rgba(74, 93, 255, 0.3);
        }
        
        .game-icon {
            height: 110px;           /* Reduced height */
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3.2rem;       /* Smaller icon */
            color: white;
        }
        
        .game-content {
            padding: 22px 24px;      /* Reduced padding */
        }
        
        .game-content h3 {
            color: #ffffff;
            font-size: 1.45rem;      /* Smaller heading */
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .game-content p {
            color: #c5ccff;
            font-size: 1.02rem;      /* Slightly smaller text */
            line-height: 1.65;
        }
        
        @media (max-width: 768px) {
            .games-grid {
                grid-template-columns: 1fr;
            }
            .section-title h2 {
                font-size: 2rem;
            }
        }

        /* Dual Column for Login & Register */
        .dual-column {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .process-card {
            background: rgba(26, 31, 61, 0.95);
            border-radius: 20px;
            padding: 35px 30px;
            border: 2px solid rgba(74, 93, 255, 0.2);
            transition: all 0.4s ease;
            height: 100%;
        }
        
        .process-card:hover {
            transform: translateY(-8px);
            border-color: var(--accent);
            box-shadow: 0 20px 40px rgba(74, 93, 255, 0.3);
        }
        
        .process-card h3 {
            color: white;
            font-size: 1.75rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: center;
        }
        
        .steps-list {
            list-style: none;
        }
        
        .steps-list li {
            margin-bottom: 18px;
            padding-left: 10px;
            font-size: 1.07rem;
            color: #c5ccff;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .steps-list li i {
            color: var(--accent);
            font-size: 1.25rem;
            margin-top: 3px;
            min-width: 24px;
        }
        
        .intro-text {
            margin-bottom: 25px;
            font-size: 1.08rem;
            color: #d0d6ff;
        }
        
        @media (max-width: 992px) {
            .dual-column {
                grid-template-columns: 1fr;
            }
        }

        .contact {
            background: rgba(33, 39, 91, 0.8);
            padding: 25px 30px;
            border-radius: 16px;
            margin: 30px 0;
            text-align: center;
            border-left: 6px solid var(--accent);
        }
        
        .contact i {
            color: var(--accent);
            font-size: 2rem;
            margin-bottom: 10px;
        }

         .contact-box {
            background: rgba(33, 39, 91, 0.9);
            padding: 40px 35px;
            border-radius: 20px;
            margin: 35px 0;
            text-align: center;
            border: 2px solid var(--accent);
        }
        
        .contact-box i {
            color: var(--accent);
            font-size: 3.5rem;
            margin-bottom: 20px;
        }
        
        .email {
            font-size: 1.35rem;
            color: #a8b8ff;
            font-weight: 600;
            margin: 15px 0;
        }

        .highlight-box {
            background: rgba(33, 39, 91, 0.9);
            padding: 30px 35px;
            border-radius: 18px;
            margin: 35px 0;
            border-left: 6px solid var(--accent);
        }

       
        /* author */

        .author-section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 90px auto;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--secondary);
}

.author-section h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.author-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #c7d2fe;
}

.profile-img {
    width: 80%;
    border-radius: 40%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--accent);
}

/* ✅ Tablet */
@media (max-width: 992px) {
    .author-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-img {
        width: 60%;
        margin: 0 auto;
    }
}

/* ✅ Mobile */
@media (max-width: 576px) {
    .author-section {
        padding: 60px 15px;
        margin: 40px auto;
    }

    .author-section h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .author-text p {
        font-size: 1rem;
    }

    .profile-img {
        width: 80%;
        border-radius: 25%;
    }
}