/* Base Styles */
:root {
    --primary-color: #1f5e39;
    --secondary-color: #163e26;
    --text-color: #ffffff;
    --accent-color: #f4cd4c;
    --dark-accent: #e6b722;
    --bg-color: #1a5332;
    --card-bg: #144428;
    --container-width: 1200px;
    --border-radius: 8px;
}

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

body {
    font-family: 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 3rem 0;
    background-color: var(--bg-color);
}

/* Buttons */
.btn-primary, .cta-button {
    background-color: var(--accent-color);
    color: #333;
    padding: 0.8rem 2rem;
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-primary:hover, .cta-button:hover {
    background-color: var(--dark-accent);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    padding: 0.8rem 2rem;
    font-weight: 500;
    border: 2px solid var(--text-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 2rem;
}

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

.main-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 200;
    transition: left 0.3s;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.close-menu {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    margin-bottom: 0.5rem;
}

.hero h2 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature-box {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--secondary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-box p {
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: var(--secondary-color);
}

.about h2 {
    margin-bottom: 1rem;
}

.about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.game-image {
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h3 {
    padding: 1rem 1rem 0.5rem;
}

.game-category, .game-description, .game-best-for {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.game-category strong, .game-description strong, .game-best-for strong {
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
}

.google-play-btn {
    display: block;
    text-align: center;
    padding: 1rem;
}

.google-play-btn img {
    height: 40px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.reviewer {
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.testimonial p {
    margin-bottom: 0;
    font-style: italic;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: 'Ubuntu', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    align-self: center;
    margin-top: 1rem;
}

.contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-email img {
    width: 24px;
    height: 24px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    z-index: 300;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content {
    max-width: 900px;
    margin: 0 auto;
}

.cookie-content h2 {
    margin-bottom: 1rem;
    text-align: left;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

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

    .feature-box {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }

    .feature-box {
        padding: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .games-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}