/* ==========================================================================
   BetLabel Suomi — theme
   Dark UI with a leaf-green accent. Rounded shape character, gradient
   primary buttons, green table headers, accent-bordered cards.
   ========================================================================== */

:root {
  /* Brand */
  --brand-primary: #4FA83A;
  --brand-primary-dark: #3C8B2B;
  --brand-primary-hover: #59B942;
  --brand-accent: #9AD455;
  --brand-deep: #2C6B22;

  /* Dark surfaces */
  --ink-blue: #22384F;
  --ink-main: #101418;
  --ink-secondary: #1B2128;
  --ink-surface: #171C22;
  --ink-alt: #13181D;
  --ink-green: #101E15;

  --white: #FFFFFF;

  /* Light chip surface — provider/payment logos are near-black monochrome
     art and need a guaranteed light background to stay legible. */
  --chip-surface: #F7F9F5;
  --chip-border: #DCE3D6;
  --chip-text: #1B2128;

  --green-veil: rgba(154, 212, 85, .13);
  --green-veil-strong: rgba(154, 212, 85, .26);

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

  --text-muted: #838A93;
  --text-secondary: #B4BBC3;
  --text-primary: #F1F4F6;
  --text-on-dark-muted: #B4BBC3;

  /* Layout — rounded character */
  --container-width: 1240px;
  --radius-sm: 9px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-card: 16px;
  --radius-button: 12px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .42);
  --shadow-card: 0 6px 20px rgba(0, 0, 0, .34);

  --section-spacing: 72px;
  --section-spacing-tablet: 48px;
  --section-spacing-mobile: 34px;
  --grid-gap: 24px;

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

  --header-height: 78px;
  --transition-fast: 160ms ease;
  --transition-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-primary);
  color: var(--text-primary);
  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.25; margin: 0 0 .6em; color: var(--text-primary); }

p { margin: 0 0 1em; }

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

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

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

/* ==========================================================================
   Typography — headings use a short green underline accent
   ========================================================================== */

.page-title, h1.page-title {
  font-size: 42px;
  font-weight: 800;
  margin: 34px 0 0;
  color: var(--text-primary);
}

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

.block h2,
.copy h2 {
  position: relative;
  padding-bottom: 14px;
}

.block h2::after,
.copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.copy {
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-primary);
}

.copy h2 { margin-top: 0; }
.copy h3 { margin-top: 1.7em; color: var(--brand-accent); }
.copy p { color: var(--text-primary); }

.copy ul {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
  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%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--green-veil);
}

.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 header, green outer frame, striped body */
.table-scroll { overflow-x: auto; margin: 0 0 1.5em; -webkit-overflow-scrolling: touch; }

.table-scroll table {
  min-width: 480px;
  border: 1px solid var(--green-veil-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 15px;
  background: var(--ink-surface);
}

.table-scroll th {
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-dark));
  color: var(--white);
  text-align: left;
  padding: 13px 18px;
  font-weight: 700;
  white-space: nowrap;
}

.table-scroll td {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--text-primary);
}

.table-scroll tbody tr:nth-child(odd) { background: rgba(154, 212, 85, .04); }

/* ==========================================================================
   Buttons — gradient primary
   ========================================================================== */

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary-hover));
  color: var(--white);
  border: 1px solid rgba(154, 212, 85, .45);
  box-shadow: 0 4px 14px rgba(79, 168, 58, .28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 168, 58, .34);
}

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

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

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

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

.masthead {
  background: var(--ink-main);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--green-veil-strong);
}

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

.brand-mark { flex-shrink: 0; display: inline-flex; }

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

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

.menu-item { position: relative; }

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.menu-link:hover, .menu-link:focus-visible { color: var(--white); background: var(--green-veil); }

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

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

.menu-drop {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: var(--ink-secondary);
  border: 1px solid var(--green-veil-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

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

.menu-drop a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-muted);
  font-size: 14px;
  font-weight: 500;
}

.menu-drop a:hover, .menu-drop a:focus-visible { color: var(--brand-accent); background: var(--green-veil); }

.masthead-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(--radius-button);
  color: var(--brand-accent);
  background: var(--green-veil);
  border: 1px solid var(--green-veil-strong);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.gift-btn:hover { background: var(--green-veil-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(--radius-sm);
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform var(--transition-base), opacity var(--transition-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-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

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

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

.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-drop {
  list-style: none;
  padding: 0 0 12px 12px;
  display: none;
}

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

.drawer-drop a {
  display: block;
  padding: 9px 4px;
  color: var(--text-on-dark-muted);
  font-size: 14px;
}

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

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

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

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

.promo-hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--green-veil-strong);
  aspect-ratio: 1144 / 281;
  background: var(--ink-surface);
}

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

.promo-hero-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 460px;
  background: rgba(16, 20, 24, .78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  border: 1px solid var(--green-veil-strong);
  border-left: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-card);
}

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

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

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

.promo-offer-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-accent);
}

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

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

.block { padding: var(--section-spacing) 0; }
.block-base { background: var(--ink-main); }
.block-alt { background: var(--ink-alt); }
.block-leaf { background: var(--ink-green); }

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

.shot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--green-veil-strong);
  margin-bottom: 30px;
}

/* ==========================================================================
   Game grid — accent bottom border on cards
   ========================================================================== */

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

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

.game-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--brand-accent);
}

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

.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;
  color: var(--text-primary);
}

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

.rtp-chip {
  display: inline-flex;
  align-items: center;
  background: var(--green-veil);
  border: 1px solid var(--green-veil-strong);
  color: var(--brand-accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   Offer (bonus) grid — green top border
   ========================================================================== */

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

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

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

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

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

/* ==========================================================================
   Studio (gaming provider) chips
   ========================================================================== */

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

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

.studio-chip {
  background: var(--chip-surface);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 80px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.studio-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--brand-primary); }

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

/* ==========================================================================
   Cashier (payment) chips
   ========================================================================== */

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

.cashier-chip {
  background: var(--chip-surface);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-card);
  padding: 19px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.cashier-chip:hover { transform: translateY(-3px); border-color: var(--brand-primary); }

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

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

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

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

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

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

.testimonial-card {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 23px;
  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(--text-primary); }

.testimonial-date { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }

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

.testimonial-score { margin-left: 7px; font-size: 12.5px; color: var(--text-muted); font-weight: 700; }

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

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-button);
  background: var(--ink-surface);
  color: var(--text-primary);
  border: 1px solid var(--green-veil-strong);
  box-shadow: var(--shadow-sm);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

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

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

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

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

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

/* ==========================================================================
   Q&A accordion — separated panels with a green left border
   ========================================================================== */

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

.qa-item {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

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

.qa-question-wrap { margin: 0; }

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

.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(--transition-base), opacity var(--transition-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(--transition-base), padding var(--transition-base);
  font-size: 15px;
  color: var(--text-secondary);
  padding: 0 22px;
}

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

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

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

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

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

.site-footer { background: var(--ink-secondary); color: var(--text-on-dark-muted); padding: 60px 0 34px; }

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

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

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

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

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

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

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

.footer-badge:hover { opacity: 1; transform: translateY(-2px); border-color: var(--brand-primary); }

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

.footer-rg {
  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(--green-veil-strong);
  color: var(--white);
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
}

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

/* ==========================================================================
   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 { --section-spacing: var(--section-spacing-tablet); }

  .topnav { display: none; }
  .masthead .brand-mark img { width: 110px; height: auto; }
  .gift-btn { display: none; }
  .masthead-actions .btn { display: none; }
  .masthead-actions .btn-primary { display: inline-flex; }
  .burger { display: flex; }
  .drawer { display: block; }

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

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

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

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

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

  :root { --section-spacing: var(--section-spacing-mobile); }

  .page-title { font-size: 28px; margin-top: 24px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .copy { font-size: 16px; }

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

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

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

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

  .site-footer-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-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-body > .error-page { flex: 1 0 auto; }
.error-body > .site-footer { flex-shrink: 0; }

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

.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;
  color: var(--text-primary);
}

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

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