@import url(https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap);
@import url(https://cdn.lineicons.com/4.0/lineicons.css);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: black;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: #FCE6BB;
}

/* Header */
.header {
    background-color: #FCE6BB;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
}

.logo h1 img.icon {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: black;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    text-decoration: black;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: black;
    font-size: 24px;
    cursor: pointer;
}

.nav-header {
    display: none;
}

.nav-footer {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: #733F1B;
        flex-direction: column;
        padding: 60px 0 0;
        transition: 0.3s ease;
        border-left: 2px solid #F1B40B;
        display: flex;
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
    }

    .nav a {
        color: #FCE6BB;
        font-weight: bolder;
    }

    .nav.active {
        right: 0;
    }

    .nav-header {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .nav-footer {
        display: block;
    }

    .close-menu {
        background: none;
        border: none;
        color: #FCE6BB;
        font-weight: bold;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
    }

    .nav a {
        font-size: 1.1rem;
        padding: 0.7rem 2rem;
    }

    .nav-footer {
        border-top: 1px solid #F1B40B;
        padding-top: 0.7rem;
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-footer a {
        color: #FCE6BB;
        font-size: 0.9rem;
        font-weight: bolder;
        padding: 0.5rem 2rem 1rem;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: #733F1B;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: #F1B40B;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #F1B40B;
    color: #0f0f0f;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #000;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background-color: #FCE6BB;
}

.games-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: black;
}

.game-card {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    background: #FFFFFFBB;
    border: 1px solid #D68C28;
    border-radius: 20px;
    padding: 2rem;
    gap: 3rem;
    min-height: 500px;
    backdrop-filter: blur(10px);
}

.game-card:nth-child(even) {
    flex-direction: row-reverse;
}

.game-screenshots {
    flex: 1;
    max-width: 400px;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #D68C28;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FFFFFFBB;
}

.progress-bar {
    height: 100%;
    background: #733F1B;
    width: 0;
    transition: width 0.3s linear;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/19;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #733F1B;
}

.carousel-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-container img.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #733F1B;
}

.game-info {
    flex: 1;
    color: #ffffff;
}

.game-info h3, div.heading {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: black;
}

.game-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: black;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stars {
    font-size: 1.2rem;
}

.rating-text {
    color: black;
    font-weight: 500;
}

.store-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.store-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.store-link:hover {
    background-color: #733F1B;
    transform: translateY(-2px);
}

.store-link .icon {
    font-size: 1.2rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #733F1B;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color:#F1B40B
}

.about-section p {
    font-size: 1.2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat {
    flex: 1 1 calc(100% / 4 - 1rem);   /* N = desired columns */
    max-width: calc(100% / 4 - 1rem);  /* enforce the limit */
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F1B40B;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: white;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    text-align: center;
    background-color: #FCE6BB;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-section > p {
    font-size: 1.2rem;
    color: black;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: black;
}

.contact-item .icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: #733F1B;
    padding: 2rem 0;
    border-top: 1px solid #FCE6BB;
}

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

.footer-left p {
    color: #cccccc;
    margin: 0;
}

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

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

.footer-right a:hover {
    color: #D4B000;
}

/* Page Styles (for Privacy and Terms pages) */
.page {
    padding: 120px 0 20px;
    min-height: 100vh;
    background: #733F1B;
}

.page-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #FFFFFFBB;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid #333;
}

.page-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: black;
    margin-bottom: 1rem;
}

.page-content a {
    color: #733F1B;
    text-decoration: underline;
}

.page-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.page-content li {
    color: black;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #FCE6BB;
    font-weight: bolder;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #D2691E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    .game-card {
        flex-direction: column !important;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .game-screenshots {
        max-width: none;
        width: 100%;
        padding: 0 20px;
    }

    .carousel-container {
        aspect-ratio: 9/19;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .carousel {
        width: 100%;
        margin: 0 auto;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .carousel-nav.prev { left: -10px; }
    .carousel-nav.next { right: -10px; }

    .stats {
        gap: 2rem;
    }

    .stat {
        flex: 1 1 calc(100% / 2 - 1rem);   /* N = desired columns */
        max-width: calc(100% / 2 - 1rem);  /* enforce the limit */
        text-align: center;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-right {
        gap: 1rem;
    }
    
    .page-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .game-info h3 {
        font-size: 1.5rem;
    }
    
    .store-links {
        flex-direction: column;
    }
    
    .store-link {
        justify-content: center;
    }
}
