/* ==========================================================================
   BetLabel Suomi - theme
   Dark green/graphite palette, rounded shape character, soft shadows.
   Provider / payment logo chips stay on a light surface on purpose: the
   source logos are near-black monochrome art and would vanish on dark.
   ========================================================================== */

:root {
  /* Brand */
  --brand: #3E9C34;
  --brand-deep: #2F7C29;
  --brand-hover: #47AE3B;
  --brand-accent: #93CB5B;
  --brand-glow: rgba(147, 203, 91, .16);

  /* Surfaces */
  --bg-base: #0F1216;
  --bg-alt: #141920;
  --bg-tint: #101C15;
  --surface: #1A2028;
  --surface-2: #202832;

  --white: #FFFFFF;

  --chip-bg: #FFFFFF;
  --chip-border: #DCE1E6;
  --chip-text: #1E242B;

  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .22);
  --line-brand: rgba(147, 203, 91, .34);

  --text: #F1F4F6;
  --text-soft: #B4BCC5;
  --text-mute: #838C96;

  /* Layout character: rounded + soft */
  --wrap: 1220px;
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 18px;
  --r-btn: 12px;
  --r-card: 16px;

  --sh-soft: 0 3px 12px rgba(0, 0, 0, .3);
  --sh-mid: 0 10px 30px rgba(0, 0, 0, .38);
  --sh-card: 0 6px 22px rgba(0, 0, 0, .3);

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

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

  --head-h: 78px;
  --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(--text);
  background: var(--bg-base);
  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(--text); }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--wrap);
  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
   ========================================================================== */

.page-h1, h1.page-h1 {
  font-size: 43px;
  font-weight: 800;
  margin: 34px 0 0;
  letter-spacing: -.01em;
}

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

/* Heading accent: green left border, used consistently for section H2/H3 */
.section h2,
.prose h2 {
  padding-left: 16px;
  border-left: 4px solid var(--brand);
  margin-bottom: 26px;
}

.prose h3 {
  padding-left: 12px;
  border-left: 3px solid var(--line-brand);
  margin-top: 1.7em;
}

.studio-block-title { border-left: none; padding-left: 0; }

.prose { font-size: 17px; line-height: 1.68; }
.prose h2 { margin-top: 0; }

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

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

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
}

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

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

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

/* ==========================================================================
   Tables - green gradient header, green outer frame, no zebra striping
   ========================================================================== */

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }

.table-wrap table {
  min-width: 480px;
  border: 1px solid var(--line-brand);
  border-radius: var(--r-sm);
  overflow: hidden;
  font-size: 15px;
  background: var(--surface);
  box-shadow: var(--sh-soft);
}

.table-wrap th {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  white-space: nowrap;
}

.table-wrap td {
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap tbody tr:hover { background: rgba(147, 203, 91, .05); }

/* ==========================================================================
   Buttons - gradient primary, rounded, soft lift
   ========================================================================== */

.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-primary {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-hover));
  color: var(--white);
  border: 1px solid var(--brand);
  box-shadow: 0 4px 14px rgba(62, 156, 52, .28);
}

.btn-primary:hover { background: linear-gradient(135deg, var(--brand), #52BC44); transform: translateY(-2px); }
.btn-primary:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

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

.btn-ghost:hover { border-color: var(--brand-accent); color: var(--brand-accent); background: rgba(147, 203, 91, .08); transform: translateY(-2px); }
.btn-ghost:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

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

.site-head {
  background: var(--bg-base);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--sh-soft);
  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);
}

.logo { 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(--text-soft);
  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: rgba(147, 203, 91, .1); }

.mainnav-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 .mainnav-caret { transform: rotate(-135deg); margin-top: 3px; }

.mainnav-dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 246px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-mid);
  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-dropdown,
.mainnav-item.open .mainnav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

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

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

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

.bonus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--brand-accent);
  background: var(--brand-glow);
  transition: background var(--t-fast), transform var(--t-fast);
}

.bonus-icon:hover { background: rgba(147, 203, 91, .26); transform: translateY(-2px); }
.bonus-icon:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

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

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

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

.mobile-menu {
  display: none;
  background: var(--surface-2);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}

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

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

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

.mobile-nav-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;
}

.mobile-nav-dropdown { list-style: none; padding: 0 0 12px 12px; display: none; }

.mobile-nav-item.open .mobile-nav-dropdown { display: block; }

.mobile-nav-dropdown a { display: block; padding: 9px 4px; color: var(--text-soft); font-size: 14px; }

.mobile-menu-actions { display: flex; gap: 12px; padding: 16px 22px 24px; }

.mobile-menu-actions .btn { flex: 1; }

/* ==========================================================================
   Hero / top deal
   ========================================================================== */

.topdeal { background: var(--bg-base); padding: 30px 0 34px; }

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

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

.topdeal-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 452px;
  background: rgba(15, 18, 22, .78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  border: 1px solid var(--line-brand);
  box-shadow: var(--sh-card);
}

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

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

.topdeal-offer-title {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.15;
}

.topdeal-offer-sub { display: block; font-size: 16px; font-weight: 600; color: var(--brand-accent); }

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

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: var(--space-section) 0; }
.section-base { background: var(--bg-base); }
.section-alt { background: var(--bg-alt); }
.section-tint { background: var(--bg-tint); }

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

/* ==========================================================================
   Game tiles (popular slots) - colored top border card treatment
   ========================================================================== */

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

.game-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
  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-card); border-top-color: var(--brand-accent); }

.game-tile-media { aspect-ratio: 3 / 2; background: var(--surface-2); }

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

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

.game-tile-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.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-glow);
  border: 1px solid var(--line-brand);
  color: var(--brand-accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

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

/* ==========================================================================
   Offer cards (bonuses) - tinted panel with green left edge
   ========================================================================== */

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

.offer-card {
  background: linear-gradient(180deg, rgba(147, 203, 91, .1), rgba(147, 203, 91, .03));
  border: 1px solid var(--line-brand);
  border-left: 4px solid var(--brand);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-soft);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

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

.offer-card-media { aspect-ratio: 16 / 10; background: var(--surface); }

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

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

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

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

/* ==========================================================================
   Gaming providers
   ========================================================================== */

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

.studio-block-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
  margin-bottom: 18px;
}

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

.studio-chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--r-md);
  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-soft); }

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

/* ==========================================================================
   Payments
   ========================================================================== */

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

.pay-chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-bottom: 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;
  box-shadow: var(--sh-soft);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

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

.pay-chip-media { height: 40px; display: flex; align-items: center; }

.pay-chip-media img { max-height: 40px; max-width: 100%; object-fit: contain; }

.pay-chip-name { font-size: 13.5px; font-weight: 600; color: var(--chip-text); }

/* ==========================================================================
   Player voices (reviews slider)
   ========================================================================== */

.voice-slider { position: relative; padding: 0 54px; }

.voice-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(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-accent);
  border-radius: var(--r-card);
  box-shadow: var(--sh-soft);
  padding: 23px;
  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; }

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

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

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

.star.half {
  background: linear-gradient(90deg, var(--brand-accent) 50%, rgba(255, 255, 255, .18) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.voice-card-rating-num { margin-left: 7px; font-size: 12.5px; color: var(--text-mute); font-weight: 700; }

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

.voice-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--sh-soft);
  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);
}

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

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

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

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

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

/* ==========================================================================
   FAQ - separated panels with green left edge
   ========================================================================== */

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

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

.qa-item.open { border-left-color: var(--brand-accent); box-shadow: var(--sh-soft); }

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

.qa-question {
  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(--text);
}

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

.qa-icon::before, .qa-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-accent);
  border-radius: 2px;
  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-question[aria-expanded="true"] .qa-icon::after { transform: rotate(90deg); opacity: 0; }

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

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

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

/* ==========================================================================
   Last updated
   ========================================================================== */

.section-updated { padding: 34px 0; }
.updated-line { color: var(--text-mute); font-size: 14.5px; margin: 0; }

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

.site-footer { background: var(--surface-2); color: var(--text-soft); padding: 58px 0 34px; }

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

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

.foot-col h3 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.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-images { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding: 28px 0; }

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

.foot-image-link:hover { opacity: 1; transform: translateY(-2px); border-color: var(--line-brand); }

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

.foot-rg-text { font-size: 13.5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-glow);
  color: var(--brand-accent);
  font-weight: 800;
  padding: 2px 9px;
  border-radius: var(--r-xs);
  font-size: 12.5px;
  border: 1px solid var(--line-brand);
}

.foot-copyright { font-size: 13px; margin: 0; color: var(--text-mute); }

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

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

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

  .mainnav { display: none; }
  .site-head .logo img { width: 110px; height: auto; }
  .bonus-icon { display: none; }
  .site-head-actions .btn { display: none; }
  .site-head-actions .btn-primary { display: inline-flex; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .topdeal-frame { aspect-ratio: 712 / 273; }
  .topdeal-panel { left: 20px; right: 20px; max-width: none; padding: 22px; }
  .topdeal-offer-title { font-size: 26px; }

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

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

  .voice-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) {
  .container { padding: 0 18px; }

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

  .page-h1 { font-size: 28px; margin-top: 24px; }
  h2 { font-size: 23px; }
  h3 { font-size: 19px; }
  .prose { font-size: 16px; }
  .section h2, .prose h2 { padding-left: 12px; border-left-width: 3px; }

  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .offer-grid { grid-template-columns: 1fr; }
  .pay-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-provider { order: 1; width: 100%; white-space: normal; overflow: visible; text-overflow: clip; }
  .rtp-chip { order: 2; white-space: nowrap; }

  .topdeal { padding-top: 16px; }
  .topdeal-frame { border-radius: var(--r-md); aspect-ratio: 8 / 5; }
  .topdeal-panel { border-radius: var(--r-md); padding: 18px; left: 12px; right: 12px; bottom: 12px; }
  .topdeal-offer-title { font-size: 22px; }
  .topdeal-offer-sub { font-size: 14px; }
  .topdeal-label { font-size: 11.5px; margin-bottom: 6px; }
  .topdeal-offer { margin-bottom: 14px; }

  .voice-slider { padding: 0 8px; }
  .voice-track { grid-auto-columns: 100%; }
  .voice-nav { display: none; }

  .qa-question { font-size: 15.5px; padding: 16px 16px; }
  .qa-answer { padding: 0 16px; }
  .qa-item.open .qa-answer { padding-bottom: 16px; }

  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { 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 page
   ========================================================================== */

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

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
}

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

.error-page-title { font-size: 64px; font-weight: 800; margin: 0; }

.error-page-text { font-size: 19px; color: var(--text-soft); margin: 0 0 24px; }

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