/* PokerThangs marketing site v2 */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
/* Wordmark: one unbroken word. No glyph, no flex gap, no extra tracking
   between "Poker" and "Thangs", so the pair reads as PokerThangs. */
.brand {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand em {
  color: var(--red);
  font-style: normal;
  margin: 0;
  padding: 0;
  letter-spacing: inherit;
}
.nav-menu { margin-left: auto; }
.nav-toggle { display: none; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--bg); }
.nav-links .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -180px;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, var(--red-glow), transparent 62%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  margin: 20px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { font-size: 19px; color: var(--text-2); max-width: 46ch; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-3);
}
.hero-proof span::before { content: "✓"; color: var(--green); margin-right: 7px; font-weight: 700; }

/* Product mock — the signature */
.mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-deep), 0 0 80px rgba(255, 70, 85, 0.08);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.mock-bar .dot:first-child { background: var(--red); }
.mock-bar .title { margin-left: 8px; font: 600 12.5px var(--font-body); color: var(--text-3); letter-spacing: 0.04em; }
.mock-bar .live {
  margin-left: auto;
  font: 700 10.5px var(--font-body);
  letter-spacing: 0.14em;
  color: var(--red);
  background: var(--red-tint);
  border: 1px solid var(--red-line);
  border-radius: 999px;
  padding: 3px 10px;
}
.mock-body { padding: 26px 26px 24px; }
.mock-street { font: 600 11px var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.mock-board { display: flex; gap: 8px; margin-bottom: 20px; }
.mock-pot { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mock-pot .sum { font: 700 15px var(--font-mono); color: var(--text-2); }
.mock-pot .total { font: 700 34px var(--font-mono); color: var(--text); letter-spacing: -0.03em; }
.mock-pot .total b { color: var(--red); }
.mock-facts { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.fact-pill {
  font: 600 12.5px var(--font-mono);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.fact-pill b { color: var(--text); }
.fact-pill.hot { color: var(--red-hot); border-color: var(--red-line); background: var(--red-tint); }
.mock-timer { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-bottom: 18px; }
.mock-timer i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-hot));
  animation: drain 9s linear infinite;
  transform-origin: left;
}
@keyframes drain { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.mock-actions { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; }
.mock-actions .act {
  text-align: center;
  font: 600 14px var(--font-body);
  padding: 12px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.mock-actions .act.primary {
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  border-color: transparent;
  color: var(--bg);
  box-shadow: 0 8px 20px var(--red-glow);
}
.float-chip {
  position: absolute;
  font: 600 12px var(--font-mono);
  color: var(--text-2);
  background: rgba(20, 22, 30, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}
.float-chip b { color: var(--green); }
.float-chip.f1 { top: -17px; right: -14px; }
.float-chip.f2 { bottom: -17px; left: -14px; }

/* Stat band */
.stat-band {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-band > div { padding: 22px 10px; text-align: center; }
.stat-band > div + div { border-left: 1px solid var(--line); }
.stat-band .n { font: 700 30px var(--font-display); color: var(--text); letter-spacing: -0.03em; display: block; }
.stat-band .n em { color: var(--red); font-style: normal; }
.stat-band .l { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.tint { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head p { color: var(--text-2); font-size: 17px; margin: 14px 0 0; }
.section-head .eyebrow { margin-bottom: 14px; }

/* Pot math strip */
.pot-strip {
  padding: 28px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.pot-strip .term {
  font: 700 18px var(--font-mono);
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 13px;
  line-height: 1.2;
}
.pot-strip .term small { display: block; font: 500 10.5px var(--font-body); color: var(--text-3); letter-spacing: 0.05em; margin-top: 2px; }
.pot-strip .op { color: var(--red); font: 700 18px var(--font-mono); }
.pot-strip .total { color: var(--red-hot); font: 700 26px var(--font-mono); }
.pot-strip .caption { width: 100%; font-size: 14px; color: var(--text-3); margin-top: 8px; }

/* Photo feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.photo-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-deep); }
.photo-card .img-wrap { position: relative; overflow: hidden; }
.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
@supports not (aspect-ratio: 16 / 9) {
  .photo-card img { height: 200px; }
}
.photo-card:hover img { transform: scale(1.045); }
.photo-card .drill-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font: 700 10.5px var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 12, 16, 0.72);
  border: 1px solid var(--red-line);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 5px 11px;
}
.photo-card .drill-tag::before { content: "●"; color: var(--red); margin-right: 6px; font-size: 8px; vertical-align: 1px; }
.photo-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.photo-card h3 { font-size: 20px; margin-bottom: 6px; }
.photo-card p { color: var(--text-2); font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.photo-card .go { font: 600 14px var(--font-body); color: var(--red-hot); }
.photo-card .go::after { content: " →"; transition: margin 0.15s; }
.photo-card:hover .go::after { margin-left: 4px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 36px 0; }
.split img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-soft); display: block; }
.split h3 { font-size: 28px; }
.split p { color: var(--text-2); }
.split ul { color: var(--text-2); padding-left: 0; list-style: none; }
.split ul li { margin: 12px 0; padding-left: 26px; position: relative; }
.split ul li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.split ul b { color: var(--text); }

/* Mini framework accordion mock */
.fw-mock { display: flex; flex-direction: column; gap: 10px; }
.fw-mock .row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
}
.fw-mock .row.open { border-color: var(--red-line); box-shadow: 0 0 32px rgba(255, 70, 85, 0.08); }
.fw-mock .idx {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 700 13px var(--font-mono);
  color: var(--red-hot);
  background: var(--red-tint);
  border: 1px solid var(--red-line);
}
.fw-mock .t { font: 700 15.5px var(--font-display); letter-spacing: -0.01em; }
.fw-mock .s { margin-left: auto; font: 600 12px var(--font-mono); color: var(--text-3); }
.fw-mock .row .body { display: none; }
.fw-mock .row.open { flex-wrap: wrap; }
.fw-mock .row.open .body { display: block; width: 100%; padding: 10px 0 2px 44px; color: var(--text-2); font-size: 14px; }
.fw-mock .row.open .body b { color: var(--text); }

/* Effective stacks visual */
.eff-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eff-bars { display: flex; align-items: flex-end; gap: 36px; height: 300px; padding: 0 20px; }
.eff-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; justify-content: flex-end; }
.eff-bar .col {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--line-strong);
  position: relative;
}
.eff-bar.you .col { background: linear-gradient(180deg, #2a2e3d, var(--surface-2)); }
.eff-bar.danger .col { border-color: var(--red-line); box-shadow: 0 0 40px rgba(255, 70, 85, 0.15); }
.eff-bar .cap {
  position: absolute;
  left: -14px; right: -14px;
  top: 0;
  border-top: 2px dashed var(--red);
}
.eff-bar .cap span {
  position: absolute;
  left: 0;
  top: -28px;
  font: 700 11px var(--font-mono);
  color: var(--red-hot);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.eff-visual h3 { font-size: clamp(26px, 3.4vw, 38px); }
.eff-bar .amt { font: 700 20px var(--font-mono); color: var(--text); }
.eff-bar .who { font-size: 12.5px; color: var(--text-3); font-weight: 600; letter-spacing: 0.04em; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { padding: 30px 28px 28px; display: flex; flex-direction: column; position: relative; }
.tier.featured { border-color: var(--red-line); box-shadow: 0 0 60px rgba(255, 70, 85, 0.12), var(--shadow-soft); }
.tier .flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  color: var(--bg);
  font: 700 11px var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--red-glow);
}
.tier h3 { font-size: 22px; margin-bottom: 2px; }
.tier .who { color: var(--text-3); font-size: 13.5px; min-height: 40px; }
.tier .price { font: 700 44px var(--font-display); letter-spacing: -0.03em; color: var(--text); margin: 14px 0 2px; }
.tier .price small { font: 500 15px var(--font-body); color: var(--text-3); letter-spacing: 0; }
.tier .annual { font-size: 12.5px; color: var(--red-hot); margin-bottom: 18px; font-weight: 600; }
.tier ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.tier ul li {
  padding: 9px 0 9px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--text-2);
  position: relative;
}
.tier ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
/* Was opacity 0.38 on --text-2, which composited to 2.23:1. An explicitly
   dimmer ink keeps the "not included" read at 5.39:1 on --surface-2. */
.tier ul li.no { color: var(--text-3); }
.tier ul li.no::before { content: "—"; color: var(--text-3); }
.tier .btn { width: 100%; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  margin-bottom: 10px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font: 600 15.5px var(--font-body);
  color: var(--text);
  display: flex;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--red); font: 500 22px var(--font-display); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 18px; color: var(--text-2); font-size: 14.5px; }

/* CTA band */
.cta-band {
  position: relative;
  margin: 20px 0 90px;
  padding: 64px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(560px 240px at 50% -60px, rgba(255, 70, 85, 0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { color: var(--text-2); max-width: 54ch; margin: 12px auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 38px 0 48px; color: var(--text-3); font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer a { color: var(--text-2); margin-left: 18px; font-weight: 500; }
.footer a:hover { color: var(--text); }
/* Was opacity 0.7 on --text-3, which composited to 2.51:1. */
.footer .fine { width: 100%; margin-top: 14px; font-size: 12px; color: var(--text-3); }

/* Page hero (inner pages) */
.page-hero { padding: 76px 0 8px; position: relative; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); max-width: 21ch; }
.page-hero .lede { font-size: 18px; color: var(--text-2); max-width: 64ch; }
.page-hero .eyebrow { margin-bottom: 16px; }

/* Compare table */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare th, .compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 15px;
}
.compare thead th {
  background: var(--surface-2);
  font: 700 15px var(--font-display);
  letter-spacing: 0;
  color: var(--text);
}
.compare thead th:last-child { color: var(--red-hot); }
.compare tbody th { width: 22%; color: var(--text); font-weight: 600; background: rgba(255, 255, 255, 0.015); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare td.them { color: var(--text-3); }
.compare td.us { color: var(--text-2); background: var(--red-tint); }
.compare td.us b { color: var(--text); }

/* Guides & articles */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { max-width: 760px; margin: 0 auto; padding: 10px 0 30px; }
.article-hero {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  margin: 30px 0 38px;
  display: block;
}
@supports not (aspect-ratio: 21 / 9) {
  .article-hero { height: 300px; }
}
.article h2 { font-size: 27px; margin-top: 46px; }
.article p, .article li { color: var(--text-2); font-size: 16.5px; line-height: 1.85; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 9px 0; }
.article b { color: var(--text); }
.article .callout {
  border-left: 3px solid var(--red);
  background: var(--red-tint);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 28px 0;
}
.article .callout p { margin: 0; }
.article-meta { display: flex; gap: 14px; color: var(--text-3); font-size: 13px; margin-top: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.article-next {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.noanim .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { padding: 56px 0 48px; }
  .hero-grid, .split, .eff-visual { grid-template-columns: 1fr; gap: 34px; }
  .hero-grid > *, .split > * { min-width: 0; }
  .cards-3, .guide-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .split.flip .split-img { order: -1; }

  /* Nav becomes a real disclosure menu. The links used to be display:none here
     with nothing to open them, so header navigation was unreachable on phones
     and tablets. */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    min-width: 44px;
    padding: 10px 18px;
    border: 1px solid var(--line-control);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text);
    font: 600 14.5px/1 var(--font-body);
    cursor: pointer;
    list-style: none;
  }
  .nav-toggle::-webkit-details-marker { display: none; }
  .nav-toggle::after {
    content: "";
    width: 13px;
    height: 2px;
    background: var(--red);
    box-shadow: 0 -5px 0 var(--red), 0 5px 0 var(--red);
  }
  .nav-menu[open] .nav-toggle::after {
    height: 13px;
    background: none;
    box-shadow: none;
    color: var(--red);
    font: 700 15px/13px var(--font-body);
    content: "\00d7";
    text-align: center;
  }
  .nav-menu > .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 24px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-deep);
  }
  .nav-menu > .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu > .nav-links a.btn {
    justify-content: center;
    margin-top: 14px;
    border-bottom: none;
    font-size: 15px;
  }

  /* 44px minimum tap targets. .btn measured 43px and footer links ~17px. */
  .btn { min-height: 44px; }
  .footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-inner .fine { margin-top: 6px; }

  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band > div:nth-child(3) { border-left: none; }
  .stat-band > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .float-chip { display: none; }
  .eff-bars { height: 220px; gap: 18px; }
  .compare { display: block; overflow-x: auto; }
  .section { padding: 64px 0; }
}

/* ===========================================================================
   v3 — the energy layer. Everything below was added in the 2026-07-22 round
   that turned the homepage from a static pitch into a table you can watch and
   a drill you can play. Brand rules unchanged: graphite surfaces, chip red as
   the only UI accent. The colour that DOES appear here is deck-and-denomination
   realism — four-colour card faces and real chip colours — never UI chrome.
   =========================================================================== */

/* ---------- Hero, live-table edition ---------- */
.hero-live { padding: 72px 0 40px; }
.hero-top { text-align: center; max-width: 780px; margin: 0 auto; }
.hero-top .lede { margin-left: auto; margin-right: auto; }
.hero-top .hero-ctas { justify-content: center; }
.hero-proof.center { justify-content: center; display: flex; gap: 18px; flex-wrap: wrap; margin: 26px 0 0; }

.hero-felt-wrap { position: relative; margin-top: 44px; }

/* The felt itself: same graphite-oval language as the app's mini-felt, scaled
   up to be the hero. If this ever drifts from css/app.css .mini-felt, the
   marketing stops looking like the product — keep them visually related. */
.hero-felt {
  position: relative;
  height: 480px;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 240px;
  background: radial-gradient(62% 92% at 50% 30%, #1e2232, var(--surface) 72%, #0e1017);
  border: 1px solid var(--line-strong);
  box-shadow:
    inset 0 18px 60px rgba(0, 0, 0, 0.5),
    inset 0 -8px 34px rgba(255, 70, 85, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.45);
}
.hero-felt::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 226px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
/* A whisper of rail light so the oval doesn't read as a void on big screens. */
.hero-felt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(46% 30% at 50% 0%, rgba(255, 70, 85, 0.07), transparent 70%);
  pointer-events: none;
}

.hf-seat {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 132px;
  /* No standing filter/opacity transition here: it pins every seat to its own
     compositing layer, which the capture path renders as a faint column of
     lifted black. The fold eases via a one-shot animation instead, like the
     app's .mf-seat. */
}
.hf-seat.folded { animation: hfFold 0.35s ease-out both; }
@keyframes hfFold { to { opacity: 0.32; filter: grayscale(0.75); } }
.hf-hole { display: flex; gap: 3px; margin-bottom: -7px; position: relative; z-index: 1; }
.hf-hole .pcard { width: 30px; height: 42px; border-radius: 5px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.55); }
.hf-hole .pcard .rank { font-size: 16px; }
.hf-hole .pcard .suit { font-size: 9px; }
.hf-plate {
  background: rgba(10, 12, 18, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 5px 10px;
  min-width: 52px;
}
.hf-seat.hero .hf-plate {
  border-color: var(--red-line);
  box-shadow: 0 0 0 1px var(--red-line), 0 6px 18px rgba(0, 0, 0, 0.45);
}
.hf-plate > span { display: block; }
.hf-who { font: 700 12.5px var(--font-body); color: var(--text); }
.hf-who .hf-pos { display: inline; font: 700 10px var(--font-mono); color: var(--red-hot); margin-left: 5px; }
.hf-tag { font: 600 10px var(--font-body); color: var(--text-3); margin-top: 1px; }

/* Action pills land under the plate at their JS-driven step. */
.hf-pill {
  margin-top: 4px;
  font: 700 11px var(--font-mono);
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(7px) scale(0.92);
}
.hf-pill.on { animation: hfIn 0.32s ease-out both; }
.hf-pill.k-bet, .hf-pill.k-raise, .hf-pill.k-jam, .hf-pill.k-open, .hf-pill.k-straddle { border-color: var(--red-line); color: var(--red-hot); }
.hf-pill.ghost { border-style: dashed; border-color: var(--red); color: var(--red-hot); background: var(--red-tint); }
.hf-pill.k-fold { color: var(--text-3); background: none; }
@keyframes hfIn {
  from { opacity: 0; transform: translateY(7px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

/* Bet chips: real denominations tossed toward the middle. Decoration only —
   the pill carries the number. */
.hf-bet {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
}
.hf-bet.on { animation: hfChip 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1) both; }
.hf-bet .chip { width: 20px; height: 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.hf-bet .chip + .chip { margin-left: -13px; }
.hf-bet .amt { font: 700 11px var(--font-mono); color: var(--text-2); }
@keyframes hfChip {
  from { opacity: 0; transform: translate(-50%, -50%) translateY(-16px) scale(0.7); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.hf-board {
  position: absolute;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hf-board .pcard { width: 40px; height: 56px; border-radius: 6px; opacity: 0; }
.hf-board .pcard.on { animation: hfCard 0.34s cubic-bezier(0.2, 0.8, 0.3, 1.08) both; }
@keyframes hfCard {
  from { opacity: 0; transform: translateY(-14px) rotate(-5deg) scale(0.82); }
  to { opacity: 1; transform: none; }
}
.hf-street {
  font: 700 10.5px var(--font-body);
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-left: 8px;
  text-transform: uppercase;
}

.hf-pot {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.hf-pot .hf-label { display: block; font: 600 10px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.hf-pot .hf-amount { font: 700 30px var(--font-mono); color: var(--red-hot); letter-spacing: -0.02em; text-shadow: 0 0 24px rgba(255, 70, 85, 0.35); }
.hf-pot .hf-chips { display: flex; justify-content: center; gap: 3px; margin-top: 3px; min-height: 16px; }
.hf-pot .hf-chips .chip { width: 16px; height: 16px; }

/* The question the hand leaves hanging, centred under the pot. */
.hf-ask {
  position: absolute;
  left: 50%;
  /* 70%: below the pot block (58% + chip row), above the hero's bet spot
     (~75%) — the one lane where it overlaps nothing. */
  top: 70%;
  transform: translate(-50%, -50%);
  font: 700 12.5px var(--font-mono);
  color: var(--red-hot);
  background: var(--red-tint);
  border: 1px dashed var(--red);
  border-radius: 999px;
  padding: 6px 16px;
  white-space: nowrap;
  opacity: 0;
}
/* .hf-ask is centred by a translate its entrance must PRESERVE — ending on
   "transform: none" would pin it to its top-left anchor and shove it off
   centre, the exact trap css/app.css documents for .mf-in. Own keyframes. */
.hf-ask.on { animation: hfAskIn 0.32s ease-out both; }
@keyframes hfAskIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 7px)) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.hf-pillbox { display: flex; flex-direction: column; align-items: center; gap: 2px; }

/* ---------- Ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
  overflow: hidden;
  white-space: nowrap;
  padding: 11px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-raise), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-raise), transparent); }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  animation: tickerRoll 46s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { font: 600 13px var(--font-mono); color: var(--text-3); letter-spacing: 0.01em; }
.ticker-track i { font-style: normal; font-size: 11px; color: var(--red); opacity: 0.8; }
@keyframes tickerRoll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Reduced motion: the global rule crushes the duration; also stop the loop so
   the strip just sits still and readable. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- Prove It: the playable strip ---------- */
.prove-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}
.prove-head > div:first-child { max-width: 640px; }
.streak-box {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 28px 16px;
  min-width: 150px;
}
.streak-label { font: 700 10.5px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.streak-n { font: 700 40px var(--font-mono); color: var(--red-hot); letter-spacing: -0.03em; line-height: 1.1; text-shadow: 0 0 24px rgba(255, 70, 85, 0.3); }
.streak-dots { display: flex; gap: 6px; margin-top: 4px; }
.streak-dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
}
.streak-dots i.hit { background: var(--red); border-color: var(--red); box-shadow: 0 0 10px var(--red-glow); }
.streak-dots i.miss { background: none; border-color: var(--line-strong); position: relative; }

.quiz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quiz-card { padding: 20px 20px 18px; display: flex; flex-direction: column; min-height: 320px; }
.qz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.qz-kind { font: 700 10.5px var(--font-body); letter-spacing: 0.15em; text-transform: uppercase; color: var(--red-hot); }
.qz-num { font: 600 11px var(--font-mono); color: var(--text-3); }
.qz-q { font: 600 15.5px var(--font-body); color: var(--text); line-height: 1.5; margin: 0 0 14px; }
.qz-q .money { color: var(--red-hot); }
.qz-visual { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin: 2px 0 16px; min-height: 64px; }
.qz-visual .chipset { --chip-w: 26px; --chip-num: 8px; }
.qz-visual .qv-cards { display: flex; gap: 5px; }
.qz-visual .qv-cards .pcard { width: 34px; height: 48px; border-radius: 5px; }
.qz-visual .qv-cards .pcard .rank { font-size: 18px; }
.qz-visual .qv-cards .pcard .suit { font-size: 10px; }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.qz-opts button {
  font: 700 15px var(--font-mono);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-control);
  border-radius: 10px;
  padding: 11px 8px;
  min-height: 44px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.qz-opts button:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.05); transform: translateY(-1px); }
.qz-opts button:disabled { cursor: default; transform: none; }
.qz-opts button.correct {
  border-color: var(--green-line);
  background: var(--green-tint);
  color: var(--green);
  box-shadow: 0 0 22px rgba(46, 212, 126, 0.18);
}
.qz-opts button.wrong { border-color: var(--red-line); background: var(--red-tint); color: var(--red-hot); }
.qz-opts button.dim { opacity: 0.45; }
.qz-verdict { min-height: 44px; margin: 12px 0 0; font: 600 13.5px var(--font-body); color: var(--text-2); line-height: 1.5; }
.qz-verdict b.win { color: var(--green); }
.qz-verdict b.lose { color: var(--red-hot); }
.qz-again {
  margin-top: 10px;
  font: 600 13.5px var(--font-body);
  color: var(--red-hot);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  text-align: left;
  display: none;
}
.qz-again.show { display: inline-block; }
.qz-again:hover { color: var(--red); }
.prove-foot { color: var(--text-2); font-size: 15px; margin: 26px 0 0; }
.prove-foot a { color: var(--red-hot); font-weight: 600; }

/* Confetti: suit glyphs and chip dots thrown from the answered card. The
   pieces are deck colours (card faces), not UI accents. */
.cf-root { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.cf {
  position: absolute;
  font: 700 14px var(--font-display);
  will-change: transform, opacity;
  animation: cfFly 0.9s cubic-bezier(0.16, 0.7, 0.35, 1) both;
}
.cf.dot { width: 8px; height: 8px; border-radius: 50%; }
@keyframes cfFly {
  from { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  70% { opacity: 1; }
  to { opacity: 0; transform: translate(var(--dx, 0px), var(--dy, -80px)) rotate(var(--rot, 180deg)) scale(0.8); }
}

/* ---------- The Regulars ---------- */
.villain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.villain { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.villain:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-deep); }
.v-ph {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, #262b3c, var(--surface) 78%);
  border-bottom: 1px solid var(--line);
}
@supports not (aspect-ratio: 5 / 4) { .v-ph { height: 210px; } }
.v-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.villain:hover .v-ph img { transform: scale(1.05); }
.v-mono {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 64px var(--font-display);
  letter-spacing: -0.04em;
  color: rgba(255, 70, 85, 0.28);
  text-shadow: 0 0 60px rgba(255, 70, 85, 0.25);
}
.v-ph::after {
  content: "♠\FE0E ♥\FE0E ♦\FE0E ♣\FE0E";
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.16);
}
.v-body { display: flex; flex-direction: column; padding: 18px 20px 20px; gap: 6px; flex: 1; }
.v-name { font: 700 19px var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.v-arch { font: 700 10.5px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-hot); }
.v-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.v-tags i {
  font: 600 11.5px var(--font-body);
  font-style: normal;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.v-beat { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-top: 4px; }
.v-beat b { color: var(--text); }

/* ---------- Math Suite ---------- */
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.suite-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 20px 18px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.suite-tile:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.suite-tile.wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 18px; }
.suite-tile.wide .s-line { margin-left: auto; text-align: right; max-width: 46ch; }
/* Suit-card glyphs: each drill wears a mini card face. Deck colours, on
   card-shaped tiles, so they read as cards — not as new UI accents. */
.s-glyph {
  width: 40px;
  height: 54px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font: 700 19px var(--font-display);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  margin-bottom: 6px;
  flex: 0 0 auto;
}
.s-glyph.g-s { background: linear-gradient(170deg, #333947, #21242e); }
.s-glyph.g-h { background: linear-gradient(170deg, #ff5b66, #d63440); }
.s-glyph.g-d { background: linear-gradient(170deg, #4b83ff, #2c5cd8); }
.s-glyph.g-c { background: linear-gradient(170deg, #2cc072, #1a9a55); }
.s-glyph.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Empty <i> cells have no content to size them — without explicit rows the
     whole 13x13 mark collapses to a blank card. */
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 7px 6px;
  background: linear-gradient(170deg, #333947, #21242e);
}
.s-glyph.g-grid i { background: rgba(255, 255, 255, 0.35); border-radius: 1.5px; }
.s-glyph.g-grid i:nth-child(1), .s-glyph.g-grid i:nth-child(5), .s-glyph.g-grid i:nth-child(9) { background: var(--red); }
.s-name { font: 700 16.5px var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.s-line { font-size: 13.5px; color: var(--text-2); }

/* ---------- Villain reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; padding: 26px 28px 22px; }
.review blockquote { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: var(--text); font-style: normal; }
.review figcaption { font: 600 13px var(--font-body); color: var(--text-3); }
.review figcaption i { color: var(--red-hot); font-style: normal; font-weight: 700; }
.r-suit { color: var(--red); margin-right: 6px; }
.review-fine { margin: 22px 0 0; font-size: 13.5px; color: var(--text-3); text-align: center; }

/* ---------- CTA band flourishes ---------- */
.cta-cards { display: inline-flex; gap: 0; margin-bottom: 18px; }
.cta-cards .pcard:first-child { transform: rotate(-9deg) translateX(6px); }
.cta-cards .pcard:last-child { transform: rotate(8deg) translateX(-6px); }
.btn-lg { padding: 16px 34px; font-size: 16.5px; }

/* ---------- Free nav accent ---------- */
.nav-links a.nav-free { color: var(--red-hot); font-weight: 700; position: relative; }
.nav-links a.nav-free::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-left: 6px;
  vertical-align: 2px;
  box-shadow: 0 0 8px var(--red-glow);
  animation: freePulse 2.2s ease-in-out infinite;
}
@keyframes freePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Responsive for the v3 layer ---------- */
@media (max-width: 920px) {
  .hero-live { padding: 48px 0 32px; }
  .hero-felt { height: 400px; border-radius: 200px; }
  .quiz-grid { grid-template-columns: 1fr; }
  .quiz-card { min-height: 0; }
  .prove-head { flex-direction: column; align-items: flex-start; }
  .streak-box { flex-direction: row; gap: 14px; align-items: center; padding: 12px 20px; min-width: 0; }
  .streak-n { font-size: 26px; }
  .villain-grid { grid-template-columns: repeat(2, 1fr); }
  .suite-grid { grid-template-columns: repeat(2, 1fr); }
  .suite-tile.wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .suite-tile.wide .s-line { margin-left: 0; text-align: left; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero-felt { height: 330px; border-radius: 165px; }
  .hero-felt::before { inset: 10px; border-radius: 155px; }
  /* .hf-plate > span sets display:block at 0-1-1; plain .hf-tag (0-1-0)
     loses to it, so the hide needs the extra class. */
  .hf-plate > .hf-tag { display: none; }
  .hf-who { font-size: 10.5px; }
  .hf-plate { padding: 3px 7px; }
  .hf-pill { font-size: 9px; padding: 2px 7px; }
  .hf-hole .pcard { width: 22px; height: 31px; }
  .hf-hole .pcard .rank { font-size: 12px; }
  .hf-hole .pcard .suit { font-size: 7px; }
  .hf-board .pcard { width: 30px; height: 42px; }
  .hf-board .pcard .rank { font-size: 14px; }
  .hf-pot .hf-amount { font-size: 22px; }
  .hf-ask { font-size: 11px; top: 71%; }
  .villain-grid { grid-template-columns: 1fr; }
  .suite-grid { grid-template-columns: 1fr; }
  .suite-tile.wide { grid-column: span 1; }
  .cards-3 .drill-tag { font-size: 9.5px; }
}

/* Early-access banner on pricing: the honest header over the planned tiers. */
.early-band {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  margin-bottom: 28px;
  border-color: var(--red-line);
  box-shadow: 0 0 44px rgba(255, 70, 85, 0.1);
}
.early-band .eb-flag {
  flex: 0 0 auto;
  font: 700 11px var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 6px 18px var(--red-glow);
}
.early-band p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.early-band p b { color: var(--text); }
@media (max-width: 620px) { .early-band { flex-direction: column; align-items: flex-start; gap: 10px; } }
