:root {
  --ink: #111;
  --paper: #fff7e6;
  --bubble: #fff;
  --blue: #3b82f6;
  --blue-2: #1d4ed8;
  --yellow: #fde047;
  --stroke: #111;
  --muted: #3f3f46;
  --display: "Bangers", Impact, cursive;
  --font: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  max-width: 100vw;
  background: #0b1220;
}
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(11,18,32,.55) 0%, rgba(11,18,32,.35) 40%, rgba(11,18,32,.72) 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(11,18,32,.88);
  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: 50%; object-fit: cover;
  border: 4px solid #111; background: #fff;
  box-shadow: 6px 6px 0 #111;
  animation: wobble .8s ease-in-out infinite;
}
@keyframes wobble {
  0%,100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}
.loader-kicker {
  margin: 0; font-family: var(--display); letter-spacing: .12em; font-size: 22px; color: var(--yellow);
}
.loader-pct {
  margin: 4px 0 0; font-family: var(--display); font-size: clamp(64px, 16vw, 120px); line-height: .9; color: #fff;
}
.loader-bar {
  height: 14px; border: 3px solid #111; border-radius: 999px; overflow: hidden; background: #fff; margin-top: 8px;
}
.loader-bar span { display: block; height: 100%; width: 0; background: var(--blue); }
.loader-sub { margin: 10px 0 0; font-weight: 800; color: #fff; }

.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  background: rgba(255,247,230,.92);
  border-bottom: 4px solid #111;
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #111; object-fit: cover; background: #fff; }
.brand span { font-family: var(--display); font-size: 28px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 18px; font-weight: 800; }
.nav-links a { color: #111; text-decoration: none; }
.nav-links a:hover { color: var(--blue-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 3px solid #111; border-radius: 12px; background: #fff; color: #111; text-decoration: none;
}
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social .icon-btn {
  width: auto; height: 40px; padding: 0 12px; font-weight: 800; font-size: 13px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 14px;
  border: 3px solid #111; font-weight: 800; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 #111; color: #111;
}
.btn-primary, .btn-buy { background: var(--yellow); }
.btn-ghost { background: #fff; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #111; }

.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(56px, 10vw, 108px);
  line-height: .9; color: #fff;
  -webkit-text-stroke: 3px #111; paint-order: stroke fill;
  text-shadow: 6px 6px 0 #111;
}
.hero-copy h1 span { color: var(--yellow); }
.kicker {
  margin: 0 0 8px; font-family: var(--display); letter-spacing: .08em; color: var(--yellow); font-size: 22px;
}
.tagline { margin: 12px 0 22px; font-size: 22px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px #000; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.ca { margin: 14px 0 0; font-weight: 800; color: #fff; word-break: break-all; }
.hero-art img {
  width: min(420px, 100%); border-radius: 50%;
  border: 6px solid #111; background: #fff; box-shadow: 10px 10px 0 #111;
}
.scroll {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 18px; color: #fff; font-weight: 800; text-decoration: none;
}

.ticker {
  overflow: hidden; border-block: 4px solid #111; background: var(--yellow);
}
.ticker-track {
  display: flex; gap: 36px; width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--display); font-size: 28px; padding: 10px 0;
}
@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: 4px solid #111; border-radius: 18px; background: #fff;
}
.panel, .tok-grid article, .steps li, .buy-box, .foot {
  background: var(--paper);
  border: 4px solid #111;
  border-radius: 22px;
  box-shadow: 8px 8px 0 #111;
}
.panel { padding: 28px; }
.panel h2, .section-head h2, .steps h3 { font-family: var(--display); letter-spacing: .03em; margin: 0 0 10px; font-size: clamp(32px, 5vw, 52px); }
.panel p { font-weight: 700; }
.traits { padding-left: 18px; font-weight: 800; }
.section-head { margin-bottom: 28px; color: #fff; }
.section-head .kicker { color: var(--yellow); }
.section-head h2 { color: #fff; text-shadow: 3px 3px 0 #111; }

.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/8; }

.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: 36px; margin: 0; }
.tok-grid p { margin: 6px 0 0; font-weight: 800; }

.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: 28px; color: var(--blue-2); }
.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: 50%; object-fit: cover; flex: none; }
.ca-big { margin: 4px 0 12px; font-weight: 800; font-size: 18px; word-break: break-all; }

.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: 50%; border: 3px solid #111; }
.foot-brand strong { display: block; font-family: var(--display); font-size: 24px; }
.disclaimer, .copy { margin: 0; font-weight: 700; }

.toast {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); border: 3px solid #111; border-radius: 12px;
  padding: 10px 16px; font-weight: 800; z-index: 40; box-shadow: 4px 4px 0 #111;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .about-grid, .tok-grid, .steps, .gallery-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-art { display: flex; justify-content: center; }
  .gallery-grid .wide { grid-column: auto; }
  .gallery-grid .wide img { aspect-ratio: 16/7; }
}
