:root {
  --ink: #04140a;
  --paper: #071a0e;
  --neon: #39ff14;
  --neon-2: #b8ff5a;
  --pink: #c084fc;
  --stroke: #021008;
  --muted: #9ad7a8;
  --display: "Luckiest Guy", Impact, cursive;
  --font: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  color: #e8ffe9;
  font-family: var(--font);
  overflow-x: hidden;
  max-width: 100vw;
  background: #020805;
}
html.loading, body.loading { overflow: hidden; height: 100%; }

.bg-video {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.bg-shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,8,5,.72) 0%, rgba(2,8,5,.42) 40%, rgba(2,8,5,.82) 100%);
}
.loader, .nav, main, .foot, .toast { position: relative; z-index: 2; }

.loader {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,8,5,.9);
  transition: opacity .45s ease, visibility .45s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: min(420px, 88vw); text-align: center; }
.loader-face {
  width: 132px; height: 132px; margin: 0 auto 12px;
  border-radius: 22px; object-fit: cover;
  border: 3px solid var(--neon);
  box-shadow: 0 0 40px rgba(57,255,20,.45);
  animation: pulse .9s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.loader-kicker { margin: 0; color: var(--neon); letter-spacing: .2em; font-weight: 800; }
.loader-pct {
  margin: 4px 0 0; font-family: var(--display); font-size: clamp(64px, 16vw, 120px);
  line-height: .9; color: #fff;
}
.loader-bar {
  height: 12px; border: 2px solid var(--neon); border-radius: 999px; overflow: hidden; background: #04140a; margin-top: 8px;
}
.loader-bar span { display: block; height: 100%; width: 0; background: var(--neon); }
.loader-sub { margin: 10px 0 0; font-weight: 700; color: var(--muted); }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  background: rgba(4,20,10,.88);
  border-bottom: 1px solid rgba(57,255,20,.28);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 2px solid var(--neon); }
.brand span { font-family: var(--display); font-size: 26px; letter-spacing: .04em; color: var(--neon); }
.nav-links { display: flex; gap: 18px; font-weight: 700; }
.nav-links a { color: #d6ffd9; text-decoration: none; }
.nav-links a:hover { color: var(--neon); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 999px;
  border: 2px solid var(--neon); font-weight: 800; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 18px rgba(57,255,20,.25);
}
.btn-primary, .btn-buy { background: var(--neon); color: #04140a; }
.btn-ghost { background: transparent; color: var(--neon); }
.btn:hover { filter: brightness(1.08); }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid; place-items: center;
  padding: 40px 20px 72px;
}
.hero-inner {
  width: min(1120px, 100%);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center;
}
.hero-copy h1 {
  margin: 0; font-family: var(--display); font-size: clamp(52px, 9vw, 96px);
  line-height: .95; color: #fff; text-shadow: 0 0 24px rgba(57,255,20,.45);
}
.hero-copy h1 span { color: var(--neon); }
.kicker {
  margin: 0 0 8px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--neon); font-weight: 800; font-size: 13px;
}
.tagline { margin: 12px 0 22px; font-size: 22px; font-weight: 700; color: #e8ffe9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ca { margin: 14px 0 0; font-weight: 700; color: var(--muted); word-break: break-all; }
.hero-art img {
  width: min(420px, 100%); border-radius: 28px;
  border: 3px solid var(--neon); box-shadow: 0 0 40px rgba(57,255,20,.35);
}
.scroll {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; color: var(--neon); font-weight: 800; text-decoration: none;
}

.ticker {
  overflow: hidden; border-block: 1px solid rgba(57,255,20,.35);
  background: rgba(4,20,10,.85);
}
.ticker-track {
  display: flex; gap: 36px; width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--display); font-size: 26px; padding: 10px 0; color: var(--neon);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.about, .gallery, .tokenomics, .buy { padding: 72px 20px; }
.about-grid, .gallery-grid, .tok-grid, .steps, .section-head {
  width: min(1120px, 100%); margin: 0 auto;
}
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.about-visual img, .gallery-grid img, .buy-box img {
  width: 100%; display: block; border: 2px solid rgba(57,255,20,.45); border-radius: 18px; background: #04140a;
}
.panel, .tok-grid article, .steps li, .buy-box, .foot {
  background: rgba(7,26,14,.86);
  border: 1px solid rgba(57,255,20,.28);
  border-radius: 22px;
  box-shadow: 0 0 24px rgba(57,255,20,.12);
}
.panel { padding: 28px; }
.panel h2, .section-head h2, .steps h3 {
  font-family: var(--display); letter-spacing: .03em; margin: 0 0 10px;
  font-size: clamp(28px, 4.5vw, 46px);
}
.panel p { font-weight: 600; color: #d6ffd9; }
.traits { padding-left: 18px; font-weight: 700; color: var(--neon-2); }
.section-head { margin-bottom: 28px; }
.section-head h2 { color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid .wide { grid-column: 1 / -1; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; }
.gallery-grid .wide img { aspect-ratio: 21/7; object-fit: cover; }

.tok-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tok-grid article { padding: 22px; text-align: center; }
.tok-grid h3 { font-family: var(--display); font-size: 32px; margin: 0; color: var(--neon); }
.tok-grid p { margin: 6px 0 0; font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; }
.steps li { padding: 22px; }
.num { font-family: var(--display); font-size: 26px; color: var(--neon); }
.buy-box {
  width: min(720px, 100%); margin: 28px auto 0;
  display: flex; gap: 18px; align-items: center; padding: 18px;
}
.buy-box img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; }
.ca-big { margin: 4px 0 12px; font-weight: 800; font-size: 18px; word-break: break-all; }
.buy-box .kicker { color: var(--neon); }

.foot { margin: 0 20px 20px; padding: 22px; display: grid; gap: 10px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 12px; border: 2px solid var(--neon); }
.foot-brand strong { display: block; font-family: var(--display); font-size: 24px; color: var(--neon); }
.disclaimer, .copy { margin: 0; font-weight: 600; color: var(--muted); }

.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--neon); color: #04140a; border-radius: 12px;
  padding: 10px 16px; font-weight: 800; z-index: 40;
}

.album-main { padding: 28px 16px 64px; }
.album-hero { width: min(960px, 100%); margin: 0 auto 28px; text-align: center; }
.album-hero h1, .album-hero h2 {
  margin: 0; font-family: var(--display); font-size: clamp(48px, 10vw, 88px);
  color: #fff; text-shadow: 0 0 24px rgba(57,255,20,.4);
}
.film-wrap {
  overflow-x: auto; padding: 18px 0 28px;
  scrollbar-color: var(--neon) transparent;
}
.film {
  display: flex; gap: 10px; width: max-content; padding: 18px 24px;
  margin: 0 auto;
  background: repeating-linear-gradient(#111 0 10px, #1a1a1a 10px 14px, #111 14px 24px);
  border-block: 14px solid #111;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.film-frame {
  width: 160px; height: 160px; padding: 0; border: 0; background: #000; cursor: pointer;
}
.film-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.05); }
.film-frame:hover img { filter: brightness(1.12); }

.polaroid-wall {
  width: min(1100px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px 16px;
  align-items: start;
}
.polaroid {
  margin: 0;
  background: #f6fff4;
  color: #04140a;
  padding: 10px 10px 36px;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.polaroid button { all: unset; cursor: pointer; display: block; width: 100%; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #111; }
.polaroid figcaption {
  font-family: var(--display);
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: .04em;
}
.polaroid.r1 { transform: rotate(-6deg); }
.polaroid.r2 { transform: rotate(4deg); margin-top: 28px; }
.polaroid.r3 { transform: rotate(-2deg); }
.polaroid.r4 { transform: rotate(7deg); margin-top: 18px; }
.polaroid.r5 { transform: rotate(-5deg); }
.polaroid.r6 { transform: rotate(3deg); margin-top: 22px; }
.polaroid.r7 { transform: rotate(-8deg); }
.polaroid.r8 { transform: rotate(5deg); margin-top: 14px; }
.polaroid.r9 { transform: rotate(-3deg); }
.polaroid.r0 { transform: rotate(6deg); margin-top: 20px; }
.polaroid:hover { transform: rotate(0deg) scale(1.05); z-index: 3; }

.lb {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.86);
  display: grid; place-items: center; gap: 10px;
  padding: 24px;
}
.lb[hidden] { display: none; }
.lb img { max-width: min(920px, 92vw); max-height: 78vh; object-fit: contain; border: 3px solid var(--neon); }
.lb p { margin: 0; color: var(--neon); font-family: var(--display); font-size: 22px; }
.lb-close {
  position: absolute; top: 16px; right: 18px;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--neon); color: #04140a; font-size: 28px; cursor: pointer; font-weight: 800;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .about-grid, .tok-grid, .steps { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-art { display: flex; justify-content: center; }
  .polaroid-wall { grid-template-columns: repeat(2, 1fr); }
}
