@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Primary Backgrounds */
    --obsidian-jungle: #070A08;
    --ancient-forest: #101712;
    --surface-panels: rgba(255, 255, 255, 0.05);
    
    /* Color Palette */
    --jungle-emerald: #237A57;
    --fossil-sand: #D6C08A;
    --ancient-bronze: #8A6238;
    --river-stone: #AAB4AC;
    --mist-white: #F4F6F3;
    --moss-green: #5E7A63;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --backdrop-blur: blur(16px);
    --border-radius: 20px;
    --transition-soft: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Layout */
    --nav-width: 110px;
}

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

body {
    background-color: var(--obsidian-jungle);
    color: var(--mist-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        linear-gradient(rgba(7, 10, 8, 0.9), rgba(7, 10, 8, 0.95)),
        url('images/photo-1511497584788-876760111969.png');
    background-blend-mode: overlay;
    background-size: cover;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--fossil-sand);
}

a {
    color: var(--fossil-sand);
    text-decoration: none;
    transition: var(--transition-soft);
}

/* Typography Utilities */
.text-emerald { color: var(--jungle-emerald); }
.text-bronze { color: var(--ancient-bronze); }
.text-stone { color: var(--river-stone); }

/* --- EXPLORER NAVIGATION COLUMN --- */
.explorer-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background: rgba(16, 23, 18, 0.65);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-right: 1px solid rgba(138, 98, 56, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    z-index: 1000;
    box-shadow: 5px 0 25px rgba(0,0,0,0.5);
}

.nav-brand-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 3rem;
    border: 1px solid var(--ancient-bronze);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fossil-sand);
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0;
    font-size: 0.75rem;
    color: var(--river-stone);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a span.icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 300;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--ancient-bronze);
    transition: var(--transition-soft);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--mist-white);
    text-shadow: 0 0 10px rgba(138, 98, 56, 0.5);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    height: 60%;
}

.nav-links a.active {
    background: linear-gradient(90deg, rgba(35, 122, 87, 0.2), transparent);
}

/* --- MAIN CONTENT WRAPPER --- */
.main-content {
    margin-left: var(--nav-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
    background: var(--ancient-forest);
    color: var(--river-stone);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(138, 98, 56, 0.2);
    text-transform: uppercase;
}

/* --- HEADER --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: transparent;
    position: absolute;
    top: 35px; /* below announcement */
    left: 0;
    right: 0;
    z-index: 100;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--fossil-sand);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-soft);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--jungle-emerald), var(--fossil-sand));
    color: var(--obsidian-jungle);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(35, 122, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 192, 138, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--ancient-bronze);
    color: var(--fossil-sand);
}

.btn-secondary:hover {
    background: rgba(138, 98, 56, 0.1);
    box-shadow: 0 0 15px rgba(138, 98, 56, 0.2);
    transform: translateY(-2px);
}

.btn:active {
    transform: scale(0.98);
}

/* --- HERO (BASE CAMP) --- */
.hero {
    min-height: 100vh;
    padding: 8rem 4rem 4rem;
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('images/photo-1542224566-6e85f2e6772f.png');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, var(--obsidian-jungle) 0%, rgba(7,10,8,0.7) 50%, rgba(7,10,8,0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    animation: fadeIn 1.5s ease-out;
}

.expedition-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    border: 1px solid var(--jungle-emerald);
    color: var(--jungle-emerald);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--mist-white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.1rem;
    color: var(--river-stone);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.expedition-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(138, 98, 56, 0.3);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    color: var(--fossil-sand);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.stat-label {
    color: var(--river-stone);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-game-showcase {
    position: relative;
    transform: scale(1.15); /* Approx 35% larger visually in space */
    animation: floatSlow 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-game-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 2px var(--ancient-bronze);
    z-index: 2;
}

/* --- DISCOVERY CHAMBER (FEATURED GAME) --- */
.discovery-chamber {
    padding: 6rem 4rem;
    background: var(--ancient-forest);
    position: relative;
    border-top: 1px solid rgba(138, 98, 56, 0.2);
    border-bottom: 1px solid rgba(138, 98, 56, 0.2);
}

.chamber-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.chamber-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.chamber-header p {
    color: var(--river-stone);
}

.game-exhibit-pedestal {
    background: var(--surface-panels);
    border: 1px solid var(--ancient-bronze);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5), 0 20px 40px rgba(0,0,0,0.6);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: var(--backdrop-blur);
}

.crystal-glass-enclosure {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 30px rgba(35, 122, 87, 0.15);
}

.crystal-glass-enclosure::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 10;
}

.game-iframe-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}

.game-iframe-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

.exhibit-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.exhibit-engraving {
    font-family: var(--font-heading);
    color: var(--ancient-bronze);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --- EXPEDITION MAP --- */
.expedition-map {
    padding: 8rem 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--river-stone);
    margin-bottom: 4rem;
    max-width: 600px;
}

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

.region-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
    border: 1px solid rgba(138, 98, 56, 0.2);
    cursor: pointer;
    transition: var(--transition-soft);
}

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

.region-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 3s ease;
}

.region-card:hover .region-bg {
    transform: scale(1.05);
}

.region-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(0deg, rgba(7,10,8,0.9) 0%, rgba(7,10,8,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.region-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.region-overlay p {
    font-size: 0.9rem;
    color: var(--river-stone);
    margin-bottom: 1.5rem;
}

/* --- PREHISTORIC ZONES (EDITORIAL) --- */
.prehistoric-zones {
    background: var(--ancient-forest);
    padding: 6rem 0;
}

.editorial-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.editorial-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.editorial-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.editorial-text {
    padding: 4rem 6rem;
}

.editorial-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--mist-white);
}

.editorial-text p {
    color: var(--river-stone);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- RESEARCH LABORATORY --- */
.research-lab {
    padding: 8rem 4rem;
    background: var(--obsidian-jungle);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.lab-card {
    background: var(--surface-panels);
    border: 1px solid rgba(214, 192, 138, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-soft);
}

.lab-card:hover {
    border-color: var(--moss-green);
    background: rgba(255,255,255,0.08);
}

.lab-icon {
    font-size: 2.5rem;
    color: var(--jungle-emerald);
    margin-bottom: 1.5rem;
}

.lab-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.lab-card p {
    color: var(--river-stone);
    font-size: 0.9rem;
}

/* --- DISCOVERY JOURNAL (TIMELINE) --- */
.discovery-journal {
    padding: 8rem 4rem;
    background: var(--ancient-forest);
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ancient-bronze);
    opacity: 0.3;
}

.timeline-entry {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.timeline-entry:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: rgba(7, 10, 8, 0.6);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(138, 98, 56, 0.2);
}

.timeline-date {
    color: var(--fossil-sand);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--river-stone);
    font-size: 0.9rem;
}

.timeline-node {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--jungle-emerald);
    border: 4px solid var(--obsidian-jungle);
    box-shadow: 0 0 0 2px var(--ancient-bronze);
}

/* --- EXPLORER REVIEWS --- */
.explorer-reviews {
    padding: 8rem 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.review-card {
    background: rgba(214, 192, 138, 0.05);
    padding: 3rem 2rem;
    border-radius: 5px; /* Boxy like a journal page */
    border-top: 3px solid var(--ancient-bronze);
    position: relative;
}

.review-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(138, 98, 56, 0.1);
    line-height: 1;
}

.review-text {
    font-style: italic;
    color: var(--mist-white);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.reviewer-name {
    font-family: var(--font-heading);
    color: var(--fossil-sand);
    font-size: 1.1rem;
}

.reviewer-title {
    color: var(--river-stone);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- LEGAL PAGES CONTENT --- */
.legal-content {
    padding: 8rem 4rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
    color: var(--river-stone);
}

.legal-content ul {
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
.site-footer {
    background: var(--obsidian-jungle);
    padding: 4rem 4rem 2rem;
    border-top: 1px solid rgba(138, 98, 56, 0.2);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--fossil-sand);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    color: var(--river-stone);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h5 {
    color: var(--mist-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

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

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

.footer-col a {
    color: var(--river-stone);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--fossil-sand);
}

.disclaimer {
    text-align: center;
    padding: 2rem;
    border: 1px solid rgba(138, 98, 56, 0.2);
    border-radius: var(--border-radius);
    color: var(--river-stone);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.02);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 98, 56, 0.2);
    color: var(--river-stone);
    font-size: 0.8rem;
}

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

@keyframes floatSlow {
    0%, 100% { transform: scale(1.15) translateY(0); }
    50% { transform: scale(1.15) translateY(-15px); }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 10rem;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .expedition-stats {
        justify-content: center;
    }

    .hero-game-showcase {
        transform: scale(1);
    }
    
    .editorial-block, .editorial-block.reverse {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .explorer-nav {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        border-right: none;
        border-top: 1px solid rgba(138, 98, 56, 0.3);
    }
    
    .nav-brand-icon {
        display: none;
    }
    
    .nav-links {
        flex-direction: row;
        justify-content: space-around;
        gap: 0;
    }
    
    .nav-links a {
        font-size: 0.65rem;
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        margin-bottom: 70px; /* Space for bottom nav */
    }

    .site-header {
        padding: 1rem 2rem;
    }
    
    .hero {
        padding: 8rem 2rem 4rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .discovery-chamber, .expedition-map, .research-lab, .discovery-journal, .explorer-reviews, .site-footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .game-exhibit-pedestal {
        padding: 1rem;
    }
    
    .exhibit-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .lab-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }
    
    .timeline-entry, .timeline-entry:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
    }
    
    .timeline-node {
        left: 0;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}