@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Stone Age & Magic Aesthetic */
:root {
    /* Stone Palette */
    --color-bg-deep: #0c0f0b; /* Very dark cavern background */
    --color-stone-base: #171d15; /* Base stone color */
    --color-stone-light: #242d21; /* Highlighted stone edge */
    --color-stone-dark: #0f130e; /* Shadowed stone edge */
    
    /* Text Colors */
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    
    /* Magic Colors (from logo) */
    --color-magic-green: #8bf018; /* Vibrant magical green */
    --color-magic-yellow: #e6ff00; /* Vibrant magical yellow */
    --color-magic-glow: rgba(139, 240, 24, 0.4);
    
    /* Typography */
    --font-heading: 'Arial', sans-serif; /* Changed to Arial */
    --font-body: 'Arial', sans-serif; /* Changed to Arial */
    
    /* Shadows */
    --shadow-slab: 
        inset 2px 2px 0px rgba(255,255,255,0.05),
        inset -3px -3px 8px rgba(0,0,0,0.8),
        0 15px 30px rgba(0,0,0,0.9);
    
    --shadow-magic-hover: 
        inset 0 0 30px rgba(139, 240, 24, 0.15),
        0 0 20px rgba(139, 240, 24, 0.3);
        
    /* Geometry */
    --radius-sm: 4px; /* Blocky, almost no rounding */
    --radius-md: 8px;
    
    --transition-standard: 0.4s ease;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* The Noise Texture Overlay */
.stone-texture {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04; /* Very subtle rough stone texture over everything */
    mix-blend-mode: overlay;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); border-left: 1px solid var(--color-stone-dark); }
::-webkit-scrollbar-thumb { background: var(--color-stone-light); border-radius: 0px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-magic-green); }

/* Canvas Background */
.magic-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Layout */
.section {
    padding: 8rem 1rem;
    position: relative;
    z-index: 10;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
}

@media (min-width: 768px) { .section__title { font-size: 3.5rem; } }

.section__title-accent {
    color: var(--color-magic-yellow);
    text-shadow: 0 0 20px rgba(230, 255, 0, 0.4);
}

.section__divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-magic-green), transparent);
    margin: 1.5rem auto;
    position: relative;
}

.section__divider::after {
    content: '⟡'; /* Ancient rune diamond */
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-magic-yellow);
    font-size: 1.5rem;
    background: var(--color-bg-deep);
    padding: 0 10px;
    text-shadow: 0 0 10px var(--color-magic-green);
}

.section__description {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    z-index: 100;
    background: var(--color-bg-deep);
    border-bottom: 3px solid var(--color-stone-dark);
    transition: var(--transition-standard);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

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

.navbar__brand { display: flex; align-items: center; gap: 1rem; }
.navbar__logo-img { height: 40px; filter: drop-shadow(0 0 5px rgba(139, 240, 24, 0.4)); }

.navbar__title {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.navbar__title-accent { color: var(--color-magic-yellow); }

.navbar__links {
    display: none;
    list-style: none;
    gap: 2rem;
}

@media (min-width: 768px) { .navbar__links { display: flex; } }

.navbar__link {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: var(--transition-standard);
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--color-magic-green);
    transition: width var(--transition-standard);
    box-shadow: 0 0 10px var(--color-magic-green);
}

.navbar__link:hover { color: var(--color-magic-yellow); text-shadow: 0 0 10px rgba(230,255,0,0.5); }
.navbar__link:hover::after { width: 100%; }

/* Mobile Menu */
.navbar__mobile-toggle {
    display: block; background: none; border: none; color: var(--color-magic-yellow); font-size: 1.5rem; cursor: pointer;
}
@media (min-width: 768px) { .navbar__mobile-toggle { display: none; } }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
    background: radial-gradient(circle at center, rgba(36, 45, 33, 0.4) 0%, transparent 60%);
}

.hero__content {
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
    z-index: 10;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.5rem;
    background: var(--color-stone-base);
    border: 2px solid var(--color-stone-light);
    border-radius: var(--radius-sm);
    color: var(--color-magic-yellow);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-slab);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-shadow: 0 10px 20px rgba(0,0,0,0.9);
}

@media (min-width: 768px) { .hero__title { font-size: 5rem; } }

.hero__title-accent {
    color: var(--color-magic-green);
    text-shadow: 0 0 30px rgba(139, 240, 24, 0.4);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

.hero__actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    background: var(--color-stone-base);
    border: 2px solid var(--color-stone-light);
    border-bottom: 4px solid var(--color-stone-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-slab);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.5s ease;
}

.btn:hover::before { left: 200%; }
.btn:active { transform: translateY(2px); border-bottom-width: 2px; }

.btn--primary {
    border-color: var(--color-magic-green);
    border-bottom-color: #1b2e08;
    color: var(--color-magic-yellow);
    text-shadow: 0 0 10px rgba(230,255,0,0.5);
    box-shadow: 
        inset 0 0 20px rgba(139, 240, 24, 0.2),
        0 15px 30px rgba(0,0,0,0.9),
        0 0 15px rgba(139, 240, 24, 0.2);
}

.btn--primary:hover {
    background: #1e291b;
    box-shadow: 
        inset 0 0 30px rgba(139, 240, 24, 0.4),
        0 15px 30px rgba(0,0,0,0.9),
        0 0 25px rgba(139, 240, 24, 0.4);
}

.btn--outline:hover {
    border-color: var(--color-text-muted);
    background: var(--color-stone-light);
}

/* Grid System */
.stone-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) { .stone-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stone-grid { grid-template-columns: repeat(3, 1fr); } }

/* Stone Cards */
.card {
    background: var(--color-stone-base);
    border: 3px solid var(--color-stone-light);
    border-bottom: 6px solid var(--color-stone-dark);
    border-right: 4px solid var(--color-stone-dark);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-slab);
    position: relative;
    text-align: center;
}

/* The magic glow hidden inside the cracks */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(139, 240, 24, 0);
    transition: box-shadow 0.4s ease;
    border-radius: 4px;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3b4d36;
}

.card:hover::after {
    box-shadow: inset 0 0 40px rgba(139, 240, 24, 0.15);
}

.card__icon-wrapper {
    width: 4rem; height: 4rem;
    margin: 0 auto 1.5rem;
    background: var(--color-bg-deep);
    border: 2px solid var(--color-stone-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--color-magic-yellow);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 0 15px rgba(230,255,0,0.1);
    transition: var(--transition-standard);
}

.card:hover .card__icon-wrapper {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 0 25px rgba(230,255,0,0.4);
    color: #fff;
    background: var(--color-magic-green);
    border-color: var(--color-magic-yellow);
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Donate Grid layout fix */
.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.card--donate { padding: 2rem; }

.donate__rank {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.donate__prices {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--color-stone-dark);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.donate__price { display: block; font-size: 1.8rem; font-weight: bold; color: #fff; font-family: var(--font-heading); }
.donate__price-alt { color: var(--color-text-muted); font-size: 0.9rem; }

.btn--donate { width: 100%; padding: 1rem; font-size: 1rem; }

/* Updates / Features list */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.timeline__item { margin-bottom: 3rem; }

.card--timeline {
    text-align: left;
    padding: 2rem;
}

.card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-stone-dark);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.card__timeline-title { color: #fff; font-size: 1.3rem; font-family: var(--font-heading); }
.card__timeline-date { color: var(--color-magic-yellow); font-weight: bold; }

/* Footer */
.footer {
    border-top: 4px solid var(--color-stone-dark);
    padding: 4rem 2rem;
    background: var(--color-bg-deep);
    text-align: center;
}

.footer__logo-img { height: 50px; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(139, 240, 24, 0.4)); }
.footer__title { font-family: var(--font-heading); font-size: 1.8rem; color: #fff; margin-bottom: 1rem; }
.footer__title-accent { color: var(--color-magic-yellow); }
.footer__copyright { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer__social-link { color: var(--color-magic-green); font-size: 1.5rem; text-decoration: none; margin: 0 10px; transition: var(--transition-standard); }
.footer__social-link:hover { color: var(--color-magic-yellow); text-shadow: 0 0 15px rgba(230,255,0,0.5); }

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
