:root {
  --color-background-page: #140d10;
  --color-background-surface: #1f1418;
  --color-background-board: #0d0809;
  --color-text-primary: #f6ece4;
  --color-text-muted: #c4aea4;
  --color-line: #3a272c;
  --color-accent: #ff3d7f;
  --color-on-accent: #1a0a10;
  --color-accent-hover: #ff6a9b;
  --color-tote: #ffb547;
  --color-tote-dim: #6b4a1d;
  --color-ok: #3fe0c5;
  --color-sunset: #ff7a3d;
  --color-teal: #2fe3d3;
  --color-violet: #2a1236;
  --color-paper: #f7efe2;
  --color-late: #ff5b4a;

  --font-sign: "Limelight", "Georgia", serif;
  --font-tote: "Doto", "Courier New", monospace;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;

  --radius-page: 0;
  --radius-container: 4px;
  --radius-element: 2px;
  --radius-inner: 1px;

  --gutter: clamp(1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-background-page);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  caret-color: var(--color-accent);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--color-accent); color: var(--color-on-accent); }
:focus-visible { outline: 2px solid var(--color-tote); outline-offset: 3px; }
html { scrollbar-color: var(--color-line) var(--color-background-page); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
code { font-family: var(--font-body); font-weight: 700; color: var(--color-tote); }
h1, h2 { text-wrap: balance; }
.num, .clock-digits, .odd, .pot, .tape { font-variant-numeric: tabular-nums; }

/* Barra do topo */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: color-mix(in srgb, var(--color-background-page) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-line);
}
.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.35rem; line-height: 1; }
.brand-script { font-family: var(--font-script); font-size: 2rem; color: var(--color-accent); text-shadow: 0 0 6px rgba(255, 61, 127, 0.55), 0 0 18px rgba(255, 61, 127, 0.35); transform: rotate(-4deg); display: inline-block; }
.brand-sign { font-family: var(--font-sign); font-size: 1.25rem; color: var(--color-teal); letter-spacing: 0.08em; text-transform: uppercase; }
.topbar nav { display: flex; gap: 1.25rem; }
.topbar nav a { text-decoration: none; color: var(--color-text-muted); font-weight: 500; padding: 0.6rem 0; transition: color 150ms var(--ease); }
.topbar nav a:hover { color: var(--color-text-primary); }

/* Hero: a foto é a cena */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--color-line); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom, rgba(255, 122, 61, 0.38) 0%, rgba(255, 61, 127, 0.28) 35%, rgba(42, 18, 54, 0) 65%);
  mix-blend-mode: soft-light;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20, 13, 16, 0.82) 0%, rgba(20, 13, 16, 0.45) 45%, rgba(20, 13, 16, 0) 70%),
    linear-gradient(to top, rgba(20, 13, 16, 0.96) 0%, rgba(20, 13, 16, 0.6) 40%, rgba(20, 13, 16, 0.1) 80%);
}
.hero-copy { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(2rem, 6vw, 4rem); max-width: 60rem; }
.hero h1 { font-family: var(--font-sign); font-weight: 400; font-size: clamp(2.75rem, 8.5vw, 6rem); line-height: 0.98; margin: 0 0 1.25rem; }
.hero h1 span { color: var(--color-accent); }
.welcome { font-family: var(--font-script); font-size: clamp(2rem, 5vw, 3rem); color: var(--color-teal); margin: 0 0 0.25rem; transform: rotate(-3deg); transform-origin: left; text-shadow: 0 0 10px rgba(47, 227, 211, 0.45); }
.lede { max-width: 38rem; color: var(--color-text-primary); margin: 0 0 2rem; font-size: 1.125rem; }

.clock { display: grid; gap: 0.15rem; margin-bottom: 1rem; }
.clock-label { font-weight: 700; color: var(--color-text-muted); }
.clock-digits {
  font-family: var(--font-tote); font-weight: 900; color: var(--color-tote);
  font-size: clamp(3rem, 12vw, 7rem); line-height: 0.95;
  text-shadow: 0 0 1px var(--color-tote);
}
.clock-note { color: var(--color-text-muted); font-size: 0.95rem; }
.pot-line { margin: 0.75rem 0 0; font-size: 1.125rem; }
.pot-line strong { color: var(--color-tote); font-family: var(--font-tote); font-weight: 900; font-size: 1.5rem; }

/* Fita de apostas */
.tape { overflow: hidden; background: var(--color-tote); color: var(--color-on-accent); border-block: 1px solid #000; }
.tape-track { display: flex; gap: 2.5rem; width: max-content; padding: 0.55rem 0; font-weight: 700; white-space: nowrap; animation: tape 60s linear infinite; }
.tape-track span { display: inline-flex; gap: 0.5rem; }
.tape-track b { font-family: var(--font-tote); font-weight: 900; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

main { display: block; }
h2 { font-family: var(--font-sign); font-weight: 400; font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: 1; margin: 0 0 0.75rem; color: var(--color-text-primary); }
.section-lede { color: var(--color-text-muted); max-width: 44rem; margin: 0 0 2rem; }

/* Placar */
.board-wrap { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.markets { display: grid; gap: 2.5rem; }
.loading, .error { color: var(--color-text-muted); }
.market { background: var(--color-background-board); border: 1px solid var(--color-line); border-radius: var(--radius-container); }
.market-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.75rem 2rem; padding: 1.25rem 1.25rem 1rem; border-bottom: 2px solid var(--color-tote-dim); }
.market-q { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.2; margin: 0; max-width: 40rem; }
.market-src { color: var(--color-text-muted); font-size: 0.95rem; margin: 0.4rem 0 0; max-width: 40rem; }
.market-pot { text-align: right; }
.market-pot .pot { font-family: var(--font-tote); font-weight: 900; color: var(--color-tote); font-size: 2.25rem; line-height: 1; display: block; }
.market-pot small { color: var(--color-text-muted); }

.row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.row:last-of-type { border-bottom: 0; }
.ticker { font-family: var(--font-sign); font-weight: 400; font-size: clamp(1.75rem, 5vw, 2.75rem); letter-spacing: 0.02em; line-height: 1; color: var(--color-text-primary); overflow-wrap: anywhere; }
.opt-name { color: var(--color-text-muted); font-weight: 500; }
.vamps { display: inline-block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--color-text-muted); }
.vamps a { color: var(--color-text-muted); }
.share { height: 6px; background: var(--color-line); margin-top: 0.6rem; border-radius: var(--radius-inner); overflow: hidden; }
.share i { display: block; height: 100%; background: var(--color-accent); width: 0; transition: width 600ms var(--ease); }
.row-pot { color: var(--color-text-muted); }
.row-pot b { color: var(--color-text-primary); font-family: var(--font-tote); font-weight: 900; font-size: 1.35rem; }
.odd { font-family: var(--font-tote); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); color: var(--color-tote); line-height: 1; text-align: right; }
.odd small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--color-text-muted); }
.odd.flip { animation: flip 500ms var(--ease); }
@keyframes flip { 0% { opacity: 0.2; transform: translateY(-0.2em); } 100% { opacity: 1; transform: none; } }

.bet-btn {
  grid-column: 1 / -1; justify-self: start;
  font: inherit; font-weight: 800; cursor: pointer;
  min-height: 44px; padding: 0.6rem 1.1rem;
  background: var(--color-accent); color: var(--color-on-accent);
  border: 0; border-radius: var(--radius-element);
  transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.bet-btn:hover { background: var(--color-accent-hover); }
.bet-btn:active { transform: scale(0.96); }
.bet-btn[aria-expanded="true"] { background: transparent; color: var(--color-text-primary); box-shadow: inset 0 0 0 1px var(--color-line); }
.bet-btn:disabled { background: var(--color-line); color: var(--color-text-muted); cursor: not-allowed; }

.slip { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center; padding: 1rem; background: var(--color-background-surface); border-radius: var(--radius-element); }
.slip[hidden] { display: none; }
.qr { width: 132px; height: 132px; background: #fff; padding: 6px; border-radius: var(--radius-inner); }
.qr img, .qr svg { width: 100%; height: 100%; }
.slip p { margin: 0 0 0.5rem; }
.addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.95rem; overflow-wrap: anywhere; color: var(--color-tote); }
.copy { font: inherit; font-weight: 700; min-height: 44px; padding: 0.5rem 1rem; cursor: pointer; background: var(--color-text-primary); color: var(--color-on-accent); border: 0; border-radius: var(--radius-element); transition: transform 150ms var(--ease); }
.copy:active { transform: scale(0.96); }
.slip small { color: var(--color-text-muted); display: block; margin-top: 0.5rem; }

details.bets { border-top: 2px solid var(--color-tote-dim); }
details.bets summary { cursor: pointer; padding: 0.9rem 1.25rem; font-weight: 700; color: var(--color-text-muted); min-height: 44px; }
details.bets summary:hover { color: var(--color-text-primary); }
.bets-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.bets-table th, .bets-table td { text-align: left; padding: 0.5rem 1.25rem; border-top: 1px solid var(--color-line); white-space: nowrap; }
.bets-table th { color: var(--color-text-muted); font-weight: 500; }
.bets-table td.num { font-family: var(--font-tote); font-weight: 900; }
.st-ok { color: var(--color-ok); }
.st-late, .st-dust { color: var(--color-late); }
.bets-scroll { overflow-x: auto; }
.empty { padding: 0 1.25rem 1rem; color: var(--color-text-muted); margin: 0; }


/* Pote */
.pot-explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 8vw, 6rem) var(--gutter); align-items: start; }
.fronton { margin: 0; }
.fronton img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-container); }
.fronton figcaption { color: var(--color-text-muted); font-size: 0.95rem; margin-top: 0.75rem; }
.pot-text p { max-width: 38rem; }
.split { display: grid; grid-template-columns: 7fr 3fr; margin: 1.5rem 0 2rem; min-height: 9rem; }
.split > div { padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; }
.split b { font-family: var(--font-tote); font-weight: 900; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; }
.split span { font-weight: 500; font-size: 0.95rem; }
.split-a { background: var(--color-accent); color: var(--color-on-accent); }
.split-b { background: var(--color-tote); color: var(--color-on-accent); }
.vamp-note { background: var(--color-background-surface); padding: 1rem 1.25rem; border-radius: var(--radius-element); }

/* Regras */
.rules { padding: clamp(3rem, 8vw, 6rem) var(--gutter); border-top: 1px solid var(--color-line); background: var(--color-background-surface); }
.rules ol { max-width: 48rem; padding-left: 1.4rem; margin: 0; display: grid; gap: 1rem; }
.rules li::marker { font-family: var(--font-tote); font-weight: 900; color: var(--color-tote); }

.foot { padding: 2.5rem var(--gutter) 3rem; color: var(--color-text-muted); font-size: 0.9rem; border-top: 1px solid var(--color-line); }
.foot p { max-width: 60rem; }
.credits { font-size: 0.8rem; }

@media (max-width: 760px) {
  .topbar nav { gap: 0.9rem; font-size: 0.95rem; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row-pot { grid-column: 1 / -1; grid-row: 2; }
  .pot-explain { grid-template-columns: 1fr; }
  .slip { grid-template-columns: 1fr; }
  .market-pot { text-align: left; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .topbar nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-track { animation: none; }
  .odd.flip { animation: none; }
  .share i { transition: none; }
}

/* Postais no hero */
.hero-cards { position: absolute; z-index: 2; right: clamp(1rem, 4vw, 4rem); top: 50%; width: min(34vw, 460px); aspect-ratio: 1.1; transform: translateY(-46%); }
.pc { position: absolute; width: 78%; background: var(--color-paper); padding: 8px 8px 22px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55); }
.pc-1 { left: 0; top: 4%; transform: rotate(-9deg); }
.pc-2 { right: 0; top: 22%; transform: rotate(6deg); }
.pc-3 { left: 8%; top: 48%; transform: rotate(-2deg); }
.stamp {
  position: absolute; right: -2%; bottom: -4%; z-index: 3; padding: 0.7rem 1rem 0.8rem;
  background: var(--color-accent); color: var(--color-on-accent); transform: rotate(-7deg);
  font-family: var(--font-script); font-size: 1.25rem; line-height: 1; text-align: center;
  box-shadow: 0 0 0 4px var(--color-paper), 0 10px 24px rgba(0, 0, 0, 0.5);
}
.stamp b { font-family: var(--font-sign); font-weight: 400; font-size: 2rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* Listras de Miami */
.stripes { display: grid; }
.stripes i { display: block; height: 5px; }
.stripes i:nth-child(1) { background: var(--color-accent); }
.stripes i:nth-child(2) { background: var(--color-sunset); }
.stripes i:nth-child(3) { background: var(--color-teal); }

.h2-tag { font-family: var(--font-script); font-size: 0.55em; color: var(--color-accent); margin-left: 0.4rem; white-space: nowrap; display: inline-block; transform: rotate(-4deg); }

/* Estrelas de calor (quanto do pote está na opção) */
.heat { display: flex; gap: 2px; margin-top: 0.45rem; font-size: 1.15rem; line-height: 1; }
.heat i { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--color-text-muted); }
.heat i.on { color: var(--color-tote); -webkit-text-stroke: 1.5px #000; text-shadow: 0 0 6px rgba(255, 181, 71, 0.5); }
.heat-label { font-size: 0.8rem; color: var(--color-text-muted); margin-left: 0.4rem; align-self: center; }

/* Postais */
.postcards { padding: clamp(3rem, 8vw, 6rem) var(--gutter); background: var(--color-violet); border-block: 1px solid var(--color-line); overflow: hidden; }
.pc-rack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.card { margin: 0; background: var(--color-paper); padding: 10px 10px 0; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45); transition: transform 300ms var(--ease); }
.card:nth-child(odd) { transform: rotate(-2.5deg); }
.card:nth-child(even) { transform: rotate(2deg) translateY(10px); }
.card:hover { transform: rotate(0) scale(1.03); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card figcaption { font-family: var(--font-script); color: #2a1236; font-size: 1.35rem; padding: 0.4rem 0.25rem 0.6rem; line-height: 1.2; }

/* Aviso de aposta nova */
.toast {
  position: fixed; left: 50%; bottom: 8vh; z-index: 50; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.2rem; pointer-events: none; text-align: center;
  padding: 0 1rem; width: max-content; max-width: calc(100vw - 2rem);
}
.toast[hidden] { display: none; }
.toast b {
  font-family: var(--font-sign); font-weight: 400; font-size: clamp(2.5rem, 8vw, 4.5rem); line-height: 1;
  color: var(--color-tote); text-transform: uppercase; letter-spacing: 0.03em;
  -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 3px 3px 0 #000;
}
.toast span { font-weight: 800; font-size: 1.15rem; color: #fff; text-shadow: 0 2px 0 #000, 0 0 8px #000; }
.toast.show { animation: toast 3.2s var(--ease) both; }
@keyframes toast { 0% { opacity: 0; transform: translateX(-50%) scale(1.25); } 10% { opacity: 1; transform: translateX(-50%) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 1000px) {
  .hero-cards { display: none; }
}
@media (max-width: 760px) {
  .pc-rack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .pc-rack { grid-template-columns: 1fr; }
  .brand-script { font-size: 1.6rem; }
  .brand-sign { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .toast.show { animation: none; }
  .card, .card:hover { transition: none; }
}
@media (min-width: 1001px) {
  .hero-copy { max-width: min(60rem, 56vw); }
}

/* ---------- Animações ---------- */
.hero::before { background: linear-gradient(to bottom, rgba(255, 122, 61, 0.55) 0%, rgba(255, 61, 127, 0.4) 30%, rgba(42, 18, 54, 0) 62%); mix-blend-mode: overlay; }

/* Neon acende ao carregar */
.brand-script, .welcome { animation: neon-on 1.6s steps(1, end) 0.2s both; }
@keyframes neon-on {
  0% { opacity: 0.15; } 8% { opacity: 1; } 12% { opacity: 0.2; } 20% { opacity: 1; } 24% { opacity: 0.35; } 34%, 100% { opacity: 1; }
}

/* Postais do hero caem na mesa e balançam de leve */
.pc, .stamp { animation: drop 900ms var(--ease) both; }
.pc-1 { animation-delay: 150ms; } .pc-2 { animation-delay: 320ms; } .pc-3 { animation-delay: 490ms; } .stamp { animation-delay: 800ms; }
@keyframes drop { from { opacity: 0; translate: 0 -60px; scale: 1.15; } to { opacity: 1; translate: 0 0; scale: 1; } }
.hero-cards { animation: sway 9s ease-in-out 1.5s infinite alternate; }
@keyframes sway { from { rotate: -1deg; } to { rotate: 1.2deg; } }

/* Dois-pontos do relógio piscam */
.clock-digits .sep { animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Entrada no scroll */
.reveal { opacity: 0; translate: 0 28px; transition: opacity 700ms var(--ease), translate 700ms var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
.pc-rack .card.reveal { transition: opacity 700ms var(--ease), translate 700ms var(--ease), transform 300ms var(--ease); }

/* Estrela nova pulsa */
.heat i.pop { animation: pop 500ms var(--ease); }
@keyframes pop { 0% { scale: 1.8; } 100% { scale: 1; } }
.heat { font-size: 1.35rem; }

/* Botão de aposta: brilho de letreiro ao passar */
.bet-btn { position: relative; overflow: hidden; }
.bet-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); translate: -120% 0; transition: translate 600ms var(--ease); }
.bet-btn:hover::after { translate: 120% 0; }

@media (prefers-reduced-motion: reduce) {
  .brand-script, .welcome, .pc, .stamp, .hero-cards, .clock-digits .sep, .heat i.pop { animation: none; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .bet-btn::after { display: none; }
}

/* ---------- Páginas (home / board / how it works) ---------- */
.topbar nav a[aria-current="page"] { color: var(--color-text-primary); box-shadow: inset 0 -2px 0 var(--color-accent); }
.top-cta {
  font-weight: 800; text-decoration: none; padding: 0.55rem 1rem; min-height: 44px; display: inline-flex; align-items: center;
  background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius-element);
  transition: background 150ms var(--ease);
}
.top-cta:hover { background: var(--color-accent-hover); }
.topbar nav { margin-left: auto; margin-right: 1.25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.4rem;
  font-weight: 800; font-size: 1.05rem; text-decoration: none; border-radius: var(--radius-element);
  position: relative; overflow: hidden; transition: background 150ms var(--ease), transform 150ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-main { background: var(--color-accent); color: var(--color-on-accent); }
.btn-main:hover { background: var(--color-accent-hover); }
.btn-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); translate: -120% 0; transition: translate 600ms var(--ease); }
.btn-main:hover::after { translate: 120% 0; }
.btn-ghost { color: var(--color-text-primary); box-shadow: inset 0 0 0 2px var(--color-text-primary); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }

/* Placas de saída (rodovia da Flórida) */
.exits { padding: clamp(3rem, 8vw, 6rem) var(--gutter); }
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.5rem; }
.sign {
  position: relative; background: #0d6b3c; color: #fff; padding: 2.4rem 1.4rem 1.4rem; border-radius: 10px;
  box-shadow: inset 0 0 0 3px #0d6b3c, inset 0 0 0 5px #fff, 0 16px 30px rgba(0, 0, 0, 0.4);
}
.sign b { display: block; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.sign p { margin: 0.75rem 0 0; color: #e6f3ea; }
.exit-tab {
  position: absolute; top: -0.9rem; right: 1.2rem; background: var(--color-tote); color: #1a0a10;
  font-weight: 800; padding: 0.3rem 0.8rem; border-radius: 6px; box-shadow: inset 0 0 0 2px #1a0a10; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem;
}
.sign:nth-child(2) { translate: 0 14px; }
.more { margin: 2.5rem 0 0; font-weight: 700; }
.more a { color: var(--color-teal); text-underline-offset: 4px; }

/* Prévia do placar na home */
.preview-wrap { padding: 0 var(--gutter) clamp(3rem, 8vw, 6rem); }
.preview { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.pv {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 0.5rem 1.5rem; align-items: center;
  padding: 1.1rem 1.25rem; background: var(--color-background-board); border: 1px solid var(--color-line);
  border-left: 0; text-decoration: none; border-radius: var(--radius-container);
  transition: border-color 150ms var(--ease), translate 200ms var(--ease);
}
.pv:hover { border-color: var(--color-accent); translate: 4px 0; }
.pv-q { font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.pv-lead { display: grid; }
.pv-fav { font-family: var(--font-sign); font-size: 1.6rem; line-height: 1; color: var(--color-text-primary); }
.pv-none { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--color-text-muted); }
.pv-share { color: var(--color-text-muted); font-size: 0.9rem; }
.pv-pot { color: var(--color-text-muted); text-align: right; }
.pv-pot b { font-family: var(--font-tote); font-weight: 900; color: var(--color-tote); font-size: 1.8rem; }

/* Fecho da home */
.closer { padding: clamp(4rem, 10vw, 7rem) var(--gutter); text-align: center; background: linear-gradient(to bottom, var(--color-background-page), #3a1430 70%, #5a1c35); }
.closer h2 { max-width: 46rem; margin-inline: auto; }
.closer p { color: var(--color-text-muted); margin: 0 auto 2rem; max-width: 36rem; }
.closer .welcome { color: var(--color-accent); transform: rotate(-3deg); transform-origin: center; margin-bottom: 0.5rem; text-shadow: 0 0 10px rgba(255, 61, 127, 0.45); }

/* Cabeçalho das páginas internas */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-family: var(--font-sign); font-weight: 400; font-size: clamp(2.75rem, 7vw, 5rem); line-height: 1; margin: 0 0 1rem; }
.page-head .lede a { color: var(--color-teal); font-weight: 700; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; }
.board-head .lede { margin: 0; }
.head-stats { display: grid; gap: 0.25rem; }
.head-stats .clock { margin: 0; }
.head-stats .clock-digits { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.head-stats .pot-line { margin: 0; color: var(--color-text-muted); }
.board-head + .stripes + .tape + main .board-wrap { padding-top: clamp(2rem, 5vw, 3rem); }

.how-head { position: relative; display: grid; align-items: end; min-height: min(62vh, 560px); overflow: hidden; }
.head-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.how-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 13, 16, 0.97) 5%, rgba(20, 13, 16, 0.55) 55%, rgba(255, 61, 127, 0.15)); }
.how-copy { position: relative; z-index: 1; max-width: 44rem; }
.exits-big { padding-bottom: clamp(3rem, 6vw, 4rem); }

/* Perguntas */
.faq { padding: clamp(3rem, 8vw, 6rem) var(--gutter); border-top: 1px solid var(--color-line); }
.faq details { max-width: 48rem; border-bottom: 1px solid var(--color-line); }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 800; font-size: 1.15rem; min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-tote); font-weight: 900; color: var(--color-accent); font-size: 1.5rem; line-height: 1; transition: rotate 200ms var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 1.25rem; color: var(--color-text-muted); max-width: 42rem; }

/* Dica de tela de loading */
.tip { margin: 0; padding: 0.9rem var(--gutter); background: #000; color: var(--color-text-muted); font-size: 0.95rem; border-top: 1px solid var(--color-line); min-height: 3.2rem; }
.tip b { color: var(--color-tote); margin-right: 0.25rem; }
.tip-in { animation: tip-in 500ms var(--ease); }
@keyframes tip-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 860px) {
  .signs { grid-template-columns: 1fr; gap: 1.75rem; }
  .sign:nth-child(2) { translate: none; }
  .pv { grid-template-columns: minmax(0, 1fr) auto; }
  .pv-q { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .topbar nav a:first-child { display: none; }
  .topbar nav { gap: 0.9rem; margin-right: 0.75rem; }
  .ctas .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .top-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tip-in { animation: none; }
  .btn-main::after { display: none; }
  .pv, .pv:hover { transition: none; translate: none; }
}
@media (max-width: 560px) {
  .h2-tag { display: block; margin: 0.4rem 0 0; white-space: normal; }
}

/* Odd abaixo de x1: quem acerta recebe menos do que apostou */
.odd.under { color: var(--color-late); }
.odd.under small { color: var(--color-late); font-weight: 700; }

/* X e CA do token */
.top-x { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: 0.5rem; color: var(--color-text-primary); border-radius: var(--radius-element); transition: background 150ms var(--ease); }
.top-x:hover { background: rgba(255, 255, 255, 0.08); }
.token-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.25rem var(--gutter); background: var(--color-background-surface); border-top: 1px solid var(--color-line); }
.tb-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; min-width: 0; }
.tb-label, .hero-ca span { font-weight: 800; color: var(--color-tote); }
.ca-text { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 400; color: var(--color-text-primary); overflow-wrap: anywhere; font-size: 0.95rem; }
.ca-copy:disabled { opacity: 0.45; cursor: not-allowed; }
.tb-x { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.55rem 1.1rem; font-weight: 800; text-decoration: none; color: var(--color-text-primary); box-shadow: inset 0 0 0 2px var(--color-text-primary); border-radius: var(--radius-element); transition: background 150ms var(--ease); }
.tb-x:hover { background: rgba(255, 255, 255, 0.08); }
.hero-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin: -1rem 0 1.75rem; font-size: 0.95rem; }
.hero-ca .copy { min-height: 36px; padding: 0.3rem 0.8rem; font-size: 0.9rem; }
@media (max-width: 400px) { .top-x { margin-right: 0; } }
