/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2196F3;
}

.logo img {
    width: 32px;
    height: 32px;
   
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #2196F3;
}

.burger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}

.h-pic {
    align-self: flex-start;
    margin-top: -30px;
    margin-right: -30px;
    max-width: 200px;
    width: 100%;
}

.hero-content {
    border-radius: 34px;
background: #06031E;
    align-items: center;
    overflow: hidden;
}

.hero h1 {
    font-size: 80px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 517px;
    width: 100%;
}

.hero p {
    font-size: 14px;
    line-height: 1.4;
 width: 100%;
    opacity: 0.9;
    max-width: 374px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    margin-top: -30px;
}

/* Button Styles */
.btn {
    display: flex;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    max-width: 270px;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: #00bcd4;
    color: white;
}

.btn-primary:hover {
    background: #00acc1;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: white;
}

.categories h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.categories-grid {
    display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
    gap: 20px;
}

.category-card {
    background: #1a1a2e;
    color: white;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 1 23%;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card-large {
    padding: 0;
}



.category-card-wide {
    padding: 0;
    flex: 0 1 74%;
}

.category-icon {
    width: 30px;
    margin-bottom: 1rem;
}

.cat-img {
    max-width: 142px;
    margin-bottom: -20px;
    margin-right: -20px;
    align-self: flex-end;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.category-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.category-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: auto;
}

.category-card-large img {
    margin-top: 0;
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
}

.category-card-wide img {
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.faq-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.faq-content {
  
    
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.faq-image img {
    width: 293px;
   position: absolute;
    object-fit: cover;
    left: 0;
    bottom: 0;
}

.faq-list {
    max-width: 800px;
}

.faq-item {
    background: #2c3e50;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    color: white;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    background: rgba(255,255,255,0.1);
    color: white;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* CTA Section */
.cta {
   
    color: white;
    padding: 80px 0;
}

.cta-content {
    display: flex;
    gap: 30px;
    padding: 30px 0 0 30px;
    align-items: center;
    border-radius: 34px;
background: #06031E;
}

.cta-text {
    max-width: 685px;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-image img {
    max-width: 455px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #00bcd4;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    background: #00bcd4;
    border-radius: 50%;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00bcd4;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #00bcd4;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link img {
    width: 100%;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    
    .about-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .h-pic {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .category-card-large {
        grid-row: span 1;
    }
    
    .category-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        transform: translateY(-145%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-row {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero-image {
        width: 150%;
    }

    .hero-image img {
margin-top: 30px;
    }
    
    .about,
    .categories,
    .faq,
    .cta {
        padding: 60px 0;
    }
    
    .categories h2,
    .about h2,
    .faq h2,
    .cta h2 {
        font-size: 2rem;
    }

    .cta-content {
        padding: 30px 20px 0;
        flex-direction: column;
        align-items: center;
    }

    .category-card {
        flex: 0 1 46.5%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-image img {
       
    }

    .faq-inner {
        flex-direction: column;
    }
    .faq-text {
        text-align: center;
    }
    .faq-image img {
       position: relative;
       left: -15px;
    }
    .faq-image {
        position: relative;
        max-width: 280px;
        width: 100%;
        margin-left: -15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p,
    .about p,
    .cta p {
        font-size: 1rem;
    }
    
    .categories-grid {
        flex-direction: column;
    }
    
    .category-card {
       min-height: 290px;
    }

    .category-card img {
        margin-top: 0;
        height: 100%;
    }

    .category-card-wide img {
     min-height: 290px;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .faq-image img {
       position: relative;
       left: -15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Games Page Specific Styles */

/* Games Hero Section */
.games-hero {
   
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    margin-bottom: 80px;
}

.games-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    border-radius: 34px;
background: #06031E;
padding: 30px 0 0 30px;
}

.games-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.games-hero p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.games-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.games-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Games Grid Section */
.games-grid-section {
    padding: 0 0 80px;
    background: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    
    aspect-ratio: 1 / 1;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover img {
    transform: scale(1.05);
}

.game-info {
    padding: 1.5rem;
    border-radius: 20px;
background: #06031E;
transform: translateY(100%);
opacity: 0;
transition: all 0.3s ease-in-out;
position: relative;
z-index: 3;
}

.game-card:hover .game-info {
    opacity: 1;
    transform: translateY(-100%);
}

.game-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}

.game-info p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Large game card - takes 2x2 space */
.game-card-large {
   grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
}

.game-card-large img {
    
}

.game-card-large .game-info {
    padding: 2rem;
}

.game-card-large .game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-card-large .game-info p {
    font-size: 1rem;
}

/* Responsive Design for Games Page */
@media (max-width: 1023px) {
    .games-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 30px 20px 0;
        overflow: hidden;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    }
    
    .game-card-large {
        
    }
    
    .game-card-large img {
       
    }
    
    .game-card-large .game-info {
        padding: 1.5rem;
    }
    
    .game-card-large .game-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .game-card-large .game-info p {
        font-size: 0.9rem;
    }

    .games-hero-image img {
        margin-right: -40px;
    }
}

@media (max-width: 768px) {
    .games-hero {
        padding: 100px 0 60px;
        border-radius: 0 0 30px 30px;
        margin-bottom: 60px;
    }
    
    .games-hero h1 {
        font-size: 2.5rem;
    }
    
    .games-grid {
       
    }
    
    .games-grid-section {
        padding: 0 0 60px;
    }
}

@media (max-width: 480px) {
    .games-hero h1 {
        font-size: 2rem;
    }
    
    .games-hero p {
        font-size: 0.9rem;
    }
    
    .games-grid {
       
        gap: 1rem;
    }
    
    .game-card {
        border-radius: 15px;
    }
    
    .game-info {
        padding: 1rem;
    }
}

/* Animation classes for games */
.game-card {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.game-card.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Game Page Specific Styles */

/* Game Hero Section */
.game-hero {
   
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
   
    margin-bottom: 80px;
}

.game-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    border-radius: 34px;
background: #06031E;
padding: 30px;
}

.game-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.game-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.game-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.game-play-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    border: none;
    max-width: 270px;
}

.game-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.ab-content {
    max-width: 478px;
    width: 100%;
}

/* About Game Section */
.about-game {
    padding: 0 0 80px;
    background: white;
}

.about-game h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-game p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Game Stages */
.game-stages {
    margin: 3rem 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.game-stages h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

.stage-item {
    background: #2c3e50;
    color: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.stage-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stage-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Game Features */
.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.feature-item {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Game Advantages */
.game-advantages {
    margin: 3rem 0;
}

.game-advantages h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.advantage-item {
    margin-bottom: 2rem;
}

.advantage-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-card {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
    color: #fff;
}

/* Game Screenshots */
.game-screenshot {
    padding: 60px 0;
    background: #f8f9fa;
}

.game-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.game-screenshot-inline {
    margin: 3rem 0;
    text-align: center;
}

.game-screenshot-inline img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.game-screenshot-large {
    max-width: 478px;
    text-align: center;
}

.game-screenshot-large img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Play Now Button in Content */
.about-game .btn {
    display: block;
    margin: 3rem auto 0;
    text-align: center;
}

/* Responsive Design for Game Pages */
@media (max-width: 1023px) {
    .game-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .game-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .game-features,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .game-hero {
        padding: 100px 0 60px;
        border-radius: 0 0 30px 30px;
        margin-bottom: 60px;
    }
    
    .game-hero h1 {
        font-size: 2.5rem;
    }
    
    .game-tagline {
        font-size: 1.2rem;
    }
    
    .game-description {
        font-size: 0.95rem;
    }

    .game-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-game {
        padding: 0 0 60px;
    }
    
    .about-game h2 {
        font-size: 2rem;
    }
    
    .game-stages,
    .game-advantages {
        margin: 2rem 0;
    }
    
    .feature-item,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .stage-item {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .game-hero h1 {
        font-size: 2rem;
    }
    
    .game-tagline {
        font-size: 1.1rem;
    }
    
    .game-description {
        font-size: 0.9rem;
    }
    
    .game-play-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .game-features,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item,
    .advantage-card {
        padding: 1.2rem;
    }
    
    .feature-icon,
    .advantage-icon {
        font-size: 2rem;
    }
}

/* Animation classes for game pages */
.game-hero-text,
.game-hero-image {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.game-hero-text.visible,
.game-hero-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item,
.advantage-card,
.stage-item {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.feature-item.visible,
.advantage-card.visible,
.stage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

              .page {
                padding: 80px 0;
              }
              
              .page__inner {
                padding-top: 40px;
                width: 100%;
                margin: 0 auto;
                display: flex;
                  flex-direction: column;
                  row-gap: 18px;
                  line-height: 1.4;
              }

              .page__inner p {
                padding-bottom: 10px;
                padding-top: 8px;
              }

              .page__inner strong {
                font-weight: 600;
              }

              .page__inner ul {
                padding-left: 20px;
                list-style-type: disc;
              }

              
                

                