:root {
  --forest-950: #061a16;
  --forest-900: #0b2822;
  --forest-800: #10382d;
  --forest-700: #175443;
  --cream: #fff8df;
  --paper: #f7e9bd;
  --gold: #ffc342;
  --gold-light: #ffe9a6;
  --orange: #ff7a1a;
  --turquoise: #39d5c0;
  --violet: #8b70ff;
  --ink: #112922;
  --shadow: 0 24px 70px rgba(2, 15, 13, .35);
  --glow: 0 0 8px rgba(255, 167, 35, .85), 0 0 26px rgba(255, 112, 21, .5);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--forest-950);
  color: var(--cream);
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
::selection { color: var(--forest-950); background: var(--gold); }

.icon {
  display: inline-grid;
  place-items: center;
  width: 1.25em;
  height: 1.25em;
  font-style: normal;
  line-height: 1;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 18%, rgba(50,192,151,.13), transparent 28%),
    radial-gradient(circle at 92% 44%, rgba(121,82,255,.12), transparent 22%),
    linear-gradient(180deg, #08251f, #0d3429 35%, #0b241f 64%, #071713);
}

.skip-link {
  position: fixed; z-index: 900; top: -90px; left: 18px;
  padding: 12px 18px; border-radius: 0 0 14px 14px;
  color: var(--ink); background: var(--gold); font-weight: 900;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Loading scene */
.loading-screen {
  position: fixed; z-index: 1000; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 16px;
  background: radial-gradient(circle, rgba(28,104,78,.76), transparent 48%), #061a16;
}
.loading-screen::before, .loading-screen::after {
  content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 12vw 18vh var(--gold), -15vw 5vh var(--gold-light), 24vw -13vh var(--orange), -23vw -20vh var(--gold);
  animation: twinkle 1.25s ease-in-out infinite alternate;
}
.loading-screen::after { transform: rotate(42deg) scale(.7); animation-delay: -.55s; }
.loading-image-wrap {
  position: relative; width: 158px; height: 158px; padding: 7px;
  border-radius: 48% 52% 47% 53%;
  background: linear-gradient(145deg, var(--gold-light), var(--orange));
  box-shadow: var(--glow), 0 22px 50px rgba(0,0,0,.35);
  animation: loadingBob 1.7s ease-in-out infinite;
}
.loading-image-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.loading-orbit {
  position: absolute; inset: -15px; border: 3px dashed rgba(255,226,132,.65);
  border-radius: 50%; animation: spin 5s linear infinite;
}
.loading-screen p {
  margin: 12px 0 0; color: var(--cream);
  font: 700 clamp(1.8rem,5vw,2.7rem)/1 "Fredoka", sans-serif;
  text-shadow: var(--glow);
}
.loading-note { color: rgba(255,248,223,.72); font-weight: 700; letter-spacing: .08em; }

/* Floating forest details */
.forest-ambient { position: fixed; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.firefly {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: #fff0a8; box-shadow: 0 0 9px 4px rgba(255,183,45,.68);
  animation: firefly 8s ease-in-out infinite alternate;
}
.firefly-1 { left: 7%; top: 21%; } .firefly-2 { left: 16%; top: 66%; animation-delay: -3s; }
.firefly-3 { left: 29%; top: 38%; animation-delay: -5s; } .firefly-4 { left: 43%; top: 80%; animation-delay: -1s; }
.firefly-5 { left: 56%; top: 28%; animation-delay: -6s; } .firefly-6 { left: 68%; top: 62%; animation-delay: -2s; }
.firefly-7 { left: 81%; top: 18%; animation-delay: -4s; } .firefly-8 { left: 92%; top: 74%; animation-delay: -7s; }
.firefly-9 { left: 76%; top: 88%; animation-delay: -5s; } .firefly-10 { left: 36%; top: 12%; animation-delay: -2s; }
.firefly-11 { left: 4%; top: 89%; animation-delay: -6s; } .firefly-12 { left: 95%; top: 41%; animation-delay: -3s; }
.falling-leaf {
  position: absolute; top: -8%; color: rgba(255,151,32,.33);
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); animation: leafFall 18s linear infinite;
}
.leaf-1 { left: 9%; animation-delay: -3s; } .leaf-2 { left: 24%; animation-delay: -12s; animation-duration: 23s; }
.leaf-3 { left: 47%; animation-delay: -6s; animation-duration: 16s; } .leaf-4 { left: 64%; animation-delay: -14s; animation-duration: 21s; }
.leaf-5 { left: 79%; animation-delay: -9s; animation-duration: 19s; } .leaf-6 { left: 94%; animation-delay: -17s; animation-duration: 25s; }

/* Wooden navigation */
.topbar {
  position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; width: min(1180px,calc(100% - 28px)); min-height: 68px;
  padding: 8px 10px 8px 14px; border: 2px solid rgba(255,191,59,.68); border-radius: 22px;
  background: linear-gradient(180deg,rgba(105,56,29,.93),rgba(61,31,20,.95));
  box-shadow: 0 9px 0 rgba(39,20,14,.75), 0 14px 35px rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
}
.topbar::before, .topbar::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: #d49a55; box-shadow: inset 0 2px 1px rgba(255,255,255,.3), 0 1px 2px #2a140d;
}
.topbar::before { left: 7px; } .topbar::after { right: 7px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 2px solid var(--gold-light); border-radius: 50% 47% 53% 45%;
  color: var(--forest-900); background: linear-gradient(145deg,var(--gold-light),var(--orange));
  box-shadow: 0 0 14px rgba(255,136,28,.7);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 700 1rem/1.05 "Fredoka",sans-serif; }
.brand-copy small { margin-top: 4px; color: var(--gold-light); font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(8px,1.5vw,22px); margin: 0 auto; }
.desktop-nav a { position: relative; padding: 8px 2px; color: rgba(255,248,223,.84); font-size: .82rem; font-weight: 800; }
.desktop-nav a::after {
  content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px;
  transform: scaleX(0); border-radius: 2px; background: var(--gold); box-shadow: 0 0 8px var(--orange); transition: transform .2s;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }

.desktop-actions, .hero-actions, .community-actions, .footer-actions, .mobile-actions {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.action-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 18px; overflow: hidden;
  border: 2px solid rgba(255,223,139,.75); border-radius: 16px 20px 15px 19px;
  color: var(--cream); background: linear-gradient(180deg,#276e59,#17493c);
  box-shadow: 0 5px 0 #0b2922, 0 9px 20px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.16);
  cursor: pointer; font-size: .88rem; font-weight: 900; letter-spacing: .05em;
  transition: transform .18s, filter .18s, box-shadow .18s;
}
.action-button::after {
  content: ""; position: absolute; inset: -30% auto -30% -55%; width: 36%;
  transform: skewX(-18deg); background: rgba(255,255,255,.25); transition: left .45s;
}
.action-button:hover, .action-button:focus-visible { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.1) saturate(1.08); }
.action-button:hover::after { left: 125%; }
.action-telegram { background: linear-gradient(180deg,#2789a3,#1c617a); }
.action-buy {
  border-color: var(--gold-light); color: #2e1c08; background: linear-gradient(180deg,#ffe37b,#ff9d26);
  box-shadow: 0 5px 0 #b44712, 0 0 13px rgba(255,178,45,.8), 0 0 30px rgba(255,104,21,.45), inset 0 1px white;
}
.action-compact { min-height: 38px; padding: 7px 11px; border-radius: 12px 14px 11px 14px; font-size: .72rem; box-shadow: 0 3px 0 #0b2922; }
.action-buy.action-compact { box-shadow: 0 3px 0 #b44712, 0 0 16px rgba(255,159,33,.55); }
.menu-button {
  display: none; place-items: center; width: 44px; height: 44px; margin-left: auto;
  border: 2px solid var(--gold); border-radius: 14px; color: var(--cream); background: rgba(11,40,34,.75);
}
.mobile-nav {
  position: absolute; top: calc(100% + 13px); right: 0; left: 0;
  display: grid; gap: 8px; padding: 18px; border: 2px solid rgba(255,195,66,.7); border-radius: 20px;
  background: linear-gradient(160deg,rgba(77,40,23,.98),rgba(15,53,43,.98)); box-shadow: var(--shadow);
}
.mobile-nav > a { padding: 10px 12px; border-bottom: 1px dashed rgba(255,226,151,.24); font-weight: 900; }
.mobile-actions { margin-top: 8px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: #111b4d; }
.hero-art, .hero-scrim { position: absolute; inset: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%; }
.hero-scrim {
  background: linear-gradient(90deg,rgba(5,26,22,.93),rgba(5,26,22,.62) 37%,rgba(5,26,22,.08) 68%), linear-gradient(180deg,rgba(4,18,16,.35),transparent 35%,rgba(4,22,18,.88));
}
.hero-copy {
  position: relative; z-index: 2; width: min(650px,calc(100% - 36px));
  margin: 110px max(18px,calc((100vw - 1180px)/2)) 90px; padding: clamp(24px,4vw,44px);
  border: 2px solid rgba(255,206,92,.55); border-radius: 38px 46px 36px 48px;
  background: linear-gradient(145deg,rgba(8,44,35,.82),rgba(9,29,27,.72));
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(10px);
}
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -3px; border-radius: inherit;
  background: linear-gradient(120deg,var(--gold),transparent 28%,transparent 67%,var(--orange)); filter: blur(9px); opacity: .36;
}
.hero-kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 12px;
  border: 1px solid rgba(255,224,145,.45); border-radius: 999px; color: var(--gold-light);
  background: rgba(65,35,20,.65); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase;
}
.hero h1 {
  max-width: 9ch; margin: 18px 0 8px; color: var(--cream);
  font: 700 clamp(3.4rem,7vw,6.8rem)/.87 "Fredoka",sans-serif; letter-spacing: -.055em; text-wrap: balance;
  text-shadow: 0 5px 0 rgba(39,18,10,.65), 0 0 26px rgba(255,147,28,.42);
}
.hero-tagline { margin: 20px 0 10px; color: var(--gold-light); font: 600 clamp(1.2rem,2vw,1.55rem)/1.25 "Fredoka",sans-serif; }
.hero-description { max-width: 57ch; margin: 0; color: rgba(255,248,223,.86); font-size: clamp(.97rem,1.35vw,1.08rem); }
.hero-actions { margin-top: 26px; }
.scroll-cue {
  position: absolute; z-index: 3; right: 50%; bottom: 24px; transform: translateX(50%);
  display: flex; align-items: center; gap: 8px; color: rgba(255,248,223,.78);
  font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; animation: scrollBob 2s ease-in-out infinite;
}

/* Shared sections */
.section { position: relative; padding: clamp(86px,10vw,140px) max(20px,calc((100vw - 1180px)/2)); }
.section-heading { width: min(720px,100%); margin: 0 auto clamp(45px,7vw,76px); text-align: center; }
.section-heading .eyebrow, .community-card .eyebrow { margin-inline: auto; }
.section-heading h2, .community-card h2 {
  margin: 18px 0 12px; color: var(--cream); font: 700 clamp(2.5rem,5.5vw,5.25rem)/.98 "Fredoka",sans-serif;
  letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 4px 0 rgba(26,15,8,.45),0 0 24px rgba(255,144,28,.26);
}
.section-heading p { max-width: 60ch; margin: 0 auto; color: rgba(255,248,223,.7); font-size: clamp(1rem,1.6vw,1.18rem); }

/* Lore */
.lore-section { background: linear-gradient(180deg,rgba(8,36,30,.72),rgba(16,66,51,.88)), radial-gradient(circle at 15% 40%,rgba(255,160,28,.15),transparent 30%); }
.lore-section::before, .gallery-section::before {
  content: ""; position: absolute; top: -1px; right: 0; left: 0; height: 28px;
  background: radial-gradient(30px 20px at 20px 0,transparent 25px,#0a2b24 26px) 0 0/44px 28px repeat-x; opacity: .75;
}
.lore-feature {
  display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr);
  align-items: center; gap: clamp(30px,6vw,80px); margin-top: clamp(50px,8vw,100px);
}
.lore-feature-reverse .story-image { order: 2; transform: rotate(-1.5deg); }
.story-image {
  position: relative; margin: 0; padding: 9px; transform: rotate(1.5deg);
  border-radius: 46px 38px 52px 36px; background: linear-gradient(145deg,var(--gold-light),var(--orange));
  box-shadow: var(--glow),var(--shadow);
}
.story-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 39px 31px 44px 29px; }
.story-image figcaption {
  position: absolute; right: 22px; bottom: 20px; padding: 9px 14px;
  border: 1px solid rgba(255,230,169,.55); border-radius: 14px; color: var(--cream);
  background: rgba(15,42,34,.82); font-weight: 900; backdrop-filter: blur(8px);
}
.story-copy { position: relative; display: grid; gap: 18px; }
.story-copy p {
  margin: 0; padding: clamp(20px,3vw,28px); border: 1px solid rgba(255,222,142,.28);
  border-radius: 24px 30px 22px 32px; color: rgba(255,248,223,.85);
  background: linear-gradient(160deg,rgba(94,50,28,.63),rgba(30,67,50,.69));
  box-shadow: 0 10px 28px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.08); font-size: 1.02rem;
}
.story-copy p:nth-child(even) { transform: translateX(20px) rotate(.4deg); }
.story-copy .story-final {
  border-color: rgba(255,192,62,.72); color: var(--gold-light); font: 600 1.16rem/1.6 "Fredoka",sans-serif;
  box-shadow: var(--glow),0 12px 30px rgba(0,0,0,.25);
}

/* Gallery */
.gallery-section { background: radial-gradient(circle at 88% 20%,rgba(114,86,255,.16),transparent 25%), linear-gradient(180deg,#0a2b24,#0b211f); }
.gallery-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: 165px; gap: 18px; }
.gallery-card {
  position: relative; grid-column: span 4; grid-row: span 2; min-width: 0; padding: 0; overflow: hidden;
  border: 3px solid rgba(255,188,54,.72); border-radius: 34px 26px 38px 28px; background: var(--forest-800);
  box-shadow: 0 8px 0 rgba(73,35,17,.9),0 18px 34px rgba(0,0,0,.28); cursor: zoom-in;
}
.gallery-card-1, .gallery-card-6 { grid-column: span 8; }
.gallery-card-4, .gallery-card-5 { grid-row: span 3; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1),filter .35s; }
.gallery-card:hover img, .gallery-card:focus-visible img { transform: scale(1.045); filter: saturate(1.12) brightness(1.05); }
.gallery-card:hover { box-shadow: 0 8px 0 rgba(73,35,17,.9),var(--glow),0 22px 42px rgba(0,0,0,.32); }
.gallery-overlay {
  position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: 3px; padding: 44px 18px 16px;
  color: var(--cream); text-align: left; background: linear-gradient(transparent,rgba(5,24,21,.92));
}
.gallery-overlay > span { display: flex; align-items: center; gap: 7px; font: 600 1.06rem/1.2 "Fredoka",sans-serif; }
.gallery-overlay small { color: rgba(255,248,223,.7); }

/* Roadmap */
.roadmap-section { min-height: 1050px; padding-right: 0; padding-left: 0; overflow: hidden; }
.roadmap-backdrop { position: absolute; inset: 0; }
.roadmap-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(5,29,25,.75),rgba(11,30,27,.8)),radial-gradient(circle,transparent,rgba(3,15,14,.78));
}
.roadmap-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.roadmap-content { position: relative; z-index: 2; width: min(1180px,calc(100% - 40px)); margin: 0 auto; }
.roadmap-path {
  position: absolute; top: 310px; bottom: 10px; left: 50%; width: 9px; transform: translateX(-50%);
  border: 2px dashed rgba(91,60,30,.8); border-radius: 50%; background: linear-gradient(var(--gold),var(--orange),var(--gold)); box-shadow: var(--glow); opacity: .78;
}
.roadmap-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 74px 110px; }
.roadmap-card {
  position: relative; padding: 34px 28px 28px; border: 3px solid #d98d35; border-radius: 30px 38px 28px 36px;
  color: var(--ink); background: linear-gradient(rgba(255,244,203,.94),rgba(233,204,142,.96));
  box-shadow: 0 9px 0 #75401e,var(--shadow);
}
.roadmap-card:nth-child(even) { margin-top: 100px; }
.roadmap-card::before { content: ""; position: absolute; top: 50%; width: 58px; height: 4px; background: var(--gold); box-shadow: var(--glow); }
.roadmap-card:nth-child(odd)::before { right: -61px; } .roadmap-card:nth-child(even)::before { left: -61px; }
.milestone {
  position: absolute; top: -25px; left: 28px; display: grid; place-items: center; width: 52px; height: 52px;
  border: 3px solid var(--gold-light); border-radius: 50% 45% 55% 48%; color: var(--forest-950);
  background: linear-gradient(145deg,var(--gold-light),var(--orange)); box-shadow: var(--glow);
}
.roadmap-card > span { color: #a44f17; font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.roadmap-card h3 { margin: 5px 0 18px; color: #173e32; font: 700 clamp(1.65rem,3vw,2.2rem)/1.05 "Fredoka",sans-serif; }
.roadmap-card ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.roadmap-card li { position: relative; padding-left: 23px; color: #31594c; font-size: .93rem; font-weight: 700; }
.roadmap-card li::before { content: "✦"; position: absolute; left: 0; color: #d36a18; }

/* Community & footer */
.community-section { min-height: 830px; display: grid; place-items: center; overflow: hidden; }
.community-art { position: absolute; inset: 0; }
.community-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,rgba(4,16,19,.8),rgba(4,15,19,.23),rgba(4,15,19,.75)),linear-gradient(0deg,rgba(5,20,18,.9),transparent 42%);
}
.community-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.community-card {
  position: relative; z-index: 2; width: min(760px,100%); padding: clamp(28px,6vw,64px);
  border: 3px solid rgba(255,197,68,.78); border-radius: 44px 56px 42px 58px; text-align: center;
  background: linear-gradient(145deg,rgba(10,45,39,.91),rgba(25,25,45,.88));
  box-shadow: var(--glow),var(--shadow),inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(12px);
}
.community-card h2 { font-size: clamp(2.35rem,5.4vw,4.6rem); }
.community-card > p { max-width: 56ch; margin: 0 auto; color: rgba(255,248,223,.75); font-size: 1.05rem; }
.community-actions { justify-content: center; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 27px; color: var(--gold-light); font-weight: 900; }
.footer {
  display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 22px;
  padding: 38px max(20px,calc((100vw - 1180px)/2)); border-top: 3px solid rgba(255,182,45,.6);
  background: linear-gradient(180deg,#4b2b1b,#2b1a14); box-shadow: inset 0 8px 22px rgba(0,0,0,.25);
}
.footer > div:first-child { display: grid; }
.footer strong { font: 700 1.45rem/1.2 "Fredoka",sans-serif; }
.footer span, .footer p, .footer small { color: rgba(255,248,223,.65); }
.footer p { margin: 0; text-align: center; }
.footer > small { grid-column: 1/-1; padding-top: 18px; border-top: 1px dashed rgba(255,225,154,.2); text-align: center; }

/* Gallery lightbox */
.lightbox {
  position: fixed; z-index: 500; inset: 0; display: grid; place-items: center;
  padding: 70px clamp(18px,7vw,100px); background: rgba(3,14,16,.92); backdrop-filter: blur(14px);
}
.lightbox::before { content: ""; position: absolute; inset: 20px; border: 2px solid rgba(255,193,60,.3); border-radius: 28px; pointer-events: none; }
.lightbox figure {
  position: relative; max-width: min(80vw,830px); max-height: 82vh; margin: 0; padding: 7px;
  border-radius: 30px; background: linear-gradient(145deg,var(--gold-light),var(--orange)); box-shadow: var(--glow),var(--shadow);
}
.lightbox figure img { max-height: calc(82vh - 70px); border-radius: 24px; object-fit: contain; }
.lightbox figcaption {
  position: absolute; right: 18px; bottom: 18px; left: 18px; display: grid; padding: 14px 17px;
  border-radius: 18px; background: rgba(8,34,29,.85); backdrop-filter: blur(9px);
}
.lightbox figcaption strong { font: 600 1.1rem/1.3 "Fredoka",sans-serif; }
.lightbox figcaption span { color: rgba(255,248,223,.68); font-size: .88rem; }
.lightbox-close, .lightbox-arrow {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px;
  border: 2px solid var(--gold-light); border-radius: 50%; color: var(--cream); background: rgba(37,79,64,.92); box-shadow: var(--glow); cursor: pointer;
}
.lightbox-close { top: 25px; right: 25px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 25px; } .lightbox-next { right: 25px; }
.lightbox-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,248,223,.68); font-weight: 900; }
.toast {
  position: fixed; z-index: 600; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px;
  max-width: min(390px,calc(100% - 44px)); padding: 15px 18px; border: 2px solid var(--gold);
  border-radius: 17px 21px 16px 22px; color: var(--cream); background: rgba(18,70,55,.96); box-shadow: var(--glow),var(--shadow); font-weight: 800;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { to { opacity: .28; transform: scale(.65); } }
@keyframes loadingBob { 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes scrollBob { 50% { transform: translate(50%,5px); opacity: .65; } }
@keyframes firefly {
  0% { transform: translate3d(-12px,-10px,0) scale(.65); opacity: .22; }
  45% { opacity: 1; }
  100% { transform: translate3d(28px,38px,0) scale(1.15); opacity: .48; }
}
@keyframes leafFall {
  0% { transform: translate3d(0,-10vh,0) rotate(0); opacity: 0; }
  10% { opacity: .8; }
  50% { transform: translate3d(60px,52vh,0) rotate(260deg); }
  100% { transform: translate3d(-35px,110vh,0) rotate(620deg); opacity: 0; }
}

@media (max-width: 1050px) {
  .desktop-nav { gap: 10px; }
  .desktop-nav a { font-size: .72rem; }
  .desktop-actions .action-x, .desktop-actions .action-telegram { display: none; }
  .gallery-grid { grid-auto-rows: 145px; }
}

@media (max-width: 820px) {
  .topbar { top: 10px; min-height: 64px; }
  .desktop-nav, .desktop-actions { display: none; }
  .menu-button { display: grid; }
  .hero { align-items: end; padding-top: 88px; }
  .hero-art { height: 65svh; }
  .hero-art img { object-position: 53% 42%; }
  .hero-scrim { background: linear-gradient(180deg,rgba(4,19,17,.03) 20%,rgba(4,24,20,.55) 63%,#071f1a 95%); }
  .hero-copy {
    width: calc(100% - 28px); margin: 52svh 14px 80px; padding: 26px;
    background: linear-gradient(145deg,rgba(8,44,35,.94),rgba(9,29,27,.93));
  }
  .hero h1 { max-width: none; }
  .lore-feature, .lore-feature-reverse { grid-template-columns: 1fr; }
  .lore-feature-reverse .story-image { order: 0; }
  .story-image { width: min(620px,100%); margin-inline: auto; }
  .story-copy p:nth-child(even) { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 250px; }
  .gallery-card, .gallery-card-1, .gallery-card-6 { grid-column: auto; grid-row: auto; }
  .roadmap-path { left: 26px; }
  .roadmap-grid { grid-template-columns: 1fr; gap: 42px; padding-left: 58px; }
  .roadmap-card:nth-child(even) { margin-top: 0; }
  .roadmap-card::before, .roadmap-card:nth-child(odd)::before, .roadmap-card:nth-child(even)::before { top: 50%; right: auto; left: -61px; }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 78px; }
  .brand-copy strong { font-size: .9rem; } .brand-copy small { font-size: .6rem; }
  .hero-copy { padding: 22px 18px 25px; border-radius: 28px 34px 26px 36px; }
  .hero-kicker { font-size: .61rem; }
  .hero h1 { font-size: clamp(3rem,16vw,4.9rem); }
  .hero-actions .action-button, .community-actions .action-button { flex: 1 1 28%; min-width: 84px; padding-inline: 11px; }
  .scroll-cue span { display: none; }
  .section { padding-right: 16px; padding-left: 16px; }
  .story-copy p { padding: 19px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 340px; gap: 15px; }
  .roadmap-content { width: calc(100% - 28px); }
  .roadmap-grid { padding-left: 42px; }
  .roadmap-path { left: 18px; }
  .roadmap-card { padding: 32px 19px 23px; }
  .roadmap-card::before, .roadmap-card:nth-child(odd)::before, .roadmap-card:nth-child(even)::before { left: -45px; width: 42px; }
  .community-section { min-height: 760px; }
  .community-card { padding: 30px 18px; border-radius: 32px 38px 30px 40px; }
  .lightbox { padding: 80px 14px; }
  .lightbox::before { inset: 10px; }
  .lightbox-arrow { top: auto; bottom: 20px; transform: none; width: 45px; height: 45px; }
  .lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
  .lightbox-close { top: 18px; right: 18px; } .lightbox-count { bottom: 30px; }
  .toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
