/* =========================================================
   GOOGOL, Ultra premium static landing page
   Pure HTML / CSS / vanilla JS
   ========================================================= */

:root {
  --bg: #030403;
  --bg-soft: #080a08;
  --panel: #10130f;
  --ink: #f4f7f1;
  --muted: #b9c2b4;
  --muted-2: #8f9a89;
  --line: rgba(235, 245, 230, 0.19);
  --line-soft: rgba(235, 245, 230, 0.11);
  --neon: #c6ff00;
  --neon-2: #9eea00;
  --blue: #4285f4;
  --red: #ea4335;
  --yellow: #fbbc05;
  --green: #34a853;
  --display: "Orbitron", sans-serif;
  --sans: "Space Grotesk", sans-serif;
  --header-h: 80px;
  --pad: clamp(20px, 4vw, 68px);
  --section-gap: clamp(96px, 13vw, 190px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 14%, rgba(198, 255, 0, 0.075), transparent 25%),
    radial-gradient(circle at 20% 68%, rgba(198, 255, 0, 0.04), transparent 31%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(198,255,0,.065), transparent 22%),
    radial-gradient(circle at 76% 62%, rgba(121,188,72,.055), transparent 26%),
    radial-gradient(circle at 48% 100%, rgba(198,255,0,.03), transparent 28%);
  filter: blur(24px);
  animation: atmosphereDrift 22s ease-in-out infinite alternate;
}

@keyframes atmosphereDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

::selection {
  background: var(--neon);
  color: #000;
}

#particleField {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.36;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  height: 2px;
  width: 0;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(198, 255, 0, 0.8);
}

.section-shell {
  position: relative;
  z-index: 1;
  padding-inline: var(--pad);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, backdrop-filter 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 4, 3, 0.98);
  border-color: var(--line-soft);
  backdrop-filter: blur(18px);
}

.mini-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mini-one {
  color: #fff;
  font-size: 20px;
}

.mini-zero {
  color: var(--neon);
  font-size: 20px;
}

.mini-zero--small {
  font-size: 15px;
  opacity: 0.72;
}

.mini-word {
  margin-left: 10px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.32em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  color: #aab1a7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--neon);
  transition: right 180ms ease;
}

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d9ded5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.chain-pill:hover {
  color: #fff;
  border-color: rgba(198, 255, 0, 0.45);
  box-shadow: 0 0 28px rgba(198, 255, 0, 0.08);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(198, 255, 0, 0.9);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 8px rgba(198,255,0,.55); }
  50% { opacity: 1; box-shadow: 0 0 18px rgba(198,255,0,1); }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

body.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 95;
  display: none;
  padding: 24px var(--pad) 34px;
  background: rgba(30, 42, 29, .98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  opacity: 0;
  transition: transform 260ms ease, opacity 260ms ease;
}

.mobile-menu a {
  display: block;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.menu-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 30px);
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  overflow: clip;
  isolation: isolate;
  --hero-grid-shift: 0px;
  --hero-orbit-shift: 0px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(198, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 255, 0, 0.04) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 68% 43%, #000 0 14%, transparent 65%);
  opacity: 0.6;
  transform: perspective(700px) rotateX(61deg) translateY(calc(24% + var(--hero-grid-shift)));
  transform-origin: 50% 70%;
  animation: gridDrift 18s ease-in-out infinite alternate;
}

@keyframes gridDrift {
  0% { background-position: 0 0, 0 0; opacity: .48; }
  100% { background-position: 38px 26px, 38px 26px; opacity: .72; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22% -20% auto 20%;
  height: 58%;
  z-index: -4;
  background: radial-gradient(ellipse at center, rgba(198,255,0,.07), transparent 62%);
  filter: blur(60px);
}

.hero-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(198,255,0,.08);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--a {
  width: 58vw;
  height: 22vw;
  right: -15vw;
  top: 18vh;
  animation: orbitFloatA 11s ease-in-out infinite;
}

.hero-orbit--b {
  width: 44vw;
  height: 17vw;
  right: 5vw;
  top: 28vh;
  animation: orbitFloatB 14s ease-in-out infinite;
}

@keyframes orbitFloatA {
  0%, 100% { transform: translate3d(0, var(--hero-orbit-shift), 0) rotate(-8deg) scale(1); opacity: .72; }
  50% { transform: translate3d(-2vw, calc(var(--hero-orbit-shift) - 12px), 0) rotate(-3deg) scale(1.04); opacity: 1; }
}

@keyframes orbitFloatB {
  0%, 100% { transform: translate3d(0, var(--hero-orbit-shift), 0) rotate(-11deg) scale(1); opacity: .58; }
  50% { transform: translate3d(1vw, calc(var(--hero-orbit-shift) + 10px), 0) rotate(-15deg) scale(.97); opacity: .9; }
}

.hero-kicker,
.section-label {
  display: grid;
  grid-template-columns: auto auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: #b8c1b3;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-top: 4vh;
}

.kicker-index {
  color: var(--neon);
}

.kicker-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(198,255,0,.7), rgba(255,255,255,.05));
}

.number-stage {
  position: relative;
  width: 100%;
  height: clamp(245px, 35vw, 465px);
  margin-top: clamp(14px, 2vw, 24px);
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease-out;
}

.number-stage::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 2%;
  bottom: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,255,0,.18) 10%, rgba(198,255,0,.55) 72%, transparent);
  box-shadow: 0 12px 50px rgba(198,255,0,.13);
}

.number-glow {
  position: absolute;
  right: 0;
  top: 38%;
  width: 46%;
  height: 22%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at 100% 50%, rgba(198,255,0,.28), rgba(198,255,0,.08) 28%, transparent 70%);
  filter: blur(28px);
  opacity: 0.65;
  animation: tunnelGlow 4.2s ease-in-out infinite;
}

@keyframes tunnelGlow {
  0%, 100% { opacity: .48; transform: translateY(-50%) scaleX(.88); }
  50% { opacity: .84; transform: translateY(-50%) scaleX(1.1); }
}

.digit-one {
  position: absolute;
  left: 4.3%;
  top: 47%;
  z-index: 120;
  transform: translateY(-50%) skewY(-1deg);
  font-family: var(--display);
  font-size: clamp(7.5rem, 17vw, 16.8rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.12em;
  color: transparent;
  background: linear-gradient(90deg, #7a7d7a 0%, #fefefe 22%, #a7aaa8 45%, #fff 67%, #636663 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(4px 0 0 rgba(255,255,255,.15)) drop-shadow(0 0 18px rgba(255,255,255,.16));
}

.zeros-track {
  position: absolute;
  inset: 0;
  z-index: 20;
  transform: translate3d(0,0,0) rotateX(-1.5deg);
  transform-style: preserve-3d;
  overflow: visible;
  animation: tunnelPulse 7.2s ease-in-out infinite;
}

@keyframes tunnelPulse {
  0%, 100% { transform: translate3d(0,0,0) rotateX(-1.5deg) scaleX(1); }
  50% { transform: translate3d(0,-3px,0) rotateX(-.4deg) scaleX(1.018); }
}

.zero-digit {
  position: absolute;
  top: 47%;
  transform: translate(-50%, -50%) scaleX(0.75);
  transform-origin: center;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.8;
  color: var(--neon);
  opacity: var(--opacity, 1);
  text-shadow:
    0 0 4px rgba(198,255,0,.85),
    0 0 12px rgba(198,255,0,.34),
    0 0 26px rgba(198,255,0,.14);
  will-change: opacity;
  animation: zeroBreath 4.8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.zero-digit:nth-child(5n) {
  color: #d7ff52;
}

@keyframes zeroBreath {
  0%, 100% { opacity: calc(var(--opacity, 1) * 0.76); }
  50% { opacity: var(--opacity, 1); }
}

.vanish-point {
  position: absolute;
  right: 0.4%;
  top: 47%;
  z-index: 30;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #efffc1;
  box-shadow:
    0 0 8px 2px #e7ff98,
    0 0 28px 7px rgba(198,255,0,.78),
    0 0 80px 20px rgba(198,255,0,.18);
  animation: vanishPulse 1.9s ease-in-out infinite;
}

@keyframes vanishPulse {
  50% { transform: scale(1.9); opacity: .75; }
}

.stage-caption {
  position: absolute;
  right: 0;
  bottom: 4.6%;
  color: #98a392;
  font-family: var(--display);
  font-size: clamp(7px, .7vw, 10px);
  letter-spacing: .22em;
}

.hero-card {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1;
  margin: clamp(28px, 5vw, 68px) auto 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(198,255,0,.34);
  background: #070a06;
  box-shadow: 0 30px 90px rgba(0,0,0,.34), 0 0 60px rgba(198,255,0,.1);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-card::before {
  inset: 12px;
  border: 1px solid rgba(255,255,255,.12);
  mask-image: linear-gradient(135deg, #000 0 22%, transparent 22% 78%, #000 78%);
}

.hero-card::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,7,.05), rgba(8,12,7,.32)),
    radial-gradient(circle at 72% 29%, rgba(198,255,0,.22), transparent 18%),
    linear-gradient(90deg, rgba(198,255,0,.12), transparent 34%);
  mix-blend-mode: screen;
}

.hero-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.035);
  filter: contrast(1.08) saturate(1.08);
  animation: heroCardFloat 11s ease-in-out infinite alternate;
}

@keyframes heroCardFloat {
  0% { transform: scale(1.035) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.6%, -1.4%, 0); }
}

.hero-card-meta {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: #f1f8e7;
  font-family: var(--display);
  font-size: clamp(7px, .7vw, 10px);
  font-weight: 700;
  letter-spacing: .13em;
}

.hero-card-meta span:last-child { color: var(--neon); }

.hero-brand {
  margin-top: -2.6%;
  width: fit-content;
  margin-left: clamp(48px, 10vw, 190px);
  position: relative;
  z-index: 30;
}

.googol-word {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 18px);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 5.2rem);
  font-weight: 600;
  letter-spacing: clamp(.06em, .13em, .16em);
  color: #f6f8f5;
}

.googol-word span {
  position: relative;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.googol-word span::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -14px;
  height: 2px;
  background: var(--letter-color, #fff);
  opacity: 0;
  transform: scaleX(0.2);
  transition: opacity 180ms ease, transform 180ms ease;
}

.googol-word:hover span {
  color: var(--letter-color, #fff);
  text-shadow: 0 0 24px color-mix(in srgb, var(--letter-color, #fff) 36%, transparent);
}

.googol-word:hover span::after {
  opacity: 1;
  transform: scaleX(1);
}

.brand-rule {
  display: block;
  width: min(72%, 520px);
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, rgba(198,255,0,.22), var(--neon), rgba(198,255,0,.22), transparent);
  box-shadow: 0 0 14px rgba(198,255,0,.42);
}

.brand-rule i {
  display: block;
  width: 13%;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.7);
  animation: ruleScan 4s ease-in-out infinite;
}

@keyframes ruleScan {
  0%, 100% { transform: translateX(0); opacity: 0; }
  20% { opacity: .8; }
  70% { opacity: .8; }
  90% { transform: translateX(680%); opacity: 0; }
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .74fr);
  width: min(100%, 1920px);
  gap: clamp(44px, 6vw, 120px);
  align-items: end;
  margin: clamp(50px, 7vw, 100px) auto 0;
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, 3vw, 48px);
}

.hero-statement {
  max-width: 780px;
}

.hero-detail {
  max-width: 540px;
  justify-self: end;
  padding-left: clamp(24px, 3vw, 46px);
  border-left: 1px solid rgba(198,255,0,.32);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--neon);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1,
.rewards-intro h2,
.lore-sticky h2,
.network-head h2,
.community-copy h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.4rem, 5.4vw, 6rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(3rem, 4.8vw, 5.8rem);
  text-wrap: balance;
}

.hero-sub,
.section-copy {
  margin: 0;
  color: #c1c9bd;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.hero-detail .hero-sub { max-width: 510px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn > * { position: relative; z-index: 1; }

.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  z-index: 0;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.54), transparent);
  transform: skewX(-22deg) translateX(-360%);
}

.btn-primary::before { animation: buttonSheen 5.6s cubic-bezier(.3,.1,.2,1) infinite; }
.btn-secondary:hover::before { animation: buttonSheen 800ms ease-out 1; }

@keyframes buttonSheen {
  0%, 55% { transform: skewX(-22deg) translateX(-360%); }
  76%, 100% { transform: skewX(-22deg) translateX(720%); }
}

.btn svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.btn-primary {
  color: #000;
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 0 rgba(198,255,0,0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 46px rgba(198,255,0,.18), 0 0 28px rgba(198,255,0,.14);
}

.btn-secondary {
  color: #e5e8e1;
  background: rgba(255,255,255,.02);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(198,255,0,.5);
  background: rgba(198,255,0,.035);
}

.btn-index {
  color: var(--neon);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.hero-meta div {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
  transition: background 220ms ease, transform 220ms ease;
}

.hero-meta div:hover {
  background: rgba(198,255,0,.06);
  transform: translateY(-3px);
}

.hero-meta div:last-child { border-right: 0; }

.hero-meta span {
  color: #98a292;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .15em;
}

.hero-meta strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
  color: #98a392;
  font-family: var(--display);
  font-size: 7px;
  letter-spacing: .18em;
}

.scroll-cue i {
  width: 42px;
  height: 1px;
  background: #8b9683;
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--neon);
  transform: translateX(-100%);
  animation: scrollScan 2.2s ease-in-out infinite;
}

@keyframes scrollScan {
  55%, 100% { transform: translateX(100%); }
}

/* The opening frame pairs a framed GOOGOL mark with the narrative and CTAs. */
@media (min-width: 1100px) {
  .hero {
    min-height: max(760px, 100svh);
    grid-template-columns: minmax(0, 1.22fr) minmax(430px, .78fr);
    grid-template-rows: auto minmax(310px, 1fr) auto auto;
    column-gap: clamp(48px, 6vw, 124px);
    align-content: center;
  }

  .hero-kicker {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-top: 0;
  }

  .hero-card {
    grid-column: 1;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: center;
    width: min(100%, 580px);
    margin: clamp(22px, 3vw, 44px) 0 0;
  }

  .hero-copy {
    display: block;
    grid-column: 2;
    grid-row: 2 / span 2;
    width: 100%;
    max-width: 650px;
    justify-self: end;
    align-self: center;
    margin: 0;
    padding: clamp(26px, 3vw, 48px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-soft);
  }

  .hero-statement { max-width: 630px; }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 4.1vw, 5.3rem);
  }

  .hero-detail {
    max-width: 530px;
    justify-self: auto;
    margin-top: clamp(30px, 3vw, 46px);
    padding: 26px 0 0;
    border-top: 1px solid rgba(198,255,0,.28);
    border-left: 0;
  }

  .hero-actions { margin-top: 30px; }

  .hero-meta {
    grid-column: 1 / -1;
    grid-row: 4;
    width: min(100%, 1160px);
    margin-top: clamp(26px, 3vw, 46px);
  }

  .scroll-cue {
    position: absolute;
    right: var(--pad);
    bottom: 34px;
    margin-top: 0;
  }
}

/* =========================================================
   Shared section styling
   ========================================================= */
.rewards,
.lore,
.network,
.community {
  padding-top: var(--section-gap);
}

.section-label {
  grid-template-columns: auto minmax(30px, 1fr) auto;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-label span:nth-child(2) {
  grid-column: 3;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--hero {
  transition-duration: 1100ms;
}

/* =========================================================
   Rewards
   ========================================================= */
.rewards-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding-top: clamp(54px, 7vw, 92px);
}

.rewards-intro h2 span,
.network-head h2 span {
  color: #9fa99a;
}

.reward-machine {
  position: relative;
  min-height: 680px;
  margin-top: clamp(60px, 8vw, 110px);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(198,255,0,.035), transparent 34%),
    var(--panel);
  overflow: hidden;
}

.reward-machine::before,
.network-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.027) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.reward-machine::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -36%;
  z-index: 2;
  width: 22%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(220,255,113,.075), transparent);
  transform: skewX(-14deg) translateX(-180%);
}

.reward-machine.is-visible::after { animation: machineSweep 8.5s ease-in-out infinite; }

@keyframes machineSweep {
  0%, 58% { transform: skewX(-14deg) translateX(-180%); }
  83%, 100% { transform: skewX(-14deg) translateX(710%); }
}

.reward-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(64%, 900px);
  overflow: hidden;
  opacity: .35;
}

.reward-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.08);
  animation: rewardArtDrift 16s ease-in-out infinite alternate;
}

@keyframes rewardArtDrift {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.12) translate3d(-2.5%, -1.5%, 0); }
}

.reward-art-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--panel) 0%, rgba(41,55,39,.78) 22%, rgba(41,55,39,.12) 74%),
    linear-gradient(0deg, var(--panel) 0%, transparent 24%, transparent 82%, var(--panel) 100%);
}

.cycle-core {
  position: absolute;
  right: 11%;
  top: 13%;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cycle-ring {
  --ring-size: clamp(190px, 20vw, 280px);
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background: conic-gradient(from 180deg, var(--neon) 0deg, var(--neon) 72deg, rgba(198,255,0,.08) 72deg 360deg);
  box-shadow: 0 0 60px rgba(198,255,0,.08);
  animation: ringRotate 8s linear infinite;
}

.cycle-ring::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #080a08;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.cycle-ring::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 24px var(--neon);
}

@keyframes ringRotate { to { transform: rotate(360deg); } }

.cycle-ring-inner {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(198,255,0,.05), transparent 68%);
  transform: rotate(0deg);
  animation: ringCounter 8s linear infinite;
}

@keyframes ringCounter { to { transform: rotate(-360deg); } }

.cycle-ring-inner span {
  color: #c0c9bb;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .18em;
}

.cycle-ring-inner strong {
  margin: -2px 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.cycle-core > p {
  margin: 0;
  color: #9ea99a;
  font-size: 11px;
}

.reward-flow {
  position: relative;
  z-index: 4;
  width: min(55%, 720px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 80px 7%;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), filter 260ms ease;
}

.flow-step:hover {
  transform: translateX(8px);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.14));
}

.flow-number {
  color: #9aa591;
  font-family: var(--display);
  font-size: 9px;
}

.flow-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  background: #080a08;
}

.flow-icon svg {
  width: 24px;
  fill: none;
  stroke: #a8afa5;
  stroke-width: 1.2;
}

.flow-icon--neon {
  border-color: rgba(198,255,0,.45);
  box-shadow: 0 0 28px rgba(198,255,0,.07);
}

.flow-icon--neon svg { stroke: var(--neon); }

.flow-step h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -.02em;
}

.flow-step p {
  margin: 0;
  max-width: 450px;
  color: #b2bcae;
  font-size: 13px;
  line-height: 1.65;
}

.flow-connector {
  width: 1px;
  height: 80px;
  margin-left: 70px;
  background: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}

.flow-connector i {
  position: absolute;
  width: 1px;
  height: 28px;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(198,255,0,.8);
  animation: connectorFlow 2s ease-in-out infinite;
}

@keyframes connectorFlow {
  from { transform: translateY(-30px); }
  to { transform: translateY(110px); }
}

.reward-strip {
  margin-top: 18px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(18px, 3vw, 38px);
  border: 1px solid var(--line-soft);
  color: #aeb8a8;
  font-family: var(--display);
  font-size: clamp(9px, 1vw, 12px);
  letter-spacing: .12em;
  overflow: hidden;
}

.reward-strip i {
  color: var(--neon);
  font-style: normal;
  opacity: .55;
}

.reward-strip span:last-child {
  color: var(--neon);
  font-size: 1.8em;
}

/* Reward console: one strong instrument panel, rather than three competing
   visual systems fighting for attention. */
.reward-machine {
  min-height: clamp(560px, 39vw, 660px);
  background:
    radial-gradient(circle at 78% 26%, rgba(198,255,0,.13), transparent 18%),
    linear-gradient(135deg, rgba(198,255,0,.065), transparent 36%),
    #080a08;
}

.reward-machine::before {
  background-image:
    linear-gradient(rgba(198,255,0,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198,255,0,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, rgba(0,0,0,.55));
}

.reward-art {
  inset: auto 3% 0 auto;
  width: min(40%, 540px);
  height: 62%;
  opacity: .075;
  mix-blend-mode: screen;
  filter: grayscale(1);
}

.reward-art img {
  object-position: 62% 65%;
  filter: contrast(1.24) saturate(.55);
}

.reward-art-mask {
  background: linear-gradient(90deg, #080a08 0%, rgba(8,10,8,.18) 70%, transparent);
}

.reward-console-copy {
  position: absolute;
  top: clamp(42px, 5vw, 74px);
  left: clamp(28px, 6vw, 90px);
  z-index: 4;
  display: grid;
  gap: 16px;
  max-width: 360px;
}

.console-kicker,
.console-note {
  color: var(--neon);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}

.reward-console-copy p {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.45rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.06em;
}

.console-note {
  max-width: 270px;
  color: #aeb9a6;
  line-height: 1.7;
}

.cycle-core {
  top: clamp(40px, 5vw, 70px);
  right: clamp(42px, 8vw, 142px);
  gap: 14px;
}

.cycle-ring {
  --ring-size: clamp(210px, 17vw, 282px);
  padding: 1px;
  background: conic-gradient(from -36deg, var(--neon) 0deg, #efffbd 84deg, rgba(198,255,0,.1) 84deg 360deg);
  box-shadow: 0 0 0 9px rgba(198,255,0,.035), 0 0 80px rgba(198,255,0,.16);
}

.cycle-ring::before {
  inset: 7px;
  background:
    radial-gradient(circle at 50% 28%, rgba(198,255,0,.12), transparent 24%),
    #030403;
}

.cycle-ring-inner { width: 72%; height: 72%; }

.cycle-ring-inner strong { font-size: clamp(3.2rem, 4.7vw, 4.8rem); }
.cycle-core > p { font-family: var(--display); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }

.reward-flow {
  position: absolute;
  z-index: 4;
  left: clamp(28px, 6vw, 90px);
  right: clamp(28px, 6vw, 90px);
  bottom: clamp(28px, 4vw, 56px);
  width: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
}

.flow-connector { display: none; }

.flow-step {
  min-height: 174px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(235,245,230,.14);
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  backdrop-filter: blur(10px);
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: rgba(198,255,0,.32);
  transition: width 260ms ease, background 260ms ease;
}

.flow-step:hover {
  transform: translateY(-6px);
  filter: none;
  border-color: rgba(198,255,0,.48);
}

.flow-step:hover::before { width: 100%; background: var(--neon); }

.flow-number { grid-column: 1; grid-row: 1; align-self: center; color: var(--neon); }

.flow-icon {
  grid-column: 1;
  grid-row: 2;
  width: 42px;
  height: 42px;
  margin-top: 12px;
  background: rgba(17,25,16,.7);
}

.flow-icon svg { width: 20px; }

.flow-step > div:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.flow-step h3 { margin-bottom: 9px; font-size: clamp(.95rem, 1.3vw, 1.2rem); }
.flow-step p { font-size: 12px; line-height: 1.6; }

/* =========================================================
   Lore
   ========================================================= */
.lore-layout {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  width: 100%;
  max-width: 1920px;
  gap: clamp(54px, 6vw, 120px);
  margin-inline: auto;
  padding-top: clamp(70px, 9vw, 120px);
}

.lore-sticky {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.lore-sticky h2 {
  font-size: clamp(2.6rem, 5vw, 5.5rem);
}

.lore-equation {
  display: flex;
  align-items: flex-start;
  margin-top: 44px;
  font-family: var(--display);
  color: var(--neon);
  text-shadow: 0 0 40px rgba(198,255,0,.18);
}

.lore-equation span {
  font-size: clamp(5.5rem, 10vw, 10rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
}

.lore-equation sup {
  margin: 6px 0 0 10px;
  font-size: clamp(1.2rem, 2.7vw, 2.4rem);
}

.lore-note {
  max-width: 440px;
  margin-top: 30px;
  color: #b5c0b1;
  font-size: 14px;
  line-height: 1.7;
}

.lore-story {
  position: relative;
}

.lore-story::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--neon), rgba(255,255,255,.08) 15%, rgba(255,255,255,.08) 78%, transparent);
}

.story-beat {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 32px;
  padding: 6px 0 clamp(72px, 10vw, 140px);
  position: relative;
}

.story-year {
  align-self: start;
  position: relative;
  z-index: 2;
  width: fit-content;
  color: var(--neon);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  background: var(--bg);
  padding: 5px 8px 5px 0;
}

.story-beat.is-visible .story-year {
  animation: yearSignal 2.8s ease-in-out infinite;
}

@keyframes yearSignal {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 18px rgba(198,255,0,.65); }
}

.story-kicker {
  margin: 0 0 16px;
  color: #aab5a6;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .17em;
}

.story-beat h3 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
}

.story-beat p:not(.story-kicker) {
  max-width: 650px;
  margin: 0;
  color: #c5cec1;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.8;
}

.story-beat em {
  color: #e8ece5;
  font-style: normal;
}

.source-link,
.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--neon);
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(198,255,0,.28);
  padding-bottom: 4px;
  transition: border-color 180ms ease, text-shadow 180ms ease;
}

.source-link:hover,
.text-link:hover {
  border-color: var(--neon);
  text-shadow: 0 0 14px rgba(198,255,0,.45);
}

.lore-quote {
  position: relative;
  margin: 0 0 clamp(80px, 11vw, 150px) 104px;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(198,255,0,.18);
  background: linear-gradient(135deg, rgba(198,255,0,.045), rgba(255,255,255,.01));
}

.quote-mark {
  position: absolute;
  right: 24px;
  top: -20px;
  color: var(--neon);
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 1;
  opacity: .32;
}

.lore-quote p {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.lore-quote footer {
  margin-top: 30px;
  color: #aab5a6;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .16em;
}

.story-beat--today h3 {
  color: var(--neon);
}

.lore-media {
  position: relative;
  margin-left: 104px;
  width: calc(100% - 104px);
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 1280 / 426;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #080a08;
}

.lore-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(.98) contrast(1.07) brightness(.9);
  animation: mediaFloat 16s ease-in-out infinite alternate;
}

@keyframes mediaFloat {
  0% { filter: saturate(.94) contrast(1.04) brightness(.84); }
  100% { filter: saturate(1.04) contrast(1.09) brightness(.98); }
}

.lore-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.58));
}

.media-toggle {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.2);
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .14em;
  backdrop-filter: blur(12px);
}

.media-toggle-icon { color: var(--neon); }

/* =========================================================
   Network
   ========================================================= */
.network-head {
  padding-top: clamp(60px, 8vw, 100px);
}

.network-terminal {
  position: relative;
  margin-top: 68px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.terminal-topbar {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: #a5afa0;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.terminal-topbar > span:last-child { justify-self: end; color: var(--neon); }

.terminal-topbar > span:last-child { animation: livePulse 2.4s ease-in-out infinite; }

@keyframes livePulse {
  0%, 100% { opacity: .55; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(198,255,0,.7); }
}

.network-terminal::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  z-index: 1;
  width: 16%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(198,255,0,.07), transparent);
  transform: skewX(-16deg) translateX(-240%);
}

.network-terminal.is-visible::after { animation: terminalSweep 10s ease-in-out infinite; }

@keyframes terminalSweep {
  0%, 64% { transform: skewX(-16deg) translateX(-240%); }
  86%, 100% { transform: skewX(-16deg) translateX(920%); }
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #879281;
}

.terminal-dots i:last-child { background: var(--neon); box-shadow: 0 0 8px rgba(198,255,0,.6); }

.terminal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .82fr;
}

.chain-specs {
  padding: clamp(28px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.spec-row {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line-soft);
}

.spec-row span,
.panel-label {
  color: #a7b19f;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .14em;
}

.spec-row strong {
  text-align: right;
  font-family: var(--display);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: .02em;
}

.contract-panel {
  padding: clamp(34px, 5vw, 68px);
  align-self: center;
}

.contract-value {
  margin-top: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(198,255,0,.18);
  border-bottom: 1px solid rgba(198,255,0,.18);
  color: #c8cec4;
  font-family: var(--display);
  font-size: clamp(10px, 1.2vw, 13px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contract-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #aeb5aa;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.mini-btn:hover {
  color: #000;
  border-color: var(--neon);
  background: var(--neon);
}

.contract-helper {
  margin: 24px 0 0;
  color: #a5b09e;
  font-size: 12px;
  line-height: 1.6;
}

.trust-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: solid var(--line);
  border-width: 0 1px 1px;
}

.trust-item {
  min-height: 116px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child { border-right: 0; }

.trust-item > span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-bottom: 22px;
}

.trust-item.is-live > span { background: var(--neon); box-shadow: 0 0 12px rgba(198,255,0,.8); animation: liveDot 1.8s ease-in-out infinite; }
.trust-item.is-pending > span { background: #4b5149; }

@keyframes liveDot {
  0%, 100% { transform: scale(.8); opacity: .72; }
  50% { transform: scale(1.3); opacity: 1; }
}

.trust-item p {
  margin: 0 0 6px;
  color: #a6b09f;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .13em;
}

.trust-item strong {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}

.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

/* =========================================================
   Community
   ========================================================= */
.community {
  overflow: hidden;
  padding-bottom: clamp(90px, 12vw, 160px);
}

.community-copy {
  padding-top: clamp(58px, 8vw, 100px);
  max-width: 1050px;
}

.social-rails {
  margin-top: clamp(54px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.social-rail {
  min-height: 145px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(10px, 2vw, 24px);
  transition: background 220ms ease, padding 220ms ease;
}

.social-rail:hover {
  background: rgba(198,255,0,.035);
  padding-left: clamp(18px, 3vw, 38px);
}

.social-rail:hover .social-icon { transform: rotate(-7deg) scale(1.08); box-shadow: 0 0 24px rgba(198,255,0,.18); }
.social-rail:hover .social-arrow { transform: translate3d(7px, -5px, 0); }

.social-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198,255,0,.25);
  color: var(--neon);
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 240ms ease;
}

.social-icon svg {
  width: 24px;
  fill: currentColor;
}

.social-icon--x {
  font-size: 22px;
  font-family: Arial, sans-serif;
}

.social-rail div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-rail div:nth-child(2) span {
  color: #a5afa0;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .16em;
}

.social-rail div:nth-child(2) strong {
  font-size: clamp(1.7rem, 4vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -.05em;
}

.social-arrow {
  color: var(--neon);
  font-size: 24px;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}

.community-marquee {
  width: calc(100% + var(--pad) * 2);
  margin-left: calc(var(--pad) * -1);
  margin-top: 60px;
  overflow: hidden;
  border-block: 1px solid rgba(198,255,0,.12);
  padding: 18px 0;
  transform: rotate(-1.2deg);
  background: rgba(198,255,0,.018);
}

.community-marquee > div {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 3.5rem);
  font-weight: 700;
}

.community-marquee:hover > div { animation-play-state: paused; }

.community-marquee span {
  color: #fff;
  margin-right: .06em;
}

.community-marquee b {
  color: var(--neon);
  font-weight: inherit;
  letter-spacing: .01em;
  margin-right: 1.1em;
  text-shadow: 0 0 18px rgba(198,255,0,.15);
}

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

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(198,255,0,.32);
  background:
    linear-gradient(135deg, rgba(198,255,0,.07), transparent 30%),
    linear-gradient(180deg, #111711 0%, #080b08 100%);
}

.site-footer::before {
  content: "10^100";
  position: absolute;
  top: -0.45em;
  right: -0.04em;
  color: rgba(198,255,0,.035);
  font-family: var(--display);
  font-size: clamp(9rem, 25vw, 28rem);
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: 1;
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand-block { min-width: 0; }

.footer-kicker,
.footer-signal-label,
.footer-signal-copy {
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .18em;
}

.footer-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.footer-kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
}

.footer-mark {
  display: flex;
  align-items: baseline;
  font-family: var(--display);
  line-height: .82;
}

.footer-one {
  color: #fff;
  font-size: clamp(4.4rem, 10vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -.08em;
}

.footer-zeros {
  color: var(--neon);
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.13em;
  margin-left: -.05em;
  text-shadow: 0 0 26px rgba(198,255,0,.18);
}

.footer-mark strong {
  margin-left: 20px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .16em;
}

.footer-signature {
  margin: 18px 0 0 7px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
}

.footer-signal {
  position: relative;
  z-index: 1;
  width: min(250px, 32vw);
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: rgba(3,4,3,.5);
}

.footer-signal-label { display: block; color: var(--neon); }

.footer-signal-line {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin: 18px 0 15px;
}

.footer-signal-line i {
  flex: 1;
  height: 100%;
  background: var(--neon);
  opacity: .72;
  transform: skewX(-18deg);
}

.footer-signal-line i:nth-child(2n) { height: 58%; opacity: .38; }
.footer-signal-line i:nth-child(3n) { height: 78%; opacity: .55; }
.footer-signal-copy span { color: var(--neon); }

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) .75fr;
  gap: clamp(40px, 9vw, 150px);
  padding: 42px 0 50px;
  border-bottom: 1px solid var(--line);
}

.footer-label {
  display: block;
  margin-bottom: 20px;
  color: var(--neon);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .16em;
}

.footer-grid p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-disclaimer { max-width: 680px !important; }

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-links a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 20px;
  border-right: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 8px;
}

.footer-links a strong { font-weight: 500; }
.footer-links a b { color: var(--neon); font-size: 16px; font-weight: 400; }
.footer-links a:hover { border-color: var(--neon); background: rgba(198,255,0,.08); color: var(--neon); }

.footer-bottom {
  position: relative;
  z-index: 1;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted-2);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: .1em;
}

.footer-bottom em { color: var(--neon); font-style: normal; }

.made-by {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c6ccc2;
  transition: color 180ms ease;
}

.made-by svg {
  width: 14px;
  fill: currentColor;
}

.made-by:hover { color: var(--neon); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 200;
  transform: translate(-50%, 20px);
  min-width: min(420px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  padding: 14px 18px;
  color: #eaf0e6;
  background: rgba(25, 34, 23, .96);
  border: 1px solid rgba(198,255,0,.24);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  font-size: 12px;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .lore-layout {
    grid-template-columns: 1fr;
  }

  .lore-sticky {
    position: relative;
    top: auto;
  }

  .lore-story::before { left: 70px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .desktop-nav { display: none; }
  .menu-toggle, .mobile-menu { display: flex; }
  .mobile-menu { flex-direction: column; }

  .hero-copy {
    grid-template-columns: 1fr;
  }

  .hero-detail {
    justify-self: start;
    max-width: 680px;
    padding: 28px 0 0;
    border-top: 1px solid var(--line-soft);
    border-left: 0;
  }

  .rewards-intro,
  .lore-layout {
    grid-template-columns: 1fr;
  }

  .lore-sticky {
    position: relative;
    top: auto;
  }

  .lore-story::before { left: 70px; }

  .reward-machine { min-height: 650px; }
  .reward-art { width: 42%; height: 58%; opacity: .06; }
  .reward-console-copy { left: 5%; }
  .cycle-core { right: 6%; top: 44px; }
  .reward-flow { left: 5%; right: 5%; bottom: 34px; width: auto; padding: 0; }

  .terminal-grid { grid-template-columns: 1fr; }
  .chain-specs { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  :root {
    --pad: 16px;
    --section-gap: 108px;
  }

  .chain-pill { display: none; }
  .site-header { padding-inline: var(--pad); }

  .mobile-menu {
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 30px);
    padding-bottom: 40px;
  }

  .hero-kicker {
    grid-template-columns: auto 1fr auto;
    gap: 9px;
    font-size: 7px;
  }

  .hero-kicker span:nth-child(2) { display: none; }

  .number-stage {
    height: clamp(255px, 77vw, 390px);
    margin-top: 10px;
  }

  .hero-card {
    width: min(100%, 430px);
    height: min(calc(100vw - 32px), 430px);
    aspect-ratio: auto;
    margin-top: 28px;
  }

  .hero-card img {
    object-fit: contain;
    transform: none;
    animation: none;
  }

  .hero-card-meta {
    right: 13px;
    bottom: 12px;
    left: 13px;
    padding-top: 9px;
    font-size: 7px;
    letter-spacing: .1em;
  }

  .digit-one {
    left: 6%;
    width: clamp(72px, 15vw, 96px);
    height: clamp(128px, 29vw, 190px);
    font-size: 0;
    background: none;
    filter: drop-shadow(3px 0 0 rgba(255,255,255,.12)) drop-shadow(0 0 16px rgba(255,255,255,.14));
  }

  .digit-one::before,
  .digit-one::after {
    content: "";
    position: absolute;
    background: linear-gradient(90deg, #777a78 0%, #fff 27%, #a7aaa8 52%, #fff 74%, #6d706e 100%);
  }

  .digit-one::before {
    top: 0;
    right: 0;
    width: 18%;
    height: 100%;
  }

  .digit-one::after {
    top: 0;
    right: 0;
    width: 100%;
    height: 24%;
    clip-path: polygon(82% 0, 100% 0, 100% 100%, 0 100%);
  }

  .zero-digit {
    transform: translate(-50%, -50%) scaleX(.69);
  }

  .vanish-point { right: 1%; }
  .stage-caption { display: none; }

  .hero-brand {
    margin-left: 0;
    margin-top: -12px;
  }

  .googol-word {
    font-size: clamp(2rem, 11vw, 4rem);
    gap: 5px;
    letter-spacing: .09em;
  }

  .brand-rule { width: 82%; margin-top: 18px; }

  .hero-copy {
    margin-top: 64px;
    gap: 28px;
  }

  .hero-detail { padding-top: 24px; }

  .hero-copy h1,
  .rewards-intro h2,
  .network-head h2,
  .community-copy h2 {
    font-size: clamp(2.35rem, 12vw, 4.2rem);
  }

  .lore-sticky {
    min-width: 0;
  }

  .lore-sticky h2 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 3.55rem);
    line-height: .98;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .lore-equation { margin-top: 32px; }
  .lore-equation span { font-size: clamp(4.6rem, 21vw, 6.4rem); }
  .lore-equation sup { font-size: clamp(1rem, 5vw, 1.5rem); }

  .hero-sub, .section-copy {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 4px;
  }

  .btn { width: 100%; }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    margin-top: 34px;
  }

  .hero-meta div:nth-child(2) { border-right: 0; }
  .hero-meta div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .hero-meta div { min-height: 64px; padding-inline: 12px; }

  .scroll-cue { display: none; }

  .section-label {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 7px;
  }

  .section-label span:nth-child(2) {
    grid-column: auto;
    color: #a5afa0;
  }

  .rewards-intro {
    padding-top: 48px;
    gap: 30px;
  }

  .reward-machine {
    min-height: 930px;
    margin-top: 50px;
  }

  .reward-art { display: none; }

  .reward-console-copy {
    top: 34px;
    left: 22px;
    gap: 11px;
    max-width: 250px;
  }

  .reward-console-copy p { font-size: 2rem; }

  .cycle-core {
    top: 160px;
    right: 50%;
    transform: translateX(50%);
  }

  .cycle-ring { --ring-size: 190px; }

  .reward-flow {
    left: 16px;
    right: 16px;
    bottom: 22px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0;
  }

  .flow-step {
    min-height: 126px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0 14px;
    padding: 17px;
  }

  .flow-icon { width: 38px; height: 38px; margin-top: 8px; }
  .flow-step h3 { margin-bottom: 5px; font-size: 15px; }
  .flow-step p { font-size: 11px; line-height: 1.55; }

  .reward-strip {
    justify-content: flex-start;
    overflow-x: auto;
    min-height: 58px;
  }

  .reward-strip span,
  .reward-strip i { flex: 0 0 auto; }

  .lore-layout { padding-top: 52px; gap: 70px; }
  .lore-equation span { font-size: 7rem; }
  .lore-story::before { left: 23px; }

  .story-beat {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 90px;
  }

  .story-year {
    font-size: 7px;
    padding-right: 5px;
  }

  .story-beat h3 { font-size: clamp(2rem, 10vw, 3.2rem); }
  .story-beat p:not(.story-kicker) { font-size: 15px; line-height: 1.7; }

  .lore-quote,
  .lore-media {
    margin-left: 46px;
  }

  .lore-media { width: calc(100% - 46px); }
  .lore-media { aspect-ratio: 16 / 9; }

  .lore-quote {
    padding: 28px;
    margin-bottom: 90px;
  }

  .lore-quote p { font-size: 1.75rem; }
  .quote-mark { font-size: 70px; }

  .network-head { padding-top: 50px; }
  .network-terminal { margin-top: 46px; }

  .terminal-topbar {
    grid-template-columns: auto 1fr;
    font-size: 6px;
  }

  .terminal-topbar > span:nth-child(2) { display: none; }

  .chain-specs { padding: 22px; }
  .spec-row { min-height: 56px; gap: 16px; }
  .spec-row span { font-size: 7px; }
  .spec-row strong { max-width: 60%; font-size: 10px; }

  .contract-panel { padding: 30px 22px 34px; }

  .trust-matrix { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 100px; padding: 20px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .social-rail {
    min-height: 112px;
    grid-template-columns: 46px 1fr auto;
    gap: 15px;
    padding-inline: 6px;
  }

  .social-icon { width: 44px; height: 44px; }
  .social-icon svg { width: 18px; }
  .social-rail div:nth-child(2) strong { font-size: clamp(1.5rem, 8vw, 2.5rem); }

  .footer-top {
    min-height: 0;
    gap: 34px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-block: 42px;
  }

  .footer-mark { max-width: 100%; }
  .footer-mark strong { margin-left: 12px; font-size: 9px; }
  .footer-signature { margin-top: 14px; }
  .footer-signal { width: min(100%, 290px); }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 36px 42px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 430px) {
  .mini-word { display: none; }
  .digit-one { left: 0; }
  .number-stage { margin-inline: -6px; width: calc(100% + 12px); }
  .hero-orbit { display: none; }
  .cycle-ring { --ring-size: 170px; }
  .lore-quote,
  .lore-media { margin-left: 0; }
  .lore-media { width: 100%; }
  .lore-quote { padding: 24px; }
  .network-actions { flex-direction: column; gap: 14px; }
  .toast { bottom: 18px; }
}

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