/* $BALLFIN — Vice lottery night */
:root {
  --sunset: #ff8a3d;
  --pink: #ff2d95;
  --magenta: #c81e6a;
  --teal: #1ee0c8;
  --water: #0b6e8a;
  --palm: #147a4b;
  --gold: #ffd24a;
  --gold-2: #f0c14b;
  --cyan: #22e6ff;
  --navy: #0b1026;
  --navy-2: #150b1c;
  --navy-3: #1c1230;
  --cream: #fff4d6;
  --ink: #16080e;
  --paper: #fff7ea;
  --muted: #c9b8c4;
  --line: rgba(255, 244, 214, 0.16);
  --display: "Bebas Neue", "Anton", Impact, sans-serif;
  --fun: "Luckiest Guy", "Bangers", cursive;
  --body: "Jost", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --head-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  scroll-behavior: auto;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(255, 45, 149, 0.18), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(255, 138, 61, 0.16), transparent 50%),
    var(--navy);
}
img { max-width: 100%; height: auto; display: block; }
button, a { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--gold); }
code { font-family: var(--mono); }

.grain, .flare {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
}
.grain {
  opacity: 0.09;
  background: url("assets/images/grain.png") repeat;
  mix-blend-mode: overlay;
}
.flare {
  z-index: 1;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 40% 28% at 78% 18%, rgba(255, 210, 74, 0.22), transparent 60%),
    radial-gradient(ellipse 30% 20% at 90% 8%, rgba(255, 45, 149, 0.12), transparent 70%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--ink);
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px) rotate(-0.4deg); filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 50px; padding: 0.7rem 1.35rem; font-size: 1.15rem; }
.btn-gold {
  background: linear-gradient(180deg, #ffe789, var(--gold) 45%, #e0a21a);
  color: var(--ink);
  box-shadow: 0 0 0 2px #1a0c08, 0 6px 0 #8a4d0a, 0 0 24px rgba(255, 210, 74, 0.35);
}
.btn-ghost {
  background: rgba(11, 16, 38, 0.45);
  color: var(--cream);
  box-shadow: 0 0 0 2px rgba(255, 244, 214, 0.35);
}
.btn-ticket {
  clip-path: polygon(
    12px 0, calc(100% - 12px) 0,
    100% 50%, calc(100% - 12px) 100%,
    12px 100%, 0 50%
  );
  padding-inline: 1.35rem;
}
.btn-slash {
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-stamp {
  border-radius: 999px;
  min-width: 44px;
  box-shadow: 0 0 0 2px rgba(255, 244, 214, 0.4), inset 0 0 0 2px rgba(255, 45, 149, 0.35);
}
.btn-stub {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  border-radius: 3px 10px 3px 10px;
  box-shadow: 3px 3px 0 #1a0c08;
  background-image: radial-gradient(circle at 0 50%, transparent 6px, var(--cream) 7px);
  background-position: left center;
  padding-left: 1.2rem;
}

/* ---------- typography ---------- */
.kicker {
  margin: 0 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.section-head {
  max-width: 42rem;
  margin: 0 auto 1.8rem;
  padding: 0 1.1rem;
  text-align: center;
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  font-weight: 400;
}
.lede { margin: 0; color: var(--muted); }
.lede a { color: var(--gold); }

/* ---------- header ---------- */
.head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--head-h);
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.head.is-solid {
  background: rgba(11, 16, 38, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav { display: none; gap: 1.1rem; margin-left: auto; }
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  opacity: 0.85;
}
.nav a:hover { opacity: 1; color: var(--gold); }
.head-actions { display: flex; gap: 0.45rem; margin-left: auto; }

@media (min-width: 840px) {
  .nav { display: flex; }
  .head-actions { margin-left: 0; }
  .head { padding: 0 1.6rem; padding-top: env(safe-area-inset-top, 0px); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--head-h) + 10px) 1rem 1.1rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-world, .hero-banner-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-sky {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: ken 28s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-2%, 1%, 0); }
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 16, 38, 0.82) 0%, rgba(11, 16, 38, 0.55) 42%, rgba(11, 16, 38, 0.2) 70%),
    linear-gradient(180deg, rgba(11, 16, 38, 0.25) 0%, transparent 30%, rgba(11, 16, 38, 0.55) 100%);
}
.hero-banner-wrap {
  inset: auto 0 8% auto;
  width: min(78vw, 920px);
  right: -4%;
  bottom: 8%;
  opacity: 0.55;
  transform: rotate(-3.5deg);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.45));
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
}
.hero-banner {
  width: 100%;
  height: auto;
  border: 3px solid rgba(255, 244, 214, 0.35);
  border-radius: 6px;
}
.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}
.hero-copy { position: relative; z-index: 3; max-width: 36rem; }
.hero-tag {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 5.4vw, 2.2rem);
  letter-spacing: 0.14em;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 210, 74, 0.35);
}
.hero-title { margin: 0.1rem 0 0.45rem; }
.wordmark {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 8px 0 rgba(0,0,0,0.35));
}
.hero-sub {
  margin: 0 0 0.85rem;
  max-width: 32rem;
  color: var(--cream);
  font-size: 0.95rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.ca-panel {
  background: rgba(11, 16, 38, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.75rem 0.55rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.15), 0 12px 40px rgba(0,0,0,0.25);
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ca-label {
  font-family: var(--display);
  letter-spacing: 0.12em;
  color: var(--gold);
  font-size: 1rem;
}
.ca-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.86rem;
  color: var(--cream);
}
.ca-value.is-tba { letter-spacing: 0.2em; }
.ca-note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.hero-figure {
  position: absolute;
  right: -18%;
  top: 4%;
  width: 78%;
  max-width: 520px;
  z-index: 2;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.45), rgba(255, 45, 149, 0.12) 45%, transparent 70%);
  filter: blur(18px);
}
.hero-dolphin {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.45));
  animation: bob 4.5s ease-in-out infinite;
  transform-origin: 60% 80%;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

.balls { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.ball {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  box-shadow: inset -6px -8px 10px rgba(0,0,0,0.25), 0 8px 16px rgba(0,0,0,0.3);
  animation: floaty 7s ease-in-out infinite;
}
.ball::after { content: attr(data-n); }
.ball:nth-child(1) { background: radial-gradient(circle at 30% 30%, #fff, var(--gold) 40%, #d48912); top: 18%; left: 52%; animation-delay: 0s; }
.ball:nth-child(2) { background: radial-gradient(circle at 30% 30%, #fff, var(--teal) 40%, #0b8a7a); top: 28%; left: 72%; width: 38px; height: 38px; animation-delay: -1.4s; }
.ball:nth-child(3) { background: radial-gradient(circle at 30% 30%, #fff, var(--pink) 40%, #a01358); top: 58%; left: 62%; width: 42px; height: 42px; animation-delay: -2.2s; }
.ball:nth-child(4) { background: radial-gradient(circle at 30% 30%, #fff, var(--cyan) 40%, #0b7a9a); top: 14%; left: 88%; width: 34px; height: 34px; animation-delay: -3s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    padding: calc(var(--head-h) + 12px) 1.6rem 2rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 1rem;
  }
  .hero-figure {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: none;
  }
  .hero-dolphin { width: 108%; max-width: none; margin-left: -4%; }
  .wordmark { width: min(100%, 560px); }
  .hero-sub { font-size: 1.08rem; }
  .hero-banner-wrap {
    width: min(70vw, 1100px);
    opacity: 0.7;
    right: -2%;
    bottom: 6%;
  }
  .ball:nth-child(1) { left: 46%; }
}

@media (max-width: 430px) {
  .hero {
    align-items: flex-start;
    padding-top: calc(var(--head-h) + 8px);
    padding-bottom: 0.85rem;
  }
  .hero-copy { padding-top: 0.15rem; }
  .hero-sub { font-size: 0.86rem; margin-bottom: 0.6rem; }
  .hero-figure { top: 7%; width: 64%; right: -10%; opacity: 1; }
  .hero-dolphin { animation-duration: 5.5s; }
  .hero-banner-wrap { opacity: 0.32; width: 115%; right: -18%; bottom: 22%; }
  .ball:nth-child(4), .ball:nth-child(2) { display: none; }
  .btn-lg { min-height: 46px; padding: 0.55rem 1.05rem; font-size: 1.02rem; }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 2px solid rgba(255, 210, 74, 0.35);
  background: linear-gradient(90deg, #1a0c16, #2a1030 50%, #1a0c16);
  padding: 0.55rem 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  will-change: transform;
  padding-inline: 1rem;
}
.marquee-track span { white-space: nowrap; }
.marquee-track span:nth-child(odd) { color: var(--cream); }
.marquee-track span:nth-child(3n) { color: var(--teal); }

/* ---------- draw (pinned) ---------- */
.draw { position: relative; background: #080612; }
.draw-pin { height: 320vh; }
.draw-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.draw-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.08);
}
.draw-car {
  position: absolute;
  left: -8%;
  bottom: -6%;
  width: min(70vw, 640px);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  z-index: 2;
}
.draw-hud {
  position: relative;
  z-index: 3;
  width: min(560px, calc(100% - 2rem));
  margin-left: auto;
  margin-right: 6vw;
  padding: 1.1rem 1.2rem 1.2rem;
  background: rgba(11, 16, 38, 0.72);
  border: 1px solid rgba(255, 210, 74, 0.28);
  box-shadow: 0 0 0 1px rgba(34, 230, 255, 0.12), 0 20px 60px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.draw-kicker { margin: 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.draw-count {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 16vw, 8rem);
  line-height: 0.8;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 210, 74, 0.45);
}
.draw-title { margin: 0.2rem 0 0.4rem; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: 0.04em; line-height: 0.95; }
.draw-body, .draw-fine { margin: 0; color: var(--muted); }
.draw-fine { margin-top: 0.55rem; font-size: 0.75rem; color: var(--gold-2); }
.draw-ticket {
  position: absolute;
  right: 6%;
  bottom: 8%;
  z-index: 4;
  width: min(280px, 46vw);
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border-radius: 4px 12px 4px 12px;
  box-shadow: 6px 8px 0 rgba(0,0,0,0.45);
  transform: rotate(-8deg) scale(0.6);
  opacity: 0;
}
.draw-ticket img { width: 100%; }

@media (max-width: 800px) {
  .draw-pin { height: 260vh; }
  .draw-car { width: 88vw; left: -18%; bottom: auto; top: 8%; opacity: 0.85; }
  .draw-hud { margin: 0 1rem 0 auto; align-self: end; margin-bottom: 8vh; }
}

/* ---------- how to buy / tokens ---------- */
.howto, .token, .chart, .gallery, .faq, .coinsec {
  position: relative;
  padding: 4.5rem 0 4.2rem;
  overflow-x: hidden;
}
.howto { background: linear-gradient(180deg, #120816, #0b1026 40%, #140b1c); }
.howto-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0 1.1rem;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.ticket-card {
  position: relative;
  padding: 1.15rem 1.2rem 1.2rem 1.3rem;
  background:
    radial-gradient(circle at 0 18px, transparent 10px, var(--paper) 11px),
    var(--paper);
  color: var(--ink);
  border-radius: 2px 16px 2px 16px;
  box-shadow: 6px 8px 0 rgba(0,0,0,0.45);
  overflow: hidden;
}
.ticket-card::after {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px; right: 12px;
  border-right: 2px dashed rgba(22, 8, 14, 0.2);
}
.ticket-num {
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--magenta);
}
.ticket-card h3 { margin: 0.1rem 0 0.35rem; font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.04em; }
.ticket-card p { margin: 0 0 0.85rem; color: #4a3340; }
@media (min-width: 800px) {
  .howto-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .howto-grid { grid-template-columns: repeat(4, 1fr); }
}

.token { background: #0c0814; }
.tok-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0 1.1rem;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.tok-card {
  padding: 1rem 1rem 0.95rem;
  background: rgba(255, 244, 214, 0.04);
  border: 1px solid var(--line);
  border-radius: 4px 18px 4px 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 45, 149, 0.08);
}
.tok-card span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.tok-card strong { display: block; margin-top: 0.25rem; font-family: var(--display); font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 400; letter-spacing: 0.03em; }
.tok-card em { display: block; margin-top: 0.3rem; font-style: normal; font-size: 0.75rem; color: var(--muted); }
@media (min-width: 900px) { .tok-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- coin ---------- */
.coinsec {
  background:
    radial-gradient(600px 400px at 70% 50%, rgba(255, 210, 74, 0.12), transparent 60%),
    #120816;
  display: grid;
  gap: 1.5rem;
  padding-inline: 1.1rem;
}
.coinsec-copy { max-width: 32rem; margin: 0 auto; text-align: center; }
.coinsec-copy h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 0.9;
}
.coin-stage {
  width: min(380px, 78vw);
  height: min(380px, 78vw);
  margin: 0 auto;
  touch-action: pan-y;
  cursor: grab;
}
.coin-stage canvas { width: 100% !important; height: 100% !important; display: block; }
@media (min-width: 900px) {
  .coinsec {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding-inline: 0;
  }
  .coinsec-copy { text-align: left; margin: 0; padding-left: 1.1rem; }
}

/* ---------- chart ---------- */
.chart { background: #0b1026; }
.chart-frame {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
  min-height: 280px;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(-12deg, rgba(255,244,214,0.03) 0 12px, transparent 12px 24px),
    rgba(20, 10, 28, 0.7);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.chart-lock {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  text-align: center;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.08em;
}
.chart-frame.is-live { min-height: 420px; }
.chart-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- gallery ---------- */
.gallery { background: linear-gradient(180deg, #140b1c, #0b1026); }
.collage {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.polaroid {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  padding: 0.55rem 0.55rem 0.45rem;
  box-shadow: 6px 8px 0 rgba(0,0,0,0.4);
  transform: rotate(-1.5deg);
}
.polaroid:nth-child(even) { transform: rotate(1.8deg); }
.polaroid img { width: 100%; height: 160px; object-fit: cover; background: #1a0c16; }
.polaroid figcaption {
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 1rem;
  padding: 0.4rem 0.2rem 0.15rem;
}
.polaroid-wide { grid-column: 1 / -1; transform: rotate(-0.6deg); }
.polaroid-wide img { height: 180px; }
.polaroid-logo img { object-fit: contain; background: #fff; }
@media (min-width: 800px) {
  .collage { grid-template-columns: 1.3fr 0.8fr 1fr; }
  .polaroid-wide { grid-column: auto; }
  .polaroid img, .polaroid-wide img { height: 220px; }
  .polaroid:nth-child(1) { grid-column: 1 / 3; }
  .polaroid:nth-child(5) { grid-column: 2 / 4; }
}

/* ---------- faq / footer ---------- */
.faq { background: #120816; }
.faq-list { width: min(760px, calc(100% - 2.2rem)); margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line);
  margin-bottom: 0.6rem;
  background: rgba(255,244,214,0.03);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.faq-list summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-family: var(--display);
  letter-spacing: 0.05em;
  font-size: 1.25rem;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { margin: 0; padding: 0 1rem 1rem; color: var(--muted); }
.faq-list code { color: var(--gold); }

.foot {
  position: relative;
  padding: 3.5rem 1.1rem calc(5.5rem + var(--safe-b));
  background: #07060e;
  overflow: hidden;
}
.foot-art { position: absolute; inset: 0; pointer-events: none; }
.foot-banner {
  width: 120%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.1);
}
.foot-dolphin {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: min(420px, 58vw);
  opacity: 0.9;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.foot-inner { position: relative; z-index: 2; width: min(640px, 100%); }
.foot-word { width: min(360px, 90%); margin: 0.8rem 0 0.4rem; }
.foot-tag { margin: 0 0 1rem; font-family: var(--display); letter-spacing: 0.1em; color: var(--gold); }
.foot-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.disclaimer { margin: 1.2rem 0 0; font-size: 0.75rem; color: var(--muted); max-width: 36rem; position: relative; z-index: 3; text-shadow: 0 1px 8px #07060e, 0 0 10px #07060e; }
@media (max-width: 700px) {
  .foot-dolphin { width: 46vw; opacity: 0.38; right: -16%; bottom: auto; top: 8%; }
  .disclaimer { max-width: 100%; padding-right: 0; }
}

/* ---------- dock / toast / loader ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: calc(0.7rem + var(--safe-b));
  transform: translateX(-50%);
  z-index: 45;
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.45rem 0.4rem 0.7rem;
  background: rgba(11, 16, 38, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 1.2rem);
}
.dock code { font-size: 0.75rem; letter-spacing: 0.12em; }
.dock.is-hide { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(16px); }
@media (max-width: 839px) {
  .dock { display: flex; }
  html.is-draw-pin .dock { opacity: 0; pointer-events: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.2rem + var(--safe-b));
  transform: translateX(-50%) translateY(12px);
  z-index: 60;
  background: var(--cream);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 4px 12px 4px 12px;
  box-shadow: 4px 6px 0 #1a0c08;
  font-family: var(--display);
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(420px, calc(100% - 2rem));
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  background: #120816;
  text-align: center;
  padding: 1.2rem;
}
.loader-sky {
  position: absolute;
  inset: 0;
  background:
    url("assets/images/skyline.webp") center / cover no-repeat,
    #120816;
  filter: saturate(1.1);
  opacity: 0.45;
}
.loader-kicker, .loader-line { position: relative; z-index: 2; margin: 0; }
.loader-kicker { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--teal); }
.loader-line { font-family: var(--display); font-size: 1.6rem; letter-spacing: 0.12em; color: var(--gold); }
.scratch {
  position: relative;
  z-index: 2;
  width: min(280px, 72vw);
  aspect-ratio: 3 / 4;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: 8px 12px 0 rgba(0,0,0,0.45);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.scratch-art { width: 78%; position: relative; z-index: 1; }
.scratch-mark { width: 86%; position: relative; z-index: 1; margin-top: -0.4rem; }
.scratch-foil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(115deg, #c9cdd4 0 8px, #e8eaee 8px 16px, #b7bcc6 16px 22px);
  clip-path: inset(0 0 0 0);
  pointer-events: none;
}
.loader .btn { position: relative; z-index: 3; }

.js-reveal { opacity: 0; transform: translateY(18px); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-sky { transform: none; }
  .js-reveal { opacity: 1; transform: none; }
  .loader { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1 !important; transform: none !important; }
}
