/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.btn {
    display: inline-block;
    background-color: #a1ad36;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #8a9430;
}

/* Header */
header {
    background-color: #a1ad36;
    color: white;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-family: 'Fredoka', sans-serif;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 3rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    background-color: #a1ad36;
    color: white;
    padding: 3rem 0;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: white;
}

/* Games Section */
.games {
    background-color: #fff;
    padding: 3rem 0;
}

.games h2 {
    text-align: center;
}

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

.game-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-image {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.game-card h3 {
    color: #a1ad36;
    margin-bottom: 1rem;
}

.google-play {
    display: block;
    margin-top: 1.5rem;
    max-width: 150px;
}

.google-play img {
    transition: transform 0.3s ease;
}

.google-play:hover img {
    transform: scale(1.05);
}

/* Benefits Section */
.benefits {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.benefits h2 {
    text-align: center;
}

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

.benefit-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-card h3 {
    color: #a1ad36;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    padding: 3rem 0;
}

.testimonials h2 {
    text-align: center;
}

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

.testimonial-card {
    border: 1px solid #a1ad36;
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
}

.testimonial-card h3 {
    color: #a1ad36;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
}

/* Contact Section */
.contact {
    background-image: url('./assets/contact-bg.png');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

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

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

#contact input {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

#contact button {
    align-self: stretch;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #a1ad36;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border: 2px solid #a1ad36;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 600px;
    margin: 0 auto;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent h3 {
    color: #333;
    margin-bottom: 1rem;
}

.cookie-consent p {
    margin-bottom: 1.5rem;
}

.cookie-consent a {
    color: #a1ad36;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    flex: 1;
}

.cookie-btn.reject {
    background-color: #ddd;
    color: #333;
}

.cookie-btn.reject:hover {
    background-color: #ccc;
}

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

    .about-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero .container,
    .about .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image,
    .about-content,
    .about-image {
        flex: auto;
        width: 100%;
    }

    .hero-image {
        order: -1;
    }
    
    .games-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

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

    .benefit-card h3,
    .game-card h3 {
        font-size: 1rem;
    }
}

html {
    scroll-behavior: smooth;
}

.main-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}