/* ==========================================================================
   BeyondPlay — "floodlight amber"
   A live football scores + match-prediction app, recolored to the brand's own
   real identity: a white wordmark on a near-black pitch-at-night backdrop,
   with a gold-to-burnt-orange gradient as the single call-to-action / scoring
   accent and a hot-red "LIVE" pulse for urgency. Palette sampled directly from
   the brand's live landing page CSS:

     CTA gradient     #f7be00 -> #f99000 -> #fb6300   (buttons, numbers, marks)
     live/urgent red  #fe1900                          (LIVE badge, pulsing dot)
     strike/muted     #a39a91                          (struck-through copy)
     backdrop         #0d0b0a -> #070605               (page background)
     primary text     #f2ece6

   Aesthetic direction: energetic sports-app, not mystical/celestial (this
   repo's other gold-accented sites lean soft-glow/cosmic; this one is a
   stadium floodlight at night - sharper contrast, harder edges, a hot red
   accent for urgency). Signature element: the hero's static "predictor card"
   widget on a gold pitch-arc backdrop, echoing the product's own hero art.

   Shape rule (applied everywhere, no exceptions):
     primary interactive (.btn)      -> full pill radius
     small pills/chips/badges        -> full radius (pill)
     cards / tiles / inputs          -> var(--radius)     14px
     large feature surfaces          -> var(--radius-lg)  24px

   Theme: dark, locked. No section inverts to a light background.
   ========================================================================== */

:root {
  /* brand - sampled directly from BeyondPlay's own landing page CSS */
  --gold-1: #f7be00;
  --amber-2: #f99000;
  --burnt-3: #fb6300;
  --accent-rgb: 251, 99, 0;

  --live: #fe1900;
  --live-rgb: 254, 25, 0;

  /* semantic */
  --accent: #f99000;           /* amber - CTAs, numbers, highlighted words */
  --accent-2: #fb6300;         /* burnt orange - hover variety, gradients */
  --mark-bg: #f7be00;          /* highlighted-word mark background */
  --mark-text: #1a0a00;        /* text on gold / on the CTA gradient */
  --strike: #a39a91;           /* muted warm grey for struck-through copy */
  --grad: linear-gradient(135deg, var(--gold-1) 0%, var(--amber-2) 45%, var(--burnt-3) 100%);

  --bg: #0d0b0a;
  --bg-alt: #070605;
  --surface: #171310;
  --surface-2: #120f0c;
  --text: #f2ece6;
  --muted: #b9afa6;
  --border: rgba(247, 190, 0, 0.14);
  --border-strong: rgba(247, 190, 0, 0.28);
  --danger: #ff5c4d;
  --success: #35d48a;

  --radius: 14px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 24px 54px -22px rgba(0, 0, 0, 0.85);
  --shadow-sm: 0 12px 28px -16px rgba(0, 0, 0, 0.75);
  --glow: 0 0 0 1px rgba(var(--accent-rgb), 0.32), 0 18px 40px -16px rgba(var(--accent-rgb), 0.45);

  --card-glow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 30px rgba(var(--accent-rgb), 0.05);
  --card-glow-hover: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4), inset 0 0 36px rgba(var(--accent-rgb), 0.14);

  --header-h: 72px;
  --wrap: 1180px;

  --font-display: 'Poppins', 'Prompt', 'Noto Sans Thai', sans-serif;
  --font-body: 'Poppins', 'Noto Sans Thai', system-ui, sans-serif;
}

/* ── reset / base ───────────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* ambient glow: a floodlight bleeding in from the top-right, a hot-red
     wash low on the left, over a near-black pitch-at-night gradient. */
  background-image:
    radial-gradient(ellipse 55% 42% at 100% 0%, rgba(var(--accent-rgb), 0.16), transparent 62%),
    radial-gradient(ellipse 50% 40% at 0% 85%, rgba(var(--live-rgb), 0.1), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-repeat: no-repeat;
  background-attachment: fixed, fixed, fixed;
}

header, main, .site-footer { position: relative; z-index: 1; }

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

figure { margin: 0; }

a { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 3.3rem); line-height: 1.14; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

mark {
  display: inline-block;
  background: var(--mark-bg);
  color: var(--mark-text);
  padding: 0 0.18em;
  margin: 0 0.1em;
  border-radius: 6px;
  line-height: 1.1;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
s {
  position: relative;
  color: var(--strike);
  text-decoration: none;
  font-weight: 500;
}
s::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 54%;
  height: 4px;
  border-radius: 2px;
  background: var(--live);
  transform: rotate(-3deg);
}

.container { width: min(var(--wrap), 92vw); margin-inline: auto; }
.container-narrow { width: min(760px, 92vw); margin-inline: auto; }

.section { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section.tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section > .container { position: relative; z-index: 1; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.measure-wide { max-width: 80ch; }
.section-head h2 {
  position: relative;
  padding-bottom: 0.6rem;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 54px; height: 4px;
  border-radius: 4px;
  background: var(--grad);
}
.section-head p { color: var(--muted); margin: 0.6rem 0 0; }
.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.section-head-split > div { flex: 1 1 320px; }
.section-head-split .badge-pill { flex-shrink: 0; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

/* ── buttons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn::after { content: '\2192'; transition: transform 0.18s ease; }
.btn-primary {
  background: var(--grad);
  color: var(--mark-text);
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),0.5), 0 24px 48px -16px rgba(var(--accent-rgb),0.55); }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); background: rgba(var(--accent-rgb), 0.08); }
.btn-outline:active { transform: scale(0.98); }

.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-lg::after { content: '\2192'; }

/* ── header / nav ──────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  direction: ltr;
  background: rgba(13, 11, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 28px; width: auto; display: block; }

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav-desktop a:not(.btn),
.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.site-nav-desktop a:not(.btn):hover,
.site-nav a:not(.btn):hover { color: var(--accent); }
.site-nav-desktop a.active,
.site-nav a.active { color: var(--accent); }

.lang-switcher { display: flex; align-items: center; gap: 0.35rem; }
.lang-pill {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lang-pill.lang-active {
  background: var(--grad);
  color: var(--mark-text);
  border-color: transparent;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.site-nav { display: none; }

@media (max-width: 900px) {
  .site-nav-desktop { display: none; }
  .nav-burger { display: flex; }
  .site-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    z-index: 800;
    padding: 1rem min(4vw, 2rem) 1.4rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }
  .site-nav a:not(.btn), .site-nav .lang-switcher { padding: 0.6rem 0; }
  .site-nav .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); visibility: visible; }
}

/* ── reveal gate ───────────────────────────────────────────────────────── */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

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

/* ── hero ──────────────────────────────────────────────────────────────── */

.hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1rem; }
.hero-lead { color: var(--muted); font-size: 1.06rem; }
.hero-fine { color: var(--muted); font-size: 0.85rem; margin-top: 0.9rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 0.4rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ── predictor card (hero signature element) ─────────────────────────────
   Ported pixel-for-pixel from the real BeyondPlay landing page
   (c1.mouisys.com/xmj60): geometry, class names and colors copied verbatim
   from its compiled CSS, so the hero reads identically to the real product. */

.predictor-card {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(33, 27, 23, 0.95), rgba(23, 20, 18, 0.95));
  border: 1px solid rgba(251, 99, 0, 0.25);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(251, 99, 0, 0.25);
}
.sticker {
  position: absolute;
  top: -16px;
  right: 18px;
  z-index: 3;
  padding: 8px 16px;
  border-radius: 999px;
  background: #070605;
  border: 1px solid rgba(251, 99, 0, 0.25);
  color: #fb6300;
  font-size: 12px;
  font-weight: 600;
  transform: rotate(-4deg);
  white-space: nowrap;
  animation: sticker-in 0.4s ease;
}
@keyframes sticker-in {
  from { opacity: 0; transform: rotate(-4deg) translateY(-6px); }
  to { opacity: 1; transform: rotate(-4deg) translateY(0); }
}
.player-stage {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(251, 99, 0, 0.06), rgba(251, 99, 0, 0));
}
@media (max-width: 640px) { .player-stage { height: 230px; } }
.pitch-arc {
  position: absolute;
  right: -30%;
  bottom: -55%;
  width: 120%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(160deg, #f7be00 5%, #f99000 45%, #fe1900 95%);
  box-shadow: 0 0 0 6px rgba(251, 99, 0, 0.12);
}
.player-img {
  position: absolute;
  left: 50%;
  top: 12px;
  height: 118%;
  width: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45));
}
.match-card {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(7, 6, 5, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.match-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #a39a91;
  margin-bottom: 12px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(254, 25, 0, 0.16);
  color: #fe1900;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fe1900;
  animation: predictor-pulse 1.4s ease-in-out infinite;
}
@keyframes predictor-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.team { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.crest {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.crest.home { background: linear-gradient(135deg, #1d3c8f, #c8102e); }
.crest.away { background: radial-gradient(circle, #bc002d 0 30%, #ffffff 31%); color: #0d0b0a; text-shadow: 0 0 3px #fff; }
.team-name { font-size: 13px; font-weight: 600; color: #fff; }
.score { display: flex; align-items: center; gap: 6px; font-size: 2rem; font-weight: 700; line-height: 1; color: #fff; }
.colon { color: #a39a91; font-size: 1.4rem; }
.pick-q { font-size: 12px; color: #a39a91; text-align: center; margin-bottom: 8px; }
.pick-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick-btn {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pick-btn:hover { border-color: #fb6300; }
.pick-btn.active { background: #fb6300; border-color: #fb6300; color: #1a0a00; }

@media (max-width: 480px) {
  .sticker { right: 12px; max-width: calc(100% - 24px); padding: 6px 12px; font-size: 11px; white-space: normal; text-align: center; }
}

/* ── how it works / steps ──────────────────────────────────────────────── */

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.step-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--card-glow-hover); border-color: rgba(var(--accent-rgb),0.55); }
.num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}
.step-card h3 { position: relative; margin-bottom: 0.9rem; padding-bottom: 0.6rem; }
.step-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.step-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

@media (max-width: 780px) { .steps-row { grid-template-columns: 1fr; } }

/* ── app showcase (phone mockups) ─────────────────────────────────────── */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.app-card {
  text-align: center;
}
.app-card img {
  width: 72%;
  margin: 0 auto 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.app-card h3 { margin-bottom: 0.5rem; }
.app-card p { color: var(--muted); font-size: 0.93rem; }

@media (max-width: 860px) { .app-grid { grid-template-columns: 1fr; gap: 2.4rem; } .app-card img { width: 52%; } }

/* ── showcase: leagues tile grid ──────────────────────────────────────── */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.4rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--card-glow-hover); border-color: rgba(var(--accent-rgb),0.6); }
.tile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--grad);
  color: var(--mark-text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.tile-name { font-weight: 700; font-size: 0.95rem; }
.tile-region { color: var(--muted); font-size: 0.8rem; }

@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── why-us ────────────────────────────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.why-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-item:hover { border-color: rgba(var(--accent-rgb),0.55); transform: translateY(-3px); box-shadow: var(--card-glow-hover); }
.why-item h3 { position: relative; margin-bottom: 0.9rem; padding-bottom: 0.6rem; }
.why-item h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.why-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.why-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 1rem;
}
.why-mark svg { width: 19px; height: 19px; }

@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ── features ──────────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--card-glow-hover); border-color: rgba(var(--accent-rgb),0.55); }
.feature-card h3 { position: relative; margin-bottom: 0.9rem; padding-bottom: 0.6rem; }
.feature-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.feature-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 1rem;
}
.card-icon svg { width: 23px; height: 23px; }

@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── highlights / match clips ──────────────────────────────────────────── */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.highlight-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.highlight-card:hover { transform: translateY(-4px); }
.highlight-card.featured { grid-column: span 2; grid-row: span 2; }
.highlight-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}
.highlight-card:hover .highlight-media { box-shadow: var(--shadow), var(--card-glow-hover); }
.highlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.highlight-card:hover .highlight-media img { transform: scale(1.06); }
.play-badge {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(13, 11, 10, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.highlight-card:hover .play-badge { transform: scale(1.12); background: rgba(251, 99, 0, 0.85); }
.play-badge svg { width: 18px; height: 18px; }
.highlight-card.featured .play-badge { width: 60px; height: 60px; }
.highlight-card.featured .play-badge svg { width: 24px; height: 24px; }
.highlight-league {
  display: block;
  margin-top: 0.7rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.highlight-matchup { margin-top: 0.2rem; font-size: 0.98rem; }

@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-card.featured { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) { .highlight-grid { grid-template-columns: 1fr; } .highlight-card.featured { grid-column: span 1; } }

/* ── cta banner ────────────────────────────────────────────────────────── */

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.4rem 2.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--glow);
}
.cta-banner h2 { margin-bottom: 0.4rem; }
.cta-banner p { color: var(--muted); margin: 0; }
.cta-banner .btn { flex-shrink: 0; }

@media (max-width: 640px) { .cta-banner { padding: 2rem 1.6rem; } }

/* ── page-hero ─────────────────────────────────────────────────────────── */

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: var(--muted); margin: 0; }

/* ── pricing ───────────────────────────────────────────────────────────── */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  max-width: 420px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow), var(--card-glow-hover); }
.price-op { margin-bottom: 0.8rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.price-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.price-freq { color: var(--muted); margin: 0; font-size: 0.95rem; }
.price-trial { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.5rem;
}
.plan-features li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn { width: 100%; justify-content: center; }
.price-note { color: var(--muted); font-size: 0.9rem; margin-top: 1.6rem; }

/* ── opt-out boxes ─────────────────────────────────────────────────────── */

.optout {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.2rem;
}
.optout h3 { margin-bottom: 0.8rem; }
.optout-sms {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.02rem;
}
.optout-kw {
  font-family: 'SFMono-Regular', Consolas, monospace;
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--accent);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-weight: 700;
}
.optout-to { color: var(--muted); font-size: 0.95rem; }
.optout-dest {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-weight: 700;
  color: var(--text);
}
.optout-dest a { color: var(--accent); }
.optout-notes {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.optout-notes li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}
@media (max-width: 700px) { .optout-notes { grid-template-columns: 1fr; } }

.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}
.bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.4;
}

/* ── values / vision / about ───────────────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--card-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm), var(--card-glow-hover); border-color: rgba(var(--accent-rgb),0.55); }
.value-card h3 { position: relative; margin-bottom: 0.9rem; padding-bottom: 0.6rem; }
.value-card h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  border-radius: 3px;
  background: var(--grad);
}
.value-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }

.vision-panel {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.6rem;
  box-shadow: var(--card-glow);
}
.vision-panel h2 { margin-bottom: 1rem; }
.vision-panel p { color: var(--muted); margin-bottom: 1rem; }
.vision-panel p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .vision-panel { padding: 2rem 1.5rem; } }

.about-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about-split h2 { margin-bottom: 1rem; }
.about-split p { line-height: 1.75; }
.about-split .hero-art {
  display: flex;
  justify-content: center;
}
.about-card {
  width: min(380px, 100%);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--card-glow);
  overflow: hidden;
}
.about-hero-img {
  display: block;
  width: 100%;
  border-radius: 0;
  transition: transform 0.3s ease;
}
.about-card:hover .about-hero-img { transform: scale(1.03); }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq-list { display: grid; gap: 0.7rem; }
.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover { border-color: rgba(var(--accent-rgb), 0.45); }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--card-glow-hover); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(45deg); }
.faq-body { color: var(--muted); margin-top: 0.8rem; font-size: 0.95rem; line-height: 1.7; }

/* ── forms ─────────────────────────────────────────────────────────────── */

.contact-form,
.form-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem 2.2rem;
  box-shadow: var(--card-glow);
}
.form-card.narrow { width: min(520px, 100%); margin-inline: auto; }
.contact-form h3,
.form-card h3 { margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(var(--accent-rgb), 0.04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
}
.form-group textarea { resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #7d7570; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}

.phone-row {
  display: flex;
  align-items: stretch;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.phone-row:focus-within {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
}
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.7rem 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text);
  border-right: 1px solid var(--border-strong);
  flex-shrink: 0;
  white-space: nowrap;
}
.phone-row input {
  flex: 1;
  min-width: 0;
  width: auto;
  background: transparent;
  border: none;
  border-radius: 0;
}
.phone-row input:focus {
  border: none;
  background: transparent;
}

.signin-card button,
.form-card button { margin-top: 0.5rem; }

.error-msg,
.errorMsg {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
.form-success,
.successMsg {
  display: none;
  color: var(--success);
  font-weight: 700;
  margin-top: 1rem;
}
.form-disclaimer {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 1rem;
}

.care-card {
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  margin-bottom: 1.6rem;
  box-shadow: var(--card-glow);
}
.care-card h2 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.care-card p { margin-bottom: 0.5rem; color: var(--muted); }
.care-card p:last-child { margin-bottom: 0; }
.care-card a { color: var(--accent); word-break: break-word; }

/* ── 404 ────────────────────────────────────────────────────────────────── */

.not-found {
  padding: 6rem 0 7rem;
  text-align: center;
}
.big-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 18vw, 10rem);
  line-height: 1;
  margin: 0 0 0.5rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found p { color: var(--muted); }

/* ── Legal pages (shared partials render inside .legals) ─────────────────── */

.legals-wrap { padding: 0 0 3.5rem; }

.legals { padding-top: 0.5rem; padding-bottom: 5rem; }
.legals .container { width: min(840px, 92vw); margin-inline: auto; }
.legals h1 { display: none; } /* terms-dcb.html injects a hardcoded <h1> */
.legals h2, .legals h3, .legals h4, .legals h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}
.legals h6 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 2rem 0 0.5rem;
}
.legals p { margin-bottom: 0.85rem; line-height: 1.75; color: var(--muted); }
.legals ul, .legals ol { margin: 0.5rem 0 1rem; padding-inline-start: 1.2rem; }
.legals li { margin-bottom: 0.4rem; line-height: 1.7; color: var(--muted); }
.legals a { color: var(--accent); }
.legals table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.legals th, .legals td { border: 1px solid var(--border); padding: 0.55rem 0.7rem; text-align: left; }
.legals th { background: var(--surface-2); font-weight: 700; }

/* ── footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.4rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .logo-img { margin-bottom: 0.6rem; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
}
.footer-col a:hover { color: var(--accent); }

.footer-entity {
  margin-top: 1rem;
  font-size: 0.84rem;
  line-height: 1.8;
}
.footer-entity p { color: var(--muted); margin: 0; }
.footer-entity a { color: var(--accent); word-break: break-word; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--muted); font-size: 0.84rem; margin: 0; }
.footer-version { opacity: 0.7; }

/* ── RTL safety (no RTL locale ships today, kept for parity) ────────────── */

[dir='rtl'] .form-group input[type='text'],
[dir='rtl'] .form-group textarea { direction: rtl; text-align: right; }
[dir='rtl'] .form-group input[type='email'],
[dir='rtl'] .form-group input[type='tel'] { direction: ltr; text-align: left; }
[dir='rtl'] .form-group label { text-align: right; }
[dir='rtl'] .form-card.narrow .form-group label { text-align: center; }
[dir='rtl'] .phone-row { direction: ltr; }
[dir='rtl'] .signin-card .form-group label { text-align: center; }

[dir='rtl'] .section-head h2::after,
[dir='rtl'] .why-item h3::after,
[dir='rtl'] .feature-card h3::after,
[dir='rtl'] .value-card h3::after,
[dir='rtl'] .step-card h3::after {
  left: auto;
  right: 0;
}
