:root {
    --deep-jungle: #0F3D2E;
    --canopy-green: #2D6A4F;
    --ancient-gold: #D9A441;
    --sunset-orange: #E67E22;
    --river-blue: #2FA8D8;
    --temple-stone: #6F6356;
    --bg-color: #F8F5EC;
    --surface: #FFFFFF;
    --primary-text: #1C2A22;
    --secondary-text: #617066;
    --muted-text: #8A948D;
    
    --font-heading: 'Georgia', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--deep-jungle);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--ancient-gold);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sunset-orange);
}

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

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

/* TOP BAR */
.top-bar {
    background-color: #082119;
    color: #A8A29A;
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--ancient-gold);
    font-weight: bold;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--sunset-orange);
    color: var(--surface);
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--ancient-gold);
    color: var(--deep-jungle);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--canopy-green);
}

.btn-secondary:hover {
    background-color: var(--deep-jungle);
    color: var(--ancient-gold);
}

/* HEADER */
.site-header {
    background-color: var(--deep-jungle);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--surface);
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--ancient-gold);
}

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

/* HERO SECTION */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 61, 46, 0.7), rgba(15, 61, 46, 0.8)), url('assets/ancient-jungle-temple-waterfalls-bg.jpg') center/cover no-repeat;
    padding: 8rem 0;
    text-align: center;
    color: var(--surface);
}

.hero h1 {
    color: var(--ancient-gold);
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--bg-color);
}

.hero .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* GAME SECTION */
.game-section {
    padding: 4rem 0;
    background-color: var(--deep-jungle);
}

.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(217, 164, 65, 0.2);
    background-color: #000;
}

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

/* ADVENTURE FEATURES */
.features-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--deep-jungle);
}

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

.feature-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--canopy-green);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--sunset-orange);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary-text);
}

/* EXPLORER STATISTICS */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(rgba(45, 106, 79, 0.9), rgba(45, 106, 79, 0.9)), url('assets/mysterious-jungle-ruins-bg.jpg') center/cover fixed;
    color: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--ancient-gold);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TREASURE DISCOVERIES */
.discoveries-section {
    padding: 5rem 0;
    background-color: var(--surface);
}

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

.discovery-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
}

.discovery-card img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discovery-card:hover img {
    transform: scale(1.05);
}

.discovery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 61, 46, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    color: var(--surface);
}

.discovery-content h3 {
    color: var(--ancient-gold);
    margin-bottom: 0.5rem;
}

/* REWARDS SECTION */
.rewards-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

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

.reward-card {
    background-color: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

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

.reward-content {
    padding: 2rem;
    flex-grow: 1;
}

.reward-content h3 {
    color: var(--deep-jungle);
    margin-bottom: 1rem;
}

.reward-content p {
    color: var(--secondary-text);
}

/* ABOUT SECTION */
.about-section {
    padding: 5rem 0;
    background-color: var(--surface);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--deep-jungle);
}

.about-content p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-color);
}

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

details {
    background-color: var(--surface);
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

summary {
    padding: 1.5rem;
    font-weight: bold;
    color: var(--deep-jungle);
    cursor: pointer;
    font-size: 1.1rem;
    list-style-type: none;
    position: relative;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    color: var(--sunset-orange);
    font-size: 1.5rem;
}

details[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--secondary-text);
}

/* CTA SECTION */
.cta-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--deep-jungle), var(--canopy-green));
    color: var(--surface);
}

.cta-section h2 {
    color: var(--ancient-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER */
.site-footer {
    color: var(--surface);
}

.footer-top {
    background: linear-gradient(rgba(15, 61, 46, 0.95), rgba(45, 106, 79, 0.95)), url('assets/subtle-temple-artwork-pattern.png') center/cover;
    padding: 4rem 0;
}

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

.footer-col h4 {
    color: var(--ancient-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--bg-color);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--sunset-orange);
}

.footer-bottom {
    background-color: var(--temple-stone);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #D5D0C8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #A8A29A;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--deep-jungle);
    color: var(--surface);
    padding: 1.5rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: bottom 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    flex: 1 1 300px;
}

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

/* INTERNAL PAGES */
.page-header {
    background: var(--deep-jungle) url('assets/jungle-river-canopy.jpg') center/cover no-repeat;
    background-blend-mode: overlay;
    padding: 4rem 0;
    text-align: center;
    color: var(--surface);
}

.contact-page-header {
    padding: 5rem 0 8rem;
}

.page-header h1 {
    color: var(--ancient-gold);
    font-size: 3rem;
    margin: 0;
}

.page-content {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.content-box {
    background-color: var(--surface);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.content-box h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--canopy-green);
}

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

.content-box ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--secondary-text);
}

/* CONTACT PAGE REDESIGN */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--surface);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    margin-top: -8rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.contact-info {
    flex: 1 1 350px;
    background: linear-gradient(135deg, var(--deep-jungle), var(--canopy-green));
    color: var(--surface);
    padding: 3.5rem 3rem;
    position: relative;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('assets/subtle-temple-artwork-pattern.png') no-repeat bottom right;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

.contact-info h2 {
    color: var(--ancient-gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    margin-bottom: 3rem;
    color: #E8F0EA;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 1.2rem;
    margin-right: 1.2rem;
    background: rgba(217, 164, 65, 0.15);
    color: var(--ancient-gold);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.info-item:hover .info-icon {
    transform: translateY(-3px);
    background: var(--ancient-gold);
    color: var(--deep-jungle);
}

.info-text h3 {
    color: var(--surface);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    font-family: var(--font-body);
}

.info-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #C8D8CE;
    line-height: 1.5;
}

.contact-form-container {
    flex: 2 1 400px;
    padding: 4rem 3.5rem;
    background-color: var(--surface);
}

.contact-form h3 {
    color: var(--deep-jungle);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary-text);
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #E4E8E5;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #FAFBFA;
    color: var(--primary-text);
}

.form-control:focus {
    outline: none;
    border-color: var(--ancient-gold);
    background-color: var(--surface);
    box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.15);
}

.form-control::placeholder {
    color: var(--muted-text);
}

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

.contact-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--deep-jungle);
        padding: 1rem;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }

    .logo-img {
        height: 48px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-container iframe {
        height: 500px;
    }

    .contact-form-container {
        padding: 2.5rem 1.5rem;
    }
    
    .contact-info {
        padding: 2.5rem 1.5rem;
    }

    .contact-wrapper {
        margin-top: -3rem;
    }

    .contact-page-header {
        padding: 4rem 0 5rem;
    }
}