:root {
    /* Color Palette */
    --harvest-gold: #D8B35A;
    --countryside-green: #4F6B4A;
    --sunflower-accent: #F2C14E;
    --earth-brown: #6B4F3A;
    --cream-white: #F6F1E6;
    --wheat-beige: #E9DDC9;
    --text-dark: #2C352B;
    --text-muted: #5A6359;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--earth-brown);
    letter-spacing: 0.02em;
}

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

ul {
    list-style: none;
}

/* Typography Classes */
.h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 1rem; }
.h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 1.5rem; }
.h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.text-lead { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--harvest-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(216, 179, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--earth-brown);
    box-shadow: 0 6px 20px rgba(107, 79, 58, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--earth-brown);
    border-color: var(--earth-brown);
}

.btn-secondary:hover {
    background-color: var(--earth-brown);
    color: var(--white);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(246, 241, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(107, 79, 58, 0.1);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--earth-brown);
}

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

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: var(--text-dark);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--harvest-gold);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

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

/* Hero Section */
.hero-section {
    height: 70vh;
    max-height: 800px;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px; /* Offset for fixed header */
    background-image: linear-gradient(rgba(44, 53, 43, 0.4), rgba(107, 79, 58, 0.6)), url('images/cinematic-golden-countryside-estate-sunset.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    color: var(--white);
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content .text-lead {
    color: var(--cream-white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-ctas .btn-secondary {
    color: var(--white);
    border-color: var(--white);
}

.hero-ctas .btn-secondary:hover {
    background-color: var(--white);
    color: var(--earth-brown);
}

/* Certification Banner */
.certification-banner {
    background-color: var(--text-dark);
    color: var(--cream-white);
    text-align: center;
    padding: 1.25rem 2rem;
    font-size: 1rem;
    position: relative;
    z-index: 10;
    border-top: 2px solid var(--harvest-gold);
    border-bottom: 2px solid var(--harvest-gold);
}

.certification-banner p {
    margin: 0 auto;
    max-width: 1000px;
    line-height: 1.5;
}

.certification-banner strong {
    color: var(--harvest-gold);
    font-weight: 700;
}

/* Game Section (CRITICAL) */
.game-section {
    padding: 6rem 2rem;
    background-color: var(--wheat-beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, var(--cream-white), transparent);
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
}

.game-container {
    width: 85%; /* Desktop standard */
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    background-color: var(--cream-white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(107, 79, 58, 0.15), inset 0 0 0 1px rgba(216, 179, 90, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: contain; /* Ensures no stretching */
}

/* Feature Sections */
.feature-section {
    padding: 6rem 2rem;
    background-color: var(--cream-white);
}

.feature-section.alt-bg {
    background-color: var(--white);
}

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

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

.feature-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(107, 79, 58, 0.1);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 3s ease;
}

.feature-image:hover img {
    transform: scale(1.03);
}

.feature-content h2 {
    position: relative;
    padding-bottom: 1rem;
}

.feature-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--harvest-gold);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '🌾';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1rem;
}

/* Seasonal Grid */
.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.season-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.season-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(107, 79, 58, 0.15);
}

.season-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.season-card h3 {
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.season-card p {
    padding: 0 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--earth-brown);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(107, 79, 58, 0.2);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--harvest-gold);
    box-shadow: 0 0 0 3px rgba(216, 179, 90, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-weight: 600;
}

.form-message.success {
    display: block;
    background-color: rgba(79, 107, 74, 0.1);
    color: var(--countryside-green);
    border: 1px solid var(--countryside-green);
}

.form-message.error {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(107, 79, 58, 0.05);
    border-left: 4px solid var(--harvest-gold);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--earth-brown);
}

.faq-item p {
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background-color: #F6EFE2;
    color: #1B241B;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand-info {
    max-width: 400px;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #1B241B;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-brand img {
    width: 24px;
    height: 24px;
}

.footer-brand-info p {
    color: #6E6254;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-links a {
    color: #1B241B;
    font-size: 0.95rem;
    font-weight: 500;
}

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

.footer-bottom {
    background-color: #1B241B;
    padding: 18px 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #F8F3EA;
    font-size: 0.9rem;
    margin: 0;
}

/* Page Headers (Inner Pages) */
.page-header {
    margin-top: 80px;
    padding: 6rem 2rem;
    background-color: var(--wheat-beige);
    text-align: center;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.legal-content h2 {
    margin-top: 2rem;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(150%);
    transition: transform 0.5s ease-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

/* Media Queries */
@media (max-width: 1024px) {
    .game-container {
        width: 95%;
    }
    .grid-2 {
        gap: 2rem;
    }
    .seasonal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .main-nav {
        display: none; /* Controlled via JS for mobile menu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-section {
        height: auto;
        padding: 6rem 1rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .certification-banner {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .game-section {
        padding: 3rem 0; /* Full width edge-to-edge on mobile */
    }
    .game-container {
        width: 100%;
        border-radius: 0;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-2.reverse .feature-content {
        order: -1;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        align-items: center;
        text-align: center;
    }
    .footer-brand {
        justify-content: center;
    }
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .seasonal-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}