/* ==========================================================================
   BetLabel Slovenija - design system
   Dark green/graphite theme. Rounded shape character, gradient accents,
   green table headers, cards with an accent top edge.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #3F9B34;
  --brand-deep: #2F7C27;
  --brand-hi: #57B841;
  --brand-accent: #92C94A;

  /* Surfaces */
  --ink-main: #101418;
  --ink-alt: #151A1F;
  --ink-surface: #1B2127;
  --ink-panel: #222932;
  --ink-green: #101D16;
  --ink-blue: #22384F;

  --white: #FFFFFF;

  /* Guaranteed-light chip surface for monochrome logo artwork */
  --chip-bg: #FFFFFF;
  --chip-line: #DFE4E9;
  --chip-ink: #1F252C;

  --accent-wash: rgba(146, 201, 74, .13);
  --accent-wash-strong: rgba(146, 201, 74, .24);

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

  --txt: #F1F3F5;
  --txt-2: #BAC1C8;
  --txt-3: #868D95;

  /* Layout */
  --shell: 1240px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 18px;
  --r-btn: 14px;

  --sh-1: 0 2px 10px rgba(0, 0, 0, .26);
  --sh-2: 0 10px 30px rgba(0, 0, 0, .38);
  --sh-3: 0 5px 20px rgba(0, 0, 0, .3);

  --band-space: 68px;
  --band-space-md: 48px;
  --band-space-sm: 34px;
  --gap: 22px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --head-h: 76px;
  --t-fast: 160ms ease;
  --t-base: 230ms 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-main);
  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.24; margin: 0 0 .6em; color: var(--txt); }

p { margin: 0 0 1em; }

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

.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 bar
   ========================================================================== */

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

h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }

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

.copy h3 {
  padding-left: 12px;
  border-left: 3px solid var(--accent-wash-strong);
}

.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: .58em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid var(--brand-hi);
}

.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-accent); font-weight: 700; }

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

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

/* Tables - green gradient header, striped body, rounded outer frame */
.tbl { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }

.tbl table {
  min-width: 480px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  font-size: 15px;
  background: var(--ink-surface);
}

.tbl th {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-hi));
  color: var(--white);
  text-align: left;
  padding: 13px 16px;
  font-weight: 700;
  white-space: nowrap;
}

.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(146, 201, 74, .045); }

/* ==========================================================================
   Buttons - gradient primary, soft shadow
   ========================================================================== */

.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;
  white-space: nowrap;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-main {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-hi));
  color: var(--white);
  border: 1px solid rgba(146, 201, 74, .45);
  box-shadow: 0 4px 14px rgba(63, 155, 52, .3);
}

.btn-main:hover {
  background: linear-gradient(135deg, var(--brand), #63C74B);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(63, 155, 52, .38);
}

.btn-main:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(146, 201, 74, .55);
}

.btn-ghost:hover { border-color: var(--brand-accent); background: var(--accent-wash); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

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

.site-head {
  background: var(--ink-main);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sh-1);
  border-bottom: 1px solid var(--line);
}

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

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

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

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

.mainnav-item { position: relative; }

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

.mainnav-link:hover, .mainnav-link:focus-visible { color: var(--white); background: var(--accent-wash); }

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

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

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

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

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

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

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

.gift-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  color: var(--brand-accent);
  background: var(--accent-wash);
  border: 1px solid rgba(146, 201, 74, .22);
  transition: background var(--t-fast), transform var(--t-fast);
}

.gift-btn:hover { background: var(--accent-wash-strong); transform: translateY(-2px); }
.gift-btn:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  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); }

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

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

.drawer-list { list-style: none; padding: 8px 22px; }

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

.drawer-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;
}

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

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

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

.drawer-actions { display: flex; gap: 12px; padding: 16px 22px 26px; }

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

/* ==========================================================================
   Hero promo
   ========================================================================== */

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

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

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

.promo-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 452px;
  background: rgba(16, 20, 24, .78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: var(--r-md);
  padding: 26px 28px;
  border: 1px solid rgba(146, 201, 74, .3);
  box-shadow: var(--sh-3);
}

.promo-label {
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-accent);
  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-line {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-accent);
}

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

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

.band { padding: var(--band-space) 0; }
.band-base { background: var(--ink-main); }
.band-alt { background: var(--ink-alt); }
.band-accent { background: var(--ink-green); }

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

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

/* ==========================================================================
   Game grid
   ========================================================================== */

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

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

.game-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

.game-tile-img { aspect-ratio: 3 / 2; background: var(--ink-panel); }

.game-tile-img img { width: 100%; height: 100%; object-fit: cover; }

.game-tile-body { padding: 15px 16px 17px; }

.game-tile-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 9px;
  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-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(47, 124, 39, .5), rgba(87, 184, 65, .35));
  color: var(--brand-accent);
  border: 1px solid rgba(146, 201, 74, .3);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-xs);
}

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

/* ==========================================================================
   Offer grid
   ========================================================================== */

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

.offer-card {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-accent);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.offer-card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }

.offer-card-img { aspect-ratio: 16 / 10; background: var(--ink-panel); }

.offer-card-img img { width: 100%; height: 100%; object-fit: cover; }

.offer-card-body { padding: 17px 18px 21px; }

.offer-card-title { font-size: 16px; font-weight: 700; margin: 0 0 7px; color: var(--white); }

.offer-card-terms { font-size: 14.5px; color: var(--brand-accent); font-weight: 600; margin: 0; }

/* ==========================================================================
   Gaming studios - monochrome logos need a light chip
   ========================================================================== */

.studio-block { margin: 38px 0; }

.studio-block-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--txt-2);
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-hi);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.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: 80px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.studio-chip:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }

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

/* ==========================================================================
   Cashier grid
   ========================================================================== */

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

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

.cashier-tile:hover { transform: translateY(-3px); }

.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); }

/* ==========================================================================
   Player voices slider
   ========================================================================== */

.voices { position: relative; padding: 0 54px; }

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

.voice-card {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-hi);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
  padding: 22px 24px;
  scroll-snap-align: start;
}

.voice-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }

.voice-card-name { font-weight: 700; font-size: 15.5px; color: var(--txt); }

.voice-card-date { font-size: 12.5px; color: var(--txt-3); white-space: nowrap; }

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

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

.voice-score-num { margin-left: 7px; font-size: 12.5px; color: var(--txt-3); font-weight: 700; }

.voice-card-text { font-size: 14.5px; color: var(--txt-2); margin: 0; line-height: 1.62; }

.voices-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--ink-surface);
  color: var(--txt);
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  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);
}

.voices-arrow:hover {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-hi));
  color: var(--white);
  border-color: var(--brand-hi);
}

.voices-prev { left: 0; }
.voices-next { right: 0; }

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

.voices-dots button {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--line-strong);
  transition: background var(--t-fast), transform var(--t-fast);
}

.voices-dots button.on { background: var(--brand-accent); transform: scale(1.3); }

.voices-cta { text-align: center; margin-top: 30px; }

/* ==========================================================================
   Q&A accordion - panelled rows with a green left edge
   ========================================================================== */

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

.qa-item {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-hi);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.qa-item.open { border-color: rgba(146, 201, 74, .35); border-left-color: var(--brand-accent); }

.qa-head { margin: 0; }

.qa-trigger {
  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-sign { position: relative; flex-shrink: 0; width: 20px; height: 20px; }

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

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

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

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

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

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

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

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

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

.site-foot { background: var(--ink-panel); color: var(--txt-2); padding: 58px 0 34px; }

.foot-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.foot-col h3 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 3px solid var(--brand-hi);
}

.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.foot-col a { font-size: 14.5px; transition: color var(--t-fast); }
.foot-col a:hover { color: var(--brand-accent); }

.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 30px 0;
}

.foot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 42px;
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 6px 10px;
  opacity: .92;
  transition: opacity var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}

.foot-badge:hover { opacity: 1; transform: translateY(-2px); border-color: rgba(146, 201, 74, .4); }

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

.foot-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(--accent-wash-strong);
  color: var(--brand-accent);
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-xs);
  font-size: 12.5px;
}

.foot-copy { font-size: 13px; margin: 0; color: var(--txt-3); }

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

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

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

  .mainnav { display: none; }
  .site-head .brandmark img { width: 110px; height: auto; }
  .gift-btn { display: none; }
  .head-actions .btn { display: none; }
  .head-actions .btn-main { display: inline-flex; }
  .burger { display: flex; }
  .drawer { display: block; }

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

  .lead-h1 { font-size: 34px; }
  h2 { font-size: 26px; }

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

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

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

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

  :root { --band-space: var(--band-space-sm); }

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

  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offer-grid { grid-template-columns: 1fr; }
  .cashier-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: repeat(3, 1fr); }

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

  .promo { padding-top: 16px; }
  .promo-frame { 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-line { font-size: 15px; }
  .promo-label { font-size: 12px; margin-bottom: 6px; }
  .promo-offer { margin-bottom: 14px; }

  .voices { padding: 0 6px; }
  .voices-track { grid-auto-columns: 100%; }
  .voices-arrow { display: none; }

  .qa-trigger { padding: 16px; font-size: 15.5px; }
  .qa-body { padding: 0 16px; }
  .qa-item.open .qa-body { padding-bottom: 18px; }

  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .site-foot { padding: 42px 0 28px; }
}

@media (max-width: 420px) {
  .studio-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-zone { flex: 1 0 auto; }
.err-body > .site-foot { flex-shrink: 0; }

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

.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-code { font-size: 66px; font-weight: 800; margin: 0; color: var(--txt); }
.err-text { font-size: 19px; color: var(--txt-2); margin: 0 0 26px; }

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