:root {
  --ink: #272036;
  --muted: #63576f;
  --bg: #fff8fb;
  --panel: #ffffff;
  --pink: #ff5fa8;
  --rose: #ff8abf;
  --blue: #67d9ff;
  --mint: #78e7c7;
  --yellow: #ffd86b;
  --violet: #8d67ff;
  --line: rgba(76, 43, 93, .14);
  --shadow: 0 16px 45px rgba(99, 55, 126, .14);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,0) 210px),
    repeating-linear-gradient(135deg, rgba(255,95,168,.045) 0 12px, transparent 12px 42px),
    linear-gradient(180deg, #ffedf9 0%, #dff8ff 36%, #fff7cf 74%, var(--bg) 100%);
}
a { color: #6d38e8; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img, svg { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px; z-index: 5; }
.skip:focus { left: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .72);
  background: linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,239,249,.88));
  backdrop-filter: blur(16px);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: conic-gradient(from 45deg, var(--pink), var(--yellow), var(--blue), var(--violet), var(--pink));
  box-shadow: 0 10px 22px rgba(255, 95, 168, .24);
}
.nav-links { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-links a { color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.nav-links a:hover { color: #7b45e8; }
.nav-cta, .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  color: #22172f;
  background: linear-gradient(135deg, var(--yellow), #ff93be 55%, #9ee9ff);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(255, 95, 168, .22);
  cursor: pointer;
}
.button.secondary { background: #fff; border: 1px solid var(--line); box-shadow: none; }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  min-height: calc(100svh - 68px);
  padding: 38px 0 24px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.52));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 34px; align-items: center; }
.eyebrow, .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 95, 168, .24);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .75);
  color: #6b3a78;
  font-weight: 800;
  font-size: 13px;
}
h1 { margin: 18px 0 16px; font-size: clamp(40px, 7vw, 78px); line-height: .98; letter-spacing: 0; }
.article-title { font-size: clamp(34px, 5vw, 58px); }
.lead { max-width: 760px; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.55; color: #50415e; }
.hero-actions, .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-media {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(118, 58, 138, .2));
}
.slot-console {
  position: relative;
  width: min(82%, 470px);
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff7fbe, #ffb2d5 48%, #73dcff);
  box-shadow: 0 24px 50px rgba(85, 38, 119, .24), inset 0 0 0 4px rgba(255,255,255,.78);
  transform: rotate(-1.5deg);
}
.slot-top, .slot-bottom, .demo-head, .demo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.slot-top b {
  padding: 6px 10px;
  border-radius: 999px;
  color: #472458;
  background: #fff0a8;
}
.slot-bottom { margin-top: 12px; }
.slot-bottom strong, .demo-controls strong {
  min-width: 76px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff3f94, #c833e9);
  box-shadow: 0 10px 18px rgba(255, 63, 148, .28);
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #3b2551, #2b193f);
  border: 1px solid rgba(255,255,255,.5);
}
.slot-symbol {
  aspect-ratio: 1 / .86;
  min-width: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 1000;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.14);
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.08), inset 0 3px 0 rgba(255,255,255,.45);
}
.slot-symbol.banana { color: #5a3b00; background: linear-gradient(135deg, #fff7a4, #ffd22e); border-radius: 50% 12px 50% 12px; }
.slot-symbol.watermelon { background: linear-gradient(135deg, #1fbf74 0 28%, #fff 29% 40%, #ff5075 41%); }
.slot-symbol.grape { background: linear-gradient(135deg, #b675ff, #6c42d6); }
.slot-symbol.apple { background: linear-gradient(135deg, #ff8aa7, #ed315f); }
.slot-symbol.heart { background: linear-gradient(135deg, #ff9ccd, #ff4fa2); border-radius: 45% 45% 55% 55%; }
.slot-symbol.candy { color: #68316f; background: repeating-linear-gradient(135deg, #fff 0 9px, #ff9ccd 9px 18px, #9beaff 18px 27px); }
.slot-symbol.lollipop { background: repeating-conic-gradient(from 20deg, #ff4fa2 0 18deg, #fff 18deg 36deg, #68d9ff 36deg 54deg); color: #5d2a76; }
.slot-symbol.bomb { background: radial-gradient(circle at 34% 28%, #fff 0 7px, transparent 8px), linear-gradient(135deg, #8d67ff, #ff3f94); font-size: 13px; }
.slot-symbol.bomb::before { content: "100x"; }
.slot-bomb-label { display: none; }
.slot-symbol.plum { background: linear-gradient(135deg, #6543c8, #9b52e8); border-radius: 50% 50% 42% 42%; }
.hero-badge {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 16px 30px rgba(94, 54, 126, .18);
}
.hero-badge span { color: var(--muted); font-size: 12px; font-weight: 800; }
.hero-badge b { color: #3c234c; font-size: 20px; }
.hero-badge-rtp { left: 2%; top: 19%; }
.hero-badge-bomb { right: 0; bottom: 18%; }
.candy-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.96) 0 46px, transparent 48px),
    radial-gradient(circle at 70% 28%, rgba(255,255,255,.88) 0 70px, transparent 72px),
    linear-gradient(160deg, #bdeeff 0%, #ffd8ec 48%, #fff1b9 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.76);
}
.candy-stage::before, .candy-stage::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  filter: blur(.2px);
}
.candy-stage::before { width: 190px; height: 68px; left: 28px; bottom: 64px; box-shadow: 80px 12px 0 rgba(255,255,255,.62), 250px -18px 0 rgba(255,255,255,.52); }
.candy-stage::after { width: 120px; height: 44px; right: 42px; top: 72px; box-shadow: -72px 18px 0 rgba(255,255,255,.58); }
.sweet { position: absolute; display: grid; place-items: center; font-weight: 1000; color: white; text-shadow: 0 2px 0 rgba(0,0,0,.08); }
.sweet.lollipop { width: 108px; height: 108px; right: 52px; bottom: 82px; border-radius: 50%; background: repeating-conic-gradient(from 12deg, #ff5fa8 0 14deg, #fff 14deg 28deg, #67d9ff 28deg 42deg); box-shadow: 0 18px 30px rgba(141, 103, 255, .24); }
.sweet.lollipop::after { content:""; position:absolute; width:10px; height:132px; background:#fff; border-radius:20px; bottom:-112px; transform: rotate(22deg); z-index:-1; }
.sweet.banana { width: 130px; height: 80px; left: 48px; top: 92px; border-radius: 50%; border-bottom: 22px solid #ffd345; transform: rotate(-18deg); }
.sweet.bomb { width: 94px; height: 94px; left: 43%; top: 38%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0 10px, transparent 12px), linear-gradient(135deg, #8d67ff, #ff5fa8); }
.sweet.bomb::before { content:"100x"; font-size: 25px; }
.sweet.grape { width: 134px; height: 134px; left: 52px; bottom: 96px; background: radial-gradient(circle at 38px 34px,#8d67ff 0 22px,transparent 23px),radial-gradient(circle at 76px 34px,#a15bff 0 22px,transparent 23px),radial-gradient(circle at 57px 70px,#7247dc 0 24px,transparent 25px),radial-gradient(circle at 94px 72px,#8d67ff 0 22px,transparent 23px),radial-gradient(circle at 72px 105px,#a15bff 0 23px,transparent 24px); }
.sweet.watermelon { width: 148px; height: 86px; right: 130px; top: 132px; border-radius: 90px 90px 14px 14px; background: radial-gradient(circle at 40% 44%, #302136 0 4px, transparent 5px), radial-gradient(circle at 60% 42%, #302136 0 4px, transparent 5px), linear-gradient(#ff5f84 0 68%, #ecfff1 69% 78%, #34c779 79%); transform: rotate(8deg); }
.section { padding: 54px 0; }
.section h2 { margin: 0 0 16px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: 0; }
.section-intro { max-width: 840px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.section-kicker {
  margin: 0 0 8px;
  color: #8a4aa0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.grid { display: grid; gap: 16px; }
.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.card, .fact, .article-card, .notice, .author-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 28px rgba(67, 45, 88, .08);
}
.quick-section { padding-top: 34px; }
.fact {
  min-height: 132px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.fact::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 95, 168, .08);
}
.fact-token {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff5fa8, #8d67ff);
  font-weight: 1000;
  box-shadow: 0 12px 22px rgba(141, 103, 255, .18);
}
.fact dt,
.fact-copy span {
  color: #6b5b78;
  font-size: 14px;
  font-weight: 800;
}
.fact dd {
  display: block;
  margin: 8px 0 0;
  color: #24114f;
  font-size: 18px;
  font-weight: 950;
}
.fact b { display: block; margin-top: 8px; font-size: 18px; }
.card, .article-card { padding: 20px; }
.article-card > a {
  display: block;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}
.article-card > a:focus-visible {
  outline: 3px solid rgba(255, 95, 168, .34);
  outline-offset: 5px;
  border-radius: 12px;
}
.card h3, .article-card h3 { margin: 0 0 8px; font-size: 20px; }
.card p, .article-card p { color: var(--muted); line-height: 1.55; margin: 0; }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.scheme-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.symbol-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.symbol { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.symbol-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #fff, #ffe0f0); font-size: 30px; border: 1px solid rgba(255,95,168,.2); }
.demo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,0)),
    url("/assets/sweet-bonanza-scene.svg") center/cover no-repeat;
  box-shadow: var(--shadow);
}
.demo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59,37,81,.82), rgba(59,37,81,.24) 54%, rgba(255,255,255,.2));
}
.demo-content {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(280px, 470px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(18px, 4vw, 40px);
}
.demo-machine {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff73b8, #ffb5d7 52%, #73dcff);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.72), 0 20px 42px rgba(42, 20, 64, .28);
}
.demo-machine .slot-grid { margin-top: 12px; }
.demo-panel {
  max-width: 560px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(38, 18, 56, .24);
}
.demo-panel h3 { margin: 0 0 10px; font-size: clamp(25px, 4vw, 40px); }
.demo-panel p { font-size: 17px; line-height: 1.65; }
.demo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.demo-panel .demo-actions { justify-content: flex-start; }
.demo-controls {
  margin-top: 12px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(59,37,81,.84);
}
.demo-controls span {
  min-width: 36px;
  min-height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #3b2551;
  background: #fff;
}
.scheme-section { background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0)); }
.scheme-card {
  min-height: 218px;
  position: relative;
  overflow: hidden;
}
.scheme-token {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffd86b, #ff5fa8);
  color: #342040;
  font-weight: 1000;
}
.scheme-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  transform: rotate(18deg);
  background: rgba(103, 217, 255, .12);
}
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.article-main { min-width: 0; }
.toc { position: sticky; top: 88px; padding: 18px; }
.toc h2 { margin: 0 0 10px; font-size: 18px; line-height: 1.2; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.content-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.content-section h2 { font-size: clamp(25px, 3.4vw, 36px); }
.content-section p, .content-section li { color: #51445d; line-height: 1.72; font-size: 17px; }
.content-section table, .casino-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); background: #fff; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #fff2fa; }
.notice { padding: 18px; border-left: 5px solid var(--pink); color: #55445e; }
.breadcrumb { padding-top: 24px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.author-box { padding: 20px; margin: 28px 0; display: grid; gap: 8px; }
.faq details,
.faq-item { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 16px; margin: 10px 0; }
.faq summary,
.faq-question { cursor: pointer; font-weight: 900; }
.faq-item h3 { margin: 0; font-size: 18px; }
.faq-question {
  width: 100%;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  color: #24114f;
  background: transparent;
  text-align: left;
  font: inherit;
}
.faq-question::after {
  content: "⌄";
  color: #36256c;
  font-weight: 900;
}
.faq-question[aria-expanded="true"]::after {
  content: "⌃";
}
.faq-question:focus-visible {
  outline: 3px solid rgba(255, 95, 168, .3);
  outline-offset: 5px;
  border-radius: 10px;
}
.faq-answer p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.site-footer { margin-top: 60px; padding: 42px 0; background: #2b2134; color: rgba(255,255,255,.86); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.site-footer a { color: #ffe58c; }
.small { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.6; }
@media (max-width: 900px) {
  .menu-button { display: inline-block; }
  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    max-height: calc(100svh - 92px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links[data-open] { display: flex; }
  .nav-cta { margin-left: 0; }
  .hero { min-height: auto; padding-top: 28px; }
  .hero-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-media { min-height: 520px; }
  .slot-console { width: min(88%, 460px); }
  .hero-badge-rtp { left: 0; top: 12%; }
  .hero-badge-bomb { right: 0; bottom: 10%; }
  .demo-content { grid-template-columns: 1fr; align-content: center; }
  .demo-machine { max-width: 520px; width: 100%; margin: 0 auto; }
  .demo-panel { text-align: center; margin: 0 auto; }
  .demo-panel .demo-actions { justify-content: center; }
  .candy-stage { min-height: 360px; }
  .quick-grid, .card-grid, .scheme-grid, .symbol-grid, .footer-grid { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}
@media (max-width: 520px) {
  .container, .nav { width: min(100% - 22px, 1180px); }
  .brand span:last-child { max-width: 170px; white-space: normal; line-height: 1.05; }
  h1 { font-size: 40px; }
  .lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 430px; margin-top: 10px; }
  .hero-art { opacity: .78; }
  .slot-console { width: 100%; padding: 12px; transform: none; }
  .slot-grid { gap: 5px; padding: 8px; }
  .slot-symbol { border-radius: 9px; font-size: 11px; }
  .hero-badge { position: relative; display: inline-grid; margin: 8px 6px 0 0; left: auto; right: auto; top: auto; bottom: auto; }
  .demo-frame { aspect-ratio: auto; min-height: 720px; }
  .demo-content { padding: 14px; gap: 18px; }
  .demo-controls { border-radius: 14px; flex-wrap: wrap; justify-content: center; }
  .demo-actions .button { width: 100%; }
  th, td { padding: 10px; font-size: 14px; }
}

/* Reference-driven Sweet Bonanza homepage skin */
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 95, 168, .16), transparent 260px),
    radial-gradient(circle at 88% 16%, rgba(103, 217, 255, .24), transparent 300px),
    linear-gradient(180deg, #fff 0 58px, #f8efff 58px, #f2fbff 460px, #fff7fb 100%);
}

.site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e9ddf5;
  box-shadow: 0 8px 28px rgba(57, 32, 92, .06);
}

.nav {
  min-height: 76px;
  width: min(1230px, calc(100% - 40px));
}

.brand { gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 13%, transparent 14%),
    repeating-conic-gradient(from 20deg, #ff4fa2 0 24deg, #ffd6ea 24deg 48deg, #ff7ebd 48deg 72deg);
  box-shadow: 0 7px 18px rgba(255, 79, 162, .24);
}
.brand-text {
  display: grid;
  line-height: .82;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0;
}
.brand-text b:first-child { color: #ff4fa2; text-shadow: 0 2px 0 #ffd8ec; }
.brand-text b:last-child { color: #ff9b27; text-shadow: 0 2px 0 #ffe9a8; }

.nav-links { gap: 26px; }
.nav-links a {
  color: #18124a;
  font-size: 14px;
  font-weight: 800;
}
.lang-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
.lang-links a { font-size: 13px; color: #3f3868; }
.lang-links a:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #a29ab8;
}
.lang-links .active {
  position: relative;
  color: #ff2f93;
}
.lang-links .active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2f93;
}

.hero {
  min-height: 468px;
  padding: 36px 0 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0 35%, rgba(255,255,255,.72) 49%, rgba(255,255,255,.1) 72%),
    radial-gradient(circle at 70% 34%, rgba(255, 95, 168, .18), transparent 300px),
    linear-gradient(135deg, #fff 0%, #f4e8ff 26%, #c9efff 62%, #ffeaf4 100%);
}
.hero::before { display: none; }
.hero-grid {
  width: min(1230px, calc(100% - 40px));
  grid-template-columns: minmax(420px, .82fr) minmax(540px, 1.18fr);
  gap: 18px;
}
.hero-eyebrows {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eyebrow {
  background: #fff;
  border: 1px solid #eee4fb;
  color: #23175f;
  box-shadow: 0 8px 20px rgba(74, 42, 116, .08);
}
.hero h1 {
  max-width: 620px;
  color: #2e1767;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
}
.lead {
  max-width: 560px;
  color: #2f2761;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 600;
}
.button {
  min-height: 54px;
  border-radius: 8px;
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(180deg, #ff5bab, #f62f91);
  box-shadow: 0 14px 24px rgba(246, 47, 145, .24);
}
.button.secondary {
  color: #6d38e8;
  background: rgba(255,255,255,.72);
  border: 2px solid #b879ff;
}
.btn-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  font-size: 11px;
}
.button.secondary .btn-icon { background: #f3e8ff; }
.pill {
  min-height: 58px;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
  border-color: #eadff6;
  color: #26175d;
  box-shadow: 0 8px 22px rgba(89, 55, 124, .07);
}
.pill::before {
  content: "✕";
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ff2f93;
  border: 2px solid currentColor;
  font-size: 12px;
}
.pill:nth-child(2)::before { content: "♙"; color: #8d67ff; }
.pill:nth-child(3)::before { content: "◎"; color: #ff5fa8; }
.pill:nth-child(4)::before { content: "⊕"; color: #5578ff; }
.hero-media {
  min-height: 394px;
  align-self: stretch;
  place-items: end center;
  overflow: visible;
}
.hero-art {
  position: relative;
  width: 108%;
  height: auto;
  max-width: none;
  object-fit: contain;
  transform: translate(2%, 2%);
  filter: drop-shadow(0 18px 26px rgba(255, 78, 158, .14));
}

.quick-section {
  margin-top: -8px;
  padding: 0 0 56px;
}
.home-panel {
  width: min(1230px, calc(100% - 40px));
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(82, 45, 125, .12);
}
.home-panel h2 {
  margin: 0;
  color: #18124a;
  font-size: 24px;
}
.mini-title {
  margin: 5px 0 18px;
  color: #534871;
  font-size: 14px;
  font-weight: 700;
}
.quick-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}
.fact {
  min-height: 118px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e7, #fff);
  box-shadow: none;
}
.fact:nth-child(2n) { background: linear-gradient(135deg, #edf6ff, #fff); }
.fact:nth-child(3n) { background: linear-gradient(135deg, #fff0fb, #fff); }
.fact:nth-child(4n) { background: linear-gradient(135deg, #ecfff7, #fff); }
.fact::after { display: none; }
.fact-token {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 9px;
  font-size: 12px;
  background: linear-gradient(135deg, #ff5fa8, #ffb33f);
}
.fact span:not(.fact-token) {
  display: block;
  color: #594f75;
  font-size: 12px;
  font-weight: 800;
}
.fact b {
  color: #18124a;
  font-size: 15px;
  line-height: 1.2;
}

.demo-section,
.home-subsection {
  margin-top: 34px;
}
.demo-card {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: 22px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #fbf0ff 45%, #eefaff);
}
.demo-copy h2 { margin-top: 0; }
.demo-copy p {
  color: #2f2761;
  line-height: 1.65;
  font-weight: 600;
}
.mini-notice {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 0;
  border-radius: 10px;
  background: #ffe4ed;
}
.mini-notice b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff2f93;
  border: 2px solid currentColor;
}
.demo-screen {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #2b1a47;
}
.demo-screen img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: .72;
}
.demo-overlay {
  position: absolute;
  inset: 16px;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 180px;
  gap: 16px;
}
.demo-overlay .slot-grid {
  margin: 0;
  background: rgba(42, 24, 67, .56);
  backdrop-filter: blur(4px);
}
.demo-overlay .demo-actions {
  display: grid;
  justify-content: stretch;
  gap: 12px;
}

.card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid #f1e5f7;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff0fb, #fff);
  box-shadow: none;
  text-decoration: none;
}
.article-card:nth-child(3n) { background: linear-gradient(135deg, #eff7ff, #fff); }
.article-card:nth-child(4n) { background: linear-gradient(135deg, #fff8ea, #fff); }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(78, 44, 113, .08);
}
.article-card h3 {
  margin: 0;
  color: #28146b;
  font-size: 14px;
}
.article-card p {
  grid-column: 2;
  color: #5d5378;
  font-size: 12px;
  line-height: 1.35;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.search-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #dfe5f5;
  border-radius: 8px;
  color: #302661;
  background: #f9fbff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}
.search-chip span { color: #7080c8; }

.starter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.starter-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  min-height: 116px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe2f5, #fff);
  text-decoration: none;
  color: #241461;
}
.starter-card:nth-child(2n) { background: linear-gradient(135deg, #eee9ff, #fff); }
.starter-card:nth-child(5) { background: linear-gradient(135deg, #fff4de, #fff); }
.starter-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #ff4fa2;
  font-size: 23px;
}
.starter-card b { align-self: end; }
.starter-card small {
  grid-column: 2;
  color: #5d5378;
  line-height: 1.35;
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-card {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7fa, #fff);
  border: 1px solid #f4e5ef;
}
.info-card.checklist { background: linear-gradient(135deg, #f3fff9, #fff); }
.info-card.glossary { background: linear-gradient(135deg, #f6f2ff, #fff); }
.info-card h2 {
  margin-bottom: 14px;
  font-size: 18px;
}
.mini-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(90, 63, 121, .08);
}
.mini-row b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.mini-row.bad b { color: #ff3f7d; }
.mini-row.good b { color: #35b86f; }
.mini-row p { margin: 0; color: #554b70; font-size: 13px; line-height: 1.45; }
.text-link {
  display: inline-block;
  margin-top: 12px;
  color: #ff2f93;
  font-weight: 900;
  text-decoration: none;
}
.text-link.green { color: #21a366; }
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.glossary-grid div {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid #eee6fb;
}
.glossary-grid b { display: block; color: #3b1a7a; }
.glossary-grid span { color: #645a7a; font-size: 12px; line-height: 1.35; }

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.pay-symbol {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 160px;
  padding: 14px 10px;
  border-radius: 10px;
  border: 1px solid #e9c8f7;
  background: linear-gradient(180deg, #fff, #fff6fd);
  text-align: center;
}
.pay-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  font-size: 42px;
  box-shadow: 0 8px 18px rgba(80, 47, 112, .08);
}
.pay-symbol b {
  color: #ff2f93;
  font-size: 13px;
}
.pay-symbol small {
  color: #26175d;
  font-weight: 800;
  line-height: 1.1;
}

.home-panel .faq {
  padding: 32px 0 0;
}
.home-panel .faq .container {
  width: 100%;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.faq details,
.faq-item {
  margin: 0;
  border-color: #dfe2ef;
  border-radius: 8px;
  box-shadow: none;
}
.faq summary,
.faq-question {
  color: #241461;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { background: linear-gradient(180deg, #fff, #ffeef8 42%, #e7f8ff); }
  .hero-media { min-height: 390px; }
  .hero-art { width: 100%; transform: none; }
  .quick-grid, .card-grid, .paytable-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .starter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-columns { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { width: min(100% - 24px, 1230px); }
  .brand-text { font-size: 18px; }
  .hero-grid, .home-panel { width: min(100% - 24px, 1230px); }
  .hero-grid { min-width: 0; }
  .hero-copy { min-width: 0; }
  .hero h1 { font-size: 38px; }
  .hero-media { min-height: 280px; }
  .pill { min-height: 44px; }
  .quick-grid, .card-grid, .paytable-grid, .starter-grid, .faq-grid { grid-template-columns: 1fr; }
  .home-panel { padding: 16px; border-radius: 18px; }
  .demo-card { grid-template-columns: 1fr; padding: 16px; }
  .demo-overlay {
    inset: 12px;
    grid-template-columns: 1fr;
  }
  .demo-screen { min-height: 420px; }
  .article-card { grid-template-columns: 44px 1fr; }
}

/* Final reference-match polish */
:root {
  --ink: #18124a;
  --muted: #5d5378;
  --pink: #ff3f9d;
  --violet: #8e54ff;
  --blue: #4bbdf6;
  --soft-line: #eadff6;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 22%, rgba(255,63,157,.13), transparent 290px),
    radial-gradient(circle at 92% 22%, rgba(75,189,246,.18), transparent 340px),
    linear-gradient(180deg, #ffffff 0 76px, #f4eaff 76px, #f0fbff 520px, #fff7fc 100%);
}

.site-header {
  border-bottom: 1px solid #eee6f8;
  box-shadow: 0 6px 26px rgba(41, 26, 85, .055);
}

.nav { min-height: 72px; }
.brand-mark { flex: 0 0 auto; }
.nav-links a:hover { color: var(--pink); }

.hero {
  min-height: 500px;
  padding: 22px 0 0;
  background:
    linear-gradient(135deg, #fff7fc 0%, #f0e8ff 34%, #c7ecff 68%, #ffe6f3 100%);
}

.hero-grid {
  width: min(1230px, calc(100% - 42px));
  min-height: 500px;
  display: block;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-top: 46px;
}
.hero-eyebrows { margin-bottom: 18px; }
.eyebrow {
  min-height: 42px;
  padding: 9px 17px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border-color: #eadcff;
  color: #19104f;
  box-shadow: 0 10px 28px rgba(69, 42, 113, .075);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9d2f, #ff3f9d);
}
.hero h1 {
  margin: 0 0 18px;
  max-width: 720px;
  color: #2b176b;
  font-size: clamp(46px, 4.55vw, 60px);
  line-height: 1.05;
  font-weight: 950;
}
.lead {
  max-width: 580px;
  font-size: 17px;
  line-height: 1.58;
  color: #221a5e;
}
.hero-actions { margin-top: 24px; gap: 16px; }
.button {
  min-width: 180px;
  min-height: 58px;
  border-radius: 9px;
  padding: 15px 24px;
  background: linear-gradient(180deg, #ff63b7 0%, #ff2e90 100%);
  box-shadow: 0 16px 28px rgba(255, 47, 145, .28), inset 0 1px 0 rgba(255,255,255,.35);
  color: #fff;
  font-size: 16px;
}
.button.secondary {
  min-width: 250px;
  color: #6d38e8;
  background: rgba(255,255,255,.78);
  border: 2px solid #b879ff;
  box-shadow: 0 12px 24px rgba(111, 56, 232, .08);
}
.pill-row { margin-top: 24px; gap: 10px; }
.pill {
  min-height: 50px;
  padding: 8px 11px 8px 10px;
  background: rgba(255,255,255,.86);
  font-size: 11.5px;
}
.pill::before { width: 22px; height: 22px; font-size: 11px; }
.hero-media {
  position: absolute;
  z-index: 1;
  top: -22px;
  right: -2vw;
  bottom: 0;
  width: min(67vw, 940px);
  min-height: 0;
  overflow: hidden;
}
.hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 15%, rgba(255,255,255,.68) 27%, rgba(255,255,255,0) 45%),
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0) 45%, rgba(255,231,247,.14));
  pointer-events: none;
}
.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 50%;
  transform: none;
  filter: saturate(1.06) contrast(1.02);
}

.quick-section {
  margin-top: -2px;
  padding-bottom: 58px;
}
.home-panel {
  width: min(1230px, calc(100% - 40px));
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.98);
  box-shadow: 0 26px 80px rgba(70, 38, 112, .12);
}
.home-panel h2 {
  color: #17104b;
  font-size: 23px;
  font-weight: 950;
}
.mini-title { margin-bottom: 20px; }

.quick-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}
.fact {
  min-height: 116px;
  padding: 16px 15px;
  border-radius: 13px;
  background: linear-gradient(135deg, #fff4df, #fffaf2);
}
.fact:nth-child(2) { background: linear-gradient(135deg, #fff2db, #fff); }
.fact:nth-child(3) { background: linear-gradient(135deg, #ffeef3, #fff); }
.fact:nth-child(4) { background: linear-gradient(135deg, #edf5ff, #fff); }
.fact:nth-child(5) { background: linear-gradient(135deg, #f3e9ff, #fff); }
.fact:nth-child(6) { background: linear-gradient(135deg, #fff5dd, #fff); }
.fact:nth-child(7) { background: linear-gradient(135deg, #eafff3, #fff); }
.fact:nth-child(8) { background: linear-gradient(135deg, #ffe8ec, #fff); }
.fact-token {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border-radius: 10px;
  font-size: 13px;
  background: linear-gradient(135deg, #ff3f9d, #8e54ff);
}
.fact:nth-child(2) .fact-token { background: linear-gradient(135deg, #ffb12e, #ff7e2e); }
.fact:nth-child(3) .fact-token { background: linear-gradient(135deg, #ff6e79, #ff3f9d); }
.fact:nth-child(4) .fact-token { background: linear-gradient(135deg, #5da6ff, #6c74ff); }
.fact:nth-child(5) .fact-token { background: linear-gradient(135deg, #8e54ff, #c45bff); }
.fact:nth-child(6) .fact-token { background: linear-gradient(135deg, #ffd54c, #ff9f2e); }
.fact:nth-child(7) .fact-token { background: linear-gradient(135deg, #51cf8a, #33ba6c); }
.fact:nth-child(8) .fact-token { background: linear-gradient(135deg, #ff82bf, #ff3f9d); }

.demo-section { margin-top: 30px; }
.demo-card {
  grid-template-columns: minmax(270px, .86fr) minmax(480px, 1.34fr);
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #fbf1ff 45%, #effbff);
}
.demo-copy h2 { font-size: 24px; }
.demo-copy p { font-size: 15px; }
.demo-screen {
  min-height: 238px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), 0 14px 35px rgba(51, 25, 83, .14);
}
.demo-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,63,157,.16), rgba(42,25,78,.05), rgba(142,84,255,.16));
}
.demo-screen img {
  min-height: 238px;
  filter: saturate(1.08) contrast(1.02);
}
.demo-overlay {
  z-index: 2;
  grid-template-columns: minmax(270px, 1fr) 190px;
  inset: 14px 22px;
}
.slot-window {
  padding: 10px;
  border-radius: 14px;
  background: rgba(61, 31, 84, .74);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(3px);
}
.slot-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 950;
  font-size: 12px;
}
.slot-title b {
  padding: 4px 8px;
  border-radius: 999px;
  background: #ff3f9d;
}
.demo-overlay .slot-grid {
  padding: 0;
  gap: 6px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.demo-overlay .slot-symbol {
  min-height: 36px;
  border-radius: 8px;
  font-size: 23px;
  background-color: rgba(255,255,255,.88);
}
.demo-overlay .slot-symbol.bomb { font-size: 12px; }
.demo-overlay .button {
  min-width: 0;
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}
.demo-overlay .button.secondary {
  background: #fff;
  color: #5d36c8;
  border: 0;
}

.home-subsection { margin-top: 32px; }
.card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.article-card {
  min-height: 96px;
  border-radius: 12px;
  border: 1px solid #f0e2f8;
  background: linear-gradient(135deg, #fff1fb, #fff);
}
.article-card:nth-child(2) { background: linear-gradient(135deg, #fff1f4, #fff); }
.article-card:nth-child(3) { background: linear-gradient(135deg, #eef2ff, #fff); }
.article-card:nth-child(4) { background: linear-gradient(135deg, #eef9ff, #fff); }
.article-card:nth-child(5) { background: linear-gradient(135deg, #fff0fb, #fff); }
.article-card:nth-child(6) { background: linear-gradient(135deg, #fff4df, #fff); }
.article-card:nth-child(7) { background: linear-gradient(135deg, #ffeef4, #fff); }
.article-card:nth-child(8) { background: linear-gradient(135deg, #eaf6ff, #fff); }
.article-card:nth-child(9) { background: linear-gradient(135deg, #eefaff, #fff); }
.article-card:nth-child(10) { background: linear-gradient(135deg, #fff6e7, #fff); }

.search-chip {
  border-radius: 8px;
  background: #fbfcff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.starter-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.starter-card {
  border-radius: 13px;
  background: linear-gradient(135deg, #ffe6f6, #fff);
}
.starter-card span {
  background: linear-gradient(135deg, #ff63b7, #ff2e90);
}

.info-columns {
  grid-template-columns: 1.05fr 1.05fr 1.55fr;
  gap: 18px;
}
.info-card {
  min-height: 260px;
  border-radius: 14px;
}
.glossary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paytable-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.pay-symbol {
  min-height: 164px;
  border-color: #e9c3f8;
  border-radius: 10px;
}
.pay-icon {
  font-size: 44px;
}

.site-footer {
  margin: 0;
  padding: 0 0 28px;
  background: transparent;
  color: #2b2454;
}
.footer-shell {
  width: min(1230px, calc(100% - 40px));
  padding: 18px 26px;
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.98);
  border-top: 0;
  box-shadow: 0 20px 55px rgba(70, 38, 112, .08);
}
.footer-top {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee6f7;
}
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand .brand-text { font-size: 15px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-links a {
  color: #342a65;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 1.6fr 44px 1.35fr .8fr;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
}
.site-footer .small {
  margin: 0;
  color: #5a5274;
  font-size: 12px;
  line-height: 1.5;
}
.age-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #b9b4c8;
  border-radius: 50%;
  color: #5a5274;
  font-weight: 900;
}
.copyright { text-align: right; }

@media (max-width: 1180px) {
  .hero-grid { display: block; }
  .hero { background: linear-gradient(180deg, #fff, #ffeef8 46%, #ddf6ff); }
  .hero-media {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: 360px;
    margin-top: 26px;
    border-radius: 18px;
  }
  .hero-media::before { background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); }
  .quick-grid, .card-grid, .paytable-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .info-columns { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .demo-card, .demo-overlay { grid-template-columns: 1fr; }
  .demo-screen { min-height: 500px; }
  .demo-actions { align-content: start; }
  .starter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top, .footer-bottom { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
}

@media (max-width: 560px) {
  .hero-grid, .home-panel, .footer-shell { width: min(100% - 24px, 1230px); }
  .hero h1 { font-size: 38px; }
  .hero-media { height: 240px; min-height: 0; }
  .button, .button.secondary { width: 100%; min-width: 0; }
  .quick-grid, .card-grid, .starter-grid, .paytable-grid, .faq-grid, .glossary-grid { grid-template-columns: 1fr; }
  .demo-screen { min-height: 570px; }
}

/* Whole-page reference alignment: dense premium candy landing */
.home-panel {
  position: relative;
  overflow: hidden;
}
.home-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 63, 157, .055), transparent 260px),
    radial-gradient(circle at 88% 18%, rgba(75, 189, 246, .075), transparent 280px),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.9));
  pointer-events: none;
}
.home-panel > * {
  position: relative;
  z-index: 1;
}

.home-subsection h2,
.demo-copy h2,
.paytable-section h2,
.faq h2 {
  color: #17104b;
  font-weight: 950;
  letter-spacing: 0;
}

.demo-card,
.article-card,
.starter-card,
.info-card,
.pay-symbol,
.faq details,
.faq-item,
.author-box {
  box-shadow: 0 10px 28px rgba(67, 35, 108, .055), inset 0 1px 0 rgba(255,255,255,.75);
}

.demo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #f3e7fa;
}
.demo-card::before {
  content: "";
  position: absolute;
  inset: -90px auto auto -60px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,63,157,.16), transparent 68%);
}
.demo-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75,189,246,.16), transparent 68%);
}
.demo-copy,
.demo-screen {
  position: relative;
  z-index: 1;
}
.mini-notice {
  border: 1px solid #ffd1e4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.card-icon {
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.95), rgba(255,255,255,.4) 30%, transparent 31%),
    linear-gradient(135deg, #ff72bd, #ff3f9d);
  color: #fff;
  text-shadow: 0 2px 0 rgba(61, 29, 86, .12);
}
.article-card:nth-child(2n) .card-icon { background: linear-gradient(135deg, #ffb545, #ff7f2e); }
.article-card:nth-child(3n) .card-icon { background: linear-gradient(135deg, #6ba8ff, #775cff); }
.article-card:nth-child(4n) .card-icon { background: linear-gradient(135deg, #62d8ff, #4d80ff); }
.article-card:nth-child(5n) .card-icon { background: linear-gradient(135deg, #8e54ff, #d260ff); }
.article-card:hover,
.starter-card:hover,
.search-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(82, 45, 125, .1);
}
.article-card,
.starter-card,
.search-chip {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.search-section {
  padding-top: 4px;
}
.chip-row {
  gap: 10px;
}
.search-chip {
  min-height: 36px;
  border-color: #dfe5f4;
  color: #342a65;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.starter-card {
  border: 1px solid #f0e2f8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.starter-card:nth-child(1) { background: linear-gradient(135deg, #ffe4f5, #fff); }
.starter-card:nth-child(2) { background: linear-gradient(135deg, #f1eaff, #fff); }
.starter-card:nth-child(3) { background: linear-gradient(135deg, #ffeef3, #fff); }
.starter-card:nth-child(4) { background: linear-gradient(135deg, #fff0f5, #fff); }
.starter-card:nth-child(5) { background: linear-gradient(135deg, #f7ecff, #fff); }
.starter-card:nth-child(2) span { background: linear-gradient(135deg, #7c8cff, #6d58ff); }
.starter-card:nth-child(3) span { background: linear-gradient(135deg, #ff667a, #ff3f9d); }
.starter-card:nth-child(4) span { background: linear-gradient(135deg, #ff7aaf, #ff3f9d); }
.starter-card:nth-child(5) span { background: linear-gradient(135deg, #b98cff, #8e54ff); }

.info-card {
  border: 1px solid #f0e2f8;
  box-shadow: 0 12px 34px rgba(75, 42, 116, .06);
}
.info-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card h2::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3f9d, #8e54ff);
}
.mini-row {
  margin: 8px 0;
  padding: 10px;
  border-radius: 10px;
  border-bottom: 0;
  background: rgba(255,255,255,.62);
}
.mini-row.bad { background: #fff4f8; }
.mini-row.good { background: #f3fff9; }
.glossary-grid div {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(246,243,255,.9));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.glossary-grid div:nth-child(2n) { background: linear-gradient(135deg, #eef9ff, #fff); }
.glossary-grid div:nth-child(3n) { background: linear-gradient(135deg, #fff3e9, #fff); }

.pay-symbol {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,63,157,.08), transparent 62px),
    linear-gradient(180deg, #fff, #fff8fd);
  box-shadow: 0 10px 26px rgba(82, 45, 125, .06);
}
.pay-symbol::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.7);
  pointer-events: none;
}
.pay-icon {
  background: radial-gradient(circle at 30% 22%, #fff, #fff 28%, #ffeaf7 70%);
}

.faq {
  padding-bottom: 2px;
}
.faq details,
.faq-item {
  background: linear-gradient(180deg, #fff, #fbfcff);
  border-color: #dee3f2;
}
.faq summary,
.faq-question {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::after {
  content: "⌄";
  color: #36256c;
  font-weight: 900;
}
.faq details[open] summary::after {
  content: "⌃";
}

.author-section {
  padding: 0 0 18px;
}
.author-box {
  width: min(1230px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 auto;
  padding: 18px 24px;
  border: 1px solid #f0e2f8;
  border-radius: 18px 18px 0 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,63,157,.08), transparent 220px),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(252,243,255,.94));
}
.author-box h3,
.author-box strong {
  display: block;
  margin: 0 0 6px;
  color: #18124a;
  font-size: 15px;
}
.author-box span,
.author-box p {
  color: #5d5378;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
}
.author-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffe8f5;
  color: #ff2e90 !important;
  font-weight: 900;
}

.footer-shell {
  border-radius: 0 0 18px 18px;
}

@media (max-width: 900px) {
  .author-box { grid-template-columns: 1fr; }
}

/* Reference photos reconstruction layer */
:root {
  --ref-max: 1570px;
  --ref-gutter: 30px;
  --ref-bg: #fbf3ff;
  --ref-panel: rgba(255, 255, 255, .94);
  --ref-ink: #120c49;
  --ref-muted: #4e4674;
  --ref-pink: #ff3f9d;
  --ref-pink-2: #ff6fbd;
  --ref-purple: #8657ff;
  --ref-blue: #54b7ff;
  --ref-yellow: #ffbf38;
  --ref-green: #42c978;
  --ref-line: #eadcf7;
  --ref-radius-lg: 26px;
  --ref-radius-md: 15px;
  --ref-radius-sm: 10px;
  --ref-shadow: 0 24px 70px rgba(79, 45, 128, .11);
  --ref-soft-shadow: 0 12px 28px rgba(77, 43, 124, .065);
}

body {
  color: var(--ref-ink);
  background:
    radial-gradient(circle at 0 22%, rgba(255, 63, 157, .12), transparent 330px),
    radial-gradient(circle at 100% 24%, rgba(84, 183, 255, .15), transparent 360px),
    linear-gradient(180deg, #fff 0 92px, #f5ebff 92px, #eafbff 720px, #fff7fc 100%);
}

.container,
.nav,
.hero-grid,
.home-panel,
.footer-shell,
.author-box {
  width: min(var(--ref-max), calc(100% - (var(--ref-gutter) * 2)));
}

.site-header {
  height: 94px;
  border-radius: 0 0 18px 18px;
  background: rgba(255,255,255,.96);
}
.nav {
  min-height: 94px;
  gap: 28px;
}
.brand-mark {
  width: 58px;
  height: 58px;
}
.brand-text {
  font-size: 28px;
  line-height: .78;
}
.nav-links {
  gap: 36px;
  margin-left: auto;
}
.nav-links > a {
  font-size: 16px;
  font-weight: 900;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-left: 28px;
  white-space: nowrap;
}
.lang-current {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid #dfdced;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #fafbff);
  color: var(--ref-ink);
  font-weight: 900;
  text-decoration: none;
}
.lang-plain {
  color: #332866 !important;
  font-weight: 800 !important;
}
.chev {
  color: #6f6490;
  font-size: 14px;
}
.flag { font-size: 20px; line-height: 1; }

.hero {
  min-height: 610px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 31%, rgba(255,255,255,.34) 48%, rgba(255,255,255,0) 70%),
    linear-gradient(135deg, #fff9fd 0%, #efe7ff 30%, #c6edff 65%, #ffe2f4 100%);
}
.hero-grid {
  min-height: 610px;
}
.hero-copy {
  max-width: 900px;
  padding-top: 66px;
}
.hero-eyebrows {
  gap: 18px;
  margin-bottom: 28px;
}
.eyebrow {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border-color: var(--ref-line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--ref-soft-shadow);
  font-size: 15px;
  font-weight: 900;
}
.eyebrow::before {
  width: 10px;
  height: 10px;
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(56px, 4.75vw, 78px);
  line-height: .98;
  margin-bottom: 24px;
}
.lead {
  max-width: 720px;
  font-size: 22px;
  line-height: 1.48;
  color: #2a2360;
  font-weight: 500;
}
.hero-actions {
  gap: 34px;
  margin-top: 34px;
}
.button {
  min-width: 270px;
  min-height: 68px;
  border-radius: 14px;
  font-size: 22px;
  box-shadow: 0 18px 32px rgba(255, 47, 145, .28), inset 0 1px 0 rgba(255,255,255,.42);
}
.button.secondary {
  min-width: 340px;
  border: 2px solid #a46cff;
  color: #6733dc;
}
.btn-icon {
  width: 34px;
  height: 34px;
  font-size: 15px;
}
.pill-row {
  gap: 14px;
  margin-top: 40px;
}
.pill {
  min-height: 62px;
  padding: 10px 18px 10px 14px;
  border-radius: 13px;
  border: 1px solid var(--ref-line);
  background: rgba(255,255,255,.86);
  color: #211750;
  box-shadow: var(--ref-soft-shadow);
  font-size: 15px;
  font-weight: 800;
}
.pill::before { display: none; }
.pill-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: var(--ref-pink);
  font-weight: 900;
}
.pill:nth-child(2) .pill-icon { color: var(--ref-purple); }
.pill:nth-child(3) .pill-icon { color: var(--ref-pink); }
.pill:nth-child(4) .pill-icon { color: #4774ff; }
.hero-media {
  top: 0;
  right: calc((100vw - min(var(--ref-max), calc(100vw - (var(--ref-gutter) * 2)))) / -2);
  bottom: 0;
  width: min(67vw, 1100px);
}
.hero-media::before {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.95) 13%, rgba(255,255,255,.62) 25%, rgba(255,255,255,0) 43%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.hero-art {
  object-position: 50% 50%;
}

.quick-section {
  margin-top: -2px;
  padding-bottom: 0;
}
.home-panel {
  border-radius: 30px;
  padding: 32px 30px 42px;
  background: var(--ref-panel);
  box-shadow: var(--ref-shadow);
}
.home-panel h2 {
  font-size: 28px;
}
.mini-title {
  font-size: 15px;
  margin-bottom: 24px;
}
.quick-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
}
.fact {
  min-height: 128px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--ref-radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.fact-token {
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 16px;
  font-size: 18px;
}
.fact-copy {
  min-width: 0;
  display: grid !important;
  gap: 6px;
}
.fact-copy span {
  color: #5b5275 !important;
  font-size: 12px !important;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.fact-copy b {
  font-size: 15.5px;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.demo-section {
  margin-top: 28px;
}
.demo-card {
  grid-template-columns: minmax(430px, .82fr) minmax(740px, 1.36fr);
  gap: 42px;
  padding: 26px 30px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(252,244,255,.96) 48%, rgba(239,250,255,.98));
  border: 1px solid var(--ref-line);
  box-shadow: var(--ref-soft-shadow);
}
.demo-copy {
  padding: 14px 0 10px;
}
.demo-copy h2 {
  font-size: 30px;
  margin-bottom: 18px;
}
.demo-copy p {
  max-width: 530px;
  color: #2e2764;
  font-size: 17px;
  line-height: 1.55;
}
.mini-notice {
  max-width: 520px;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffeaf3, #fff4f8);
}
.mini-notice b {
  width: 36px;
  height: 36px;
}
.mini-notice span {
  color: #342a65;
  font-size: 16px;
  line-height: 1.45;
}
.demo-screen {
  min-height: 292px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 18px 36px rgba(64, 36, 103, .12);
}
.demo-screen img {
  min-height: 292px;
}
.demo-overlay {
  inset: 18px 22px;
  grid-template-columns: minmax(460px, 1fr) 250px;
  gap: 20px;
}
.slot-window {
  padding: 12px;
  border-radius: 14px;
  background: rgba(46, 24, 68, .58);
}
.demo-overlay .slot-grid {
  gap: 8px;
}
.demo-overlay .slot-symbol {
  min-height: 42px;
  border-radius: 9px;
  font-size: 27px;
}
.demo-overlay .slot-symbol.bomb {
  font-size: 14px;
}
.demo-overlay .demo-actions {
  align-self: center;
  display: grid;
  gap: 18px;
}
.demo-overlay .button,
.demo-overlay .button.secondary {
  min-height: 66px;
  border-radius: 13px;
  font-size: 20px;
}

.home-subsection {
  margin-top: 34px;
}
.card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 20px;
}
.article-card {
  min-height: 104px;
  grid-template-columns: 62px 1fr;
  padding: 18px 20px;
  border-radius: 13px;
}
.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  font-size: 32px;
}
.article-card h3 {
  font-size: 16px;
}
.article-card p {
  font-size: 13px;
  line-height: 1.35;
}
.chip-row {
  gap: 14px;
}
.search-chip {
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.starter-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.starter-card {
  min-height: 116px;
  grid-template-columns: 62px 1fr;
  padding: 20px;
  border-radius: 14px;
}
.starter-card span {
  width: 58px;
  height: 58px;
  font-size: 28px;
}
.starter-card b {
  font-size: 18px;
  line-height: 1.15;
}
.starter-card small {
  font-size: 14px;
  line-height: 1.4;
}

.info-columns {
  grid-template-columns: 1fr 1fr 1.32fr;
  gap: 24px;
}
.info-card {
  min-height: 288px;
  padding: 24px;
  border-radius: 16px;
}
.info-card h2 {
  font-size: 26px;
}
.mini-row {
  grid-template-columns: 32px 1fr;
  padding: 12px 14px;
}
.mini-row b {
  width: 26px;
  height: 26px;
}
.mini-row p {
  font-size: 14px;
}
.glossary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.glossary-grid div {
  min-height: 82px;
  padding: 14px;
  border-radius: 10px;
}
.glossary-grid b {
  font-size: 16px;
}
.glossary-grid span {
  font-size: 13px;
}

.paytable-section {
  margin-top: 38px;
}
.paytable-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.paytable-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
}
.pay-symbol {
  min-height: 246px;
  padding: 22px 14px 18px;
  border-radius: 14px;
  border: 1px solid #eac9f5;
  background: linear-gradient(180deg, #fff, #fff9fd);
}
.pay-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  font-size: 70px;
  margin-bottom: 10px;
  filter: drop-shadow(0 10px 12px rgba(56, 30, 88, .12));
}
.pay-symbol b {
  min-height: 38px;
  color: var(--ref-pink);
  font-size: 17px;
  line-height: 1.18;
}
.pay-symbol small {
  color: #12104c;
  font-size: 17px;
  line-height: 1.45;
}

.home-panel .faq {
  margin-top: 32px;
  padding: 30px 0 0;
  border-top: 0;
}
.faq h2 {
  font-size: 28px;
  margin-bottom: 18px;
}
.faq-grid {
  gap: 14px 34px;
}
.faq details,
.faq-item {
  min-height: 58px;
  border-radius: 10px;
  border: 1px solid #dbdff0;
  background: linear-gradient(180deg, #fff, #fdfcff);
}
.faq summary,
.faq-question {
  min-height: 58px;
  padding: 0 18px;
  font-size: 16px;
}
.faq details p,
.faq-answer p {
  padding: 0 18px 16px;
  color: #4f4674;
}

.author-section {
  padding: 24px 0 16px;
}
.author-box {
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 34px;
  padding: 30px 44px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
}
.author-box::before,
.author-box::after {
  content: "";
  width: 1px;
  height: 84px;
  background: #ded7ef;
  justify-self: center;
}
.author-box::before { grid-column: 2; grid-row: 1; }
.author-box::after { grid-column: 4; grid-row: 1; }
.author-box > div { grid-column: 1; }
.author-box > p:nth-of-type(1) { grid-column: 3; }
.author-box > p:nth-of-type(2) { grid-column: 5; }
.author-box strong {
  font-size: 17px;
}
.author-box span,
.author-box p {
  font-size: 14px;
}
.author-kicker {
  background: linear-gradient(135deg, #ffe6f4, #f4eaff);
}

.footer-shell {
  padding: 22px 28px 24px;
  border-radius: 0 0 20px 20px;
  background: rgba(255,255,255,.94);
}
.footer-top {
  grid-template-columns: 210px 1fr;
}
.footer-brand .brand-mark {
  width: 56px;
  height: 56px;
}
.footer-brand .brand-text {
  font-size: 23px;
}
.footer-links {
  justify-content: center;
  gap: 42px;
}
.footer-links a {
  font-size: 15px;
}
.footer-bottom {
  grid-template-columns: 1.4fr 54px 1.25fr .9fr;
  gap: 28px;
  padding-top: 18px;
}
.age-badge {
  width: 52px;
  height: 52px;
  font-size: 18px;
}
.site-footer .small {
  font-size: 14px;
}

@media (max-width: 1280px) {
  .nav-links { gap: 18px; }
  .nav-links > a { font-size: 14px; }
  .button { min-width: 220px; font-size: 18px; }
  .button.secondary { min-width: 280px; }
  .quick-grid, .paytable-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .site-header { height: auto; border-radius: 0; }
  .nav { min-height: 72px; }
  .nav-links { gap: 12px; }
  .lang-switcher { margin-left: 0; }
  .hero-grid { min-height: 0; }
  .hero-copy { padding-top: 34px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 17px; }
  .pill-row { gap: 10px; }
  .pill { font-size: 13px; }
  .demo-card, .demo-overlay { grid-template-columns: 1fr; }
  .demo-screen { min-height: 540px; }
  .card-grid, .quick-grid, .starter-grid, .info-columns, .paytable-grid, .faq-grid { grid-template-columns: 1fr; }
  .author-box {
    grid-template-columns: 1fr;
  }
  .author-box::before,
  .author-box::after { display: none; }
  .author-box > div,
  .author-box > p:nth-of-type(1),
  .author-box > p:nth-of-type(2) { grid-column: auto; }
  .footer-top,
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; gap: 18px; }
}

/* Reference QA pass: keep dense desktop components readable like the mockups */
@media (min-width: 1281px) {
  :root {
    --ref-max: 1620px;
  }
  .pill-row {
    flex-wrap: nowrap;
    max-width: 980px;
  }
  .pill {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 10px 14px 10px 12px;
    font-size: 14px;
    line-height: 1.16;
  }
  .pill-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 13px;
  }
  .quick-grid {
    gap: 18px;
  }
  .fact {
    min-height: 112px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    overflow: hidden;
  }
  .fact-token {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    font-size: 17px;
  }
  .fact > .fact-copy {
    display: grid !important;
    min-width: 0;
    gap: 4px;
    align-content: center;
  }
  .fact > .fact-copy > span {
    display: block;
    color: #62577b !important;
    font-size: 11.5px !important;
    font-weight: 850 !important;
    line-height: 1.15;
    margin: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .fact > .fact-copy > b {
    display: block;
    color: #120c49;
    font-size: 14.5px;
    font-weight: 950;
    line-height: 1.14;
    margin: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
  .demo-card {
    align-items: center;
    grid-template-columns: minmax(430px, .78fr) minmax(760px, 1.42fr);
    gap: 44px;
    padding: 24px 30px;
  }
  .demo-copy {
    padding: 0;
  }
  .demo-copy h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .demo-copy p {
    font-size: 16px;
    line-height: 1.48;
  }
  .mini-notice {
    margin-top: 22px;
    padding: 16px 20px;
  }
  .mini-notice b {
    width: 34px;
    height: 34px;
  }
  .mini-notice span {
    font-size: 14.5px;
    line-height: 1.4;
  }
  .demo-screen {
    height: 252px;
    min-height: 0;
  }
  .demo-screen img {
    display: block;
    height: 100%;
    min-height: 0;
  }
  .demo-overlay {
    inset: 10px 14px;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .slot-window {
    width: min(640px, 72%);
    height: 230px;
    padding: 9px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
  }
  .slot-title {
    font-size: 12px;
  }
  .demo-overlay .slot-grid {
    height: 188px;
    gap: 6px;
  }
  .demo-overlay .slot-symbol {
    min-height: 0;
    height: 35px;
    border-radius: 8px;
    font-size: 24px;
  }
  .demo-overlay .slot-symbol.bomb {
    font-size: 12px;
  }
  .demo-overlay .demo-actions {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 244px;
    transform: translate(-50%, -45%);
    gap: 12px;
  }
  .demo-overlay .button,
  .demo-overlay .button.secondary {
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 18px;
  }
  .article-card {
    min-height: 92px;
    grid-template-columns: 58px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    gap: 4px 14px;
    padding: 16px 18px;
  }
  .card-icon {
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    font-size: 29px;
  }
  .article-card h3 {
    align-self: end;
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
  }
  .article-card p {
    grid-column: 2;
    align-self: start;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.22;
  }
}

/* Final Sweet Bonanza slot-preview override: keep Gates-style placement, not Gates-style visuals. */
.demo-preview-card {
  min-height: 360px !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .92) 0 48px, transparent 51px),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, .72) 0 66px, transparent 69px),
    radial-gradient(circle at 20% 86%, rgba(255, 95, 168, .18), transparent 170px),
    radial-gradient(circle at 88% 82%, rgba(120, 198, 255, .2), transparent 180px),
    linear-gradient(145deg, #fff8fd 0%, #ffe4f3 38%, #dff5ff 72%, #fff4cb 100%);
  border: 1px solid rgba(255, 120, 190, .28);
  box-shadow:
    0 18px 42px rgba(255, 95, 168, .13),
    0 14px 36px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.demo-preview-card::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.32)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), rgba(255, 247, 252, .28));
}

.demo-preview-card .demo-mockup-bg-wrap,
.demo-preview-card .demo-mockup-slot {
  opacity: .86;
}

.demo-preview-card .slot-window {
  width: min(640px, 90%);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(61, 31, 84, .48);
  box-shadow: 0 14px 32px rgba(74, 34, 112, .14);
}

.slot-center-actions {
  position: relative;
  z-index: 5;
  width: min(270px, calc(100% - 92px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 120, 190, .28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,246,252,.72));
  box-shadow:
    0 18px 36px rgba(255, 79, 163, .16),
    inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
}

.slot-center-actions .slot-primary-cta,
.slot-center-actions .slot-secondary-cta,
.slot-primary-cta,
.slot-secondary-cta {
  min-height: 50px;
  width: 100%;
  border-radius: 17px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 1000;
}

.slot-center-actions .slot-primary-cta,
.slot-primary-cta {
  color: #fff;
  background: linear-gradient(180deg, #ff69bd, #ff2f93);
  box-shadow:
    0 14px 24px rgba(255, 47, 147, .26),
    inset 0 1px 0 rgba(255,255,255,.38);
}

.slot-center-actions .slot-secondary-cta,
.slot-secondary-cta {
  color: #53206f;
  border: 1px solid rgba(255, 120, 190, .3);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,240,249,.9));
  box-shadow:
    0 10px 22px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.slot-close,
.slot-fullscreen,
.demo-screen .slot-close,
.demo-screen .slot-fullscreen,
.demo-screen .demo-off-toggle,
.demo-screen .demo-fullscreen-toggle {
  position: absolute;
  z-index: 7;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.slot-close,
.demo-screen .slot-close,
.demo-screen .demo-off-toggle {
  left: 16px;
  top: 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, #ff6f88, #f02f63);
  box-shadow:
    0 12px 24px rgba(240, 47, 99, .24),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.slot-fullscreen,
.demo-screen .slot-fullscreen,
.demo-screen .demo-fullscreen-toggle {
  right: 16px;
  bottom: 16px;
  color: #ff4fa3;
  border: 1px solid rgba(255, 120, 190, .36);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,246,252,.9));
  box-shadow:
    0 12px 24px rgba(84, 54, 140, .12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.slot-close .demo-off-label::before,
.demo-screen .slot-close .demo-off-label::before,
.demo-screen .demo-off-label::before {
  content: "×";
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.demo-preview-card:fullscreen {
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.86) 0 76px, transparent 80px),
    radial-gradient(circle at 84% 18%, rgba(120, 198, 255, .24), transparent 270px),
    linear-gradient(145deg, #fff8fd, #ffe0f2 42%, #dff5ff 78%, #fff2c6);
}

@media (max-width: 767px) {
  .demo-preview-card {
    min-height: 330px !important;
    aspect-ratio: 16 / 11;
  }

  .demo-preview-card .demo-overlay {
    inset: 10px;
  }

  .demo-preview-card .slot-window {
    width: 100%;
    opacity: .82;
  }

  .slot-center-actions {
    width: min(238px, calc(100% - 74px));
    gap: 9px;
    padding: 10px;
    border-radius: 20px;
  }

  .slot-center-actions .slot-primary-cta,
  .slot-center-actions .slot-secondary-cta,
  .slot-primary-cta,
  .slot-secondary-cta {
    min-height: 46px;
    border-radius: 15px;
    font-size: 15px;
  }

  .slot-close,
  .slot-fullscreen,
  .demo-screen .slot-close,
  .demo-screen .slot-fullscreen,
  .demo-screen .demo-off-toggle,
  .demo-screen .demo-fullscreen-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .slot-close,
  .demo-screen .slot-close,
  .demo-screen .demo-off-toggle {
    left: 12px;
    top: 12px;
  }

  .slot-fullscreen,
  .demo-screen .slot-fullscreen,
  .demo-screen .demo-fullscreen-toggle {
    right: 12px;
    bottom: 12px;
  }
}

/* Decorative media is painted with CSS so HTML/plain-text parsers do not read it as Image. */
.lang-flag::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.lang-flag[data-flag="ua"]::before { background-image: url("/assets/flag-ua.svg"); }
.lang-flag[data-flag="gb"]::before { background-image: url("/assets/flag-gb.svg"); }
.lang-flag[data-flag="ru"]::before { background-image: url("/assets/flag-ru.svg"); }
.lang-flag[data-flag="de"]::before { background-image: url("/assets/flag-de.svg"); }
.lang-flag[data-flag="gr"]::before { background-image: url("/assets/flag-gr.svg"); }

.demo-mockup-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.demo-mockup-bg {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/photos/demo_background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .72;
  filter: saturate(1.08) contrast(1.02);
}

.demo-mockup-slot {
  min-width: 0;
}

.slot-symbol:not(.bomb)::before {
  content: "";
  display: block;
  width: 88%;
  height: 88%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 4px 6px rgba(48, 20, 74, .16));
}

.demo-overlay .slot-symbol:not(.bomb)::before {
  width: 92%;
  height: 92%;
}

.slot-symbol.banana::before { background-image: url("/assets/symbols/banana_yellow.png"); }
.slot-symbol.watermelon::before { background-image: url("/assets/symbols/watermelon_green.png"); }
.slot-symbol.grape::before { background-image: url("/assets/symbols/grapes_purple.png"); }
.slot-symbol.apple::before { background-image: url("/assets/symbols/apple_red.png"); }
.slot-symbol.heart::before { background-image: url("/assets/symbols/heart_red.png"); }
.slot-symbol.candy::before { background-image: url("/assets/symbols/candy_purple.png"); }
.slot-symbol.lollipop::before { background-image: url("/assets/symbols/lollipop_scatter.png"); }
.slot-symbol.plum::before { background-image: url("/assets/symbols/plum_purple.png"); }

.demo-screen.is-playing .demo-mockup-bg-wrap {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Semantic cleanup: decorative tokens are painted by CSS, not exposed as text. */
.quick-facts .section-kicker {
  margin: 0 0 5px;
}

.quick-facts-grid {
  margin-top: 20px;
}

.fact-token {
  grid-row: 1 / span 2;
}

.fact-token::before,
.scheme-token::before,
.symbol-bomb-token::before {
  content: attr(data-token);
}

.btn-icon::before,
.pill-icon::before,
.card-icon::before,
.search-chip [data-icon]::before,
.starter-card-icon::before,
.mini-row b::before,
.mini-notice b::before {
  content: attr(data-icon);
}

.slot-title [data-label]::before {
  content: attr(data-label);
}

.fact dt {
  grid-column: 2;
  margin: 0;
  color: #62577b;
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.15;
}

.fact dd {
  grid-column: 2;
  margin: 0;
  color: #120c49;
  font-size: 14.5px;
  font-weight: 950;
  line-height: 1.14;
}

@media (max-width: 1280px) {
  .pill-row {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .fact > .fact-copy > span,
  .fact > .fact-copy > b {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

/* Reference QA pass: author strip with three icon cards */
.author-section {
  padding: 26px 0 16px;
}
.author-box {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 34px;
  padding: 28px 44px;
  border-radius: 22px;
  border: 1px solid #dfd2f4;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 52px rgba(73, 37, 116, .09);
}
.author-box::before,
.author-box::after {
  content: "";
  width: 1px;
  height: 84px;
  background: #ded7ef;
  justify-self: center;
}
.author-box::before { grid-column: 2; grid-row: 1; }
.author-box::after { grid-column: 4; grid-row: 1; }
.author-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.author-item:nth-of-type(1) { grid-column: 1; }
.author-item:nth-of-type(2) { grid-column: 3; }
.author-item:nth-of-type(3) { grid-column: 5; }
.author-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ff3f9d;
  background: radial-gradient(circle at 36% 28%, #fff 0 18%, #ffe4f3 19% 58%, #f2e6ff 100%);
  box-shadow: 0 14px 30px rgba(255, 63, 157, .14), inset 0 1px 0 rgba(255,255,255,.8);
  position: relative;
  font-size: 0;
  font-weight: 950;
}
.author-icon::before {
  color: currentColor;
  content: "";
  position: absolute;
}
.author-item:nth-of-type(1) .author-icon::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: -15px 5px 0 -2px currentColor, 15px 5px 0 -2px currentColor;
  transform: translateY(-12px);
}
.author-item:nth-of-type(1) .author-icon::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 21px;
  height: 13px;
  border-radius: 13px 13px 7px 7px;
  background: currentColor;
  box-shadow: -12px 0 0 currentColor, 12px 0 0 currentColor;
}
.author-item:nth-of-type(2) .author-icon {
  color: #8657ff;
  background: radial-gradient(circle at 36% 28%, #fff 0 18%, #eee7ff 19% 60%, #ffe8f4 100%);
}
.author-item:nth-of-type(2) .author-icon::before {
  width: 30px;
  height: 28px;
  border: 3px solid currentColor;
  border-radius: 7px;
  background:
    linear-gradient(currentColor, currentColor) 7px 12px / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 18px 12px / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 7px 20px / 5px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 18px 20px / 5px 5px no-repeat;
  box-shadow: inset 0 8px 0 rgba(134, 87, 255, .18);
}
.author-item:nth-of-type(2) .author-icon::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}
.author-item:nth-of-type(3) .author-icon::before {
  width: 34px;
  height: 38px;
  border-radius: 18px 18px 16px 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 88% 12%, 84% 58%, 50% 100%, 16% 58%, 12% 12%);
}
.author-item:nth-of-type(3) .author-icon::after {
  content: "";
  position: absolute;
  width: 17px;
  height: 9px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg) translate(1px, 1px);
}
.author-item p {
  margin: 0;
}
.author-item h3,
.author-item strong {
  display: block;
  margin: 0 0 6px;
  color: #18124a;
  font-size: 17px;
  line-height: 1.2;
}
.author-item p,
.author-item span:not(.author-icon) {
  display: block;
  color: #5d5378;
  font-size: 14px;
  line-height: 1.48;
}
.author-item a {
  color: #7a2bd8;
  font-weight: 900;
}

@media (max-width: 960px) {
  .author-box {
    grid-template-columns: 1fr;
  }
  .author-box::before,
  .author-box::after {
    display: none;
  }
  .author-item:nth-of-type(1),
  .author-item:nth-of-type(2),
  .author-item:nth-of-type(3) {
    grid-column: auto;
  }
}

/* Mobile QA layer: keep the reference look without horizontal overflow */
@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  :root {
    --ref-gutter: 15px;
  }
  .container,
  .nav,
  .hero-grid,
  .home-panel,
  .footer-shell,
  .author-box {
    width: min(100% - 30px, var(--ref-max));
  }
  .site-header {
    height: auto;
    border-radius: 0 0 14px 14px;
  }
  .nav {
    min-height: 72px;
    justify-content: center;
  }
  .brand-mark {
    width: 56px;
    height: 56px;
  }
  .brand-text {
    font-size: 26px;
  }
  .nav-links,
  .lang-switcher {
    display: none;
  }
  .hero {
    min-height: 0;
    overflow: hidden;
    padding-bottom: 0;
  }
  .hero-grid {
    display: block;
    min-height: 0;
    width: calc(100vw - 30px) !important;
    max-width: calc(100vw - 30px);
  }
  .hero-copy {
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    min-width: 0;
    padding-top: 34px;
    overflow: hidden;
  }
  .hero-eyebrows {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    margin-bottom: 26px;
  }
  .eyebrow {
    min-height: 40px;
    width: max-content;
    max-width: calc(100vw - 60px);
    padding: 9px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero h1 {
    width: calc(100vw - 90px);
    max-width: calc(100vw - 90px);
    font-size: 32px;
    line-height: 1.05;
    margin-bottom: 18px;
  }
  .lead {
    width: calc(100vw - 90px);
    max-width: calc(100vw - 90px);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    margin-top: 28px;
  }
  .button,
  .button.secondary {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 18px;
    font-size: 17px;
  }
  .pill-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
    margin-top: 26px;
  }
  .pill {
    width: calc(100vw - 60px);
    min-height: 58px;
    justify-content: flex-start;
    font-size: 13px;
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: calc(100vw - 60px);
    height: 230px;
    min-height: 0;
    margin-top: 26px;
    border-radius: 18px;
    overflow: hidden;
  }
  .hero-art {
    object-fit: cover;
    object-position: 55% 50%;
  }
  .home-panel {
    border-radius: 22px;
    padding: 24px 16px 30px;
  }
  .home-panel h2,
  .paytable-section h2,
  .faq h2 {
    font-size: 26px;
  }
  .quick-grid,
  .card-grid,
  .starter-grid,
  .info-columns,
  .paytable-grid,
  .faq-grid,
  .glossary-grid {
    grid-template-columns: 1fr;
  }
  .fact {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 96px;
    padding: 14px;
  }
  .demo-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
  .demo-screen {
    height: 250px;
    min-height: 0 !important;
  }
  .demo-overlay {
    inset: 8px;
    grid-template-columns: 1fr;
  }
  .slot-window {
    width: 94%;
    height: 218px;
  }
  .demo-overlay .slot-grid {
    height: 178px;
  }
  .demo-overlay .slot-symbol {
    height: 32px;
    font-size: 20px;
  }
  .demo-overlay .demo-actions {
    width: 210px;
  }
  .demo-overlay .button,
  .demo-overlay .button.secondary {
    min-height: 48px;
    font-size: 15px;
  }
  .article-card,
  .starter-card,
  .author-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .pay-symbol {
    min-height: 220px;
  }
  .faq summary,
  .faq-question {
    min-height: 54px;
    padding: 0 14px;
    font-size: 14px;
  }
  .author-box {
    padding: 22px 18px;
    gap: 18px;
  }
  .author-icon {
    width: 58px;
    height: 58px;
  }
  .footer-shell {
    padding: 22px 18px;
  }
}

/* Inline real demo launcher: start card + fullscreen toggle */
.demo-screen {
  position: relative;
  height: 360px !important;
  min-height: 360px !important;
  background: #090b25;
}
.demo-screen > img {
  min-height: 360px !important;
}
.demo-live-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: #090b25;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.demo-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 63, 157, .14), transparent 260px),
    linear-gradient(180deg, rgba(8, 10, 34, .82), rgba(8, 10, 34, .9));
  transition: opacity .22s ease, visibility .22s ease;
}
.demo-start-hint {
  position: absolute;
  top: 22px;
  left: 50%;
  width: min(720px, calc(100% - 40px));
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .08);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
}
.demo-start-card {
  position: relative;
  z-index: 1;
  width: min(475px, calc(100% - 26px));
  display: grid;
  gap: 14px;
  padding: 28px 54px 26px;
  border: 1px solid rgba(255, 215, 112, .55);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(14, 16, 49, .95), rgba(9, 11, 38, .92)),
    radial-gradient(circle at 50% 0, rgba(255, 63, 157, .18), transparent 210px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.08);
  text-align: center;
}
.demo-start-card > span {
  justify-self: center;
  margin-bottom: 4px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #ffe48c;
  background: rgba(255, 228, 140, .12);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .02em;
}
.demo-start-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(32px, 3.4vw, 40px);
  line-height: 1.08;
}
.demo-start-card .button,
.demo-start-card .button.secondary {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  border-radius: 10px;
  font-size: 19px;
}
.demo-start-card .button {
  color: #1d1500;
  background: linear-gradient(180deg, #ffe889, #f4aa18);
  box-shadow: 0 16px 30px rgba(255, 190, 54, .25), inset 0 1px 0 rgba(255,255,255,.55);
}
.demo-start-card .button .btn-icon {
  display: none;
}
.demo-start-card .button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.demo-player-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.demo-fullscreen-toggle,
.demo-off-toggle {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
}
.demo-fullscreen-toggle {
  position: relative;
  border: 1px solid rgba(255, 228, 140, .72);
  color: #fff6c7;
  background: rgba(9, 11, 38, .7);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.08);
}
.demo-off-toggle {
  position: relative;
  display: none;
  border: 1px solid rgba(255,255,255,.42);
  color: #fff;
  background: linear-gradient(180deg, #ff4e65, #d91f3d);
  box-shadow: 0 18px 44px rgba(217, 31, 61, .3), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}
.demo-off-label::before {
  content: "OFF";
}
.demo-fullscreen-toggle span,
.demo-fullscreen-toggle::before,
.demo-fullscreen-toggle::after {
  width: 24px;
  height: 24px;
  display: block;
  border-color: currentColor;
}
.demo-fullscreen-toggle span {
  position: relative;
}
.demo-fullscreen-toggle span::before,
.demo-fullscreen-toggle span::after,
.demo-fullscreen-toggle::before,
.demo-fullscreen-toggle::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
}
.demo-fullscreen-toggle span::before {
  left: 0;
  top: 0;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
}
.demo-fullscreen-toggle span::after {
  right: 0;
  top: 0;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
}
.demo-fullscreen-toggle::before {
  left: 17px;
  bottom: 17px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.demo-fullscreen-toggle::after {
  right: 17px;
  bottom: 17px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.demo-screen.is-playing > img,
.demo-screen.is-playing .demo-start-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.demo-screen.is-playing .demo-live-frame {
  opacity: 1;
  pointer-events: auto;
}
.demo-screen.is-playing .demo-off-toggle {
  display: grid;
}
.demo-screen:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  border-radius: 0;
}
.demo-screen:fullscreen .demo-live-frame {
  width: 100vw;
  height: 100vh;
}
.demo-screen.is-fullscreen .demo-fullscreen-toggle span::before {
  left: 4px;
  top: 4px;
  border-left: 0;
  border-top: 0;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.demo-screen.is-fullscreen .demo-fullscreen-toggle span::after {
  right: 4px;
  top: 4px;
  border-right: 0;
  border-top: 0;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
}
.demo-screen.is-fullscreen .demo-fullscreen-toggle::before {
  left: 21px;
  bottom: 21px;
  border-left: 0;
  border-bottom: 0;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
}
.demo-screen.is-fullscreen .demo-fullscreen-toggle::after {
  right: 21px;
  bottom: 21px;
  border-right: 0;
  border-bottom: 0;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
}

@media (max-width: 720px) {
  .demo-screen {
    height: 420px !important;
    min-height: 420px !important;
  }
  .demo-screen > img {
    min-height: 420px !important;
  }
  .demo-start-overlay {
    padding: 18px;
  }
  .demo-start-card {
    padding: 26px 22px 24px;
  }
  .demo-start-card h3 {
    font-size: 30px;
  }
  .demo-fullscreen-toggle {
    width: 50px;
    height: 50px;
  }
  .demo-player-controls {
    right: 12px;
    bottom: 12px;
  }
  .demo-off-toggle {
    width: 50px;
    height: 50px;
  }
}

/* Restore the previous candy demo preview; keep only the requested button logic */
.demo-screen {
  height: 252px !important;
  min-height: 252px !important;
  background: #2b1a47;
}
.demo-screen > img {
  height: 100% !important;
  min-height: 0 !important;
}
.demo-screen .demo-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .24s ease, visibility .24s ease;
}
.demo-screen.is-playing > img,
.demo-screen.is-playing .demo-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.demo-screen.is-playing .demo-live-frame {
  opacity: 1;
  pointer-events: auto;
}
.demo-screen .demo-fullscreen-toggle {
  width: 52px;
  height: 52px;
}
.demo-screen .demo-off-toggle {
  width: 52px;
  height: 52px;
}

@media (max-width: 720px) {
  .demo-screen {
    height: 300px !important;
    min-height: 300px !important;
  }
  .demo-screen > img {
    min-height: 0 !important;
  }
  .demo-overlay .demo-actions {
    width: min(220px, calc(100% - 64px));
  }
  .demo-overlay .button,
  .demo-overlay .button.secondary {
    min-height: 50px;
    font-size: 15px;
  }
}

/* Demo player QA: use a normal compact slot iframe after launch */
.demo-card.is-demo-playing {
  grid-template-columns: 1fr !important;
  gap: 18px;
}
.demo-card.is-demo-playing .demo-copy {
  display: none;
}
.demo-card.is-demo-playing .demo-screen {
  width: min(960px, 100%);
  height: 540px !important;
  min-height: 0 !important;
  justify-self: center;
  border-radius: 18px;
  background: #050611;
}
.demo-card.is-demo-playing .demo-live-frame {
  border-radius: 18px;
}
.demo-card.is-demo-playing .demo-player-controls {
  right: 16px;
  bottom: 16px;
}
.demo-card.is-demo-playing .demo-screen:fullscreen {
  width: 100vw;
  height: 100vh !important;
  min-height: 100vh !important;
  border-radius: 0;
}
.demo-card.is-demo-playing .demo-screen:fullscreen .demo-live-frame {
  border-radius: 0;
}

/* Clean, centered fullscreen icon */
.demo-fullscreen-toggle {
  color: #fff4ba;
}
.demo-fullscreen-toggle span {
  width: 25px !important;
  height: 25px !important;
  position: relative;
  display: block;
  background:
    linear-gradient(currentColor, currentColor) left top / 10px 3px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 3px 10px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 10px 3px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 3px 10px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 10px 3px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 3px 10px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 10px 3px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 3px 10px no-repeat;
}
.demo-fullscreen-toggle::before,
.demo-fullscreen-toggle::after,
.demo-fullscreen-toggle span::before,
.demo-fullscreen-toggle span::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 720px) {
  .demo-card.is-demo-playing .demo-screen {
    width: 100%;
    height: 62vh !important;
    min-height: 360px !important;
  }
}

/* Real Sweet Bonanza symbol cards */
.paytable-section {
  position: relative;
  overflow: hidden;
  padding: 30px 0 8px;
}

.paytable-section::before {
  content: "";
  position: absolute;
  inset: 4px -18px auto;
  height: 220px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 105, 180, .15), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(255, 216, 107, .2), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 247, 252, .22));
  pointer-events: none;
}

.paytable-section > * {
  position: relative;
  z-index: 1;
}

.symbol-explainers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 22px;
}

.symbol-explainer {
  padding: 18px 20px;
  border: 1px solid rgba(255, 120, 190, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 150, 210, .16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,247,252,.92));
  box-shadow: 0 14px 34px rgba(88, 52, 138, .08);
}

.symbol-explainer.scatter {
  border-color: rgba(255, 214, 120, .34);
  background:
    radial-gradient(circle at top right, rgba(255, 216, 107, .2), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,231,.88));
}

.symbol-explainer b {
  display: block;
  margin-bottom: 7px;
  color: #24114f;
  font-size: 16px;
  font-weight: 900;
}

.symbol-explainer p {
  margin: 0;
  color: #55436a;
  font-size: 15px;
  line-height: 1.58;
}

.paytable-grid.symbol-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.pay-symbol.symbol-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 22px 16px 18px;
  border: 1px solid rgba(255, 120, 190, .24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .98), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fff7fc 100%);
  box-shadow:
    0 18px 42px rgba(80, 30, 130, .1),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
}

.symbol-card-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  display: block;
  margin: 0 auto 14px;
  filter: drop-shadow(0 10px 18px rgba(80, 30, 110, .16));
}

.symbol-card h3 {
  min-height: 0;
  margin: 0 0 9px;
  color: #24114f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.symbol-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 10px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 105, 180, .2);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,240,248,.92));
  color: #6f2a7a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.symbol-card p {
  margin: 0;
  color: #584669;
  font-size: 14px;
  line-height: 1.5;
}

.symbol-payouts {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding-top: 14px;
}

.payout-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 105, 180, .18);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,240,248,.9));
  color: #3a1e65;
  text-align: left;
}

.payout-row span {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.payout-row strong {
  color: #24114f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.symbol-note {
  width: 100%;
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 13px;
  background: linear-gradient(90deg, rgba(255, 105, 180, .13), rgba(255, 214, 120, .12));
  color: #4b246a !important;
  font-weight: 900;
}

.symbol-probability {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.symbol-probability > div {
  padding: 18px 20px;
  border: 1px solid rgba(141, 103, 255, .2);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(141, 103, 255, .12), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,244,255,.9));
  box-shadow: 0 14px 34px rgba(80, 30, 130, .08);
}

.symbol-probability h3 {
  margin: 0 0 8px;
  color: #24114f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.symbol-probability p {
  margin: 8px 0 0;
  color: #584669;
  font-size: 15px;
  line-height: 1.58;
}

.symbol-bomb-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(141, 103, 255, .22);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(141, 103, 255, .14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,244,255,.92));
  box-shadow: 0 14px 34px rgba(80, 30, 130, .08);
}

.symbol-bomb-token {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255,255,255,.9) 0 6px, transparent 7px),
    linear-gradient(135deg, #8d67ff, #ff5fa8);
  box-shadow: 0 14px 24px rgba(141, 103, 255, .18);
  font-weight: 1000;
}

.symbol-bomb-note b {
  color: #24114f;
  font-weight: 900;
}

.symbol-bomb-note p {
  margin: 5px 0 0;
  color: #584669;
  font-size: 15px;
  line-height: 1.55;
}

.slot-symbol img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(48, 20, 74, .16));
}

.demo-overlay .slot-symbol img {
  width: 92%;
  height: 92%;
}

@media (max-width: 1180px) {
  .symbol-explainers,
  .paytable-grid.symbol-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .symbol-explainers,
  .paytable-grid.symbol-card-grid,
  .symbol-probability {
    grid-template-columns: 1fr;
  }
  .symbol-explainer {
    padding: 15px;
  }
  .pay-symbol.symbol-card {
    padding: 18px 14px 16px;
  }
  .symbol-card-img {
    width: 74px;
    height: 74px;
    margin-bottom: 10px;
  }
  .symbol-card h3 {
    font-size: 17px;
  }
  .symbol-card p,
  .symbol-explainer p,
  .symbol-probability p,
  .symbol-bomb-note p {
    font-size: 14px;
  }
  .symbol-bomb-note {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .symbol-bomb-token {
    width: 64px;
    height: 64px;
    justify-self: center;
  }
}

/* Centered header and light Sweet Bonanza language menu */
.site-header,
.nav,
.nav-links {
  overflow: visible;
}

.site-header {
  position: sticky;
  z-index: 80;
  border-bottom: 1px solid rgba(214, 169, 230, .32);
  background:
    linear-gradient(90deg, rgba(255, 238, 248, .9), rgba(255, 255, 255, .96) 35%, rgba(246, 238, 255, .92) 68%, rgba(255, 248, 224, .82)),
    linear-gradient(180deg, #fff 0%, #fff8fd 100%);
  box-shadow:
    0 12px 34px rgba(88, 52, 138, .08),
    0 2px 0 rgba(255, 255, 255, .7) inset;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 95, 168, 0), rgba(255, 95, 168, .42), rgba(255, 216, 107, .42), rgba(141, 103, 255, .28), rgba(255, 95, 168, 0));
  pointer-events: none;
}

.nav.header-inner {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 40px));
  min-height: 84px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 270px;
  align-items: center;
  gap: 20px;
}

.header-inner .brand {
  justify-self: start;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 18px;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.header-inner .brand:hover,
.header-inner .brand:focus-visible {
  background: rgba(255, 255, 255, .52);
  box-shadow: 0 10px 24px rgba(255, 95, 168, .1);
  outline: 0;
  transform: translateY(-1px);
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(50px, 4.8vw, 62px);
  max-width: 235px;
  object-fit: contain;
}

.header-inner .main-nav {
  position: static;
  justify-self: center;
  width: auto;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.7vw, 24px);
  margin-left: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.header-inner .main-nav > a {
  padding: 10px 9px;
  border-radius: 13px;
  color: #24114f;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.header-inner .main-nav > a:hover,
.header-inner .main-nav > a:focus-visible {
  color: #1e0f48;
  background: rgba(255, 105, 180, .09);
  box-shadow: inset 0 0 0 1px rgba(255, 120, 190, .12);
  outline: 0;
  transform: translateY(-1px);
}

.header-inner .main-nav > a.is-active {
  color: #1c0d46;
  background: linear-gradient(180deg, rgba(255, 105, 180, .13), rgba(255, 210, 120, .1));
  box-shadow: inset 0 0 0 1px rgba(255, 130, 190, .16), 0 8px 18px rgba(255, 105, 180, .08);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.header-actions .menu-button {
  margin-left: 0;
}

.header-actions .lang-switcher {
  position: relative;
  z-index: 120;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  white-space: nowrap;
}

.lang-toggle {
  min-width: 76px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid rgba(255, 120, 185, .38);
  border-radius: 999px;
  color: #21104d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 245, 251, .98) 100%),
    linear-gradient(135deg, rgba(255, 105, 180, .14), rgba(255, 216, 107, .11));
  box-shadow:
    0 10px 24px rgba(255, 100, 180, .14),
    0 4px 14px rgba(92, 54, 146, .06),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  border-color: rgba(255, 90, 170, .62);
  box-shadow:
    0 12px 30px rgba(255, 100, 180, .2),
    0 0 0 4px rgba(255, 105, 180, .11),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  outline: 0;
  transform: translateY(-1px);
}

.lang-flag {
  flex: 0 0 auto;
  width: 28px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-flag img {
  display: block;
  width: 28px;
  height: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(36, 17, 79, .16);
}

.lang-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #ff4fa3;
  border-bottom: 2px solid #ff4fa3;
  border-color: #ff4fa3;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}

.lang-switcher[data-open] .lang-chevron {
  transform: translateY(2px) rotate(225deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1000;
  min-width: 260px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border: 1px solid rgba(255, 140, 195, .3);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(255, 170, 220, .17), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 246, 252, .94)),
    linear-gradient(180deg, #fff 0%, #fff7fc 100%);
  box-shadow:
    0 20px 48px rgba(60, 30, 110, .12),
    0 8px 24px rgba(255, 100, 180, .1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.lang-switcher[data-open] .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  min-height: 50px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 11px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #21104d !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  color: #21104d !important;
  background: rgba(255, 105, 180, .1);
  box-shadow: none;
  outline: 0;
}

.lang-option.is-active {
  background: linear-gradient(90deg, rgba(255, 105, 180, .14), rgba(255, 214, 120, .1));
  border-color: rgba(255, 130, 190, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.lang-label {
  min-width: 0;
  overflow-wrap: normal;
  white-space: nowrap;
}

.lang-dot {
  width: 9px;
  height: 9px;
  justify-self: end;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff59aa, #ffd45e);
  box-shadow: 0 0 10px rgba(255, 89, 170, .35);
  opacity: 0;
}

.lang-option.is-active .lang-dot {
  opacity: 1;
}

@media (max-width: 1280px) {
  .nav.header-inner {
    grid-template-columns: 230px minmax(0, 1fr) 230px;
    gap: 14px;
  }
  .header-inner .main-nav {
    gap: 8px;
  }
  .header-inner .main-nav > a {
    font-size: 13px;
    padding-inline: 7px;
  }
}

@media (max-width: 1120px) {
  .nav.header-inner {
    grid-template-columns: auto 1fr;
  }
  .header-inner .brand {
    grid-column: 1;
  }
  .header-actions {
    grid-column: 2;
  }
  .header-inner .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 88px;
    z-index: 90;
    max-height: calc(100svh - 98px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255, 120, 190, .24);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fff7fc);
    box-shadow: 0 24px 56px rgba(80, 30, 130, .16);
  }
  .header-inner .main-nav[data-open] {
    display: flex;
  }
  .header-inner .main-nav > a {
    padding: 13px 12px;
    border-radius: 12px;
    font-size: 15px;
  }
  .header-inner .main-nav > a:hover,
  .header-inner .main-nav > a:focus-visible {
    background: rgba(255, 105, 180, .1);
  }
  .header-actions .menu-button {
    display: inline-block;
  }
}

@media (max-width: 560px) {
  .nav.header-inner {
    width: min(100% - 24px, 1230px);
    min-height: 72px;
    gap: 10px;
  }
  .brand-logo {
    height: 40px;
    max-width: min(150px, 42vw);
  }
  .header-actions {
    gap: 8px;
  }
  .lang-toggle {
    min-width: 62px;
    height: 40px;
    gap: 7px;
    padding: 8px 10px;
  }
  .lang-flag {
    width: 25px;
    height: 18px;
  }
  .lang-flag img {
    width: 25px;
    height: 18px;
  }
  .lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(260px, calc(100vw - 24px));
    min-width: 0;
    max-height: none;
    margin-top: 0;
    padding: 10px;
    overflow: visible;
    border-width: 1px;
  }
  .lang-switcher[data-open] .lang-menu {
    max-height: none;
    margin-top: 0;
    padding: 10px;
  }
}

/* Mobile-first premium candy QA layer */
html,
body {
  overflow-x: clip;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 79, 163, .34);
  outline-offset: 3px;
}

.hero-disclaimer {
  max-width: 560px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 120, 190, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
  color: #443663;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(80, 30, 130, .06);
}

.mobile-bottom-nav {
  display: none;
}

.trust-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 120, 190, .26);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 163, .13), transparent 42%),
    linear-gradient(135deg, #fff6fb, #fff);
  box-shadow: 0 16px 38px rgba(88, 52, 138, .08);
}

.trust-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #ff4fa3, #9d4edd);
  box-shadow: 0 14px 28px rgba(255, 79, 163, .18);
  font-size: 0;
  font-weight: 1000;
}

.trust-card-icon::before {
  content: attr(data-icon);
  font-size: 24px;
}

.trust-card h2 {
  margin: 0 0 10px;
  color: #24114f;
  font-size: 24px;
  line-height: 1.1;
}

.trust-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-card li {
  position: relative;
  padding-left: 22px;
  color: #51445d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.trust-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #42c978, #78e7c7);
  box-shadow: 0 0 0 4px rgba(66, 201, 120, .12);
}

.trust-card-link {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 14px;
  color: #bf146e;
  background: linear-gradient(135deg, #ffe0f2, #fff4fb);
  font-weight: 950;
  text-decoration: none;
}

.rtp-summary-card {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(157, 78, 221, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 79, 163, .13), transparent 44%),
    linear-gradient(180deg, #fff, #fbf5ff);
  box-shadow: 0 18px 44px rgba(80, 30, 130, .09);
}

.rtp-hero-number {
  text-align: center;
}

.rtp-hero-number h2 {
  margin: 0 0 12px;
  color: #24114f;
  font-size: clamp(26px, 4vw, 34px);
}

.rtp-hero-number strong {
  display: block;
  color: #ff4fa3;
  font-size: clamp(42px, 8vw, 62px);
  line-height: 1;
}

.rtp-hero-number p,
.rtp-explain-card p {
  margin: 12px 0 0;
  color: #4f4674;
  line-height: 1.58;
}

.rtp-fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rtp-fact-list li {
  min-height: 44px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #24114f;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(66, 201, 120, .13);
}

.rtp-fact-list [data-icon] {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #42c978;
  font-size: 0;
}

.rtp-fact-list [data-icon]::before {
  content: attr(data-icon);
  font-size: 13px;
  font-weight: 1000;
}

.rtp-explain-card {
  padding: 16px;
  border: 1px solid rgba(255, 120, 190, .2);
  border-radius: 18px;
  background: #fff;
}

.rtp-explain-card h3 {
  margin: 0;
  color: #24114f;
  font-size: 20px;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .nav.header-inner {
    width: min(100% - 32px, 1230px);
  }

  .hero-grid,
  .home-panel,
  .footer-shell,
  .author-box,
  .container {
    width: min(100% - 32px, 1230px);
  }

  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid,
  .starter-grid,
  .paytable-grid.symbol-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 8% 4%, rgba(255, 79, 163, .2), transparent 190px),
      radial-gradient(circle at 92% 11%, rgba(120, 198, 255, .22), transparent 220px),
      linear-gradient(180deg, #fff7fc 0, #f8f2ff 360px, #f1fbff 720px, #fff7fc 100%);
  }

  .container,
  .hero-grid,
  .home-panel,
  .footer-shell,
  .author-box {
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    border-radius: 0;
    background: rgba(255, 250, 253, .92);
    backdrop-filter: blur(16px);
  }

  .nav.header-inner {
    width: 100%;
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 16px;
  }

  .header-inner .brand {
    min-width: 0;
    padding: 0;
    border-radius: 14px;
  }

  .brand-logo {
    height: 44px;
    max-width: min(180px, 50vw);
  }

  .header-actions {
    gap: 8px;
  }

  .lang-toggle {
    min-width: 52px;
    height: 44px;
    padding: 8px 10px;
  }

  .lang-chevron {
    width: 7px;
    height: 7px;
  }

  .header-actions .menu-button {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 120, 190, .32);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(80, 30, 130, .08);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: #24114f;
  }

  .header-inner .main-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 74px;
    z-index: 100;
    max-height: calc(100svh - 158px - env(safe-area-inset-bottom));
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid rgba(255, 120, 190, .24);
    border-radius: 24px;
    background:
      radial-gradient(circle at top left, rgba(255, 170, 220, .16), transparent 42%),
      linear-gradient(180deg, #fff, #fff7fc);
    box-shadow: 0 24px 60px rgba(80, 30, 130, .2);
  }

  .header-inner .main-nav[data-open] {
    display: flex;
  }

  .header-inner .main-nav > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    border-radius: 16px;
    color: #24114f;
    font-size: 16px;
  }

  .lang-menu {
    right: 0;
    width: min(260px, calc(100vw - 24px));
    max-height: calc(100svh - 96px);
    overflow-y: auto;
  }

  .hero {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .82) 0 44px, transparent 47px),
      radial-gradient(circle at 86% 13%, rgba(255, 255, 255, .7) 0 58px, transparent 61px),
      linear-gradient(155deg, #78c6ff 0%, #ffd6ee 48%, #fff3bf 100%);
  }

  .hero-grid {
    position: relative;
    min-height: 0;
    display: block;
    padding: 22px 16px 18px;
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: none;
    padding: 0;
    overflow: visible;
  }

  .hero-media {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    opacity: .5;
    pointer-events: none;
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.2) 38%, rgba(255,247,252,.78) 100%),
      linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.3));
  }

  .hero-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 50%;
  }

  .hero-eyebrows {
    width: auto;
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
  }

  .eyebrow {
    width: auto;
    max-width: 100%;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero h1 {
    width: auto;
    max-width: 100%;
    margin: 0 0 12px;
    color: #1a0f4a;
    font-size: clamp(32px, 9.5vw, 38px);
    line-height: 1.08;
  }

  .lead {
    width: auto;
    max-width: 100%;
    color: #2a225b;
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 650;
  }

  .hero-actions {
    width: auto;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .button,
  .button.secondary {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.15;
  }

  .btn-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .hero-disclaimer {
    margin-top: 12px;
    font-size: 13px;
  }

  .hero .pill-row {
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .hero .pill {
    width: auto;
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 14px;
    font-size: 11.5px;
  }

  .hero .pill-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 11px;
  }

  .section {
    padding: 26px 0;
  }

  .quick-section {
    margin-top: 0;
    padding: 16px 16px 28px;
  }

  .home-panel {
    padding: 18px 14px 24px;
    border-radius: 26px;
  }

  .home-panel h2,
  .section h2,
  .paytable-section h2,
  .faq h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.12;
  }

  .section-intro {
    font-size: 15px;
    line-height: 1.58;
  }

  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .fact {
    min-height: 92px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
    border-radius: 18px;
    overflow: hidden;
  }

  .fact-token {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 13px;
  }

  .fact dt {
    font-size: 11px;
    line-height: 1.18;
  }

  .fact dd {
    font-size: 13.5px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .demo-section,
  .home-subsection {
    margin-top: 24px;
  }

  .demo-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }

  .demo-copy h2 {
    font-size: 24px;
  }

  .demo-copy p,
  .mini-notice span {
    font-size: 15px;
    line-height: 1.55;
  }

  .mini-notice {
    grid-template-columns: 30px 1fr;
    padding: 13px;
    border-radius: 16px;
  }

  .demo-screen {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .demo-overlay {
    inset: 10px;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
  }

  .slot-window {
    width: 100%;
    height: 100%;
    padding: 9px;
    border-radius: 16px;
  }

  .demo-overlay .slot-grid {
    height: calc(100% - 28px);
    gap: 5px;
  }

  .demo-overlay .slot-symbol {
    height: auto;
    min-height: 0;
    border-radius: 9px;
  }

  .demo-overlay .demo-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    transform: none;
  }

  .demo-overlay .button,
  .demo-overlay .button.secondary {
    min-height: 46px;
    border-radius: 15px;
    font-size: 14px;
  }

  .seo-card-grid,
  .card-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-card {
    min-height: 0;
    padding: 0;
    border-radius: 20px;
  }

  .seo-card-link {
    min-height: 68px;
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr) 16px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 3px 12px;
    padding: 12px;
    color: inherit;
    text-decoration: none;
  }

  .seo-card-link::after {
    content: "›";
    grid-column: 3;
    grid-row: 1 / span 2;
    color: #8d67ff;
    font-size: 26px;
    line-height: 1;
  }

  .seo-card-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 25px;
  }

  .seo-card h3 {
    grid-column: 2;
    margin: 0;
    font-size: 15px;
    line-height: 1.18;
  }

  .seo-card p {
    grid-column: 2;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-chip {
    min-height: 38px;
    max-width: 100%;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
  }

  .starter-grid,
  .info-columns,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .starter-card {
    min-height: 92px;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 16px;
    border-radius: 22px;
  }

  .starter-card span {
    width: 50px;
    height: 50px;
  }

  .starter-card b {
    font-size: 16px;
  }

  .starter-card small {
    font-size: 13px;
  }

  .trust-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
  }

  .trust-card-icon {
    width: 52px;
    height: 52px;
  }

  .trust-card ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-card-link {
    width: 100%;
    justify-content: center;
  }

  .info-card {
    min-height: 0;
    padding: 16px;
    border-radius: 22px;
  }

  .info-card h2 {
    font-size: 21px;
  }

  .mini-row {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 11px;
    border-radius: 16px;
  }

  .mini-row p {
    font-size: 14px;
    line-height: 1.5;
  }

  .glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .glossary-grid div {
    min-height: 0;
    padding: 11px;
    border-radius: 15px;
  }

  .paytable-section {
    padding: 22px 0 4px;
  }

  .symbol-explainers,
  .paytable-grid.symbol-card-grid,
  .symbol-probability {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .symbol-explainer,
  .symbol-probability > div,
  .symbol-bomb-note {
    border-radius: 22px;
  }

  .pay-symbol.symbol-card {
    align-items: stretch;
    padding: 16px;
    border-radius: 22px;
    text-align: left;
  }

  .symbol-card-img {
    width: 84px;
    height: 84px;
    align-self: center;
  }

  .symbol-type {
    align-self: flex-start;
    margin-bottom: 8px;
  }

  .symbol-card h3 {
    font-size: 19px;
  }

  .symbol-card p,
  .symbol-explainer p,
  .symbol-probability p,
  .symbol-bomb-note p {
    font-size: 14.5px;
    line-height: 1.56;
  }

  .payout-row {
    min-height: 38px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .payout-row span {
    font-size: 13px;
  }

  .payout-row strong {
    font-size: 14px;
  }

  .symbol-bomb-note {
    grid-template-columns: 62px minmax(0, 1fr);
    text-align: left;
  }

  .symbol-bomb-token {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .faq {
    padding-bottom: 0;
  }

  .faq details,
  .faq-item {
    border-radius: 18px;
    padding: 0;
  }

  .faq summary,
  .faq-question {
    min-height: 52px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.28;
  }

  .faq-answer p {
    margin: 0;
    padding: 0 14px 14px;
    font-size: 14.5px;
  }

  .breadcrumb,
  .article-title,
  .container > .lead,
  .container > .pill-row {
    margin-left: 16px;
    margin-right: 16px;
  }

  .article-title {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.08;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 16px;
  }

  .article-main {
    min-width: 0;
  }

  .toc {
    order: -1;
    border-radius: 20px;
  }

  .content-section {
    padding: 24px 0;
  }

  .content-section h2 {
    font-size: 24px;
  }

  .content-section p,
  .content-section li {
    font-size: 15.5px;
    line-height: 1.64;
  }

  .content-section table,
  .article-main > table,
  .casino-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  th,
  td {
    min-width: 138px;
    padding: 11px;
    white-space: normal;
    font-size: 14px;
    line-height: 1.45;
  }

  .rtp-summary-card {
    padding: 18px;
    border-radius: 24px;
  }

  .author-section {
    padding: 20px 16px 14px;
  }

  .author-box {
    padding: 18px;
    border-radius: 24px;
  }

  .author-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .author-icon {
    width: 50px;
    height: 50px;
  }

  .author-item h3,
  .author-item strong {
    font-size: 15px;
  }

  .author-item p,
  .author-item span:not(.author-icon) {
    font-size: 13px;
  }

  .site-footer {
    padding: 0 16px calc(18px + env(safe-area-inset-bottom));
  }

  .footer-shell {
    padding: 20px 16px 22px;
    border-radius: 24px 24px 0 0;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-brand {
    justify-self: start;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .footer-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
  }

  .age-badge {
    width: 48px;
    height: 48px;
  }

  .copyright {
    text-align: left;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 0;
    z-index: 110;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 2px;
    padding: 7px 7px calc(7px + env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 120, 190, .26);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,247,252,.96));
    box-shadow: 0 -14px 34px rgba(80, 30, 130, .14);
  }

  .mobile-tab {
    min-width: 0;
    min-height: 52px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 5px 2px;
    border: 0;
    border-radius: 16px;
    color: #24114f;
    background: transparent;
    font: inherit;
    font-size: 11.5px;
    font-weight: 850;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-tab-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: currentColor;
    font-size: 0;
  }

  .mobile-tab-icon::before {
    content: attr(data-icon);
    font-size: 19px;
    line-height: 1;
  }

  .mobile-tab.is-active {
    color: #ff2f93;
    background: linear-gradient(180deg, rgba(255, 79, 163, .1), rgba(255, 214, 120, .08));
  }
}

/* Sweet Bonanza pastel slot-preview layout: Gates logic, candy visuals */
.demo-preview-card {
  min-height: 360px !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .92) 0 48px, transparent 51px),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, .72) 0 66px, transparent 69px),
    radial-gradient(circle at 20% 86%, rgba(255, 95, 168, .18), transparent 170px),
    radial-gradient(circle at 88% 82%, rgba(120, 198, 255, .2), transparent 180px),
    linear-gradient(145deg, #fff8fd 0%, #ffe4f3 38%, #dff5ff 72%, #fff4cb 100%);
  border: 1px solid rgba(255, 120, 190, .28);
  box-shadow:
    0 18px 42px rgba(255, 95, 168, .13),
    0 14px 36px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.demo-preview-card::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.32)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), rgba(255, 247, 252, .28));
}

.demo-preview-card .demo-mockup-bg-wrap {
  opacity: .86;
}

.demo-preview-card .demo-mockup-slot {
  opacity: .86;
}

.demo-preview-card .slot-window {
  width: min(640px, 90%);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(61, 31, 84, .48);
  box-shadow: 0 14px 32px rgba(74, 34, 112, .14);
}

.slot-center-actions {
  position: relative;
  z-index: 5;
  width: min(270px, calc(100% - 92px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 120, 190, .28);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,246,252,.72));
  box-shadow:
    0 18px 36px rgba(255, 79, 163, .16),
    inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
}

.slot-center-actions .slot-primary-cta,
.slot-center-actions .slot-secondary-cta {
  min-height: 50px;
  width: 100%;
  border-radius: 17px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 1000;
}

.slot-center-actions .slot-primary-cta {
  color: #fff;
  background: linear-gradient(180deg, #ff69bd, #ff2f93);
  box-shadow:
    0 14px 24px rgba(255, 47, 147, .26),
    inset 0 1px 0 rgba(255,255,255,.38);
}

.slot-center-actions .slot-secondary-cta {
  color: #53206f;
  border: 1px solid rgba(255, 120, 190, .3);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,240,249,.9));
  box-shadow:
    0 10px 22px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.slot-close,
.slot-fullscreen,
.demo-screen .slot-close,
.demo-screen .slot-fullscreen {
  position: absolute;
  z-index: 7;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.slot-close,
.demo-screen .slot-close {
  left: 16px;
  top: 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, #ff6f88, #f02f63);
  box-shadow:
    0 12px 24px rgba(240, 47, 99, .24),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.slot-fullscreen,
.demo-screen .slot-fullscreen {
  right: 16px;
  bottom: 16px;
  color: #ff4fa3;
  border: 1px solid rgba(255, 120, 190, .36);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,246,252,.9));
  box-shadow:
    0 12px 24px rgba(84, 54, 140, .12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.slot-close .demo-off-label::before,
.demo-screen .slot-close .demo-off-label::before {
  content: "×";
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.demo-preview-card:fullscreen {
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.86) 0 76px, transparent 80px),
    radial-gradient(circle at 84% 18%, rgba(120, 198, 255, .24), transparent 270px),
    linear-gradient(145deg, #fff8fd, #ffe0f2 42%, #dff5ff 78%, #fff2c6);
}

@media (max-width: 767px) {
  .demo-preview-card {
    min-height: 330px !important;
    aspect-ratio: 16 / 11;
  }

  .demo-preview-card .demo-overlay {
    inset: 10px;
  }

  .demo-preview-card .slot-window {
    width: 100%;
    opacity: .82;
  }

  .slot-center-actions {
    width: min(238px, calc(100% - 74px));
    gap: 9px;
    padding: 10px;
    border-radius: 20px;
  }

  .slot-center-actions .slot-primary-cta,
  .slot-center-actions .slot-secondary-cta {
    min-height: 46px;
    border-radius: 15px;
    font-size: 15px;
  }

  .slot-close,
  .slot-fullscreen,
  .demo-screen .slot-close,
  .demo-screen .slot-fullscreen {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .slot-close,
  .demo-screen .slot-close {
    left: 12px;
    top: 12px;
  }

  .slot-fullscreen,
  .demo-screen .slot-fullscreen {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 340px) {
  .nav.header-inner {
    padding-inline: 12px;
  }

  .brand-logo {
    max-width: 138px;
  }

  .quick-facts-grid {
    gap: 8px;
  }

  .fact {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .fact-token {
    grid-row: auto;
  }

  .fact dt,
  .fact dd {
    grid-column: 1;
  }

  .hero .pill-row,
  .glossary-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .mobile-tab {
    font-size: 10.5px;
  }
}

/* Targeted QA fixes: SEO navigation cards + separated demo CTAs */
.seo-card-grid.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-card.article-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}

.seo-card-link {
  min-height: 112px;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
}

.seo-card-icon.card-icon {
  grid-column: auto;
  grid-row: auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  border-radius: 16px;
  font-size: 28px;
}

.seo-card-content {
  min-width: 0;
  display: block;
}

.seo-card-content h3,
.seo-card.article-card h3 {
  margin: 0 0 6px;
  color: #24114f;
  font-size: 16px;
  line-height: 1.15;
}

.seo-card-content p,
.seo-card.article-card p {
  margin: 0;
  color: #5d5378;
  font-size: 13px;
  line-height: 1.45;
}

.seo-card-arrow {
  align-self: center;
  color: #7d55df;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  opacity: .55;
}

.seo-card-link::after {
  content: none !important;
}

.demo-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 32px;
}

.demo-copy .demo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.demo-copy .demo-actions .button {
  width: auto;
  min-width: 0;
}

.external-link-note {
  max-width: 560px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 120, 190, .24);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff2fa, #fff);
  color: #584669;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.slot-cta-disclaimer {
  max-width: min(420px, 92%);
  margin: 6px auto 0;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-shadow: 0 1px 2px rgba(80, 27, 112, .45);
}

.demo-preview-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(255, 245, 255, 0.25), rgba(255, 245, 255, 0.25)),
    url('/photos/demo_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.demo-preview-card .demo-overlay {
  position: absolute;
  inset: 16px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  pointer-events: none;
}

.demo-preview-card .slot-window {
  width: min(620px, 92%);
  max-height: 100%;
}

.demo-preview-cta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff63b7, #ff2e90);
  box-shadow: 0 12px 24px rgba(255, 47, 145, .24);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

@media (max-width: 1280px) {
  .seo-card-grid.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .seo-card-grid.card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .seo-card-grid.card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-card.article-card {
    border-radius: 20px;
  }

  .seo-card-link {
    min-height: 78px;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .seo-card-icon.card-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
    font-size: 24px;
  }

  .seo-card-content h3,
  .seo-card.article-card h3 {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.15;
  }

  .seo-card-content p,
  .seo-card.article-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .seo-card-arrow {
    font-size: 24px;
  }

  .demo-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .demo-copy {
    order: 1;
  }

  .demo-copy .demo-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .demo-copy .demo-actions .button,
  .demo-copy .demo-actions .button.secondary {
    width: 100%;
    min-height: 50px;
  }

  .external-link-note {
    margin-top: 12px;
    font-size: 12.5px;
  }

  .demo-preview-card {
    order: 2;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }

  .demo-preview-card .demo-overlay {
    inset: 10px;
  }

  .demo-preview-card .slot-window {
    width: 100%;
    height: 100%;
    padding: 8px;
  }

  .demo-preview-card .slot-grid {
    height: calc(100% - 26px);
  }

  .demo-preview-cta {
    display: none;
  }
}

/* Slot-module demo panel: CTAs live inside the game preview */
.demo-preview-card {
  min-height: 420px !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 90, 172, .32), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(120, 198, 255, .24), transparent 34%),
    linear-gradient(145deg, #0d1133 0%, #201047 48%, #08091f 100%);
  border: 1px solid rgba(255, 220, 126, .2);
  box-shadow:
    0 24px 58px rgba(20, 10, 50, .22),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.demo-preview-card::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 8, 28, .12), rgba(5, 8, 28, .72)),
    radial-gradient(circle at 50% 44%, rgba(255, 63, 157, .18), transparent 250px);
  pointer-events: none;
}

.demo-preview-card .demo-mockup-bg-wrap,
.demo-preview-card .demo-mockup-slot {
  opacity: .58;
}

.demo-preview-card .demo-overlay {
  z-index: 2;
  pointer-events: auto;
}

.slot-play-panel {
  position: relative;
  z-index: 4;
  width: min(430px, calc(100% - 84px));
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 217, 116, .35);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 79, 163, .22), transparent 54%),
    linear-gradient(180deg, rgba(20, 17, 58, .92), rgba(10, 12, 38, .92));
  box-shadow:
    0 28px 70px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255,255,255,.12);
  text-align: center;
  backdrop-filter: blur(5px);
}

.slot-mode-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgba(255, 216, 107, .42);
  border-radius: 999px;
  color: #ffe58c;
  background: rgba(255, 216, 107, .12);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.slot-play-panel h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 1000;
  line-height: 1.02;
  text-shadow: 0 4px 22px rgba(255, 79, 163, .25);
}

.slot-play-panel h3 span {
  display: block;
  color: #ffd86b;
}

.slot-panel-actions {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.slot-primary-cta,
.slot-secondary-cta {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1;
  text-decoration: none;
}

.slot-primary-cta {
  color: #fff;
  background: linear-gradient(180deg, #ff67bd 0%, #ff2f93 100%);
  box-shadow:
    0 16px 30px rgba(255, 47, 147, .32),
    inset 0 1px 0 rgba(255,255,255,.36);
}

.slot-secondary-cta {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.slot-external-note {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-color: rgba(255, 216, 107, .22);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: 11.5px;
  line-height: 1.42;
}

.slot-panel-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slot-panel-controls .demo-off-toggle,
.slot-panel-controls .demo-fullscreen-toggle {
  pointer-events: auto;
}

.slot-panel-controls .demo-off-toggle,
.slot-panel-controls .demo-fullscreen-toggle,
.demo-screen .demo-off-toggle,
.demo-screen .demo-fullscreen-toggle {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
}

.slot-panel-controls .demo-off-toggle,
.demo-screen .demo-off-toggle {
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(180deg, #ff5168, #d91f3d);
  box-shadow:
    0 14px 28px rgba(217, 31, 61, .3),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.slot-panel-controls .demo-fullscreen-toggle,
.demo-screen .demo-fullscreen-toggle {
  color: #fff6c7;
  border: 1px solid rgba(255, 228, 140, .48);
  background: rgba(9, 11, 38, .68);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .24),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.slot-panel-controls .demo-off-label::before,
.demo-screen .demo-off-label::before {
  content: "×";
  font-size: 26px;
  line-height: 1;
}

.demo-card.is-demo-closed {
  grid-template-columns: 1fr;
}

.demo-card.is-demo-closed .demo-copy {
  max-width: 640px;
}

.demo-preview-card:fullscreen {
  width: 100vw;
  height: 100vh !important;
  min-height: 100vh !important;
  border: 0;
  border-radius: 0;
}

.demo-preview-card:fullscreen .slot-play-panel {
  width: min(520px, calc(100% - 40px));
}

@media (max-width: 767px) {
  .demo-copy .demo-actions {
    display: block;
  }

  .demo-copy .demo-actions .button.secondary {
    width: 100%;
  }

  .demo-preview-card {
    min-height: 440px !important;
    aspect-ratio: auto;
  }

  .demo-preview-card .demo-overlay {
    inset: 12px;
    align-items: center;
  }

  .slot-play-panel {
    width: min(100%, 330px);
    gap: 12px;
    padding: 22px 16px 76px;
    border-radius: 20px;
  }

  .slot-play-panel h3 {
    font-size: clamp(27px, 8vw, 34px);
  }

  .slot-primary-cta,
  .slot-secondary-cta {
    min-height: 52px;
    width: 100%;
    font-size: 16px;
  }

  .slot-external-note {
    font-size: 11px;
  }

  .slot-panel-controls {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .slot-panel-controls .demo-off-toggle,
  .slot-panel-controls .demo-fullscreen-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
  }
}

/* Final demo-preview correction: Gates placement logic with Sweet Bonanza candy visuals. */
.demo-preview-card {
  min-height: 360px !important;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .92) 0 48px, transparent 51px),
    radial-gradient(circle at 84% 16%, rgba(255, 255, 255, .72) 0 66px, transparent 69px),
    radial-gradient(circle at 20% 86%, rgba(255, 95, 168, .18), transparent 170px),
    radial-gradient(circle at 88% 82%, rgba(120, 198, 255, .2), transparent 180px),
    linear-gradient(145deg, #fff8fd 0%, #ffe4f3 38%, #dff5ff 72%, #fff4cb 100%);
  border: 1px solid rgba(255, 120, 190, .28);
  box-shadow:
    0 18px 42px rgba(255, 95, 168, .13),
    0 14px 36px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.demo-preview-card::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.32)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), rgba(255, 247, 252, .28));
}

.demo-preview-card .demo-mockup-bg-wrap,
.demo-preview-card .demo-mockup-slot {
  opacity: .86;
}

.demo-preview-card .slot-window {
  width: min(640px, 90%);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(61, 31, 84, .48);
  box-shadow: 0 14px 32px rgba(74, 34, 112, .14);
}

.slot-center-actions {
  position: relative;
  z-index: 5;
  width: min(270px, calc(100% - 92px));
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 120, 190, .28);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,246,252,.72));
  box-shadow:
    0 18px 36px rgba(255, 79, 163, .16),
    inset 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
}

.slot-primary-cta,
.slot-secondary-cta,
.slot-center-actions .slot-primary-cta,
.slot-center-actions .slot-secondary-cta {
  min-height: 50px;
  width: 100%;
  border-radius: 17px;
  padding: 13px 16px;
  font-size: 16px;
  font-weight: 1000;
}

.slot-primary-cta,
.slot-center-actions .slot-primary-cta {
  color: #fff;
  background: linear-gradient(180deg, #ff69bd, #ff2f93);
  box-shadow:
    0 14px 24px rgba(255, 47, 147, .26),
    inset 0 1px 0 rgba(255,255,255,.38);
}

.slot-secondary-cta,
.slot-center-actions .slot-secondary-cta {
  color: #53206f;
  border: 1px solid rgba(255, 120, 190, .3);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,240,249,.9));
  box-shadow:
    0 10px 22px rgba(84, 54, 140, .08),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.slot-close,
.slot-fullscreen,
.demo-screen .slot-close,
.demo-screen .slot-fullscreen,
.demo-screen .demo-off-toggle,
.demo-screen .demo-fullscreen-toggle {
  position: absolute;
  z-index: 7;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.slot-close,
.demo-screen .slot-close,
.demo-screen .demo-off-toggle {
  left: 16px;
  top: 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  background: linear-gradient(180deg, #ff6f88, #f02f63);
  box-shadow:
    0 12px 24px rgba(240, 47, 99, .24),
    inset 0 1px 0 rgba(255,255,255,.32);
}

.slot-fullscreen,
.demo-screen .slot-fullscreen,
.demo-screen .demo-fullscreen-toggle {
  right: 16px;
  bottom: 16px;
  color: #ff4fa3;
  border: 1px solid rgba(255, 120, 190, .36);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,246,252,.9));
  box-shadow:
    0 12px 24px rgba(84, 54, 140, .12),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.slot-close .demo-off-label::before,
.demo-screen .slot-close .demo-off-label::before,
.demo-screen .demo-off-label::before {
  content: "×";
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.demo-preview-card:fullscreen {
  background:
    radial-gradient(circle at 16% 12%, rgba(255,255,255,.86) 0 76px, transparent 80px),
    radial-gradient(circle at 84% 18%, rgba(120, 198, 255, .24), transparent 270px),
    linear-gradient(145deg, #fff8fd, #ffe0f2 42%, #dff5ff 78%, #fff2c6);
}

@media (max-width: 767px) {
  .demo-preview-card {
    min-height: 330px !important;
    aspect-ratio: 16 / 11;
  }

  .demo-preview-card .demo-overlay {
    inset: 10px;
  }

  .demo-preview-card .slot-window {
    width: 100%;
    opacity: .82;
  }

  .slot-center-actions {
    width: min(238px, calc(100% - 74px));
    gap: 9px;
    padding: 10px;
    border-radius: 20px;
  }

  .slot-primary-cta,
  .slot-secondary-cta,
  .slot-center-actions .slot-primary-cta,
  .slot-center-actions .slot-secondary-cta {
    min-height: 46px;
    border-radius: 15px;
    font-size: 15px;
  }

  .slot-close,
  .slot-fullscreen,
  .demo-screen .slot-close,
  .demo-screen .slot-fullscreen,
  .demo-screen .demo-off-toggle,
  .demo-screen .demo-fullscreen-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 14px;
  }

  .slot-close,
  .demo-screen .slot-close,
  .demo-screen .demo-off-toggle {
    left: 12px;
    top: 12px;
  }

  .slot-fullscreen,
  .demo-screen .slot-fullscreen,
  .demo-screen .demo-fullscreen-toggle {
    right: 12px;
    bottom: 12px;
  }
}

/* Restore previous demo-preview layout; keep only iframe runtime behavior. */
.demo-preview-card [hidden] {
  display: none !important;
}

.slot-primary-cta {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.slot-primary-cta:focus-visible,
.slot-secondary-cta:focus-visible,
.slot-close:focus-visible,
.slot-fullscreen:focus-visible {
  outline: 3px solid rgba(255, 79, 163, .34);
  outline-offset: 3px;
}

.slot-demo-frame {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: #fff;
}

.demo-preview-card.is-demo-active {
  width: min(100%, 920px);
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
}

.demo-preview-card.is-demo-active .demo-mockup-bg-wrap,
.demo-preview-card.is-demo-active .demo-mockup-slot,
.demo-preview-card.is-demo-active .slot-center-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-preview-card.is-demo-active .demo-overlay {
  pointer-events: none;
}

.demo-preview-card.is-demo-active .slot-close,
.demo-preview-card.is-demo-active .slot-fullscreen {
  z-index: 8;
}

@media (max-width: 767px) {
  .demo-preview-card.is-demo-active {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px !important;
  }
}

.x-default-gateway {
  padding-top: clamp(42px, 8vw, 88px);
}

.x-default-shell {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.86), transparent 190px),
    radial-gradient(circle at 86% 14%, rgba(120,198,255,.2), transparent 220px),
    linear-gradient(135deg, rgba(255,247,252,.94), rgba(241,246,255,.92));
  box-shadow:
    0 24px 58px rgba(255, 79, 163, .12),
    0 16px 38px rgba(84, 54, 140, .08);
}

.x-default-copy {
  max-width: 760px;
}

.x-default-copy h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.02;
}

.x-default-language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.x-default-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 120, 190, .2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,246,252,.76));
  box-shadow: 0 14px 30px rgba(84, 54, 140, .08);
  color: var(--ink);
  text-decoration: none;
}

.x-default-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, #ff69bd, #ff2f93);
  font-weight: 1000;
}

.x-default-card b {
  font-size: 18px;
}

.x-default-card small {
  color: var(--muted);
  line-height: 1.45;
}

.x-default-trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.x-default-trust-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 120, 190, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 767px) {
  .x-default-language-grid {
    grid-template-columns: 1fr;
  }

  .x-default-shell {
    padding: 18px;
    border-radius: 24px;
  }
}

/* Demo: hide slot mockup image block and center CTA panel in preview */
.demo-preview-card .demo-mockup-slot {
  display: none !important;
}

.demo-preview-card .demo-overlay {
  inset: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Final UX QA fixes: sticky header, language menu layering, and readable symbol cards. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  isolation: isolate;
}

.site-header,
.nav.header-inner,
.header-actions,
.header-actions .lang-switcher {
  overflow: visible;
}

.lang-menu {
  z-index: 1200;
}

section[id],
[id].anchor-target {
  scroll-margin-top: 104px;
}

.paytable-grid.symbol-card-grid {
  align-items: stretch;
}

.article-main .paytable-grid.symbol-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.pay-symbol.symbol-card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.pay-symbol.symbol-card .symbol-card-img {
  flex: 0 0 auto;
  align-self: center;
}

.pay-symbol.symbol-card .symbol-type {
  min-height: 44px;
  align-self: center;
  margin-bottom: 10px;
}

.pay-symbol.symbol-card h3 {
  min-height: 46px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 10px;
}

.symbol-card p,
.symbol-card span,
.symbol-card strong,
.symbol-type,
.payout-row {
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.symbol-card p {
  min-height: clamp(64px, 4.5vw, 96px);
  margin-bottom: 22px;
}

.symbol-payouts {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
}

.payout-row {
  min-height: 72px;
  height: auto;
  grid-template-columns: minmax(112px, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 10px 12px;
  padding-block: 14px;
}

.symbol-payouts .payout-row:first-child {
  min-height: 72px;
}

.payout-row span,
.payout-row strong {
  min-width: 0;
  display: block;
}

.payout-row span {
  color: #6f2a7a;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
}

.payout-row strong {
  color: #3a1e65;
  font-size: 13px;
  font-weight: 800;
  white-space: normal;
}

@media (max-width: 767px) {
  section[id],
  [id].anchor-target {
    scroll-margin-top: 82px;
  }

  .payout-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-height: 0;
  }

  .pay-symbol.symbol-card .symbol-type,
  .pay-symbol.symbol-card h3,
  .symbol-card p,
  .symbol-payouts .payout-row:first-child {
    min-height: 0;
  }
}
