/* ==========================================================================
   BetLabel Casino Suomi - design system
   Dark green/graphite theme, square-leaning shape language, flat shadows.
   ========================================================================== */

:root {
  /* Brand */
  --brand-primary: #46A03A;
  --brand-primary-hover: #3A8B30;
  --brand-deep: #2F7A2A;
  --brand-accent: #8FD05C;

  /* Dark surfaces */
  --ink-blue: #22384F;
  --ink-main: #101418;
  --ink-secondary: #1E242B;
  --ink-surface: #191F25;
  --ink-alt: #151A20;
  --ink-green-tint: #12211A;

  --white: #FFFFFF;

  /* Light chip surface for monochrome logo art */
  --chip-surface: #FAFBFA;
  --chip-border: #DCE2DC;
  --chip-text: #1E242B;

  --green-surface: rgba(143, 208, 92, .13);
  --green-surface-strong: rgba(143, 208, 92, .22);

  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --line-green: rgba(143, 208, 92, .34);

  --text-muted: #838994;
  --text-secondary: #B4BAC2;
  --text-primary: #F1F3F5;
  --text-on-dark-muted: #B4BAC2;

  /* Layout - square-leaning radii, flat shadows */
  --shell-width: 1180px;
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 7px;
  --radius-lg: 9px;
  --radius-card: 6px;
  --radius-button: 5px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .34);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .3);

  --block-spacing: 60px;
  --block-spacing-tablet: 44px;
  --block-spacing-mobile: 32px;
  --grid-gap: 22px;

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

  --header-height: 76px;
  --transition-fast: 150ms ease;
  --transition-base: 210ms 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.6;
}

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

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

.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 carry a green left rule
   ========================================================================== */

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

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

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

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

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

.copy h2 { margin-top: 0; }
.copy h3 { margin-top: 1.7em; }
.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: .6em;
  width: 9px;
  height: 3px;
  background: var(--brand-accent);
}

.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: 40px; }

/* Tables - green header, minimal horizontal rules */
.table-scroll { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }

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

.table-scroll th {
  background: var(--brand-deep);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  white-space: nowrap;
}

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

.table-scroll tbody tr:hover { background: rgba(143, 208, 92, .05); }

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

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

.btn-primary {
  background: linear-gradient(135deg, #3A8B30, #5FB944);
  color: var(--white);
  border: 1px solid rgba(143, 208, 92, .5);
}

.btn-primary:hover { background: linear-gradient(135deg, #2F7A2A, #55AE3C); box-shadow: 0 0 0 2px rgba(143, 208, 92, .18); }
.btn-primary:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(143, 208, 92, .55);
}

.btn-secondary:hover { border-color: var(--brand-accent); background: var(--green-surface); }
.btn-secondary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

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

.site-header {
  background: var(--ink-main);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--brand-deep);
}

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

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

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

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

.topnav-item { position: relative; }

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

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

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

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

.topnav-dropdown {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 244px;
  background: var(--ink-secondary);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand-primary);
  border-radius: 0 0 var(--radius-md) 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);
}

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

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

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

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

.bonus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--brand-accent);
  background: var(--green-surface);
  border: 1px solid var(--line-green);
  transition: background var(--transition-fast);
}

.bonus-icon:hover { background: var(--green-surface-strong); }
.bonus-icon:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

.promo-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1144 / 281;
  background: var(--ink-surface);
}

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

.promo-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 450px;
  background: rgba(16, 20, 24, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  border: 1px solid rgba(143, 208, 92, .3);
  border-left: 4px solid var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.promo-eyebrow {
  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-name {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

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

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

/* ==========================================================================
   Blocks
   ========================================================================== */

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

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

.content-shot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  margin-bottom: 28px;
}

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

.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-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.game-tile:hover { border-color: var(--line-green); border-top-color: var(--brand-accent); background: var(--ink-secondary); }

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

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

.game-tile-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--brand-accent);
  background: linear-gradient(135deg, var(--ink-secondary), var(--ink-green-tint));
}

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

.game-tile-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  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-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-surface);
  border: 1px solid var(--line-green);
  color: var(--brand-accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

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

/* ==========================================================================
   Offer cards
   ========================================================================== */

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

.offer-card {
  background: var(--ink-surface);
  border: 1px solid var(--line-green);
  border-top: 3px solid var(--brand-accent);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: background var(--transition-fast);
}

.offer-card:hover { background: var(--ink-secondary); }

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

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

.offer-card-body { padding: 16px 18px 20px; }

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

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

/* ==========================================================================
   Gaming studios (provider logos)
   ========================================================================== */

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

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

.studio-tile {
  background: var(--chip-surface);
  border: 1px solid var(--chip-border);
  border-bottom: 3px solid var(--brand-primary);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 76px;
  transition: border-bottom-color var(--transition-fast);
}

.studio-tile:hover { border-bottom-color: var(--brand-accent); }

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

/* ==========================================================================
   Cashier tiles (payment logos)
   ========================================================================== */

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

.cashier-tile {
  background: var(--chip-surface);
  border: 1px solid var(--chip-border);
  border-bottom: 3px solid var(--brand-primary);
  border-radius: var(--radius-card);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-bottom-color var(--transition-fast);
}

.cashier-tile:hover { border-bottom-color: var(--brand-accent); }

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

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

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

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

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

.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: 3px solid var(--brand-primary);
  border-radius: var(--radius-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(--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-rating-num { margin-left: 6px; font-size: 12.5px; color: var(--text-muted); font-weight: 600; }

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

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--ink-surface);
  color: var(--text-primary);
  border: 1px solid var(--line-green);
  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-nav-prev { left: 0; }
.testimonial-nav-next { right: 0; }

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

.testimonial-dots button {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background var(--transition-fast), width var(--transition-fast);
}

.testimonial-dots button.active { background: var(--brand-accent); width: 28px; }

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

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

.qa-item {
  background: var(--ink-surface);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  padding: 0 18px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

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

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

.qa-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  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);
  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);
}

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

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

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

.block-updated { padding: 32px 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: 56px 0 32px; border-top: 2px solid var(--brand-deep); }

.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 .brandmark { margin-bottom: 12px; }

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

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

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

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

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

.foot-badge:hover { opacity: 1; border-color: var(--line-green); }

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

.foot-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-surface);
  border: 1px solid var(--line-green);
  color: var(--brand-accent);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 12.5px;
}

.foot-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 { --block-spacing: var(--block-spacing-tablet); }

  .topnav { display: none; }
  .site-header .brandmark img { width: 110px; height: auto; }
  .bonus-icon { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
  .burger { display: flex; }
  .mobile-panel { display: block; }

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

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

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

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

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

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

  .page-h1 { 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: 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: 4px; }
  .game-tile-studio {
    order: 1;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .rtp-badge { order: 2; white-space: nowrap; }

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

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

  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding: 40px 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(--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; }
}
