/* ============================================================
   GACHA GALAXY — ORACLE LAB · FULL SITE (v5)
   Single unified stylesheet. Replaces old style.css entirely.
   ============================================================ */

:root {
  --bg: #000000;
  --bg-elev: #0A0A0F;
  --bg-card: #0E0B16;
  --bg-card-2: #120D1F;
  --purple: #A855F7;
  --purple-soft: #C084FC;
  --purple-deep: #6B21A8;
  --white: #FFFFFF;
  --muted: #9CA3AF;
  --muted-2: #6B7280;
  --line: #1A1626;
  --line-bright: #2D2640;
  --green: #22C55E;
  --red: #EF4444;

  --font-display: 'Geist', system-ui, -apple-system, sans-serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img, video { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 16px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn--primary:hover {
  background: var(--purple-soft);
  border-color: var(--purple-soft);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.55);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-bright);
}
.btn--ghost:hover {
  border-color: var(--purple);
  color: var(--purple-soft);
}
.btn--lg { font-size: 12px; padding: 20px 28px; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__logo { height: 40px; width: auto; }
.nav__lockup {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  border-left: 1px solid var(--line-bright);
  padding-left: 14px;
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--white); }
@media (max-width: 900px) {
  .nav__links, .nav__lockup { display: none; }
  .nav__cta { padding: 12px 16px; font-size: 10px; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 18% 24%, rgba(168, 85, 247, 0.14), transparent 60%),
    radial-gradient(700px 500px at 88% 80%, rgba(168, 85, 247, 0.08), transparent 60%),
    var(--bg);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}
.hero__scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px);
  pointer-events: none;
  animation: scanlineDrift 14s linear infinite;
}
@keyframes scanlineDrift { 0%{background-position:0 0;} 100%{background-position:0 100px;} }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
  z-index: 2;
}
.hero__content { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--purple-soft);
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgba(168, 85, 247, 0.06);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.25);} }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--white);
}
.hero__title-accent {
  color: var(--purple);
  text-shadow: 0 0 32px rgba(168, 85, 247, 0.4);
}
.hero__sub {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 500px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__cta .btn--primary { padding: 18px 28px; font-size: 12px; }
.hero__cta .btn--ghost { padding: 14px 20px; font-size: 10px; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  filter: drop-shadow(0 0 60px rgba(168, 85, 247, 0.35));
  object-fit: cover;
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
}

/* ============ MARKETPLACES STRIP ============ */
.sources {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 0;
}
.sources__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  text-align: center;
  margin: 0 0 18px;
}
.sources__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.source-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 8px 14px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: rgba(168, 85, 247, 0.05);
  transition: border-color .2s ease, background .2s ease;
}
.source-chip:hover { border-color: var(--purple); background: rgba(168, 85, 247, 0.12); }

/* ============ LIVE DATA STRIP ============ */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding: 64px 0 48px;
  scroll-margin-top: 96px;
}
.strip__inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
}
.stat {
  text-align: center;
  padding: 8px 12px;
  position: relative;
}
.stat__num {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.4;
  padding-top: 4px;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
  transition: text-shadow .25s ease, transform .25s ease, color .25s ease;
  animation: numGlowBreath 5s ease-in-out infinite;
}
@keyframes numGlowBreath {
  0%, 100% { text-shadow: 0 0 18px rgba(168, 85, 247, 0.3); }
  50%      { text-shadow: 0 0 28px rgba(168, 85, 247, 0.55); }
}
.stat__num.is-ticking {
  color: var(--purple-soft);
  text-shadow: 0 0 32px rgba(168, 85, 247, 0.85);
  transform: translateY(-1px);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.stat__divider { width: 1px; height: 56px; background: var(--line-bright); margin: 0 auto; }
.strip__caption {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin: 24px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: liveDotPulse 1.6s ease-in-out infinite;
  margin-right: 2px;
}
@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--green); }
  50%      { opacity: 0.55; transform: scale(1.3); box-shadow: 0 0 14px var(--green); }
}
@media (max-width: 780px) {
  .strip__inner { grid-template-columns: 1fr 1fr; }
  .stat__divider { display: none; }
  .stat { padding: 16px 12px; border-bottom: 1px solid var(--line); }
}

/* ============ SECTION HEADER ============ */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--purple);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.section-title .accent {
  color: var(--purple);
  text-shadow: 0 0 32px rgba(168, 85, 247, 0.4);
}
.section-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

/* ============ MISPRICING SCANNER ============ */
.scanner {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.table-wrap {
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.08);
}
.table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-bright);
  background: rgba(168, 85, 247, 0.04);
}
.table td { padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--white); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .15s ease; }
.table tbody tr:hover { background: rgba(168, 85, 247, 0.06); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.neg { color: var(--red); font-weight: 700; }
.pos { color: var(--green); font-weight: 700; }
.scanner__cta { text-align: center; margin-top: 40px; }
@media (max-width: 760px) {
  .scanner { padding: 72px 0; }
  .table { font-size: 11px; }
  .table thead th, .table td { padding: 12px 12px; }
}

/* ============ HOW IT WORKS ============ */
.how { padding: 112px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative;
  padding: 36px 32px 40px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.04), transparent 60%), var(--bg-card);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pillar:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}
img.pillar__icon {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 0 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.5));
}
.pillar__num {
  font-family: var(--font-pixel);
  font-size: 18px;
  font-weight: 400;
  color: var(--purple);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--white);
}
.pillar__rule { width: 36px; height: 2px; background: var(--purple); margin-bottom: 20px; box-shadow: 0 0 8px var(--purple); }
.pillar__body { font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .how { padding: 72px 0; }
  .pillars { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ FINAL CTA ============ */
.final {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(800px 500px at 50% 50%, rgba(168, 85, 247, 0.16), transparent 60%), var(--bg);
  border-bottom: 1px solid var(--line);
}
.final__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.final__inner { position: relative; z-index: 2; }
.final__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--white);
}
.final__sub {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.22em;
  margin: 0 0 40px;
  text-transform: uppercase;
}
.final__meta {
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
}

/* ============ PLATFORM SHOWCASE ============ */
.showcase {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: var(--bg);
}
.showcase .section-label, .showcase .section-title, .showcase .section-sub { margin-left: auto; margin-right: auto; }
.showcase .section-sub { max-width: 600px; margin-bottom: 56px; }

.showcase__video {
  max-width: 960px;
  margin: 0 auto;
  border: 2px solid var(--purple);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.25);
  background: var(--bg-card);
}
.showcase__placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15), transparent 60%),
    var(--bg-card-2);
}
.showcase__play {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
  position: relative;
}
.showcase__play::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 20px solid var(--white);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.showcase__badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--purple-soft);
  padding: 6px 12px;
  border: 1px solid var(--purple);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.6);
}

/* ============ $GG TOKEN ============ */
.token {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
  background:
    radial-gradient(700px 500px at 80% 50%, rgba(168, 85, 247, 0.1), transparent 60%),
    var(--bg);
}
.token__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.token__content { max-width: 540px; }
.token__title { text-align: left; margin-bottom: 18px; }
.token .section-label { text-align: left; }
.token .section-sub { text-align: left; }

.token__pillars { margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.token__pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.token__pillar-line {
  width: 2px;
  min-height: 56px;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  flex-shrink: 0;
  border-radius: 2px;
}
.token__pillar-body { flex: 1; }
.token__pillar h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 8px;
}
.token__pillar p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.token__cta { margin-top: 36px; }

.token__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.token__banner {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 12px;
  filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.45));
  animation: floatBanner 6s ease-in-out infinite;
}
@keyframes floatBanner {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 900px) {
  .token { padding: 72px 0; }
  .token__inner { grid-template-columns: 1fr; gap: 56px; }
  .token__visual { min-height: 360px; }
}

/* ============ INVESTORS ============ */
.investors {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.investors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.investors__tile {
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 24px 28px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.investors__tile:hover {
  border-color: var(--purple);
  background: rgba(168, 85, 247, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.12);
}
.investors__tile img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.95);
  transition: filter .25s ease;
}
.investors__tile:hover img { filter: brightness(1.1); }
@media (max-width: 860px) {
  .investors__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  padding: 80px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 56px;
  align-items: start;
}
.footer__mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer__logo { height: 56px; width: auto; }
.footer__wordmark {
  font-family: var(--font-pixel);
  font-size: 18px;
  line-height: 1.2;
  color: var(--purple);
  letter-spacing: 0.04em;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}
.footer__tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 360px;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.footer__col li { margin-bottom: 14px; }
.footer__col a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--purple-soft); }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  transition: border-color .2s ease, background .2s ease;
}
.footer__social a:hover { border-color: var(--purple); background: rgba(168, 85, 247, 0.08); }
.footer__social img { width: 16px; height: 16px; filter: brightness(0.9); }

.footer__disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 40px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 100%;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}
.footer__disclaimer a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__disclaimer a:hover { color: var(--purple-soft); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__url { color: var(--purple); text-transform: none; letter-spacing: 0.04em; }
.footer__url:hover { color: var(--purple-soft); }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ LIGHTWEIGHT AUTH ============ */
.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 24px;
  padding: 48px 20px;
  background:
    linear-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
}
.auth-screen .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--white);
  text-transform: uppercase;
}
.auth-screen .brand-mark img {
  width: 48px;
  height: auto;
}
.auth-panel {
  width: min(440px, 100%);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: rgba(7, 7, 10, 0.9);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.18);
}
.auth-panel h1 {
  margin: 8px 0 24px;
  font-family: var(--font-pixel);
  font-size: 32px;
  color: var(--white);
}
.auth-form {
  display: grid;
  gap: 12px;
}
.auth-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-form input {
  width: 100%;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-sans);
}
.auth-form .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.form-error {
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #fecdd3;
  background: rgba(244, 63, 94, 0.1);
  font-size: 13px;
}
.auth-note {
  margin: 18px 0 0;
  color: var(--muted);
}
.auth-note a {
  color: var(--purple-soft);
}

/* ============ LEGAL / TOKEN PAGES ============ */
.legal-shell {
  min-height: 100vh;
  padding: 42px 20px 80px;
  background:
    linear-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.08) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: min(960px, 100%);
  margin: 0 auto 28px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.legal-brand img {
  width: 54px;
  height: auto;
}
.legal-panel {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: rgba(7, 7, 10, 0.92);
  box-shadow: 0 0 48px rgba(168, 85, 247, 0.14);
}
.legal-panel h1 {
  margin: 8px 0 18px;
  font-family: var(--font-pixel);
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
  color: var(--white);
}
.legal-intro {
  max-width: 760px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.legal-panel section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.legal-panel h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.legal-panel p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
