:root {
    --primary-bg: #0F1B14;
    --secondary-bg: #16261D;
    --surface: #21352A;
    --jungle-green: #3D8B4E;
    --emerald: #4DBB6D;
    --golden-sand: #D7B56D;
    --river-blue: #4EA4D8;
    --leaf-green: #7ED37A;
    --primary-text: #F6F5EE;
    --secondary-text: #D9D7CC;
    --muted-text: #9EA394;
    --footer-main: #18261F;
    --footer-bottom: #0C130F;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

a:hover {
    color: var(--golden-sand);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--golden-sand);
}

p {
    margin-bottom: 1rem;
    color: var(--secondary-text);
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.section-subtitle { font-size: 1.2rem; color: var(--muted-text); max-width: 700px; margin: 0 auto 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--emerald);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: var(--leaf-green);
    color: var(--primary-bg);
    box-shadow: 0 0 15px rgba(77, 187, 109, 0.5);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--golden-sand);
    color: var(--golden-sand);
}

.btn-outline:hover {
    background-color: var(--golden-sand);
    color: var(--primary-bg);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 27, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(215, 181, 109, 0.2);
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
    color: var(--leaf-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--golden-sand);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--golden-sand);
    font-size: 2rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 80px 20px;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('images/bold-jungle-animals-parrots-golden-idols-bananas.png') center/cover no-repeat;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 27, 20, 0.4), var(--primary-bg));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    background: rgba(22, 38, 29, 0.85);
    border: 1px solid var(--jungle-green);
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--leaf-green);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-text);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Game Section */
.game-section {
    background-color: var(--secondary-bg);
    text-align: center;
    position: relative;
}

.game-container {
    width: 75%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid var(--jungle-green);
    aspect-ratio: 16/9;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Jungle Discoveries */
.discoveries {
    background-color: var(--primary-bg);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(61, 139, 78, 0.3);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: var(--golden-sand);
}

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

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--emerald);
    font-size: 1.5rem;
}

/* Adventure Highlights */
.highlights {
    background: linear-gradient(rgba(22, 38, 29, 0.9), rgba(22, 38, 29, 0.9)), url('images/bright-green-jungle-leaves-tribal-pattern.png') center/cover fixed;
    padding: 100px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: rgba(33, 53, 42, 0.8);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--jungle-green);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--golden-sand);
    font-family: 'Georgia', serif;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--primary-text);
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--surface);
    padding: 50px;
    border-radius: 8px;
    border-left: 5px solid var(--golden-sand);
}

.about-content p {
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    background-color: var(--secondary-bg);
}

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

.faq-item {
    background-color: var(--surface);
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid rgba(126, 211, 122, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--golden-sand);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
}

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

/* Contact Section */
.contact {
    background-color: var(--primary-bg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--surface);
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid var(--emerald);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-text);
}

.form-control {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-bg);
    border: 1px solid rgba(215, 181, 109, 0.3);
    color: var(--primary-text);
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--emerald);
}

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

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    background-color: rgba(77, 187, 109, 0.2);
    color: var(--emerald);
    border: 1px solid var(--emerald);
    display: block;
}

.form-status.error {
    background-color: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    display: block;
}

.form-status.loading {
    background-color: rgba(78, 164, 216, 0.2);
    color: var(--river-blue);
    border: 1px solid var(--river-blue);
    display: block;
}

/* Generic Inner Pages Content */
.inner-page-hero {
    padding-top: 150px;
    padding-bottom: 50px;
    background-color: var(--secondary-bg);
    text-align: center;
    border-bottom: 1px solid var(--jungle-green);
}

.content-section {
    padding: 60px 20px;
    background-color: var(--primary-bg);
    min-height: 50vh;
}

.content-section .container {
    background-color: var(--surface);
    padding: 40px;
    border-radius: 8px;
}

.content-section h2 {
    color: var(--leaf-green);
    margin-top: 30px;
}

/* Footer completely new design */
footer {
    background-color: var(--footer-main);
    color: var(--primary-text);
}

.footer-top {
    background: linear-gradient(90deg, #3D8B4E, #4DBB6D, #7ED37A);
    padding: 40px 20px;
    text-align: center;
}

.footer-top h2 {
    color: var(--primary-bg);
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.footer-top p {
    color: var(--primary-bg);
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--leaf-green);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--golden-sand);
}

.footer-col p {
    color: var(--secondary-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--secondary-text);
}

.footer-links a:hover {
    color: var(--emerald);
    padding-left: 5px;
}

.footer-support {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(215, 181, 109, 0.2); /* Wood-inspired divider */
}

.footer-support span {
    display: block;
    color: var(--golden-sand);
    font-weight: bold;
    margin-bottom: 5px;
}

.footer-bottom {
    background-color: var(--footer-bottom);
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(61, 139, 78, 0.3);
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.5);
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--muted-text);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(24, 38, 31, 0.95);
    backdrop-filter: blur(5px);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    border-top: 2px solid var(--jungle-green);
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

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

.cookie-banner p {
    margin: 0;
    color: var(--primary-text);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .game-container {
        width: 90%;
    }
    .cards-grid, .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-bg);
        padding: 20px;
        text-align: center;
        border-bottom: 2px solid var(--jungle-green);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .game-container {
        width: 100%;
    }

    .cards-grid, .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}