:root {
  /* Top-tier Dark Luxury Casino Theme (Bet365 Signature) */
  --bg-base: #0a1410;
  --bg-surface: #10211a;
  --bg-surface-elevated: #152b22;
  --bg-surface-hover: #1c382c;
  
  /* Legacy mapping for full compatibility */
  --paper: #0a1410;
  --card: #10211a;
  --mint: #152b22;
  --ink: #f0f7f3;
  --ink-soft: #8faea0;
  
  /* Bet365 Official Accent Colors */
  --gold: #ffdf1b;
  --gold-hover: #ffe84d;
  --gold-glow: rgba(255, 223, 27, 0.45);
  --pine: #007a53;
  --pine-bright: #00a86b;
  --pine-glow: rgba(0, 168, 107, 0.35);
  --pine-deep: #06120d;
  
  --line: rgba(255, 255, 255, 0.08);
  --line-highlight: rgba(0, 168, 107, 0.3);
  --coral: #ff4757;
  
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.75), 0 4px 14px rgba(0, 0, 0, 0.4);
  --max: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  background: var(--bg-base);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }

h1, h2, h3, h4 {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #ffffff;
  hyphens: none;
}
h1 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); font-weight: 800; margin: 0 0 16px; }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.8rem); font-weight: 700; margin: 0 0 14px; color: #ffffff; }
h3 { font-size: 1.12rem; font-weight: 700; margin: 24px 0 8px; color: var(--gold); }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* ---------- top bar ---------- */
.topbar {
  background: rgba(6, 18, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #f4f1e8;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--pine-bright);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.topbar .wrap {
  width: min(100% - 24px, 1260px);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}
.wordmark img,
.wordmark svg {
  display: block;
  height: 34px;
  width: auto;
  max-width: 100%;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.wordmark:hover img,
.wordmark:hover svg {
  opacity: 0.95;
  transform: translateY(-0.5px);
}
.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-items: center;
}
.site-nav a {
  color: #d2e4dc;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: var(--r-s);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}
.site-nav a[aria-current="page"] {
  background: rgba(0, 168, 107, 0.25);
  color: var(--gold);
  border: 1px solid rgba(255, 223, 27, 0.3);
  font-weight: 700;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 223, 27, 0.1);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: var(--r-s);
  min-height: 40px;
  min-width: 48px;
  padding: 0 14px;
  font: 700 0.86rem "Outfit", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav-toggle:hover {
  background: rgba(255, 223, 27, 0.2);
}

/* ---------- promo banner (top-tier casino style) ---------- */
.promo-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 24px;
  margin: 22px auto 0;
  padding: 34px 40px;
  border-radius: var(--r-l);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 25%, rgba(255, 223, 27, 0.18) 0, transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(0, 168, 107, 0.25) 0, transparent 55%),
    linear-gradient(135deg, #0b2017 0%, #0d281d 50%, #071710 100%);
  border: 1px solid rgba(0, 168, 107, 0.35);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 122, 83, 0.15);
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.promo-copy { position: relative; z-index: 2; }
.promo-kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 223, 27, 0.12);
  border: 1px solid rgba(255, 223, 27, 0.3);
  border-radius: 9999px;
  font: 700 0.74rem "Outfit", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-amount {
  margin: 0;
  font: 800 clamp(1.5rem, 3.2vw, 2.3rem) / 1.15 "Outfit", sans-serif;
  color: #ffffff;
}
.promo-big {
  display: inline-block;
  font-size: 1.8em;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(255, 223, 27, 0.5);
  margin-right: 6px;
  font-weight: 900;
}
.promo-spins {
  margin: 8px 0 20px;
  font: 700 clamp(1.1rem, 2vw, 1.4rem) "Outfit", sans-serif;
  color: #a8e8cc;
  text-shadow: 0 0 12px rgba(0, 168, 107, 0.4);
}
.promo-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.promo-play,
.promo-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  font: 800 0.98rem "Outfit", sans-serif;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.promo-play {
  background: linear-gradient(180deg, #ffe84d 0%, #ffdf1b 55%, #f0be00 100%);
  color: #061911;
  border: 1px solid #ffffffd0;
  box-shadow: 0 4px 0 #b38f00, 0 10px 30px -4px rgba(255, 223, 27, 0.6);
  animation: promo-glow 2.4s ease-in-out infinite;
}
.promo-play::after { content: "▶"; margin-left: 9px; font-size: 0.85em; }
.promo-play:hover {
  transform: translateY(-2px);
  color: #04120c;
  background: linear-gradient(180deg, #fff275 0%, #ffe84d 100%);
  box-shadow: 0 6px 0 #b38f00, 0 14px 36px 0 rgba(255, 223, 27, 0.75);
}
.promo-claim {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 223, 27, 0.5);
  backdrop-filter: blur(8px);
}
.promo-claim:hover {
  background: rgba(255, 223, 27, 0.18);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.promo-terms { margin: 14px 0 0; font-size: 0.8rem; color: #8faea0; max-width: 540px; line-height: 1.45; }

.promo-art {
  position: relative;
  z-index: 1;
  height: 250px;
}
.promo-poster {
  position: absolute;
  top: 50%;
  width: 145px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 36px -10px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.promo-poster img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.promo-poster-1 { left: 50%; transform: translate(-50%, -50%) scale(1.12); z-index: 3; border-color: rgba(255, 223, 27, 0.6); }
.promo-poster-2 { left: 6%; transform: translateY(-46%) rotate(-9deg); z-index: 2; }
.promo-poster-3 { right: 6%; transform: translateY(-46%) rotate(9deg); z-index: 2; }
.promo-poster:hover {
  z-index: 5;
  transform: translate(-50%, -55%) scale(1.18);
  border-color: var(--gold);
  box-shadow: 0 20px 44px -8px rgba(0, 168, 107, 0.6);
}
.promo-poster-2:hover { transform: translateY(-52%) rotate(-5deg) scale(1.08); }
.promo-poster-3:hover { transform: translateY(-52%) rotate(5deg) scale(1.08); }

@keyframes promo-glow {
  0%, 100% { box-shadow: 0 4px 0 #b38f00, 0 10px 28px -4px rgba(255, 223, 27, 0.5); }
  50% { box-shadow: 0 4px 0 #b38f00, 0 12px 38px 2px rgba(255, 223, 27, 0.85); }
}
@media (prefers-reduced-motion: reduce) { .promo-play { animation: none; } }

/* ---------- Interactive Hero Slider ---------- */
.hero-slider {
  position: relative;
  margin: 22px auto 0;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid rgba(0, 168, 107, 0.35);
  box-shadow: var(--shadow);
  background: #081811;
}
.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}
.slider-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 24px;
  padding: 34px 40px;
  position: relative;
  background:
    radial-gradient(circle at 88% 25%, rgba(255, 223, 27, 0.18) 0, transparent 45%),
    radial-gradient(circle at 10% 110%, rgba(0, 168, 107, 0.25) 0, transparent 55%),
    linear-gradient(135deg, #0b2017 0%, #0d281d 50%, #071710 100%);
  box-sizing: border-box;
}
.slider-slide.slide-aviator {
  background:
    radial-gradient(circle at 88% 25%, rgba(255, 71, 87, 0.22) 0, transparent 50%),
    radial-gradient(circle at 10% 110%, rgba(0, 168, 107, 0.2) 0, transparent 55%),
    linear-gradient(135deg, #1b0c0f 0%, #151d18 50%, #071710 100%);
}
.slider-slide.slide-live {
  background:
    radial-gradient(circle at 88% 25%, rgba(0, 168, 107, 0.25) 0, transparent 50%),
    radial-gradient(circle at 10% 110%, rgba(255, 223, 27, 0.18) 0, transparent 55%),
    linear-gradient(135deg, #091a13 0%, #10261d 50%, #06120d 100%);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6, 18, 13, 0.8);
  border: 1.5px solid rgba(255, 223, 27, 0.4);
  color: var(--gold);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.18s ease;
}
.slider-arrow:hover {
  background: var(--gold);
  color: #061911;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow-prev { left: 14px; }
.slider-arrow-next { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.slider-dot.is-active {
  width: 28px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* ---------- Live Winners Ticker ---------- */
.casino-ticker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0;
  padding: 10px 18px;
  background: #0d1e18;
  border: 1px solid rgba(0, 168, 107, 0.25);
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 168, 107, 0.2);
  border: 1px solid var(--pine-bright);
  border-radius: 9999px;
  font: 800 0.72rem "Outfit", sans-serif;
  color: #51f8a8;
  white-space: nowrap;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.ticker-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #51f8a8;
  box-shadow: 0 0 8px #51f8a8;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.ticker-list {
  display: inline-flex;
  gap: 32px;
  animation: ticker-loop 36s linear infinite;
}
.casino-ticker:hover .ticker-list {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #d7e8df;
}
.ticker-item strong { color: var(--gold); font-weight: 700; }
.ticker-item span.game { color: #8faea0; }
@keyframes ticker-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Category Pills Navigation ---------- */
.casino-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 8px;
  margin: 6px auto 0;
  scrollbar-width: none;
}
.casino-cats::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #11221b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  color: #d2e4dc;
  font: 700 0.85rem "Outfit", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.cat-pill:hover {
  background: #19352a;
  border-color: rgba(0, 168, 107, 0.4);
  color: var(--gold);
  transform: translateY(-1px);
}
.cat-pill.is-active {
  background: var(--pine);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 122, 83, 0.4);
}

/* ---------- bento hero ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-areas:
    "lead offer"
    "lead facts";
  gap: 18px;
  margin: 26px auto 34px;
}
.bento-lead {
  grid-area: lead;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 168, 107, 0.25);
  border-radius: var(--r-l);
  padding: 34px 34px 28px;
  box-shadow: var(--shadow);
}
.bento-lead h1 {
  margin-top: 0;
  color: #ffffff;
}
.bento-offer {
  grid-area: offer;
  background: linear-gradient(135deg, #0c291d 0%, #08402c 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 223, 27, 0.3);
  border-radius: var(--r-l);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bento-offer::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 16px solid rgba(255, 223, 27, 0.15);
  pointer-events: none;
}
.offer-kicker {
  font: 700 0.74rem "Outfit", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.offer-figure {
  font: 800 clamp(1.3rem, 2.2vw, 1.7rem) "Outfit", sans-serif;
  line-height: 1.22;
  margin: 0 0 10px;
  color: #ffffff;
}
.offer-terms { font-size: 0.88rem; margin: 0; color: #a9cfbe; line-height: 1.5; }
.bento-facts {
  grid-area: facts;
  background: #13271f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-l);
  padding: 22px 24px;
  color: #e2f0e8;
  box-shadow: var(--shadow);
}
.bento-facts ul { margin: 0; padding-left: 20px; font-size: 0.94rem; }
.bento-facts li { margin: 6px 0; color: #e2f0e8; }
.checked { font-size: 0.85rem; color: #8faea0; margin: 14px 0 0; }
.bento-facts .checked { color: var(--gold); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ffe84d 0%, #ffdf1b 100%);
  color: #061911;
  border: none;
  font: 800 0.96rem "Outfit", sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 223, 27, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 223, 27, 0.6);
  color: #04120c;
}
.cta-ghost {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border: 1.5px solid var(--pine-bright);
  color: #ffffff;
}
.cta-ghost:hover {
  box-shadow: none;
  background: rgba(0, 168, 107, 0.2);
  color: var(--gold);
}

/* ---------- content ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; align-items: start; margin-top: 24px; min-width: 0; max-width: 100%; }
.page-main { min-width: 0; max-width: 100%; }
.page-main > section { margin: 0 0 42px; min-width: 0; }
.page-main p { margin: 0 0 14px; line-height: 1.68; color: #d7e8df; }
.lede { font-size: 1.08rem; color: #f0f7f3; }
.aside-box {
  position: sticky;
  top: 92px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px;
  font-size: 0.93rem;
  box-shadow: var(--shadow);
}
.aside-box h2 { font-size: 1.05rem; margin-top: 0; color: var(--gold); }
.aside-box ol { padding-left: 20px; margin: 0; }
.aside-box li { margin: 8px 0; }
.aside-box a { color: #d2e4dc; text-decoration: none; }
.aside-box a:hover { color: var(--gold); text-decoration: underline; }

.panel {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px 26px;
}
.note-strip {
  border-left: 4px solid var(--coral);
  background: rgba(255, 71, 87, 0.1);
  padding: 14px 18px;
  border-radius: 0 var(--r-s) var(--r-s) 0;
  margin: 18px 0;
  color: #ffb8c0;
}

.table-wrap {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bg-surface);
  margin: 18px 0 22px;
}
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
caption { text-align: left; padding: 14px 18px 6px; font-weight: 700; color: var(--gold); font-family: "Outfit", sans-serif; font-size: 1.05rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #162c22; font-family: "Outfit", sans-serif; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--gold); text-transform: uppercase; font-weight: 700; }
tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
tbody tr:last-child td { border-bottom: 0; }
td { color: #d7e8df; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 18px 0; }
.steps > li {
  counter-increment: s;
  position: relative;
  padding: 16px 18px 16px 64px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  margin-bottom: 12px;
}
.steps > li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pine);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font: 800 1rem/34px "Outfit", sans-serif;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 168, 107, 0.4);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split ul { margin: 0; padding-left: 20px; }
.split .panel h3 { margin-top: 0; }
.good { border-top: 4px solid var(--pine-bright); }
.bad { border-top: 4px solid var(--coral); }

.gloss dt { font-weight: 700; color: var(--gold); margin-top: 14px; font-family: "Outfit", sans-serif; }
.gloss dd { margin: 4px 0 0; color: #d7e8df; }

.figure-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 18px 0; }
.figure-row figure {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.figure-row figure:hover {
  transform: translateY(-4px);
  border-color: var(--pine-bright);
  box-shadow: 0 12px 28px rgba(0, 168, 107, 0.3);
}
.figure-row figure a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.figure-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.figure-row figure:hover img {
  transform: scale(1.05);
}
.figure-row .wide img { aspect-ratio: 6 / 5; }
.figure-row figcaption { padding: 12px 14px; font-size: 0.88rem; color: #8faea0; }
.figure-row figcaption a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.figure-row figcaption a:hover {
  color: var(--gold);
}

/* ---------- games grid (top-tier casino lobby cards) ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.game-card {
  background: #12241d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--pine-bright);
  box-shadow: 0 14px 32px rgba(0, 168, 107, 0.35);
}
.game-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
.game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.game-card:hover img {
  transform: scale(1.06);
}
.game-card a::after {
  content: "▶ JUGAR";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  color: var(--gold);
  font: 800 0.95rem "Outfit", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.game-card:hover a::after {
  opacity: 1;
}
.game-card h3 { font-size: 0.94rem; margin: 12px 12px 4px; font-family: "Outfit", sans-serif; }
.game-card h3 a {
  color: #ffffff;
  font-weight: 700;
  transition: color 0.15s ease;
}
.game-card h3 a::after { display: none; }
.game-card h3 a:hover {
  color: var(--gold);
}
.game-card p { font-size: 0.83rem; margin: 0 12px 14px; color: #8faea0; line-height: 1.45; }

/* ---------- calculator ---------- */
.calc {
  background: #0d2218;
  color: #eef6f1;
  border-radius: var(--r-l);
  padding: 26px;
  border: 1px solid rgba(0, 168, 107, 0.3);
  box-shadow: var(--shadow);
}
.calc h2, .calc h3 { color: var(--gold); font-family: "Outfit", sans-serif; }
.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 16px 0; }
.calc label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: #d7e8df; }
.calc input,
.calc select {
  width: 100%;
  min-height: 48px;
  border-radius: var(--r-s);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: #142e22;
  color: #ffffff;
  padding: 0 14px;
  font: 600 1rem "Plus Jakarta Sans", sans-serif;
  transition: border-color 0.15s ease;
}
.calc input:focus,
.calc select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}
.calc select option { background: #142e22; color: #ffffff; }
.calc-out {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.calc-out div { background: #153225; border-radius: var(--r-s); padding: 14px; border: 1px solid rgba(255, 255, 255, 0.08); }
.calc-out span { display: block; font-size: 0.8rem; color: #8faea0; }
.calc-out strong { font: 800 1.25rem "Outfit", sans-serif; color: var(--gold); }
.calc p { color: #a8c4b7; }

/* ---------- faq ---------- */
.faq-list h3 {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m) var(--r-m) 0 0;
  padding: 16px 20px;
  margin: 14px 0 0;
  font-size: 1.02rem;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.faq-list h3:hover {
  background: #152c22;
  color: var(--gold);
}
.faq-list h3 + p {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r-m) var(--r-m);
  padding: 14px 20px 18px;
  margin: 0;
  color: #d7e8df;
  line-height: 1.6;
}

/* ---------- cta band ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, #0f3022 0%, #154532 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-l);
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.cta-band p { margin: 0; color: #ffffff; }
.cta-band .cta-btn { background: linear-gradient(180deg, #ffe84d 0%, #ffdf1b 100%); color: #061911; box-shadow: 0 4px 16px rgba(255, 223, 27, 0.4); }

.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; list-style: none; padding: 0; }
.links-grid a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.15s ease;
}
.links-grid a:hover {
  border-color: var(--gold);
  background: #162c22;
  color: var(--gold);
  transform: translateY(-2px);
}

.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.trust-list div { background: var(--bg-surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; font-size: 0.93rem; color: #d7e8df; }

/* ---------- footer ---------- */
.site-foot {
  background: #06120d;
  color: #8faea0;
  margin-top: 60px;
  padding: 40px 0 96px;
  font-size: 0.93rem;
  border-top: 2px solid var(--pine);
}
.site-foot a { color: var(--gold); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.foot-cols ul { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-cols li { margin: 0 0 10px; }
.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 28px;
  padding-top: 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #c5ded3;
}

/* ---------- Mobile Sticky CTA ---------- */
.sticky-cta { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #071710;
    padding: 14px 18px 20px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }
  .site-nav a {
    font-size: 0.96rem;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--r-s);
  }
}

@media (max-width: 900px) {
  .promo-banner,
  .slider-slide { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .promo-art { order: -1; height: 180px; }
  .promo-poster { width: 110px; }
  .promo-play, .promo-claim { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "lead" "offer" "facts"; }
  .page { grid-template-columns: minmax(0, 1fr); }
  .aside-box { position: static; }
  .split { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .bento-lead { padding: 24px 20px; }
  .cta-band { grid-template-columns: 1fr; }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    align-items: center;
    gap: 12px;
    background: rgba(7, 23, 16, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 8px 8px 8px 16px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.85);
  }
  .sticky-cta span { color: #ffffff; font-size: 0.88rem; font-weight: 700; line-height: 1.25; flex: 1; font-family: "Outfit", sans-serif; }
  .sticky-cta a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffe84d 0%, #ffdf1b 100%);
    color: #061911;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: "Outfit", sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
  }
  .sticky-cta a:hover,
  .sticky-cta a:active {
    background: #ffe84d;
    transform: scale(1.02);
  }
}

@media (max-width: 860px) {
  .slider-arrow { display: none; }
  .slider-slide,
  .promo-banner { padding: 20px 16px; }
  .promo-amount { font-size: 1.25rem; line-height: 1.2; }
  .promo-big { font-size: 1.45em; }
  .promo-spins { font-size: 0.98rem; margin: 6px 0 14px; }
  .promo-actions { flex-direction: column; gap: 8px; width: 100%; }
  .promo-play, .promo-claim { width: 100%; min-height: 48px; }
  .promo-art { height: 160px; margin-bottom: 6px; }
  .promo-poster { width: 95px; }
}

/* Ultra-fast rendering optimizations */
html {
  text-rendering: optimizeSpeed;
}

body {
  text-rendering: optimizeSpeed;
}

.games-grid,
.figure-row,
.table-wrap,
.calc,
.faq-list,
.site-foot {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

.slider-track,
.ticker-list {
  will-change: transform;
  transform: translateZ(0);
}
