:root {
  --bg: #120a03;
  --cream: #fff6df;
  --muted: #f0ddbc;
  --gold: #ffc94a;
  --gold-deep: #f08a12;
  --ink: #2a1606;
  --line: rgba(255, 206, 110, 0.28);
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(255, 170, 40, 0.2), transparent 58%),
    radial-gradient(680px 460px at -10% 28%, rgba(255, 110, 20, 0.14), transparent 55%),
    radial-gradient(900px 500px at 50% 120%, rgba(0, 0, 0, 0.45), transparent 55%),
    var(--bg);
}

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

button, input { font: inherit; color: inherit; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid #ffe7a3;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}

.skip:focus { top: 12px; }

#magic {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
}

.cursor,
.cursor-star {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
}

.cursor.on,
.cursor-star.on { opacity: 1; }

.cursor-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 224, 150, 0.95);
  box-shadow:
    0 0 18px rgba(255, 186, 40, 0.65),
    inset 0 0 12px rgba(255, 210, 110, 0.28);
  transition: transform 0.22s ease, background 0.22s ease;
}

.cursor.hot .cursor-ring {
  transform: scale(1.7);
  background: rgba(255, 201, 74, 0.14);
}

.cursor-star {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff8e6;
  box-shadow:
    0 0 8px #fff,
    0 0 16px #ffc94a,
    0 0 28px #ff9f1c;
}

html.magic-cursor,
html.magic-cursor * { cursor: none !important; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 70;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(18, 10, 3, 0.72);
  border-bottom: 1px solid rgba(255, 206, 110, 0.18);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px 18px;
}

.nav-links a:not(.icon-link) {
  text-decoration: none;
  font-weight: 800;
  color: #fff1d4;
}

.nav-links a:not(.icon-link):hover { color: var(--gold); }

.icon-link {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  text-decoration: none;
  color: #ffe7b0;
}

.icon-link:hover {
  background: rgba(255, 201, 74, 0.14);
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 201, 74, 0.08);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #ffe7a8;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding-top: 108px;
  padding-bottom: 48px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #ffd78a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: blink 1.6s ease-in-out infinite;
}

.formula {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08em;
  font-family: "Lilita One", "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.line1 { font-size: clamp(2.5rem, 5.4vw, 4.7rem); white-space: nowrap; }
.line2 { font-size: clamp(3.3rem, 7.4vw, 6.5rem); white-space: nowrap; }

.formula span {
  color: #ffbf1f;
  -webkit-text-stroke: clamp(2px, 0.28vw, 6px) #140a03;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #6a3200, 0 14px 26px rgba(0, 0, 0, 0.38);
}

.formula .op { color: #fff6e4; }
.formula .coinu { color: #fff3c8; }

.lede {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.12rem;
}

.ca {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 480px);
  margin-top: 22px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 10, 3, 0.62);
  text-align: left;
  cursor: pointer;
}

.ca-k {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-v {
  flex: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  user-select: text;
}

.ca .copy-label,
.btn {
  border: 0;
}

.ca .copy-label {
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn-sm { min-height: 40px; padding: 0 14px; }

.btn-gold {
  color: var(--ink);
  background: linear-gradient(180deg, #ffe08a, #ffb703 46%, #f08a12);
  border: 1px solid #fff1c4;
  box-shadow: 0 8px 24px rgba(255, 160, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.btn-ghost {
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(255, 210, 120, 0.55);
}

.btn:hover { transform: translateY(-2px); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost:hover { background: rgba(255, 201, 74, 0.12); }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.45) 50%, transparent 80%);
  transform: translateX(-120%);
}

.btn:hover::after { animation: shine 0.7s ease; }

.text-link {
  margin-top: 16px;
  font-weight: 800;
  color: #ffd78a;
  text-underline-offset: 4px;
}

.coin-stage {
  position: relative;
  width: min(100%, 490px);
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 900px;
  animation: float 5.6s ease-in-out infinite;
  z-index: 1;
}

.coin-glow {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 60, 0.75), rgba(255, 140, 0, 0.12) 58%, transparent 72%);
  filter: blur(6px);
  animation: pulse 3.2s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
  pointer-events: none;
  user-select: none;
}

.coin-tilt {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  transition: transform 0.18s linear;
}

.coin-tilt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 46px rgba(255, 180, 40, 0.38);
}

.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff6d2;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 6px #ffc94a);
  animation: twinkle 2.4s ease-in-out infinite;
}

.s1 { top: 14%; left: 10%; }
.s2 { top: 20%; right: 6%; animation-delay: 0.5s; }
.s3 { bottom: 16%; left: 14%; animation-delay: 1s; }
.s4 { bottom: 10%; right: 14%; animation-delay: 1.5s; }

.floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floaters img {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  animation: float 7s ease-in-out infinite;
}

.floaters img:nth-child(1) { left: 3%; top: 18%; width: 58px; height: 58px; }
.floaters img:nth-child(2) { left: 10%; bottom: 12%; width: 92px; height: 92px; animation-delay: -2s; }
.floaters img:nth-child(3) { right: 4%; top: 14%; width: 52px; height: 52px; animation-delay: -1s; }
.floaters img:nth-child(4) { right: 14%; bottom: 8%; width: 74px; height: 74px; animation-delay: -3.2s; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 186, 40, 0.08);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  color: #ffe7b0;
  white-space: nowrap;
}

.marquee .star { color: #fff; }

.block { padding: 88px 0; }

.band {
  background: linear-gradient(180deg, rgba(255, 186, 40, 0.05), rgba(255, 140, 20, 0.02));
  border-block: 1px solid rgba(255, 206, 110, 0.12);
}

h2 {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}

.banner-frame {
  margin: 0 0 36px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 210, 120, 0.45);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.4),
    0 0 0 8px rgba(255, 186, 40, 0.06);
}

.banner-frame img { width: 100%; height: auto; }

.banner-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
  transform: translateX(-120%);
  animation: shine 5.8s ease-in-out infinite;
  pointer-events: none;
}

.lore-grid,
.split,
.socials,
.cards {
  display: grid;
  gap: 18px;
}

.lore-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.split { grid-template-columns: 0.9fr 1.1fr; margin-top: 8px; }
.cards { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.socials { grid-template-columns: 1fr 1fr; margin-top: 8px; }

.prose {
  max-width: 62ch;
  color: var(--muted);
  margin-top: 12px;
}

.spoken {
  margin-top: 18px;
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffd56a;
}

.sum {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.05;
  text-align: right;
  padding: 32px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 198, 70, 0.16), rgba(255, 140, 20, 0.05));
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), inset 0 0 40px rgba(255, 190, 60, 0.06);
}

.sum span { display: block; }

.sum-line {
  height: 4px;
  margin: 12px 0;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.sum-total {
  color: #ffe08a;
  font-size: 1.28em;
}

.sum-note {
  margin-top: 10px;
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eq-card,
.panel,
.social-card {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 198, 80, 0.08), rgba(255, 140, 30, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 230, 170, 0.1);
}

.eq-card,
.panel { padding: 26px; }

.eq-card p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.eq-card.result {
  background: linear-gradient(165deg, #ffe7a8, #ffb000 55%, #ef8d12);
  color: var(--ink);
  border-color: #fff1c4;
}

.eq-card.result .section-kicker,
.eq-card.result p:last-child { color: #3a2208; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts span { color: #ffd9a0; font-weight: 700; }

.facts strong {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-weight: 400;
  text-align: right;
  font-size: 1.25rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 14px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.steps p { color: var(--muted); }

.num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--ink);
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 1.2rem;
}

.join-lead { margin-bottom: 18px; }

.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 214, 120, 0.7);
}

.social-card small {
  display: block;
  color: #ffd9a0;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.social-card strong {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.social-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffe08a, #f0a020);
  color: var(--ink);
  flex: none;
}

.site-footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  align-items: center;
  color: var(--muted);
}

.footer-brand {
  font-family: "Lilita One", "Arial Black", sans-serif;
  font-size: 1.45rem;
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a { font-weight: 800; color: #ffe1a8; }

.fine {
  grid-column: 1 / -1;
  font-size: 0.92rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.cards .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3) { transition-delay: 0.16s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(18deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

@keyframes shine {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

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

@media (max-width: 980px) {
  .hero-grid,
  .lore-grid,
  .split,
  .cards { grid-template-columns: 1fr; }

  .hero-grid { min-height: 0; padding-top: 96px; }
  .hero-copy { align-items: center; text-align: center; }
  .formula { align-items: center; }
  .coin-stage { order: -1; width: min(72vw, 300px); }
  .floaters { display: none; }
  .sum { text-align: center; }
  .sum-line { background: var(--gold); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, 78vw);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(24, 14, 5, 0.97);
    border: 1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  }

  .nav-links.open { display: flex; }

  .nav-links .icon-link { width: 100%; border-radius: 12px; }

  .socials,
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .line1 { font-size: 2.15rem; }
  .line2 { font-size: 2.8rem; }
  .ca { border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .coin-stage,
  .floaters img,
  .marquee-track,
  .spark,
  .dot,
  .coin-glow,
  .orbit,
  .banner-frame::after {
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
