/* ==========================================================================
   BetLabel Slovenija - theme
   Dark surfaces, green brand accent, squared corners, flat shadows.
   ========================================================================== */

:root {
  --brand: #3F9B34;
  --brand-hi: #58B341;
  --brand-lo: #317C28;
  --brand-soft: #8FC94A;

  --ink-900: #101418;
  --ink-800: #14181D;
  --ink-700: #171B21;
  --ink-600: #1B2027;
  --ink-green: #0F1C13;

  --white: #FFFFFF;

  --chip-bg: #FFFFFF;
  --chip-line: #DFE3E8;
  --chip-ink: #1B2027;

  --brand-veil: rgba(143, 201, 74, .13);
  --brand-veil-strong: rgba(143, 201, 74, .26);

  --line: rgba(255, 255, 255, .11);
  --line-hi: rgba(255, 255, 255, .2);

  --txt-dim: #838A93;
  --txt-soft: #B3B9C1;
  --txt: #F1F3F5;

  --shell: 1220px;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-btn: 6px;
  --r-card: 7px;

  --sh-flat: 0 1px 3px rgba(0, 0, 0, .3);
  --sh-soft: 0 4px 14px rgba(0, 0, 0, .34);
  --sh-lift: 0 8px 22px rgba(0, 0, 0, .42);

  --band: 60px;
  --band-md: 46px;
  --band-sm: 34px;
  --gap: 22px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bar-h: 74px;
  --t-fast: 150ms ease;
  --t-base: 220ms ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--txt);
  background: var(--ink-900);
  line-height: 1.62;
}

img { max-width: 100%; display: block; }
:where(img[width][height]) { height: auto; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

ul, ol { margin: 0; padding: 0; }

table { border-collapse: collapse; width: 100%; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; margin: 0 0 .6em; color: var(--txt); }

p { margin: 0 0 1em; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus { left: 0; }

/* ==========================================================================
   Typography - headings carry a green left rule
   ========================================================================== */

.page-h1, h1.page-h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 34px 0 0;
  padding-left: 16px;
  border-left: 5px solid var(--brand);
  color: var(--txt);
}

h2 { font-size: 29px; font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }

.band h2,
.copy h2 {
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}

.copy h3 {
  padding-left: 12px;
  border-left: 3px solid var(--brand-soft);
}

.copy {
  font-size: 17px;
  line-height: 1.66;
  color: var(--txt);
}

.copy h2 { margin-top: 0; }
.copy h3 { margin-top: 1.7em; }
.copy p { color: var(--txt); }

.copy ul {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  list-style: none;
}

.copy ul li { position: relative; padding-left: 1.5em; margin-bottom: .5em; }

.copy ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 9px;
  height: 3px;
  background: var(--brand-soft);
}

.copy ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.copy ol li { padding-left: .4em; margin-bottom: .5em; }
.copy ol li::marker { color: var(--brand-soft); font-weight: 700; }

.copy a { color: var(--brand-soft); text-decoration: underline; text-underline-offset: 2px; }
.copy a:hover { color: var(--white); }
.copy a:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }

.copy-after-grid { margin-top: 40px; }

/* ==========================================================================
   Tables - green header, striped rows, square corners
   ========================================================================== */

.tbl { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }

.tbl table {
  min-width: 520px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--ink-700);
}

.tbl th {
  background: var(--brand-lo);
  color: var(--white);
  text-align: left;
  padding: 13px 16px;
  font-weight: 700;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.tbl th:last-child { border-right: none; }

.tbl td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--txt);
}

.tbl tbody tr:nth-child(odd) { background: rgba(255, 255, 255, .035); }
.tbl tbody tr:hover { background: var(--brand-veil); }
.tbl tbody td:first-child { color: var(--brand-soft); font-weight: 600; }

/* ==========================================================================
   Buttons - gradient primary, square-ish
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--r-btn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.btn-main {
  background: linear-gradient(135deg, var(--brand-lo), var(--brand-hi));
  color: var(--white);
  border: 1px solid var(--brand-lo);
  box-shadow: var(--sh-flat);
}

.btn-main:hover { background: linear-gradient(135deg, var(--brand), var(--brand-soft)); box-shadow: 0 3px 12px rgba(63, 155, 52, .4); }
.btn-main:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-hi);
}

.btn-ghost:hover { border-color: var(--brand-soft); color: var(--brand-soft); }
.btn-ghost:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  background: var(--ink-600);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--brand-lo);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--bar-h);
}

.brandmark { flex-shrink: 0; display: inline-flex; }

.topnav { flex: 1; min-width: 0; }

.topnav-list { display: flex; align-items: center; gap: 2px; list-style: none; flex-wrap: wrap; }

.topnav-item { position: relative; }

.topnav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--txt-soft);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: var(--r-xs);
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.topnav-link:hover, .topnav-link:focus-visible { color: var(--white); border-bottom-color: var(--brand-soft); }

.topnav-caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--t-fast);
}

.topnav-item.open .topnav-caret { transform: rotate(-135deg); margin-top: 3px; }

.topnav-sub {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: var(--sh-lift);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}

.topnav-item:hover .topnav-sub,
.topnav-item.open .topnav-sub { opacity: 1; visibility: visible; transform: translateY(0); }

.topnav-sub a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  color: var(--txt-soft);
  font-size: 14px;
  font-weight: 500;
}

.topnav-sub a:hover, .topnav-sub a:focus-visible { color: var(--brand-soft); background: rgba(255, 255, 255, .05); }

.topbar-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.gift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--brand-soft);
  background: var(--brand-veil);
  border: 1px solid var(--brand-veil-strong);
  transition: background var(--t-fast);
}

.gift-btn:hover { background: var(--brand-veil-strong); }
.gift-btn:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 2px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform var(--t-base), opacity var(--t-base);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav {
  display: none;
  background: var(--ink-700);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

.mnav.open { max-height: 80vh; overflow-y: auto; }

.mnav-list { list-style: none; padding: 8px 20px; }

.mnav-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }

.mnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.mnav-sub { list-style: none; padding: 0 0 12px 12px; display: none; }

.mnav-item.open .mnav-sub { display: block; }

.mnav-sub a { display: block; padding: 9px 4px; color: var(--txt-soft); font-size: 14px; }

.mnav-actions { display: flex; gap: 12px; padding: 16px 20px 24px; }

.mnav-actions .btn { flex: 1; }

/* ==========================================================================
   Promo hero
   ========================================================================== */

.promo { background: var(--ink-900); padding: 28px 0 34px; }

.promo-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-soft);
  aspect-ratio: 1144 / 281;
  background: var(--ink-700);
}

.promo-visual img { width: 100%; height: 100%; object-fit: cover; }

.promo-panel {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  max-width: 452px;
  background: rgba(16, 20, 24, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 24px 26px;
  border-left: 4px solid var(--brand);
  box-shadow: var(--sh-flat);
}

.promo-label {
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-soft);
  margin: 0 0 10px;
}

.promo-offer { margin-bottom: 20px; }

.promo-offer-title {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.promo-offer-sub { display: block; font-size: 17px; font-weight: 600; color: var(--brand-soft); }

.promo-cta { width: 100%; font-size: 16px; min-height: 50px; }

/* ==========================================================================
   Bands
   ========================================================================== */

.band { padding: var(--band) 0; }
.band-base { background: var(--ink-900); }
.band-alt { background: var(--ink-800); }
.band-green { background: var(--ink-green); }

.band h2 { margin-bottom: 28px; }

.shot {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-soft);
  margin-bottom: 30px;
}

/* ==========================================================================
   Game tiles - colored top border
   ========================================================================== */

.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

.game-tile {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.game-tile:hover { border-color: var(--brand-soft); box-shadow: var(--sh-soft); }

.game-tile-img { aspect-ratio: 3 / 2; background: var(--ink-600); }
.game-tile-img img { width: 100%; height: 100%; object-fit: cover; }

.game-tile-info { padding: 14px 16px 16px; }

.game-tile-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--txt);
}

.game-tile-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.rtp-chip {
  display: inline-flex;
  align-items: center;
  background: var(--brand-lo);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-xs);
}

.game-tile-studio { font-size: 12.5px; color: var(--txt-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   Offer boxes
   ========================================================================== */

.offers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: 40px; }

.offer-box {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brand-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.offer-box:hover { box-shadow: var(--sh-soft); }

.offer-box-img { aspect-ratio: 16 / 10; background: var(--ink-600); }
.offer-box-img img { width: 100%; height: 100%; object-fit: cover; }

.offer-box-info { padding: 16px 18px 20px; }
.offer-box-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: var(--white); }
.offer-box-text { font-size: 14.5px; color: var(--brand-soft); font-weight: 600; margin: 0; }

/* ==========================================================================
   Studios (gaming providers)
   ========================================================================== */

.studios { margin: 34px 0; }

.studios-title {
  font-size: 21px;
  color: var(--txt);
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-soft);
}

.studios-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.studio-chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 78px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.studio-chip:hover { border-color: var(--brand); box-shadow: var(--sh-flat); }

.studio-chip img { max-height: 34px; width: auto; object-fit: contain; }

/* ==========================================================================
   Cashier (payments)
   ========================================================================== */

.cashier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: 40px; }

.cashier-tile {
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.cashier-tile:hover { box-shadow: var(--sh-flat); }

.cashier-tile-img { height: 40px; display: flex; align-items: center; }
.cashier-tile-img img { max-height: 40px; max-width: 100%; object-fit: contain; }

.cashier-tile-name { font-size: 13.5px; font-weight: 600; color: var(--chip-ink); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials { position: relative; padding: 0 52px; }

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap);
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-soft);
  border-radius: var(--r-card);
  padding: 22px;
  scroll-snap-align: start;
}

.testimonial-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.testimonial-name { font-weight: 700; font-size: 15.5px; color: var(--txt); }
.testimonial-date { font-size: 12.5px; color: var(--txt-dim); white-space: nowrap; }

.testimonial-stars { margin-bottom: 12px; font-size: 15px; display: flex; align-items: center; gap: 2px; }

.star { color: rgba(255, 255, 255, .18); }
.star.on { color: var(--brand-soft); }

.testimonial-score { margin-left: 6px; font-size: 12.5px; color: var(--txt-dim); font-weight: 600; }

.testimonial-text { font-size: 14.5px; color: var(--txt-soft); margin: 0; line-height: 1.6; }

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--ink-700);
  color: var(--txt);
  border: 1px solid var(--line);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.testimonial-arrow:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.testimonial-arrow-prev { left: 0; }
.testimonial-arrow-next { right: 0; }

.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }

.testimonial-dots button {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-hi);
  transition: background var(--t-fast);
}

.testimonial-dots button.active { background: var(--brand-soft); }

.testimonials-cta { text-align: center; margin-top: 28px; }

/* ==========================================================================
   Q&A accordion - separated rows with green left rule when open
   ========================================================================== */

.qa { display: flex; flex-direction: column; gap: 10px; }

.qa-item {
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--r-card);
  transition: border-color var(--t-fast);
}

.qa-item.open { border-left-color: var(--brand); }

.qa-q-wrap { margin: 0; padding: 0; border: none; }

.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--txt);
}

.qa-icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }

.qa-icon::before, .qa-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-soft);
  transition: transform var(--t-base), opacity var(--t-base);
}

.qa-icon::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.qa-icon::after { top: 2px; left: 9px; width: 2px; height: 16px; }

.qa-q[aria-expanded="true"] .qa-icon::after { transform: rotate(90deg); opacity: 0; }

.qa-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
  font-size: 15px;
  color: var(--txt-soft);
  padding: 0 20px;
}

.qa-a p:last-child { margin-bottom: 0; }

.qa-item.open .qa-a { padding-bottom: 20px; }

/* ==========================================================================
   Updated line
   ========================================================================== */

.band-updated { padding: 32px 0; }
.updated-line { color: var(--txt-dim); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--ink-600); color: var(--txt-soft); padding: 54px 0 32px; border-top: 2px solid var(--brand-lo); }

.site-footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-footer-brand .brandmark { margin-bottom: 12px; }

.site-footer-col h3 {
  color: var(--white);
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand);
  display: inline-block;
}

.site-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer-col a { font-size: 14.5px; transition: color var(--t-fast); }
.site-footer-col a:hover { color: var(--brand-soft); }

.site-footer-badges { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; padding: 28px 0; }

.site-footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 40px;
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 6px 10px;
  opacity: .9;
  transition: opacity var(--t-fast), border-color var(--t-fast);
}

.site-footer-badge:hover { opacity: 1; border-color: var(--brand-soft); }

.site-footer-badge img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }

.site-footer-notice { font-size: 13.5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }

.age-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-lo);
  color: var(--white);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-xs);
  font-size: 12.5px;
}

.site-footer-legal { font-size: 13px; margin: 0; color: var(--txt-dim); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .studios-grid { grid-template-columns: repeat(4, 1fr); }
  .cashier-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  :root { --band: var(--band-md); }

  .topnav { display: none; }
  .topbar .brandmark img { width: 110px; height: auto; }
  .gift-btn { display: none; }
  .topbar-actions .btn { display: none; }
  .topbar-actions .btn-main { display: inline-flex; }
  .burger { display: flex; }
  .mnav { display: block; }

  .promo-visual { aspect-ratio: 712 / 273; }
  .promo-panel { left: 18px; right: 18px; max-width: none; padding: 22px; }

  .page-h1 { font-size: 33px; }
  h2 { font-size: 26px; }

  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .cashier-grid { grid-template-columns: repeat(3, 1fr); }
  .studios-grid { grid-template-columns: repeat(4, 1fr); }

  .testimonials-track { grid-auto-columns: calc((100% - var(--gap)) / 2); }

  .site-footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .shell { padding: 0 18px; }
  :root { --band: var(--band-sm); }

  .page-h1 { font-size: 27px; margin-top: 24px; }
  h2 { font-size: 23px; }
  h3 { font-size: 19px; }
  .copy { font-size: 16px; }

  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offers-grid { grid-template-columns: 1fr; }
  .cashier-grid { grid-template-columns: repeat(2, 1fr); }
  .studios-grid { grid-template-columns: repeat(3, 1fr); }

  .game-tile-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .game-tile-studio { order: 1; width: 100%; white-space: normal; overflow: visible; text-overflow: clip; }
  .rtp-chip { order: 2; white-space: nowrap; }

  .promo { padding-top: 16px; }
  .promo-visual { border-radius: var(--r-sm); aspect-ratio: 8 / 5; }
  .promo-panel { border-radius: var(--r-sm); padding: 18px; left: 12px; right: 12px; bottom: 12px; }
  .promo-offer-title { font-size: 19px; }
  .promo-offer-sub { font-size: 15px; }
  .promo-label { font-size: 12px; margin-bottom: 6px; }
  .promo-offer { margin-bottom: 14px; }

  .testimonials { padding: 0 8px; }
  .testimonials-track { grid-auto-columns: 100%; }
  .testimonial-arrow { display: none; }

  .site-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 0 28px; }
}

@media (max-width: 420px) {
  .studios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}

/* ==========================================================================
   404
   ========================================================================== */

.err-body { min-height: 100vh; display: flex; flex-direction: column; }
.err-body > .err { flex: 1 0 auto; }
.err-body > .site-footer { flex-shrink: 0; }

.err { min-height: 60vh; display: flex; align-items: center; justify-content: center; background: var(--ink-900); }

.err-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.err-title { font-size: 64px; font-weight: 800; margin: 0; color: var(--txt); }
.err-text { font-size: 19px; color: var(--txt-soft); margin: 0 0 24px; }

@media (max-width: 767px) {
  .err-title { font-size: 44px; }
  .err-text { font-size: 17px; }
}
