/* Custom Properties */
:root {
    --color-bg-dark: #06120B;
    --color-bg-card: #0C1B12;
    --color-primary: #18452A;
    --color-primary-light: #2E8B57;
    --color-gold: #C59D3D;
    --color-gold-light: #F4E7C2;
    --color-text: #E0E8E3;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glass-bg: rgba(12, 27, 18, 0.6);
    --glass-border: rgba(197, 157, 61, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-gold-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title span {
    color: var(--color-gold);
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 3rem;
    color: var(--color-gold);
}

.section-title.center {
    text-align: center;
}

.gold-text {
    color: var(--color-gold);
}

/* Layout Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

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

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-gold-light);
    border: 1px solid var(--color-gold);
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(197, 157, 61, 0.6);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.progress-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-gold);
    transition: width 0.2s ease;
}

/* Mouse Glow */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197, 157, 61, 0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    mix-blend-mode: screen;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

#navbar.scrolled {
    background: rgba(6, 18, 11, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 900;
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

.btn-nav {
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.5rem 1.5rem;
}
.btn-nav:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
    background: linear-gradient(to bottom, rgba(6,18,11,0.3) 0%, rgba(6,18,11,1) 100%),
                url('assets/images/forest-bg.jpg') center/cover no-repeat;
    z-index: 0;
    transform: translateZ(0); /* Hardware accel */
}

.god-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(244, 231, 194, 0.05) 0%,
        rgba(244, 231, 194, 0) 10%,
        rgba(244, 231, 194, 0.05) 20%
    );
    animation: rotateRays 60s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.fog-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.fog {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url('assets/images/fog.png') repeat-x;
    background-size: contain;
    opacity: 0.4;
}

.fog-1 { animation: fogMove 40s linear infinite; bottom: 0; }
.fog-2 { animation: fogMove 60s linear infinite reverse; bottom: 10%; opacity: 0.2; transform: scale(1.2); }

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: -4rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 20;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-card h3 {
    font-size: 1rem;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold-light);
    font-weight: 700;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.nft-card {
    padding: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    transform-style: preserve-3d;
}

.nft-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    background-position: center;
    background-size: cover;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.nft-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.nft-info span {
    color: var(--color-primary-light);
    font-weight: 600;
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: var(--color-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    margin-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: -49px;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--color-gold);
}

/* Roadmap */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.roadmap-card {
    padding: 2.5rem;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    padding: 0 2rem;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
    opacity: 1;
}

/* OpenSea CTA Section */
.opensea-card {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(24, 69, 42, 0.4), rgba(12, 27, 18, 0.8));
}

.opensea-card p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background: #030805;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--color-primary);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.footer-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Animations & Effects */
@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(0.98); }
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fogMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Leaves */
.leaf {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--color-primary-light);
    border-radius: 0 100% 0 100%;
    opacity: 0.6;
    pointer-events: none;
    animation: fall linear infinite;
    z-index: 3;
}

@keyframes fall {
    0% { transform: translate(0, -10vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translate(100px, 110vh) rotate(720deg); opacity: 0; }
}

/* Media Queries */
@media (max-width: 992px) {
    .layout-split { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
    .roadmap-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified for mobile, ideally add a hamburger menu */
    .title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 0; }
}