/* ==========================================================================
   BettySpin - Design System
   Palette: black #000000 / card #1A162C / elevated #251F41 / secondary purple
   #41336A / primary purple #6F5AF5 / white / muted #A5A2AE.
   Accents: success green (wins, RTP), bonus yellow (offers), promo red (tags).
   Provider/payment logo chips stay on a light surface on purpose: the source
   logo SVGs are near-black monochrome art and would vanish on a dark card.
   ========================================================================== */

:root {
  /* Brand */
  --brand-primary: #6F5AF5;
  --brand-primary-hover: #5A45E0;
  --brand-accent: #907EFF;           /* lighter purple from the logo, for text/icons on black */
  --primary-secondary: #41336A;

  /* Dark surfaces */
  --dark-main: #000000;              /* main background */
  --dark-surface: #1A162C;           /* card background */
  --dark-secondary: #251F41;         /* elevated surface */
  --dark-alt: #0B0912;               /* alternating section tone (derived) */
  --dark-purple-tint: #100C20;       /* accent section tone (derived) */

  --white: #FFFFFF;

  /* Accents */
  --accent-success: #19D34A;
  --accent-bonus: #F6E75C;
  --accent-promo: #DE1522;

  /* Light chip surface, used only where a logo needs a guaranteed-light
     background (gaming provider / payment method logos) */
  --chip-surface: #FFFFFF;
  --chip-border: #E3E6EA;
  --chip-text: #1A162C;
  --chip-text-muted: #6B7178;

  --accent-surface: rgba(111, 90, 245, .14);

  --border: rgba(165, 162, 174, .16);
  --border-strong: rgba(165, 162, 174, .3);

  --text-muted: #A5A2AE;
  --text-secondary: #C9C6D2;
  --text-primary: #FFFFFF;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #A5A2AE;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-card: 12px;
  --radius-button: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, .55);
  --shadow-card: 0 4px 18px rgba(0, 0, 0, .45);

  --section-spacing: 64px;
  --section-spacing-tablet: 44px;
  --section-spacing-mobile: 32px;
  --grid-gap: 20px;

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

  --header-height: 76px;
  --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(--dark-main);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* Auto-scale height for plain content images that declare intrinsic
   width/height attributes (prevents layout shift while staying responsive).
   Wrapped in :where() so this reset carries zero specificity - any
   component rule like `.hero-banner img { height: 100% }` always wins,
   instead of the attribute selectors here outranking it by accident. */
: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; }

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

/* ==========================================================================
   Typography
   ========================================================================== */

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

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

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

.prose h2 { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose p { color: var(--text-primary); }
.prose .lead { font-size: 19px; color: var(--text-secondary); }

.prose ul {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
  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: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  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: 40px; }

/* Tables inside article content */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }

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

.table-wrap th {
  background: var(--dark-secondary);
  color: var(--white);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  white-space: nowrap;
}

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

.table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  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);
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  border: 1px solid var(--brand-primary);
}

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

.btn-secondary {
  background: var(--primary-secondary);
  color: var(--white);
  border: 1px solid var(--primary-secondary);
}

.btn-secondary:hover { background: #50407F; border-color: #50407F; transform: translateY(-1px); }
.btn-secondary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

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

.header {
  background: var(--dark-main);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

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

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

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

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

.nav-item { position: relative; }

.nav-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-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link:focus-visible { color: var(--white); background: rgba(255, 255, 255, .06); }

.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: 50%;
  color: var(--brand-accent);
  background: rgba(111, 90, 245, .18);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.bonus-icon:hover { background: rgba(111, 90, 245, .32); transform: translateY(-1px); }
.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: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

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

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

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

.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-menu-actions {
  display: flex;
  gap: 12px;
  padding: 16px 20px 24px;
}

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

/* ==========================================================================
   Hero - brand panel (palette gradient + oversized logo mark)
   ========================================================================== */

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

.hero-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 52px 56px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(60% 130% at 86% 45%, rgba(111, 90, 245, .55), transparent 64%),
    linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-secondary) 58%, var(--primary-secondary) 150%);
}

.hero-art {
  position: absolute;
  right: 7%;
  top: 50%;
  height: 135%;
  width: auto;
  max-width: none;
  transform: translateY(-50%) rotate(8deg);
  opacity: .28;
  pointer-events: none;
}

.hero-content { position: relative; width: 100%; max-width: 580px; }

.hero-bonus { margin: 0 0 28px; }

.hero-bonus-name {
  display: block;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.hero-bonus-detail {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-bonus);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-cta { font-size: 16px; min-height: 50px; padding: 0 34px; }

/* Soft pulsing glow on primary CTAs (hero + header) */
.btn-glow { animation: cta-pulse 2.4s ease-in-out infinite; will-change: transform; }
.btn-glow:hover { animation-play-state: paused; }

@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(111, 90, 245, .5), 0 0 12px rgba(144, 126, 255, .25);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 0 0 6px rgba(111, 90, 245, 0), 0 0 26px rgba(144, 126, 255, .55);
  }
}

/* ==========================================================================
   Sections - subtle alternating dark tones
   ========================================================================== */

.section { padding: var(--section-spacing) 0; }
.section-white { background: var(--dark-main); }
.section-gray { background: var(--dark-alt); }
.section-purple { background: var(--dark-purple-tint); }

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

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

/* ==========================================================================
   Slot grid
   ========================================================================== */

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

.slot-card {
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.slot-card-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--dark-secondary); }

.slot-card-media img { width: 100%; height: 100%; object-fit: cover; transition: filter var(--transition-base), transform var(--transition-base); }

/* Hover: blurred cover + play button */
.slot-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.slot-card-play-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 6px rgba(111, 90, 245, .32), 0 6px 20px rgba(0, 0, 0, .45);
  transform: scale(.7);
  transition: transform var(--transition-base), background var(--transition-fast);
}

.slot-card-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--white);
}

.slot-card:hover .slot-card-media img,
.slot-card:focus-within .slot-card-media img { filter: blur(4px) brightness(.8); transform: scale(1.06); }

.slot-card:hover .slot-card-play,
.slot-card-play:focus-visible { opacity: 1; }

.slot-card:hover .slot-card-play-icon,
.slot-card-play:focus-visible .slot-card-play-icon { transform: scale(1); }

.slot-card-play:hover .slot-card-play-icon { background: var(--brand-primary-hover); }
.slot-card-play:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: -2px; }

.slot-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--dark-secondary);
}

.slot-card-body { padding: 14px 16px 16px; }

.slot-card-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-primary);
}

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

.slot-card-provider {
  display: block;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   Bonus grid
   ========================================================================== */

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

.bonus-card {
  background: var(--accent-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(111, 90, 245, .4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.bonus-card:hover { transform: translateY(-3px); }

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

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

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

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

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

/* ==========================================================================
   Gaming providers
   Logos are near-black monochrome art -> kept on a light chip surface.
   ========================================================================== */

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

.provider-block-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

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

.provider-card {
  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: 76px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.provider-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

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

/* ==========================================================================
   Payments grid
   Logos may include very dark artwork too -> same light chip treatment.
   ========================================================================== */

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

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

.payment-card:hover { transform: translateY(-2px); }

.payment-card-media { height: 40px; display: flex; align-items: center; }

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

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

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

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

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

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brand-accent);
  transition: transform var(--transition-base);
}

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

.faq-question[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg) translate(0, 0); opacity: 0; }

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

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

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

/* ==========================================================================
   Date updated
   ========================================================================== */

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

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

.footer { background: var(--dark-surface); color: var(--text-on-dark-muted); padding: 56px 0 32px; }

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

.footer-brand .logo { margin-bottom: 16px; }

.footer-about { font-size: 14px; line-height: 1.7; margin: 0; max-width: 340px; }

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  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(--white); }

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

.footer-image-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 40px;
  background: var(--dark-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  opacity: .92;
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.footer-image-link:hover { opacity: 1; transform: translateY(-2px); }

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

.footer-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(--accent-promo);
  color: var(--white);
  font-weight: 700;
  padding: 2px 8px;
  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) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .provider-grid { grid-template-columns: repeat(4, 1fr); }
  .payment-grid { grid-template-columns: repeat(5, 1fr); }
}

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

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

  .hero-banner { padding: 36px 32px; min-height: 280px; }
  .hero-content { max-width: none; }
  .hero-bonus-name { font-size: 32px; }

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

  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .provider-grid { grid-template-columns: repeat(4, 1fr); }

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

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

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

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

  .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }


  .hero { padding-top: 16px; }
  .hero-banner { border-radius: var(--radius-md); padding: 26px 20px; min-height: 0; }
  .hero-art { right: -12%; height: 120%; opacity: .2; }
  .hero-bonus { margin: 14px 0 20px; }
  .hero-bonus-name { font-size: 26px; }
  .hero-bonus-detail { font-size: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-cta { width: 100%; }

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

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

/* Reduced motion */
@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 > .footer { flex-shrink: 0; }

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-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; }
}

/* ==========================================================================
   BettySpin additions
   ========================================================================== */

.prose code {
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--dark-secondary);
  color: var(--accent-bonus);
  font-size: .92em;
  font-weight: 700;
}

.bonus-icon { text-decoration: none; }

/* Slot cards: branded cover tiles (no third-party artwork) */
.slot-card-fallback {
  font-size: 44px;
  letter-spacing: .04em;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
  transition: filter var(--transition-base), transform var(--transition-base);
}

.fb-0 { background: radial-gradient(90% 90% at 80% 20%, rgba(144, 126, 255, .55), transparent 60%), linear-gradient(135deg, var(--primary-secondary), var(--dark-surface)); }
.fb-1 { background: radial-gradient(90% 90% at 20% 20%, rgba(111, 90, 245, .7), transparent 60%), linear-gradient(135deg, var(--dark-secondary), #0B0912); }
.fb-2 { background: radial-gradient(90% 90% at 80% 80%, rgba(246, 231, 92, .22), transparent 60%), linear-gradient(135deg, var(--primary-secondary), var(--dark-secondary)); }
.fb-3 { background: radial-gradient(90% 90% at 20% 80%, rgba(222, 21, 34, .32), transparent 60%), linear-gradient(135deg, var(--dark-secondary), var(--dark-surface)); }

.slot-card:hover .slot-card-fallback,
.slot-card:focus-within .slot-card-fallback { filter: blur(3px) brightness(.8); transform: scale(1.06); }

.slot-card-meta { justify-content: flex-start; }
.slot-card-rtp { flex-shrink: 0; font-size: 13px; font-weight: 800; color: var(--accent-success); }

/* Bonus cards: value tiles */
.bonus-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.bonus-visual-value { font-size: 44px; font-weight: 800; line-height: 1; color: var(--white); text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.bonus-visual-cap { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-bonus); }

.bv-0 { background: radial-gradient(80% 100% at 80% 10%, rgba(144, 126, 255, .6), transparent 62%), linear-gradient(135deg, var(--primary-secondary), var(--dark-surface)); }
.bv-1 { background: radial-gradient(80% 100% at 20% 10%, rgba(111, 90, 245, .7), transparent 62%), linear-gradient(135deg, var(--dark-secondary), var(--dark-surface)); }
.bv-2 { background: radial-gradient(80% 100% at 80% 90%, rgba(111, 90, 245, .6), transparent 62%), linear-gradient(135deg, var(--dark-surface), var(--primary-secondary)); }
.bv-3 { background: radial-gradient(80% 100% at 20% 90%, rgba(144, 126, 255, .5), transparent 62%), linear-gradient(135deg, var(--primary-secondary), var(--dark-secondary)); }

@media (max-width: 767px) {
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-card-meta { flex-wrap: wrap; }
  .bonus-visual-value { font-size: 38px; }
}

/* Full-width section illustrations placed right after H2 headings */
.content-image { display: block; aspect-ratio: 1672 / 941; object-fit: cover; margin-top: 0; }

/* === PAGES-START === */
/* ==========================================================================
   Header menu (3 items)
   ========================================================================== */

.nav-list { gap: 0; }
.nav-link { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.nav-link.active { color: var(--white); background: rgba(111, 90, 245, .24); }
.mobile-nav-link.active { color: var(--brand-accent); }

/* ==========================================================================
   Full-width banner (home + inner pages): darkened photo, H1 + text on top
   ========================================================================== */

.page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 72px 0;
  overflow: hidden;
  background: var(--dark-surface);
  border-bottom: 1px solid var(--border);
}

.pb-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pb-pos, 75%) 12%;
}

/* light darkening, a bit stronger on the text side */
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .5) 48%, rgba(0, 0, 0, .12) 100%),
    rgba(0, 0, 0, .16);
}

.pb-inner { position: relative; }
.pb-content { max-width: 700px; }

.pb-title {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.pb-text {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.65;
  color: #F1EFF7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .5);
}

.pb-bonus {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--accent-bonus);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}

.pb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pb-actions .btn { min-height: 50px; padding: 0 34px; font-size: 16px; }

.bn-home { min-height: 520px; }

/* ==========================================================================
   Inner page text
   ========================================================================== */

.page-prose > :first-child { margin-top: 0; }
.page-prose h2 { margin: 1.8em 0 .6em; font-size: 28px; }
.page-prose h2:first-child { margin-top: 0; }
.page-prose h3 { margin: 1.5em 0 .5em; }
.page-prose ol > li > p { margin: 0 0 .5em; }
.page-prose .table-wrap { margin: 1.2em 0 1.5em; }

@media (max-width: 991px) {
  .page-banner { min-height: 420px; padding: 56px 0; }
  .pb-title { font-size: 34px; }
  .pb-bonus { font-size: 26px; }
}

@media (max-width: 767px) {
  .page-banner { min-height: 0; padding: 44px 0 40px; }
  .page-banner::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .7) 100%);
  }
  .pb-img { --pb-pos: 78%; }
  .pb-title { font-size: 28px; margin-bottom: 14px; }
  .pb-text { font-size: 15.5px; margin-bottom: 22px; }
  .pb-bonus { font-size: 22px; margin-bottom: 22px; }
  .pb-actions { flex-direction: column; }
  .pb-actions .btn { width: 100%; }
  .page-prose h2 { font-size: 23px; }
}

/* Bonus offers without pictures */
.bonus-card-body { padding: 22px 22px 24px; }
.bonus-card-name { font-size: 17px; margin-bottom: 8px; }
.bonus-card-amount { font-size: 16px; }

/* Footer: logos, responsible-gaming line and copyright centered */
.footer-images { justify-content: center; }
.footer-rg-text { justify-content: center; text-align: center; }
.footer-copyright { text-align: center; }

.footer-about a { transition: color var(--transition-fast); }
.footer-about a:hover { color: var(--white); }

/* Illustration inside inner pages (under an H2) */
.page-prose .content-image { aspect-ratio: auto; height: auto; margin: 8px 0 26px; }
