/* =========================================================
   Betfair Guia — tema "amarelo + preto"
   ========================================================= */
:root {
  --y: #FFB80C;
  --y-2: #FFD34D;
  --y-d: #E89A00;
  --y-soft: rgba(255, 184, 0, 0.12);
  --y-line: rgba(255, 184, 0, 0.35);
  --y-grad: linear-gradient(135deg, #FFD34D 0%, #FFB80C 55%, #E89A00 100%);

  --bg: #0d0d0f;
  --bg-2: #141417;
  --card: #1a1a1e;
  --card-2: #222227;
  --border: #2c2c32;
  --black: #060607;

  --text: #f4f4f6;
  --text-2: #b9b9c2;
  --muted: #85858f;

  --back: #A6D8FF;
  --lay: #FAC9D1;
  --green: #22A55A;
  --red: #E5484D;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', 'Inter', Arial, sans-serif;

  --max: 1200px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --t: 0.2s ease;
}

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

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--y); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--y-2); }

ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.1; font-weight: 800; }

/* ---------- top strip ---------- */
.topstrip {
  background: #000;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}
.topstrip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topstrip .age-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 20px;
  border-radius: 10px;
  border: 1.5px solid var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.6875rem;
}
.topstrip a { color: var(--y); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  background: var(--y);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.5px;
  line-height: 1;
  text-transform: lowercase;
}
.site-logo:hover { color: #000; }
.site-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #000;
  color: var(--y);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 1.375rem;
  text-transform: uppercase;
  transform: skewX(-8deg);
}
.site-logo span {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: #000;
  color: var(--y);
  padding: 4px 7px 3px;
  border-radius: 5px;
  margin-left: 2px;
}

.header-login {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #000;
  padding: 7px 18px;
  border: 2px solid #000;
  border-radius: var(--r-sm);
  transition: background var(--t), color var(--t);
}
.header-login:hover { background: #000; color: var(--y); }
.header-login + .header-cta { margin-left: 0; }

.btn-ico { font-size: 1.1em; line-height: 1; }

.header-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: var(--y);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--r-sm);
  transition: transform var(--t), background var(--t);
}
.header-cta:hover { background: #1d1d20; color: var(--y-2); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  order: 3;
  background: #000;
  border: none;
  color: var(--y);
  width: 42px;
  height: 40px;
  border-radius: var(--r-sm);
  font-size: 1.375rem;
  cursor: pointer;
  line-height: 1;
}

.main-nav { background: #0b0b0c; border-top: 1px solid #000; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 8px;
}
.nav-item { position: relative; }

.nav-link {
  display: block;
  padding: 12px 14px;
  color: #e9e9ee;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--t), box-shadow var(--t);
}
.nav-item.has-dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  opacity: 0.6;
}
.nav-link:hover,
.nav-link.active { color: var(--y); box-shadow: inset 0 -3px 0 var(--y); }

.nav-item.has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--y);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--shadow);
  padding: 6px 0;
  z-index: 200;
}
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--y-soft); color: var(--y); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 18px 16px 0; width: 100%; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { font-size: 0.8125rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--y); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--y); }
.breadcrumbs [aria-current="page"] { color: var(--text-2); font-weight: 600; }

/* ---------- layout ---------- */
.site-main { flex: 1; max-width: var(--max); margin: 0 auto; padding: 24px 16px 56px; width: 100%; }

.page-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.content-area { min-width: 0; }

.toc-sidebar { order: -1; position: sticky; top: 132px; }
.toc-sidebar nav {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 14px;
  counter-reset: toc;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
}
.toc-sidebar h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--y);
  margin: 0 6px 10px;
}
.toc-sidebar a {
  counter-increment: toc;
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
  border-radius: 6px;
  transition: background var(--t), color var(--t);
}
.toc-sidebar a::before { content: counter(toc) "."; color: var(--muted); font-weight: 700; min-width: 18px; }
.toc-sidebar a:hover,
.toc-sidebar a.active { background: var(--y-soft); color: var(--y); }
.toc-sidebar a.active::before { color: var(--y); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 55%, rgba(255, 184, 0, 0.16), transparent 55%),
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.022) 0 7px, transparent 7px 14px),
    linear-gradient(135deg, #1d1d21 0%, #060607 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  margin-bottom: 28px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 190px;
  height: 150px;
  background: var(--y-grad);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 130px;
  height: 110px;
  background: var(--y-grad);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.hero-inner { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-content { flex: 1; min-width: 0; position: relative; z-index: 1; max-width: 760px; }
.hero-image { flex: 0 0 440px; position: relative; z-index: 1; }
.hero-image img { width: 100%; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--y);
  border: 1px solid var(--y-line);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 165, 90, 0.25); }

.hero h1 {
  font-size: 3.25rem;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--y); }

.hero-subtitle { font-size: 1rem; color: var(--text-2); line-height: 1.7; margin-bottom: 26px; }

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--y);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--r-sm);
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.28);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.hero-cta:hover { background: var(--y-2); color: #000; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 184, 0, 0.38); }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: var(--r-sm);
  border: 1px solid #45454c;
  transition: all var(--t);
}
.hero-cta-secondary:hover { border-color: var(--y); color: var(--y); background: var(--y-soft); }

/* home-page blocks that sit outside <main> */
body > .hero,
body > .cat-icons,
body > .category-pills,
body > .stats-row {
  width: min(var(--max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}
body > .hero { margin-top: 24px; padding: 48px 48px; }
body > .hero::before { width: 30%; height: 55%; }
body > .hero::after { width: 90px; height: 76px; }
body > .hero .hero-content { max-width: none; }

/* ---------- category icons (home) ---------- */
.cat-icons {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.cat-icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px 12px;
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: background var(--t), transform var(--t), color var(--t);
}
.cat-icons img { width: 76px; height: 76px; transition: transform var(--t), filter var(--t); }
.cat-icons a:hover { background: var(--bg-2); color: var(--y); }
.cat-icons a:hover img { transform: translateY(-4px) rotate(-4deg); filter: drop-shadow(0 8px 16px rgba(255, 184, 0, 0.35)); }

/* legacy pills (kept for inner pages) */
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.category-pills .pill {
  padding: 9px 18px;
  background: var(--card);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
}
.category-pills .pill:hover { background: var(--y); color: #000; border-color: var(--y); }

/* ---------- stat tiles ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--y-grad);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform var(--t);
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(45deg);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-value {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: #000;
}
.stat-card .stat-label { font-size: 0.8125rem; font-weight: 600; color: #2a1d00; line-height: 1.35; }

/* ---------- headings & text ---------- */
.content-area h2 {
  font-size: 2.125rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin: 52px 0 18px;
  padding-left: 16px;
  border-left: 5px solid var(--y);
}
.content-area > h2:first-child,
.content-area .author-box + h2 { margin-top: 8px; }

.content-area h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--y);
  margin: 32px 0 12px;
}
.content-area h4 { font-size: 1.25rem; font-weight: 700; }

.content-area p { margin-bottom: 16px; color: var(--text-2); }
.content-area strong { color: var(--text); }

.content-area p a,
.content-area li a,
.content-area td a,
.faq-answer a,
.footer-disclaimer a {
  color: var(--y);
  border-bottom: 1px solid var(--y-line);
}
.content-area p a:hover,
.content-area li a:hover,
.content-area td a:hover { border-bottom-color: var(--y); }

.content-area ul, .content-area ol { margin: 16px 0 20px; }
.content-area ul li,
.content-area ol li { position: relative; padding: 6px 0 6px 28px; color: var(--text-2); }
.content-area ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--y);
  transform: rotate(45deg);
  border-radius: 1px;
}
.content-area ol { counter-reset: list-counter; }
.content-area ol li { counter-increment: list-counter; }
.content-area ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--y);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- author ---------- */
.author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin: 0 0 32px;
  font-size: 0.875rem;
  color: var(--text-2);
}
.author-box p { margin: 0; font-size: 0.875rem; }
.author-box .author-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--y-grad);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--y-line);
}
.author-box strong { color: var(--text); }

/* ---------- tables ---------- */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
}
.info-table thead th {
  background: #000;
  color: var(--y);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid var(--y);
}
.info-table tbody td {
  padding: 13px 18px;
  font-size: 0.875rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table tbody td:first-child { color: var(--text); font-weight: 600; }
.info-table tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
.info-table tbody tr:last-child td { border-bottom: none; }
.info-table tbody tr:hover td { background: var(--y-soft); }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.game-grid .game-card h4 { font-size: 1.125rem; }

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  color: var(--text);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: var(--y-grad);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  opacity: 0.9;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--y-line); box-shadow: var(--shadow); color: var(--text); }

.feature-card .card-icon,
.feature-card .feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #000;
  border: 2px solid var(--y);
  color: var(--y);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 14px;
}
.feature-card h3,
.feature-card h4 {
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.content-area .feature-card h3 { color: var(--text); margin-top: 0; }
.feature-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.feature-card .card-btn {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
  background: var(--y);
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
}
.feature-card .card-btn:hover { background: var(--y-2); color: #000; }

/* sport cards */
.sport-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--text);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.sport-card img { width: 100%; aspect-ratio: 400 / 250; object-fit: cover; }
.sport-card h4 { font-size: 1.25rem; text-transform: uppercase; padding: 12px 14px 2px; }
.sport-card p { font-size: 0.8125rem; color: var(--text-2); line-height: 1.45; padding: 0 14px 14px; margin: 0; }
.sport-card:hover { transform: translateY(-3px); border-color: var(--y-line); box-shadow: var(--shadow); color: var(--text); }
a.sport-card h4::after { content: " \2192"; color: var(--y); }

/* game cards */
.game-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.game-card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.game-card:hover { transform: translateY(-4px); border-color: var(--y); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--y); }
.game-card { display: flex; flex-direction: column; }
.game-card-inner { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.content-area .game-card-inner p { flex: 1; }
.game-card-btn {
  display: block;
  margin-top: 12px;
  padding: 8px 10px;
  text-align: center;
  background: var(--y);
  color: #000;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--t), transform var(--t);
}
.game-card-btn:hover { background: var(--y-2); color: #000; transform: translateY(-1px); }
.app-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.game-card-provider {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--y);
  margin-bottom: 2px;
}
.game-card h4 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 4px; }
.content-area .game-card p { font-size: 0.8125rem; line-height: 1.45; margin: 0; }

/* ---------- steps ---------- */
.step-list { margin: 24px 0; display: grid; gap: 10px; }
.step-list .step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--t);
}
.step-list .step:hover { border-color: var(--y-line); }
.step-list .step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--y-grad);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  transform: skewX(-6deg);
}
.step-list .step-content { flex: 1; }
.step-list .step.has-illus {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 400px);
  gap: 18px;
  align-items: center;
}
.step-illus {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b0b0c;
}
.step-list .step p { margin: 0; font-size: 0.9375rem; }
.step-list .step-content h4 { margin-bottom: 4px; }

/* ---------- promo / banners ---------- */
.promo-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  background: var(--y-grad);
  color: #000;
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--r-md);
  padding: 16px 22px;
  margin: 20px 0;
}
.promo-banner-label { background: #000; color: var(--y); padding: 4px 12px; border-radius: 6px; }
.promo-banner-sep { opacity: 0.45; }

.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.025) 0 7px, transparent 7px 14px),
    linear-gradient(135deg, #1d1d21, #050506);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  margin: 48px 0 8px;
}
.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  background: var(--y-grad);
}
.cta-banner::before { top: 0; right: 0; width: 170px; height: 130px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cta-banner::after { bottom: 0; left: 0; width: 140px; height: 110px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.cta-banner h3 {
  position: relative;
  z-index: 1;
  font-size: 2.25rem;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 10px;
}
.content-area .cta-banner h3 { color: var(--text); margin-top: 0; }
.cta-banner p { position: relative; z-index: 1; color: var(--text-2); max-width: 520px; margin: 0 auto 24px; }
.cta-banner .hero-cta { position: relative; z-index: 1; font-size: 1.3125rem; padding: 14px 36px; }

/* app feature */
.app-feature-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 20px 0;
}
.app-feature-image img { width: 100%; border-radius: var(--r-md); }
.app-feature-content p:last-child, .app-feature-content ul:last-child { margin-bottom: 0; }

/* ---------- figures ---------- */
figure { margin: 28px 0; }
figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--black); }
figure.figure-small { max-width: 360px; margin-left: auto; margin-right: auto; }
figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 24px 0; }
.image-grid .grid-item {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.image-grid .grid-item:hover { transform: translateY(-2px); border-color: var(--y-line); }
.image-grid .grid-item img { border: none; border-radius: 0; }
.image-grid .grid-item figcaption {
  margin: 0;
  padding: 10px 12px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq-section { margin: 24px 0; display: grid; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item:hover { border-color: var(--y-line); }
.faq-item.open { border-color: var(--y); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 16px 20px;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--y);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t);
}
.faq-item.open .faq-question::after { content: "\2212"; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-2); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item.open .faq-answer { display: block; }

/* ---------- callouts ---------- */
.callout { padding: 18px 22px; border-radius: var(--r-md); margin: 24px 0; font-size: 0.9375rem; }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { background: rgba(255, 184, 0, 0.08); border: 1px solid var(--y-line); border-left: 5px solid var(--y); }
.callout-info { background: rgba(166, 216, 255, 0.07); border-left: 5px solid var(--back); }
.callout-danger { background: rgba(229, 72, 77, 0.08); border-left: 5px solid var(--red); }

.related-links { margin: 40px 0; padding: 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-md); }

/* ---------- footer ---------- */
.site-footer {
  background: #000;
  border-top: 4px solid var(--y);
  padding: 48px 16px 28px;
  margin-top: auto;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-bottom: 32px; }
.footer-col h4 {
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--y);
  margin-bottom: 12px;
}
.footer-col a { display: block; padding: 4px 0; color: #a9a9b2; font-size: 0.875rem; }
.footer-col a:hover { color: var(--y); }
.footer-disclaimer {
  border-top: 1px solid #222;
  padding-top: 22px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.75;
}
.footer-disclaimer p { margin-bottom: 8px; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- bottom nav (mobile) ---------- */
.bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: #0a0a0b;
  border-top: 1px solid #26262b;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 2px;
  color: #8d8d96;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bottom-nav .bottom-nav-icon { font-size: 1.25rem; line-height: 1; filter: grayscale(1) brightness(1.4); }
.bottom-nav a:hover, .bottom-nav a.active { color: var(--y); }
.bottom-nav a:nth-child(3) { color: var(--y); }
.bottom-nav a:nth-child(3) .bottom-nav-icon {
  filter: none;
  width: 46px;
  height: 46px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--y-grad);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #0a0a0b, 0 6px 16px rgba(255, 184, 0, 0.35);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .cat-icons { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .toc-sidebar { display: none; }
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-image { flex: none; width: 100%; max-width: 460px; margin: 0 auto; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 80px; }
  .topstrip-inner { font-size: 0.6875rem; padding: 6px 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-top { padding: 10px 16px; gap: 8px; }
  .site-logo { font-size: 1.5rem; }
  .site-logo .logo-mark { width: 30px; height: 30px; font-size: 1.125rem; }
  .site-logo span { font-size: 0.75rem; }
  .header-cta { font-size: 0.9375rem; padding: 8px 12px; }

  .main-nav { display: none; max-height: calc(100vh - 70px); overflow-y: auto; }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 4px 0; }
  .nav-link { padding: 14px 20px; border-bottom: 1px solid #1d1d21; }
  .nav-link:hover, .nav-link.active { box-shadow: inset 4px 0 0 var(--y); }
  .dropdown-menu { display: block; position: static; border: none; border-radius: 0; box-shadow: none; background: #121214; padding: 0; min-width: 0; }
  .nav-item.has-dropdown > .nav-link::after { display: none; }
  .dropdown-menu a { padding: 12px 20px 12px 36px; }

  .hero, body > .hero { padding: 32px 22px; }
  body > .hero::before, .hero::before { width: 64px; height: 54px; }
  body > .hero::after, .hero::after { width: 64px; height: 54px; }
  .hero-badge { font-size: 0.6875rem; letter-spacing: 0.4px; margin-right: 34px; }
  .hero h1 { font-size: 2.375rem; }
  .hero-buttons { flex-direction: column; }
  .hero-cta, .hero-cta-secondary { width: 100%; }

  .cat-icons {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .cat-icons a { flex: 0 0 88px; scroll-snap-align: start; font-size: 0.9375rem; padding: 10px 4px; }
  .cat-icons img { width: 62px; height: 62px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-row .stat-card:last-child { grid-column: span 2; }

  .content-area h2 { font-size: 1.75rem; margin-top: 40px; }
  .content-area h3 { font-size: 1.3125rem; }

  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .step-list .step.has-illus { grid-template-columns: 38px minmax(0, 1fr); gap: 12px 14px; }
  .step-list .step.has-illus .step-illus { grid-column: 1 / -1; }
  .card-grid-4, .card-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .app-feature-block { grid-template-columns: 1fr; }
  .app-feature-image { max-width: 240px; margin: 0 auto; }

  .info-table { display: block; overflow-x: auto; }
  .info-table tbody td:first-child { white-space: normal; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .bottom-nav { display: flex; }
  body { padding-bottom: 72px; }
  .cta-banner { padding: 40px 20px; }
  .cta-banner h3 { font-size: 1.875rem; }
}

@media (max-width: 480px) {
  .topstrip .ts-extra { display: none; }
  .header-cta .cta-long { display: none; }
  .header-login { display: none; }
  .header-cta { margin-left: auto; }
  .app-buttons > a { width: 100%; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 0.9375rem; }
  .stat-card .stat-value { font-size: 1.875rem; }
  .info-table thead th, .info-table tbody td { padding: 10px 12px; }
  .step-list .step { padding: 14px; gap: 14px; }
  .step-list .step-number { width: 38px; height: 38px; font-size: 1.25rem; }
  .game-card-inner { padding: 10px; }
  .game-card h4, .sport-card h4 { font-size: 1.0625rem; }
  .image-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .promo-banner { font-size: 1.125rem; padding: 14px 16px; }
}
