/* LineUp Argentina — shared styles. Tokens mirror lineup.bet (see brand-assets/BRANDBOOK.md). */
@font-face {
  font-family: "Franklin Gothic Demi Cond";
  src: url("../fonts/FranklinGothicDemiCond.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg-page: #050608;
  --bg-sidebar: #0d131c;
  --bg-panel: #121b26;
  --bg-panel-hover: #1f2833;
  --bg-elevated: #293748;
  --line: #1f2833;

  --text-strong: #fafcff;
  --text: #e1eafa;
  --text-muted: #a6b3cc;
  --text-subtle: #69758a;

  --brand-blue: #4761e5;
  --brand-blue-200: #8fa0f0;
  --accent-green: #1bdd51;
  --cta-gradient: radial-gradient(75.25% 100% at 50% 0%, #fb3864 0%, #960524 100%);
  --cta-gradient-hover: radial-gradient(75.25% 100% at 50% 0%, #ff5a80 0%, #b0072c 100%);

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Franklin Gothic Demi Cond", "Inter", sans-serif;

  --radius-pill: 9999px;
  --radius-panel: 24px;
  --radius-card: 16px;
  --header-h: 64px;
  --sidebar-w: 250px;
  --content-max: 920px;
  --gutter: 16px;

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-page); -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 16px/1.6 var(--font-ui);
  color: var(--text);
  background: var(--bg-page);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-blue-200); }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

h1, h2, h3 { color: var(--text-strong); line-height: 1.2; font-weight: 700; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p, ol, ul, table, dl { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--bg-panel); color: var(--text-strong);
}
.skip-link:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 24px;
  border: 0; border-radius: var(--radius-pill);
  font: 600 16px/1.2 var(--font-ui); text-decoration: none; white-space: nowrap;
  color: var(--text-strong); background: var(--bg-panel);
  cursor: pointer; transition: background-color .2s, filter .2s;
}
.btn:hover { color: var(--text-strong); background: var(--bg-panel-hover); }
.btn-primary { background: var(--cta-gradient); }
.btn-primary:hover { background: var(--cta-gradient-hover); }
.btn-lg { min-height: 52px; padding: 14px 32px; font-size: 18px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h); padding: 8px var(--gutter);
  background: var(--bg-page);
}
.site-header .logo { flex: none; margin-right: auto; }
.site-header .logo img { width: 96px; }
.header-actions { display: flex; gap: 8px; }
.header-actions .btn { min-height: 40px; padding: 8px 18px; }
.nav-toggle {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%; background: var(--bg-panel); color: var(--text-strong); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- sidebar navigation ---------- */
.site-nav {
  position: fixed; inset: var(--header-h) auto 0 0; z-index: 30;
  width: min(var(--sidebar-w), 85vw); padding: 8px 12px 24px;
  overflow-y: auto; background: var(--bg-sidebar);
  transform: translateX(-100%); transition: transform .25s ease;
}
.site-nav.is-open { transform: none; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 4px; background: var(--bg-panel); border-radius: var(--radius-panel); }
.site-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-panel);
  color: var(--text); text-decoration: none; font-size: 15px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--bg-panel-hover); color: var(--text-strong); }
.site-nav img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }

/* ---------- layout ---------- */
.site-main { padding: 8px var(--gutter) 48px; }
.container { width: 100%; max-width: var(--content-max); margin-inline: auto; }
.site-main section { margin-top: 40px; }
.site-main > .container > section:first-child { margin-top: 8px; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--text-subtle); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text-strong); }

/* ---------- hero ---------- */
.hero {
  display: grid; gap: 16px; align-content: center;
  min-height: 260px; padding: 32px 24px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .55) 55%, rgba(5, 6, 8, 0) 100%),
    var(--hero-img, none) right center / auto 100% no-repeat,
    linear-gradient(135deg, #13204a 0%, #0d131c 60%);
}
.hero .note, .updated { margin: 0; font-size: 13px; color: var(--text-muted); }
.updated time { color: var(--text); }
.hero h1 { margin: 0; max-width: 18ch; }
.hero p { margin: 0; max-width: 46ch; color: var(--text); }
.hero .btn { justify-self: start; }

/* ---------- section head + carousels ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head .btn { min-height: 36px; padding: 6px 16px; font-size: 14px; }

.car-btn {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0 0 2px;
  border: 0; border-radius: 50%; background: var(--bg-panel); color: var(--text-strong);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.car-btn:hover { background: var(--bg-panel-hover); }
.section-head .btn { margin-left: auto; }
.section-head h2 + .car-btn { margin-left: auto; }

/* game carousel — cards like lineup.bet: cover, name, provider, Jugar / Demo on hover */
.game-track {
  display: flex; gap: 10px; margin: 0; padding: 0 0 4px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.game-track::-webkit-scrollbar { display: none; }
.game-card {
  position: relative; display: grid; flex: 0 0 140px; scroll-snap-align: start;
  overflow: hidden; border-radius: var(--radius-card); background: var(--bg-panel);
}
.game-card img { width: 100%; aspect-ratio: 29 / 40; object-fit: cover; transition: transform .3s; }
.game-card:hover img { transform: scale(1.05); }
.game-name, .game-prov { position: absolute; left: 0; right: 0; padding: 0 8px; text-align: center; }
.game-name {
  bottom: 22px; padding-top: 32px;
  font: 400 15px/1.05 var(--font-display); text-transform: uppercase; color: var(--text-strong); text-decoration: none;
  background: linear-gradient(transparent, rgba(5, 6, 8, .85) 55%);
}
.game-prov { bottom: 0; padding-bottom: 6px; font-size: 11px; color: var(--text-muted); background: rgba(5, 6, 8, .85); }
a.game-name:hover { color: var(--brand-blue-200); }
.game-actions {
  position: absolute; inset: 0 0 auto; aspect-ratio: 29 / 34;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgba(5, 6, 8, .72); opacity: 0; transition: opacity .2s;
}
.game-card:hover .game-actions, .game-card:focus-within .game-actions { opacity: 1; }
.game-actions .btn { min-height: 38px; padding: 8px 22px; font-size: 14px; }
.btn-demo {
  padding: 8px 12px; border: 0; background: none; cursor: pointer;
  font: 600 14px var(--font-ui); color: var(--text-muted);
}
.btn-demo:hover { color: var(--text-strong); }
@media (hover: none) {
  .game-actions { position: static; aspect-ratio: auto; flex-direction: row; padding: 6px; background: var(--bg-panel); opacity: 1; }
  .game-actions .btn { flex: 1; min-height: 34px; padding: 6px 10px; }
  .game-name { bottom: 68px; }
  .game-prov { bottom: 46px; }
}

/* tabs — pill switch like the CASINO / SPORTS toggle */
[role="tablist"] { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; margin-bottom: 16px; border-radius: var(--radius-pill); background: var(--bg-panel); width: fit-content; max-width: 100%; }
[role="tab"] {
  min-height: 38px; padding: 8px 18px; border: 0; border-radius: var(--radius-pill);
  background: none; color: var(--text); font: 600 14px var(--font-ui); cursor: pointer;
}
[role="tab"]:hover { color: var(--text-strong); }
[role="tab"][aria-selected="true"] { background: var(--text-strong); color: var(--bg-page); }

/* calculators / widgets */
.widget { padding: 20px; border-radius: var(--radius-panel); background: linear-gradient(160deg, #13204a 0%, var(--bg-panel) 55%); }
.widget h2, .widget h3 { margin-top: 0; }
.widget label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-strong); }
.widget input[type="range"] { width: 100%; accent-color: #fb3864; }
.widget input[type="number"], .widget select {
  width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--bg-elevated); border-radius: 12px;
  background: var(--bg-page); color: var(--text-strong); font: 600 16px var(--font-ui);
}
.stat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 16px 0; }
.stat-list div { padding: 12px 14px; border-radius: var(--radius-card); background: rgba(5, 6, 8, .55); }
.stat-list dt { font-size: 13px; color: var(--text-muted); }
.stat-list dd { margin: 2px 0 0; font: 700 22px/1.2 var(--font-ui); color: var(--text-strong); }
.stat-list dd.accent { color: var(--accent-green); }
.note { font-size: 14px; color: var(--text-muted); }

/* pill radio groups (native radios, styled labels) */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; border: 0; }
.pills legend { width: 100%; margin-bottom: 6px; padding: 0; font-weight: 600; color: var(--text-strong); }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label {
  margin: 0; padding: 8px 16px; border-radius: var(--radius-pill); background: rgba(5, 6, 8, .55);
  color: var(--text); font-weight: 600; font-size: 14px; cursor: pointer;
}
.pills input:checked + label { background: var(--text-strong); color: var(--bg-page); }
.pills input:focus-visible + label { outline: 2px solid var(--brand-blue); outline-offset: 2px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range-head output { font: 700 24px var(--font-ui); color: var(--text-strong); }

/* split layout for a widget next to text */
.split { display: grid; gap: 24px; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 1fr; align-items: start; } }

/* step rail (ol) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 52px 16px 16px; border-radius: var(--radius-card); background: var(--bg-panel); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 14px; left: 16px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cta-gradient); color: var(--text-strong); font-weight: 700; font-size: 14px;
}
.steps strong { display: block; margin-bottom: 4px; color: var(--text-strong); }

/* live results board */
.live-board { padding: 16px; border-radius: var(--radius-panel); background: var(--bg-sidebar); }
.live-board .section-head h2::before {
  content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%;
  background: var(--accent-green); box-shadow: 0 0 0 0 rgba(27, 221, 81, .6); animation: pulse 1.6s infinite; vertical-align: middle;
}
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(27, 221, 81, 0); } }
.live-board table { font-size: 14px; }
.live-board caption { caption-side: bottom; padding-top: 8px; text-align: right; font-size: 11px; color: var(--text-subtle); }
.live-board th { background: none; color: var(--text-muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.live-board td { padding: 8px 10px; white-space: nowrap; }
.live-board tbody tr:nth-child(odd) { background: rgba(18, 27, 38, .6); }
.lw-game { display: inline-flex; align-items: center; gap: 8px; color: var(--text-strong); font-weight: 600; }
.lw-game img { width: 26px; height: 36px; border-radius: 6px; object-fit: cover; object-position: top; }
.lw-tag { padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(146, 80, 255, .2); color: #c9a8ff; font-size: 11px; font-weight: 600; }
.lw-win { color: var(--accent-green); font-weight: 700; text-align: right; }
.live-board th:last-child { text-align: right; }
.lw-new { animation: lw-in .5s ease-out; }
@keyframes lw-in { from { opacity: 0; transform: translateY(-10px); background: rgba(27, 221, 81, .15); } }
@media (max-width: 640px) {
  .live-board th:nth-child(3), .live-board td:nth-child(3), .live-board th:nth-child(4), .live-board td:nth-child(4) { display: none; }
  .lw-tag { display: none; }
  .live-board { padding: 12px 8px; }
  .live-board th, .live-board td { padding: 8px 6px; }
}

/* steps with screenshots: <li><img …><strong>…</strong>text</li> */
.steps img { display: block; width: 100%; max-width: 220px; margin: 0 auto 14px; border-radius: 18px; border: 1px solid var(--bg-elevated); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }

/* provider demo (iframe loaded on click by main.js) */
.demo-frame {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 16 / 9; max-height: 640px; border-radius: var(--radius-card); background: var(--bg-sidebar);
}
.demo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.45); transform: scale(1.1); }
.demo-frame button { position: relative; }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .demo-frame { aspect-ratio: 9 / 16; max-height: 75vh; } }
.demo-box .note { margin-top: 10px; }
.link-btn { padding: 0; border: 0; background: none; color: var(--brand-blue-200); font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--text-strong); }

.copyright { margin: 16px 0 0; color: var(--text-subtle); }

/* promo slider (home): brand art on the right, live text on the left, autoplay in main.js */
.promo-track {
  display: flex; gap: 12px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
}
.promo-track::-webkit-scrollbar { display: none; }
.promo-track > li { flex: 0 0 100%; scroll-snap-align: start; }
.promo-card {
  position: relative; display: grid; align-content: center; gap: 2px; min-height: 170px; height: 100%;
  padding: 20px 46% 20px 20px; overflow: hidden; border-radius: var(--radius-card);
  background: linear-gradient(135deg, #13204a 0%, #0b1530 60%, #0d131c 100%); color: var(--text); text-decoration: none;
}
.promo-card img { position: absolute; right: 0; top: 0; width: 52%; height: 100%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.promo-card > span:first-of-type { justify-self: start; padding: 3px 10px; border-radius: 6px; background: var(--brand-blue); color: var(--text-strong); font: 600 11px var(--font-ui); text-transform: uppercase; letter-spacing: .04em; }
.promo-card strong { position: relative; font: 400 clamp(26px, 4vw, 34px)/1.05 var(--font-display); color: var(--text-strong); text-transform: uppercase; }
.promo-card > span:last-child { position: relative; font-size: 14px; color: var(--text-muted); }
.promo-card:hover strong { color: var(--brand-blue-200); }
.promo-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.promo-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--bg-elevated); cursor: pointer; transition: width .2s, background-color .2s; }
.promo-dots button[aria-current="true"] { width: 24px; background: var(--text-muted); }
@media (min-width: 768px) { .promo-track > li { flex-basis: calc((100% - 12px) / 2); } }

/* chips list (payment methods etc.) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: var(--radius-pill); background: var(--bg-panel); color: var(--text-strong); font-weight: 600; font-size: 14px; }

/* tiles (sports, categories) */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tile { display: block; overflow: hidden; border-radius: var(--radius-card); background: var(--bg-panel); color: var(--text-strong); text-decoration: none; text-align: center; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.tile img { width: 100%; aspect-ratio: 368 / 300; object-fit: cover; object-position: top; }
.tile span { display: block; padding: 10px 6px; }
.tile:hover { background: var(--bg-panel-hover); color: var(--text-strong); }

/* bonus cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.bonus-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--bg-panel); }
.bonus-card img { width: 100%; aspect-ratio: 42 / 34; object-fit: cover; }
.bonus-card h3 { margin: 16px 16px 4px; font-size: 15px; font-weight: 500; color: var(--text-muted); }
.bonus-card strong { display: block; margin: 0 16px 16px; font-size: 22px; color: var(--text-strong); }
.bonus-card .btn { margin: auto 12px 12px; }
.card-grid { align-items: start; }
/* bonus terms: full text is in the HTML, collapsed under an "i" toggle like the brand's info popup */
.bonus-card details { margin: 0 16px 14px; border-radius: 12px; background: rgba(5, 6, 8, .45); font-size: 14px; }
.bonus-card summary {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; list-style: none;
  color: var(--text-muted); font-weight: 600;
}
.bonus-card summary::-webkit-details-marker { display: none; }
.bonus-card summary::before {
  content: "i"; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border: 1.5px solid currentColor;
  border-radius: 50%; font: 700 12px/1 Georgia, serif;
}
.bonus-card summary::after { content: "+"; margin-left: auto; color: var(--brand-blue-200); font-size: 18px; line-height: 1; }
.bonus-card details[open] summary::after { content: "−"; }
.bonus-card summary:hover, .bonus-card details[open] summary { color: var(--text-strong); }
.bonus-card details > :not(summary) { margin: 0 12px 10px; color: var(--text); }
.bonus-card details h4 { margin-top: 12px; margin-bottom: 6px; font-size: 13px; color: var(--text-strong); text-transform: uppercase; letter-spacing: .03em; }
.bonus-card details ol, .bonus-card details ul { padding-left: 32px; }
.bonus-card details li + li { margin-top: 4px; }

/* ---------- prose (SEO text) ---------- */
.prose { max-width: 75ch; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose ol > li::marker { color: var(--brand-blue-200); font-weight: 700; }

.prose dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 8px 20px; padding: 16px 20px; border-radius: var(--radius-card); background: var(--bg-panel); }
.prose dt { color: var(--text-muted); }
.prose dd { margin: 0; color: var(--text-strong); font-weight: 600; }
@media (max-width: 520px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 8px; } }

.table-wrap { overflow-x: auto; }
caption { caption-side: top; padding-bottom: 10px; text-align: left; color: var(--text-muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--text-strong); font-weight: 600; background: var(--bg-panel); }

/* FAQ */
.faq details { margin-bottom: 8px; border-radius: var(--radius-card); background: var(--bg-panel); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; list-style: none;
  color: var(--text-strong); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--brand-blue-200); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { margin: 0; padding: 0 20px 16px; }

/* ---------- footer ---------- */
.site-footer { padding: 32px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--text-subtle); font-size: 14px; }
.site-footer > * { max-width: var(--content-max); margin-inline: auto; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-nav h2 { margin: 0 0 12px; font-size: 16px; color: var(--text-strong); }
.footer-nav ul { margin: 0; padding: 0; list-style: none; }
.footer-nav li + li { margin-top: 8px; }
.footer-nav a { color: var(--text-muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text-strong); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-legal img { width: 80px; }
.footer-legal p { flex: 1 1 320px; margin: 0; }
.age-badge { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--text-muted); border-radius: 50%; color: var(--text-strong); font-weight: 700; font-size: 13px; }

/* ---------- desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 24px; }
  .nav-toggle { display: none; }
  .site-nav { transform: none; }
  .site-main, .site-footer { margin-left: var(--sidebar-w); }
  .header-actions .btn { min-height: 44px; padding: 10px 24px; font-size: 18px; }
  .game-card { flex-basis: calc((100% - 50px) / 6); }
  .hero { min-height: 300px; padding: 48px; }
  .widget { padding: 28px; }
}

@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .site-header .logo img { width: 80px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 12px; font-size: 14px; }
  .btn-lg { white-space: normal; text-align: center; }
}
/* small phones (320–359px): keep only the primary CTA in the header, swipe instead of arrows */
@media (max-width: 359px) {
  .header-actions .btn:not(.btn-primary) { display: none; }
  .car-btn { display: none; }
}
.section-head { flex-wrap: wrap; }
.section-head h2 { min-width: 0; overflow-wrap: anywhere; }
.hero > * { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
