:root {
  --ink: #f3ffe8;
  --muted: #9cb892;
  --night: #050805;
  --panel: rgba(10, 18, 10, 0.78);
  --panel-strong: #0d160d;
  --line: rgba(180, 255, 80, 0.16);
  --lime: #b8ff28;
  --green: #39ff14;
  --forest: #1a3d14;
  --gold: #d4af37;
  --cash: #6dff4a;
  --gradient: linear-gradient(120deg, #7cff2e, #d4af37 55%, #39ff14);
  --radius: 28px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 255, 40, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 30%, rgba(212, 175, 55, 0.08), transparent 30rem),
    var(--night);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.intro-lock {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 12% 20%, #b8ff28 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 8%, #d4af37 0 1px, transparent 1.6px),
    radial-gradient(circle at 84% 64%, #39ff14 0 1px, transparent 1.6px),
    radial-gradient(circle at 34% 78%, #fff 0 1px, transparent 1.6px);
  background-size: 170px 170px, 230px 230px, 280px 280px, 320px 320px;
}

::selection {
  color: #050805;
  background: var(--lime);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  color: var(--night);
  background: var(--lime);
  border-radius: 14px;
  font-weight: 900;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 24px rgba(184, 255, 40, 0.7);
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: screen;
  transition: transform 0.08s linear;
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

/* Intro overlay */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-overlay.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay video {
  width: min(100%, 1280px);
  height: auto;
  max-height: 100vh;
  object-fit: contain;
}

.intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 1px solid rgba(184, 255, 40, 0.35);
  background: rgba(0, 0, 0, 0.55);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(5, 8, 5, 0.92), rgba(5, 8, 5, 0.4) 70%, transparent);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-face {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 0 16px rgba(184, 255, 40, 0.35);
}

.menu-toggle {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.site-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(184, 255, 40, 0.1);
}

.header-buy {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gradient);
  color: #061006;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(184, 255, 40, 0.25);
}

.section-pad {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 36px);
}

/* Hero */
.hero {
  padding-top: 100px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  min-height: min(78vh, 760px);
  box-shadow: var(--shadow);
}

.hero-image {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 5, 0.92) 0%, rgba(5, 8, 5, 0.55) 42%, rgba(5, 8, 5, 0.12) 72%, rgba(5, 8, 5, 0.35) 100%),
    repeating-linear-gradient(180deg, transparent 0 3px, rgba(184, 255, 40, 0.03) 3px 4px);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  bottom: clamp(24px, 5vw, 56px);
  z-index: 2;
  max-width: 640px;
}

.micro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(57, 255, 20, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0);
  }
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-copy h1 span {
  color: var(--gold);
  font-size: 0.35em;
  vertical-align: super;
}

.hero-line {
  margin: 18px 0 22px;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--muted);
  font-weight: 700;
}

.ticker-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ticker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

.ticker small {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.ticker.is-copied {
  border-color: var(--lime);
  color: var(--lime);
}

.ca-copy {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92rem;
}

.ca-copy .copy-icon {
  flex-shrink: 0;
  opacity: 0.75;
}

.ca-copy:hover .copy-icon,
.ca-copy.is-copied .copy-icon {
  opacity: 1;
  color: var(--lime);
}

.ca-copy[hidden] {
  display: none;
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: #061006;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: floaty 3.4s ease-in-out infinite;
}

.sticker-one {
  top: 18%;
  right: 8%;
}

.sticker-two {
  top: 34%;
  right: 18%;
  background: var(--gold);
  animation-delay: -1.2s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.action-grid a[hidden] {
  display: none;
}

.action-grid a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.action-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 255, 40, 0.45);
  background: rgba(184, 255, 40, 0.08);
}

.action-grid small {
  color: var(--muted);
}

/* Ticker tape */
.ticker-tape {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(184, 255, 40, 0.06);
  padding: 14px 0;
}

.ticker-tape > div {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Intro / about */
.section-index {
  margin: 0 0 18px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.intro-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.intro-main h2,
.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.intro-main h2 em,
.gradient-text {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro-main p,
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.mini-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-facts div[hidden] {
  display: none;
}

.mini-facts div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.mini-facts small {
  display: block;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-size: 0.72rem;
}

.mini-facts strong {
  font-size: 1.1rem;
}

/* Video / gallery — top half video, bottom half images */
.media-stage {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel-strong);
}

.media-split {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-height: min(78vh, 720px);
}

.media-top {
  position: relative;
  min-height: 0;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.media-top video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.video-caption,
.window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  flex-shrink: 0;
}

.media-bottom {
  min-height: 0;
  display: flex;
  background: #050805;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 8px;
  width: 100%;
  height: 100%;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #0a120a;
  min-height: 0;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Chart */
.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.text-link {
  color: var(--lime);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.dex-window {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-dots i:nth-child(2) {
  background: #febc2e;
}

.window-dots i:nth-child(3) {
  background: #28c840;
}

.dex-window iframe {
  width: 100%;
  height: min(62vh, 560px);
  border: 0;
  background: #0b0f0b;
}

.dex-fallback {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* Next pages */
.next-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.next-pages a {
  display: grid;
  gap: 8px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(184, 255, 40, 0.08), transparent 55%),
    var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.next-pages a:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 255, 40, 0.4);
}

.next-pages small {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-weight: 800;
}

.next-pages strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
}

.next-pages span {
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 40px clamp(16px, 4vw, 36px) 56px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.footer-face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  max-width: none;
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #061006;
  font-weight: 900;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 80;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal,
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Inner pages */
.page-hero {
  padding: 140px clamp(16px, 4vw, 36px) 40px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.page-hero-copy > p:not(.micro-label) {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 42ch;
}

.page-hero-art {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lore-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 36px) 80px;
}

.lore-chapter {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.lore-chapter h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.lore-chapter p {
  margin: 0;
  color: var(--muted);
}

.roadmap-orbit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 clamp(16px, 4vw, 36px) 80px;
}

.roadmap-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(212, 175, 55, 0.1), transparent 50%),
    var(--panel);
}

.roadmap-card small {
  color: var(--lime);
  letter-spacing: 0.12em;
  font-weight: 900;
}

.roadmap-card h3 {
  margin: 10px 0;
  font-size: 1.7rem;
  text-transform: uppercase;
}

.roadmap-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(5, 8, 5, 0.96);
    margin: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-facts {
    grid-template-columns: 1fr 1fr;
  }

  .next-pages,
  .intro-main,
  .page-hero-grid,
  .roadmap-orbit {
    grid-template-columns: 1fr;
  }

  .media-split {
    min-height: 70vh;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .sticker-two {
    display: none;
  }

  .hero-card,
  .hero-image {
    min-height: 70vh;
    height: 70vh;
  }
}

@media (max-width: 640px) {
  .action-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mini-facts {
    grid-template-columns: 1fr 1fr;
  }

  .dex-fallback {
    flex-direction: column;
  }

  .media-split {
    min-height: 64vh;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer p {
    white-space: normal;
    max-width: 36ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
