/* ==========================================================================
   Secretbet مصر — Egypt satellite · shared stylesheet
   Mobile-first, RTL, fluid type. Navy + papyrus + terracotta + burnished gold.
   ========================================================================== */

:root {
  /* --- Egypt palette --- */
  --ink:      #0D2840;   /* Nile-night navy */
  --ink-900:  #0A2235;
  --ink-800:  #14334E;
  --ink-700:  #1C3F5D;
  --ink-600:  #2A4F70;
  --ink-500:  #4A6A87;
  --ink-400:  #708BA3;
  --ink-300:  #9CAFC1;
  --ink-200:  #C3D0DC;

  --paper:    #F4EEDF;   /* papyrus cream */
  --paper-100:#ECE3CE;
  --paper-200:#E0D4B6;
  --paper-300:#C8B891;
  --paper-400:#A89977;

  --terra:    #D4622A;   /* sunset terracotta — primary CTA */
  --terra-600:#B85220;
  --terra-100:#F5D8C6;

  --gold:     #C89B3C;   /* burnished ancient gold — big numbers, accents */
  --gold-600: #A98027;
  --gold-100: #EFDFAE;

  --teal:     #1F8A8F;   /* Nile teal — secondary accent */
  --teal-600: #176E73;

  /* --- Type families (Arabic-first, Latin digits in display) --- */
  --font-display: 'IBM Plex Sans Arabic', 'Big Shoulders Display', 'Segoe UI', sans-serif;
  --font-sans:    'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif:   'Markazi Text', Georgia, serif;      /* editorial label role */
  --font-num:     'Big Shoulders Display', 'IBM Plex Sans Arabic', sans-serif; /* Latin numerals */

  /* --- Fluid type scale --- */
  --t-eyebrow: clamp(14px, 1.4vw, 17px);
  --t-body:    clamp(15px, 1.5vw, 17px);
  --t-lede:    clamp(15px, 1.6vw, 18px);
  --h1:        clamp(2.4rem, 1.2rem + 6.4vw, 6rem);
  --h2:        clamp(1.9rem, 1.1rem + 4.2vw, 4.25rem);
  --h3-mega:   clamp(3rem, 1.4rem + 8vw, 6rem);
  --big-num:   clamp(3.4rem, 1.5rem + 10vw, 9rem);

  --container: 1280px;
  --gutter: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern","liga";
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
hr { border: 0; height: 2px; background: var(--ink); margin: 0; }
::selection { background: var(--terra); color: var(--paper); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; }

/* Latin tokens (Secretbet, BTC, odds, 18+) sit clean inside Arabic runs */
.ltr { direction: ltr; unicode-bidi: isolate; }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Skip link (a11y) */
.skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 200; }
.skip:focus { inset-inline-start: 0; }

/* ============ INSCRIPTION SECTION RULE ============ */
.section-rule { display: flex; align-items: center; gap: clamp(12px,3vw,24px); margin-bottom: clamp(20px,3vw,28px); }
.section-rule::before, .section-rule::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.section-rule .label {
  font-family: var(--font-serif); font-weight: 600; font-size: clamp(15px,1.6vw,18px);
  color: var(--ink); letter-spacing: 0; white-space: nowrap;
}
.section-rule .label .dim { color: var(--ink-500); font-weight: 500; }
.section-rule.on-dark::before, .section-rule.on-dark::after { background: var(--paper); }
.section-rule.on-dark .label { color: var(--paper); }
.section-rule.on-dark .label .dim { color: var(--ink-300); }
.section-rule.terra::before, .section-rule.terra::after { background: var(--terra); height: 3px; }
.section-rule.terra .label { color: var(--terra); }

/* ============ TOP STRIP ============ */
.topstrip { background: var(--ink); color: var(--ink-200); font-size: 12.5px; font-weight: 500; }
.topstrip .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; flex-wrap: wrap; padding-block: 6px; }
.topstrip .age { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.topstrip .age .b { background: var(--terra); color: var(--paper); font-weight: 700; padding: 2px 6px; font-size: 11px; }
.topstrip .lic { color: var(--ink-300); font-size: 11.5px; }

/* ============ HEADER ============ */
header.site {
  background: rgba(244,238,223,0.96); border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 24px; width: auto; }
.brand .tag {
  font-family: var(--font-serif); font-weight: 600; font-size: 13px; color: var(--terra);
  border-inline-start: 1px solid var(--paper-300); padding-inline-start: 12px;
}
.nav-primary { display: none; }
.nav-primary a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 13.5px;
  letter-spacing: 0; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-primary a:hover { color: var(--terra); }
.nav-primary a[aria-current="page"], .nav-primary a.active { border-bottom-color: var(--terra); color: var(--terra); }
.header-end { display: inline-flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 2px solid var(--ink); overflow: hidden; font-size: 11px; font-weight: 700; height: 32px; }
.lang a { background: transparent; padding: 4px 10px; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; }
.lang a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.menu-btn { width: 40px; height: 40px; border: 2px solid var(--ink); background: transparent; padding: 0; cursor: pointer;
  display: inline-flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.header-cta { display: none; }

/* Mobile drawer */
.drawer { display: none; }
body.nav-open .drawer {
  display: block; position: fixed; inset: 62px 0 0 0; z-index: 49;
  background: var(--ink); color: var(--paper); padding: 24px var(--gutter);
  overflow-y: auto;
}
body.nav-open { overflow: hidden; }
.drawer a { display: block; text-decoration: none; color: var(--paper);
  font-family: var(--font-display); font-weight: 700; font-size: 30px; padding: 14px 0;
  border-bottom: 1px solid var(--ink-700); }
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--terra); }
.drawer .drawer-cta { margin-top: 22px; }
body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn-terra, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; text-decoration: none;
  letter-spacing: 0.02em; cursor: pointer; border-radius: 2px; min-height: 44px;
  font-size: 13.5px; transition: background .12s, color .12s, border-color .12s;
}
.btn-terra { background: var(--terra); color: var(--paper); border: 0; padding: 13px 24px; }
.btn-terra:hover { background: var(--terra-600); }
.btn-terra:active { transform: translateY(1px); }
.btn-outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); padding: 11px 22px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline.light { border-color: var(--paper); color: var(--paper); }
.btn-outline.light:hover { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ============ HERO ============ */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; padding: clamp(32px,6vw,80px) 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(200,155,60,0.16) 1.1px, transparent 1.1px);
  background-size: clamp(22px,3vw,28px) clamp(22px,3vw,28px); opacity: .6; }
.hero .wrap { position: relative; z-index: 1; }
.hero .section-rule { margin-bottom: clamp(26px,4vw,48px); }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--h1); line-height: .98;
  letter-spacing: 0; margin: 0 0 18px; color: var(--paper); }
.hero h1 .b { color: var(--gold); display: block; }
.hero .lede { font-family: var(--font-serif); font-weight: 600; font-size: clamp(17px,2.2vw,26px);
  color: var(--gold); margin: 0 0 clamp(28px,5vw,56px); }

.hero-stats { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--paper); margin: 0 0 28px; }
.hero-stats > div { padding-block: 16px; border-bottom: 1px solid var(--ink-600); }
.hero-stats > div:last-child { border-bottom: 0; }
.hero-stats .n { font-family: var(--font-num); font-weight: 700; font-size: clamp(40px,7vw,64px); line-height: 1; color: var(--gold); display: block; margin-bottom: 2px; }
.hero-stats .l { font-size: 12.5px; font-weight: 600; color: var(--ink-200); }

.hero-welcome { border-top: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
  padding-block: clamp(22px,4vw,32px); margin-bottom: clamp(36px,6vw,80px);
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.hero-welcome .eyebrow { font-family: var(--font-serif); font-weight: 600; color: var(--gold); font-size: 16px; }
.hero-welcome .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,5vw,44px); line-height: 1.15; color: var(--paper); }
.hero-welcome .amount .pct { color: var(--terra); }
.hero-welcome .amount .g { color: var(--gold); }
.hero-welcome .meta { font-size: 13px; color: var(--ink-200); margin-top: 6px; }
.hero-welcome .btn-terra { width: 100%; }

/* ============ SECTION SCAFFOLD ============ */
section.block { padding-block: clamp(48px,8vw,96px); }
.head-row { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: end; margin-bottom: clamp(28px,4vw,48px); }
.head-row h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--h2); line-height: .98; letter-spacing: 0; margin: 0; }
.head-row .lede { font-size: var(--t-lede); line-height: 1.6; color: var(--ink-500); margin: 0; }
.accent { color: var(--terra); }
.gold { color: var(--gold); }

/* ============ TODAY'S MATCHES ============ */
.today { background: var(--paper); border-bottom: 2px solid var(--ink); }
.matches { border-top: 2px solid var(--ink); }
.match-row { display: block; padding: 16px 4px; border-bottom: 1px solid var(--paper-300); text-decoration: none; color: var(--ink); }
.match-row:hover { background: var(--paper-100); }
.match-row.live { background: linear-gradient(90deg, rgba(212,98,42,0.06) 0%, transparent 60%); }
.match-row .m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.match-row .m-time { display: inline-flex; align-items: center; gap: 8px; }
.match-row .m-time .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ink-300); }
.match-row.live .m-time .dot { background: var(--terra); box-shadow: 0 0 0 4px rgba(212,98,42,0.18); animation: livepulse 2s infinite; }
@keyframes livepulse { 0%,100%{ box-shadow:0 0 0 4px rgba(212,98,42,0.18);} 50%{ box-shadow:0 0 0 7px rgba(212,98,42,0.08);} }
.match-row .m-time .t { font-family: var(--font-num); font-weight: 700; font-size: 20px; line-height: 1; }
.match-row .m-league { font-size: 11.5px; font-weight: 600; color: var(--ink-500); text-align: end; }
.match-row.live .m-league .tag, .match-row .m-league .derby { color: var(--terra); font-weight: 700; }
.match-row .m-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.match-row .home, .match-row .away { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px,4vw,22px); line-height: 1.05; letter-spacing: 0; }
.match-row .home { text-align: end; }
.match-row .away { text-align: start; }
.match-row .vs { font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: var(--ink-400); }
.match-row .odds { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.match-row .odd { display: grid; gap: 2px; padding: 9px 6px; border: 2px solid var(--ink); background: var(--paper); text-align: center; }
.match-row .odd:hover { background: var(--ink); color: var(--paper); }
.match-row .odd .lab { font-size: 10px; font-weight: 600; color: var(--ink-400); }
.match-row .odd:hover .lab { color: var(--ink-300); }
.match-row .odd .n { font-family: var(--font-num); font-weight: 700; font-size: 18px; line-height: 1; }
.match-row .odd:hover .n { color: var(--paper); }
.matches-foot { padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.matches-foot .note { font-family: var(--font-serif); font-weight: 600; color: var(--ink-500); font-size: 15px; }

/* ============ SPORTS MENU ============ */
.sports { background: var(--ink); color: var(--paper); position: relative; }
.sports::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(200,155,60,0.10) 1.1px, transparent 1.1px); background-size: 28px 28px; }
.sports .wrap { position: relative; z-index: 1; }
.sports .head-row h2 { color: var(--paper); }
.sports .head-row .lede { color: var(--ink-200); }
.sports-row { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,56px); align-items: start; }
.football { border-top: 4px solid var(--terra); border-bottom: 2px solid var(--paper); padding: 28px 0 32px; }
.football .label { font-family: var(--font-serif); color: var(--terra); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.football h3 { font-family: var(--font-display); font-weight: 900; font-size: var(--h3-mega); line-height: .9; color: var(--paper); letter-spacing: 0; margin: 0 0 14px; }
.football .leagues { color: var(--ink-200); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.football .count { font-family: var(--font-num); font-weight: 700; font-size: clamp(38px,6vw,48px); line-height: 1; color: var(--gold); display: flex; align-items: baseline; gap: 12px; }
.football .count .l { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--ink-200); }
.other-sports { border-top: 2px solid var(--paper); }
.sport-row { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ink-600); text-decoration: none; color: var(--paper); gap: 20px; }
.sport-row:hover { border-bottom-color: var(--terra); }
.sport-row .name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,4vw,30px); line-height: 1; letter-spacing: 0; }
.sport-row .meta { font-size: 12px; font-weight: 500; color: var(--ink-300); margin-top: 6px; }
.sport-row .count { font-family: var(--font-num); font-weight: 700; font-size: clamp(26px,4vw,36px); line-height: 1; color: var(--gold); }
.sport-row:hover .count { color: var(--terra); }

/* ============ CASINO ============ */
.casino { background: var(--paper); }
.casino .head-row .lede { color: var(--ink-500); }
.casino-stats { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--paper-300); margin-bottom: 28px; }
.casino-stats > div { padding: 18px 0; border-bottom: 1px solid var(--paper-300); }
.casino-stats > div:last-child { border-bottom: 0; }
.casino-stats .n { font-family: var(--font-num); font-weight: 800; font-size: clamp(40px,6vw,54px); line-height: 1; color: var(--ink); }
.casino-stats .l { font-family: var(--font-serif); font-weight: 600; color: var(--ink-500); font-size: 16px; margin-top: 4px; }
.games-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.game { position: relative; aspect-ratio: 3/4; overflow: hidden; text-decoration: none; color: var(--paper); border: 2px solid var(--ink); display: flex; flex-direction: column; background: var(--ink); }
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.game .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,40,64,0.10) 0%, rgba(13,40,64,0.85) 70%, rgba(13,40,64,0.96) 100%); }
.game .content { position: relative; z-index: 2; margin-top: auto; padding: 14px; }
.game .tag { display: inline-block; background: var(--terra); color: var(--paper); font-size: 10px; font-weight: 700; padding: 3px 6px; margin-bottom: 8px; }
.game .tag.gold { background: var(--gold); color: var(--ink); }
.game .tag.teal { background: var(--teal); color: var(--paper); }
.game h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.05; margin: 0 0 2px; color: var(--paper); }
.game .sub { font-family: var(--font-serif); font-weight: 600; font-size: 13px; color: var(--ink-200); }

/* ============ WELCOME / BONUS MECHANICS ============ */
.welcome { background: var(--paper-100); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.three { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,48px); align-items: start; }
.col { display: grid; gap: 14px; }
.col-label { font-family: var(--font-serif); color: var(--terra); font-size: 16px; font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 4px; }
.big { font-family: var(--font-num); font-weight: 800; font-size: var(--big-num); line-height: .86; color: var(--ink); letter-spacing: 0; }
.big-meta { font-size: 13px; font-weight: 600; color: var(--ink-500); margin-top: 4px; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--paper-300); }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-num); font-weight: 800; font-size: 30px; color: var(--terra); line-height: 1; }
.step h5 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.step p { font-size: 14px; color: var(--ink-500); margin: 0; line-height: 1.55; }
.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.rules li::before { content: ""; width: 6px; height: 6px; background: var(--terra); margin-top: 8px; }

/* ============ PAYMENTS METHODS ============ */
.pay { background: var(--ink); color: var(--paper); }
.pay .head-row h2 { color: var(--paper); }
.pay .head-row .lede { color: var(--ink-200); }
.methods { display: grid; grid-template-columns: repeat(2,1fr); border-top: 2px solid var(--paper); border-inline-start: 1px solid var(--ink-600); }
.methods .m { border-inline-end: 1px solid var(--ink-600); border-bottom: 1px solid var(--ink-600); padding: 22px 18px; background: var(--ink); }
.methods .m.local { background: var(--ink-800); }
.methods .m .lab { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--paper); margin-bottom: 6px; }
.methods .m .sub { font-family: var(--font-serif); font-weight: 600; font-size: 14px; color: var(--gold); }
.methods .m .nub { font-size: 11.5px; font-weight: 600; color: var(--ink-300); margin-top: 12px; }

/* ============ FAQ ============ */
.faq { background: var(--paper); }
.faq-list { border-top: 2px solid var(--ink); }
details.q { border-bottom: 1px solid var(--paper-300); }
details.q summary { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px,2.5vw,24px); line-height: 1.3; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary .sign { flex: none; font-family: var(--font-num); font-weight: 700; font-size: 26px; color: var(--terra); line-height: 1; transition: transform .2s ease-out; }
details.q[open] summary .sign { transform: rotate(45deg); }
details.q .a { padding: 0 4px 22px; max-width: 800px; color: var(--ink-500); font-size: 15.5px; line-height: 1.75; }
details.q .a a { color: var(--terra); }
details.q .a strong { color: var(--ink); }

/* ============ VISIT BAND ============ */
.visit { background: var(--ink); color: var(--paper); position: relative; border-top: 2px solid var(--ink); }
.visit::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(200,155,60,0.12) 1.1px, transparent 1.1px); background-size: 28px 28px; }
.visit .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; padding-block: clamp(48px,8vw,80px); }
.visit h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,6vw,52px); line-height: 1; margin: 0 0 12px; letter-spacing: 0; }
.visit h3 .b { color: var(--gold); }
.visit .sub { font-family: var(--font-serif); font-weight: 600; color: var(--ink-200); font-size: 18px; margin: 0; max-width: 540px; }

/* ============ RG / DISCLAIMER ============ */
.rg { background: var(--paper-100); padding-block: clamp(36px,5vw,48px); border-top: 2px solid var(--ink); }
.rg .wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.rg h4 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px,4vw,32px); line-height: 1; margin: 0; }
.rg .sub { font-family: var(--font-serif); font-weight: 600; color: var(--terra); font-size: 16px; margin: 6px 0 0; }
.rg p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; margin: 0 0 14px; }
.rg p.strong { color: var(--ink); font-weight: 500; }
.rg .marks { display: flex; gap: 12px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.rg .marks .m { border: 2px solid var(--paper-300); background: var(--paper); padding: 8px 14px; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.rg .marks .age { background: var(--terra); color: var(--paper); border-color: var(--terra); }

/* ============ FOOTER ============ */
footer.site { background: var(--ink-900); color: var(--ink-200); padding: clamp(40px,6vw,64px) 0 32px; font-size: 14px; line-height: 1.65; border-top: 4px solid var(--terra); }
footer.site .cols { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
footer.site .brandcol img { height: 30px; margin-bottom: 16px; }
footer.site .brandcol p { font-family: var(--font-serif); font-weight: 600; color: var(--gold); font-size: 14px; max-width: 360px; margin: 0 0 16px; }
footer.site .brandcol .where { font-size: 12px; font-weight: 600; color: var(--ink-300); }
footer.site h6 { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--paper); margin: 4px 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer.site a { color: var(--ink-200); text-decoration: none; }
footer.site a:hover { color: var(--terra); }
footer.site .fineprint { border-top: 1px solid var(--ink-700); padding-top: 24px; color: var(--ink-300); font-size: 12px; line-height: 1.7; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: end; }
footer.site .fineprint .copy { font-family: var(--font-serif); font-weight: 600; font-size: 13px; color: var(--ink-300); }

/* ============ STICKY MOBILE CTA ============ */
.stickyCTA { position: fixed; inset-inline: 0; bottom: 0; background: var(--ink); border-top: 2px solid var(--terra);
  padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; z-index: 100; }
.stickyCTA .age { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); font-size: 11px; font-weight: 600; }
.stickyCTA .age .b { background: var(--terra); color: var(--paper); padding: 3px 6px; font-weight: 700; font-size: 10px; }
.stickyCTA .btn-terra { padding: 12px 16px; font-size: 13px; }
body { padding-bottom: 72px; }   /* room for sticky bar on mobile */

/* ============ BREADCRUMBS ============ */
.crumbs { background: var(--paper); border-bottom: 1px solid var(--paper-300); }
.crumbs .wrap { display: flex; gap: 8px; align-items: center; padding-block: 12px; font-size: 12.5px; color: var(--ink-500); flex-wrap: wrap; }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--terra); }
.crumbs .sep { color: var(--paper-400); }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ============ APP PAGE ============ */
.store-buttons { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
.store-btn { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; text-decoration: none;
  border: 2px solid var(--paper); background: transparent; color: var(--paper); padding: 14px 18px; border-radius: 2px; transition: background .12s, color .12s; }
.store-btn:hover { background: var(--paper); color: var(--ink); }
.store-btn .ic { width: 34px; height: 34px; display: grid; place-items: center; }
.store-btn .ic svg { width: 30px; height: 30px; }
.store-btn .k { font-size: 11px; font-weight: 600; letter-spacing: .04em; opacity: .8; }
.store-btn .v { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1; }
.spec-grid { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
.spec { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--paper-300); align-items: baseline; }
.spec .k { font-size: 13px; font-weight: 600; color: var(--ink-500); }
.spec .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink); text-align: end; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.feature { padding: 20px 4px; border-bottom: 1px solid var(--paper-300); }
.feature .fn { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 6px; }
.feature p { font-size: 14.5px; color: var(--ink-500); line-height: 1.6; margin: 0; }
.feature.on-dark { border-bottom-color: var(--ink-600); }
.feature.on-dark .fn { color: var(--paper); }
.feature.on-dark p { color: var(--ink-200); }

/* ============ PAYMENTS PAGE — table ============ */
.ptable { border-top: 2px solid var(--ink); }
.ptable .ph, .ptable .pr { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; align-items: center; }
.ptable .ph { padding: 12px 4px; border-bottom: 2px solid var(--ink); font-size: 11px; font-weight: 700; color: var(--ink-500); letter-spacing: .06em; text-transform: uppercase; }
.ptable .pr { padding: 16px 4px; border-bottom: 1px solid var(--paper-300); }
.ptable .pr .name { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.ptable .pr .name .sub { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 12.5px; color: var(--ink-500); }
.ptable .pr .cell { font-family: var(--font-num); font-weight: 700; font-size: 16px; color: var(--ink); }
.ptable .pr .cell.t { font-family: var(--font-sans); font-weight: 600; font-size: 12.5px; color: var(--ink-500); }

/* prose block (info-guide paragraphs) */
.prose { max-width: 820px; }
.prose p { font-size: var(--t-body); line-height: 1.75; color: var(--ink-500); margin: 0 0 16px; }
.prose p strong, .prose strong { color: var(--ink); }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px,3vw,28px); margin: 28px 0 12px; color: var(--ink); }

.section-note { font-family: var(--font-serif); font-weight: 600; color: var(--ink-500); font-size: 15px; margin-top: 18px; }

/* ==========================================================================
   RESPONSIVE — tablet & desktop
   ========================================================================== */
@media (min-width: 600px) {
  .games-strip { grid-template-columns: repeat(3,1fr); }
  .methods { grid-template-columns: repeat(3,1fr); }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .hero-stats > div { border-bottom: 0; border-inline-end: 1px solid var(--ink-600); padding-inline-end: 24px; }
  .hero-stats > div:last-child { border-inline-end: 0; }
  .casino-stats { grid-template-columns: repeat(3,1fr); }
  .casino-stats > div { border-bottom: 0; border-inline-end: 1px solid var(--paper-300); padding-inline-end: 28px; }
  .casino-stats > div:last-child { border-inline-end: 0; }
  .store-buttons { grid-template-columns: repeat(2,1fr); }
  .spec-grid { grid-template-columns: repeat(2,1fr); column-gap: 40px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); column-gap: 40px; }
  .rg .marks { }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }               /* sticky CTA hidden on desktop */
  .stickyCTA { display: none; }
  .menu-btn { display: none; }
  .nav-primary { display: inline-flex; gap: 26px; }
  .header-cta { display: inline-flex; }
  header.site .bar { height: 74px; }
  .brand img { height: 26px; }

  .head-row { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .hero-welcome { grid-template-columns: 1fr auto; }
  .hero-welcome .btn-terra { width: auto; }
  .matches-foot { flex-wrap: nowrap; }

  /* Single-line match rows on desktop */
  .match-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 20px 4px; }
  .match-row .m-top { display: contents; }
  .match-row .m-time { min-width: 110px; }
  .match-row .m-time .t { font-size: 22px; }
  .match-row .m-teams { grid-column: auto; margin-bottom: 0; }
  .match-row .m-league { order: 3; grid-column: 1 / -1; text-align: center; margin-top: 4px; }
  .match-row .odds { grid-template-columns: repeat(3,64px); }

  .sports-row { grid-template-columns: 1fr 1fr; }
  .games-strip { grid-template-columns: repeat(6,1fr); }
  .methods { grid-template-columns: repeat(4,1fr); }
  .three { grid-template-columns: 1.3fr 1fr 1fr; }
  .visit .wrap { grid-template-columns: 1fr auto; }
  .rg .wrap { grid-template-columns: 1fr 2fr; gap: 48px; }
  footer.site .cols { grid-template-columns: 1.6fr repeat(3,1fr); gap: 48px; }
  footer.site .fineprint { grid-template-columns: 1fr auto; gap: 24px; }
  .ptable .pr .name { font-size: 18px; }
}

@media (min-width: 900px) {
  /* desktop match row — refine grid so meta sits under teams cleanly */
  .match-row { grid-template-columns: 120px 1fr minmax(210px,auto); grid-template-areas: "time teams odds" "time meta odds"; }
  .match-row .m-time { grid-area: time; }
  .match-row .m-teams { grid-area: teams; }
  .match-row .m-league { grid-area: meta; text-align: center; grid-column: auto; }
  .match-row .odds { grid-area: odds; }
  .match-row .m-top { display: contents; }
}
