/* Vipsta Casino guide — light lavender lobby, white sidebar, violet buttons, lime CTAs */
:root {
  --bg: #eceffd;
  --bg2: #e3e7fb;
  --panel: #fff;
  --ink: #1b1340;
  --muted: #5d5a7e;
  --line: #e4e2f3;
  --vio: #6d3cf2;
  --vio2: #5427e0;
  --vio-soft: #efeaff;
  --lime: #c8e11a;
  --lime2: #b5cc0c;
  --pink: #ff5fa8;
  --blue: #3fa2ff;
  --side: 232px;
  --top: 64px;
  --r: 18px;
  --sh: 0 8px 24px rgba(60, 40, 160, .08);
  --sh2: 0 14px 34px rgba(60, 40, 160, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font, Jost), system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--vio); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.i { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vio); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--vio); outline-offset: 2px; }

/* ---------- shell ---------- */
.shell { display: flex; min-height: 100vh; }
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--panel); border-right: 1px solid var(--line); display: flex; flex-direction: column; z-index: 40; overflow-y: auto; scrollbar-width: thin; }
.side__top { display: flex; align-items: center; gap: 14px; height: var(--top); padding: 0 18px; flex: none; }
.side__toggle, .top__menu { background: none; border: 0; padding: 4px; color: var(--ink); display: grid; place-items: center; border-radius: 8px; }
.side__toggle .i, .top__menu .i { width: 26px; height: 26px; }
.side__logo .logo, .top__logo .logo { height: 52px; width: auto; }
.side__nav ul { list-style: none; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav { position: relative; display: flex; align-items: center; gap: 12px; margin: 2px 16px 2px 16px; padding: 6px 10px 6px 4px; border-radius: 30px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; transition: background .15s; }
.nav:hover { background: var(--vio-soft); }
.nav.is-active { background: #eef0f8; }
.nav.is-active::before { content: ""; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: var(--ink); }
.nav.is-active .bub { background: #2b2350; color: #fff; box-shadow: 0 0 0 3px #d5d3e6; }
.bub { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(180deg, #f6f5ff, #e6e3f7); color: var(--ink); flex: none; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .05); }
.bub .i { width: 19px; height: 19px; }
.bub--vio { background: linear-gradient(160deg, #9a7bff, #6d3cf2); color: #fff; }
.bub--pink { background: linear-gradient(160deg, #ff9bd0, #ff4f9a); color: #fff; }
.bub--lime { background: linear-gradient(160deg, #e4f56a, #b9d10e); color: #233000; }
.bub--blue { background: linear-gradient(160deg, #8fd0ff, #3f7cff); color: #fff; }
.side__promo { margin: 18px 16px 24px; padding: 16px; border-radius: var(--r); background: linear-gradient(150deg, #8f9bff, #7b4dff 60%, #a98bff); color: #fff; text-decoration: none; display: grid; gap: 6px; box-shadow: var(--sh2); }
.side__promo-k { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .9; font-weight: 600; }
.side__promo strong { font-size: 19px; line-height: 1.15; font-weight: 800; }
.side__promo-b { justify-self: start; margin-top: 4px; background: var(--lime); color: #1b1340; font-weight: 800; text-transform: uppercase; font-size: 13px; padding: 7px 16px; border-radius: 30px; }
.side__scrim { display: none; }

.main { margin-left: var(--side); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__menu, .top__logo { display: none; }
.search { margin-left: auto; position: relative; display: flex; align-items: center; width: min(300px, 40vw); }
.search .i { position: absolute; left: 14px; color: #8a86a8; width: 18px; height: 18px; }
.search input { width: 100%; height: 46px; border: 1px solid #dcdaea; border-radius: 12px; padding: 0 14px 0 40px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.search input::placeholder { color: #8a86a8; }
.search input:focus { outline: none; border-color: var(--vio); box-shadow: 0 0 0 3px rgba(109, 60, 242, .15); }
.btn-play { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 30px; background: linear-gradient(180deg, #7b4dff, var(--vio2)); color: #fff; font-weight: 600; font-size: 16px; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(84, 39, 224, .35); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-play:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(84, 39, 224, .45); }
.btn-play--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lime { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 56px; border-radius: 40px; background: var(--lime); color: #1b1340; font-weight: 800; font-size: 24px; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; box-shadow: 0 8px 0 var(--lime2), 0 14px 28px rgba(110, 130, 0, .3); transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn-lime:hover { transform: translateY(2px); box-shadow: 0 6px 0 var(--lime2), 0 10px 20px rgba(110, 130, 0, .3); }
.btn-lime--sm { min-height: 44px; padding: 0 24px; font-size: 16px; box-shadow: 0 4px 0 var(--lime2); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 30px; border: 2px solid var(--vio); color: var(--vio); font-weight: 700; text-transform: uppercase; text-decoration: none; font-size: 15px; }
.btn-ghost:hover { background: var(--vio-soft); }

main { padding: 0 0 40px; display: grid; gap: 22px; }
main > * { min-width: 0; }
main > :not(.hero) { margin-left: 16px; margin-right: 16px; }

/* ---------- hero slider ---------- */
.hero { position: relative; height: 450px; overflow: hidden; border-radius: 0 0 0 var(--r); background: #8a86f5; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero__slide.is-on { opacity: 1; visibility: visible; }
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__card { position: absolute; left: 11%; top: 50%; transform: translateY(-50%); width: min(540px, 80%); padding: 26px 34px 40px; border-radius: 26px; text-align: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); box-shadow: 0 20px 50px rgba(40, 20, 140, .2); display: flex; flex-direction: column; align-items: center; }
.hero__kicker { display: inline-block; background: linear-gradient(90deg, #fff, #eef0ff); color: var(--ink); font-weight: 600; text-transform: uppercase; font-size: 20px; padding: 6px 20px; border-radius: 30px 30px 30px 30px; margin-bottom: 16px; box-shadow: 4px 4px 0 rgba(255, 255, 255, .5); }
.hero__title { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; text-transform: uppercase; line-height: 1.12; margin: 0 0 8px; text-shadow: 0 3px 12px rgba(40, 20, 140, .35); }
.hero__sub { color: #fff; opacity: .92; margin: 0 0 22px; font-weight: 500; }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; z-index: 3; }
.hero__nav .i { width: 18px; height: 18px; }
.hero__nav--prev { left: calc(11% - 19px); background: rgba(255, 255, 255, .35); color: #fff; }
.hero__nav--next { left: calc(11% + min(540px, 80%) - 19px); background: #fff; color: var(--ink); }
.hero__dots { position: absolute; left: calc(11% + min(540px, 80%) / 2); bottom: calc(50% - 175px); transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; padding: 0; }
.hero__dots button.is-on { background: #fff; }
.hero--page { height: 380px; border-radius: var(--r); margin: 0 16px; }
.hero--page .hero__card { left: 6%; }

/* ---------- rows & tiles ---------- */
.rowhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.rowhead__t { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; }
.rowhead__t .i { width: 24px; height: 24px; }
.rowhead__r { display: flex; align-items: center; gap: 6px; flex: none; }
.pill { background: #fff; border-radius: 30px; padding: 4px 14px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; text-transform: uppercase; box-shadow: var(--sh); white-space: nowrap; }
.pill:hover { color: var(--vio); }
.arr { background: none; border: 0; color: var(--ink); padding: 4px; display: grid; place-items: center; }
.arr:first-of-type { color: #9a97b5; }
.lobby { padding-top: 22px; }
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 6 * 14px) / 7); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.tiles::-webkit-scrollbar { display: none; }
.tiles--wide { grid-auto-columns: calc((100% - 4 * 14px) / 5); }
.tile { scroll-snap-align: start; background: #fff; border-radius: 14px; padding: 5px; text-decoration: none; color: var(--ink); box-shadow: var(--sh); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.tile__art { display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ffd1f0, #9ff0ff, #c6f03a, #b98bff) border-box; }
.tile__art svg { width: 100%; height: 100%; }
.tile__l { display: block; text-align: center; font-weight: 600; text-transform: uppercase; font-size: 15px; padding: 12px 4px 8px; }

.card { background: var(--panel); border-radius: var(--r); padding: 26px; box-shadow: var(--sh); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.fact { background: #fff; border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; box-shadow: var(--sh); }
.fact .bub { grid-row: span 2; width: 44px; height: 44px; background: var(--vio-soft); color: var(--vio); }
.fact strong { font-size: 24px; font-weight: 800; line-height: 1; }
.fact span:last-child { color: var(--muted); font-size: 14px; }

.intro { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: center; }
.intro__txt { min-width: 0; }
.intro__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; }
.intro__cta .btn-lime { min-height: 52px; font-size: 18px; padding: 0 34px; box-shadow: 0 5px 0 var(--lime2); }
.score { background: linear-gradient(160deg, #f3f0ff, #e9edff); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; justify-items: center; }
.score__ring { --p: 90; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--vio) calc(var(--p) * 1%), #dcd6f7 0); display: grid; place-items: center; align-content: center; position: relative; }
.score__ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: #fff; }
.score__ring strong, .score__ring span { position: relative; text-align: center; }
.score__ring strong { font-size: 38px; font-weight: 800; line-height: 1; }
.score__ring span { font-size: 13px; color: var(--muted); }
.score__list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 8px; }
.score__list li { display: grid; grid-template-columns: 1fr auto; font-size: 14px; font-weight: 500; gap: 2px 8px; }
.score__list i, .scorebars i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #dcd6f7; position: relative; overflow: hidden; }
.score__list i::after, .scorebars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--vio), #a98bff); border-radius: 6px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { position: relative; overflow: hidden; background: linear-gradient(155deg, #8f9bff, #7b4dff 65%, #a98bff); color: #fff; text-decoration: none; border-radius: var(--r); padding: 20px; display: grid; gap: 2px; box-shadow: var(--sh2); transition: transform .18s; }
a.step:hover { transform: translateY(-4px); }
.step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .12); }
.step__n { font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; opacity: .9; }
.step__p { font-size: 44px; font-weight: 800; line-height: 1.05; }
.step__m { font-weight: 700; font-size: 18px; }
.step__fs { font-weight: 600; color: var(--lime); }
.step__tag { justify-self: start; margin-top: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; background: rgba(255, 255, 255, .2); padding: 3px 10px; border-radius: 20px; }
.steps--compact { margin: 0 0 1em; }
.steps--compact .step { padding: 14px; }
.steps--compact .step__p { font-size: 32px; }
.steps--compact .step__m { font-size: 15px; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc__col { border-radius: 14px; padding: 18px 20px; }
.pc__col--pro { background: #f2fbd5; }
.pc__col--con { background: #f3f0ff; }
.pc h3 { display: flex; gap: 8px; align-items: center; font-size: 17px; text-transform: uppercase; }
.pc__col--pro h3 { color: #4a6100; }
.pc__col--con h3 { color: var(--vio2); }
.pc ul, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pc li, .ticks li { display: flex; gap: 10px; align-items: flex-start; }
.pc li .i, .ticks li .i { margin-top: 3px; width: 18px; height: 18px; }
.pc__col--pro li .i, .ticks li .i { color: #6f9000; }
.pc__col--con li .i { color: var(--vio); }

.teasers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.teaser { background: #fff; border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: var(--sh); display: flex; flex-direction: column; gap: 4px; transition: transform .18s, box-shadow .18s; }
.teaser:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.teaser .bub { width: 48px; height: 48px; margin-bottom: 10px; }
.teaser h2 { font-size: 19px; text-transform: uppercase; margin: 0; }
.teaser p { color: var(--muted); font-size: 15px; margin: 0 0 8px; flex: 1; }
.teaser__go { display: inline-flex; align-items: center; gap: 6px; color: var(--vio); font-weight: 700; font-size: 14px; text-transform: uppercase; }
.teaser__go .i { width: 16px; height: 16px; }

.provs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.prov { background: #fff; border-radius: 12px; padding: 16px 10px; text-align: center; font-weight: 700; color: var(--ink); text-decoration: none; box-shadow: var(--sh); font-size: 15px; transition: color .15s, transform .15s; }
.prov:hover { color: var(--vio); transform: translateY(-2px); }

.acc { display: grid; gap: 10px; }
.acc details { background: #f6f5fd; border-radius: 14px; border: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { color: var(--vio); transition: transform .2s; }
.acc details[open] summary .i { transform: rotate(45deg); }
.acc details > div { padding: 0 18px 4px; color: #3b3760; }

.band { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; border-radius: var(--r); padding: 22px 30px; background: linear-gradient(120deg, #7b6cf6, #6d3cf2 55%, #a98bff); color: #fff; box-shadow: var(--sh2); }
.band h2 { font-size: 26px; text-transform: uppercase; margin: 0 0 4px; }
.band p { margin: 0; opacity: .92; }
.band .btn-lime { min-height: 56px; font-size: 20px; padding: 0 40px; box-shadow: 0 6px 0 var(--lime2); }

/* ---------- inner pages ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); padding-top: 18px; margin-bottom: -10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--vio); }
.phead { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; background: linear-gradient(120deg, #fff 40%, #efeaff); border-radius: var(--r); padding: 30px; box-shadow: var(--sh); }
.phead h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.lead { font-size: 18px; color: #3b3760; max-width: 720px; }
.kicker { display: inline-flex; align-items: center; gap: 6px; background: var(--vio-soft); color: var(--vio2); padding: 4px 12px; border-radius: 20px; font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.kicker .i { width: 16px; height: 16px; }
.byline { display: block; color: var(--muted); font-size: 14px; margin: 0; }
.byline .i { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
.phead__score { display: grid; gap: 18px; justify-items: center; }
.phead__score .btn-lime { min-height: 52px; font-size: 18px; padding: 0 34px; box-shadow: 0 5px 0 var(--lime2); }
.phead__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 10px; }
.phead__stats div { background: #fff; border-radius: 14px; padding: 14px 18px; text-align: center; box-shadow: var(--sh); }
.phead__stats strong { display: block; font-size: 28px; font-weight: 800; color: var(--vio); line-height: 1.1; }
.phead__stats span { font-size: 13px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.phead__help { background: #fff; border-radius: 16px; padding: 18px; display: grid; gap: 10px; justify-items: start; max-width: 260px; box-shadow: var(--sh); }
.phead__help p { margin: 0; font-size: 15px; }

.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.toc { position: sticky; top: calc(var(--top) + 16px); background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--sh); display: grid; gap: 12px; }
.toc__h { margin: 0; font-weight: 800; text-transform: uppercase; font-size: 14px; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.toc a::before { content: counter(t); width: 22px; height: 22px; border-radius: 50%; background: var(--vio-soft); color: var(--vio); font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.toc a:hover, .toc a.is-on { background: var(--vio-soft); color: var(--vio2); }
.toc .btn-lime { width: 100%; padding: 0 10px; font-size: 14px; }
.prose { display: grid; gap: 18px; min-width: 0; }
.prose h2 { display: flex; align-items: center; gap: 10px; font-size: 24px; text-transform: uppercase; }
.prose h2 .i { width: 26px; height: 26px; color: var(--vio); }
.scorebars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.scorebars li { display: grid; grid-template-columns: 170px 1fr 36px; gap: 12px; align-items: center; font-weight: 500; }
.scorebars i { grid-column: auto; height: 10px; }
.scorebars b { text-align: right; }
.mini-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 1em; }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); background: #f6f5fd; border-radius: 12px; padding: 10px 14px; }
.note .i { width: 18px; height: 18px; color: var(--vio); margin-top: 2px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 14px; }
.more .i { width: 16px; height: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--vio-soft); color: var(--vio2); border-radius: 20px; padding: 4px 12px; font-weight: 600; font-size: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split > div { background: #f6f5fd; border-radius: 14px; padding: 18px; }
.split .bub { margin-bottom: 10px; }
.split h3 { font-size: 18px; }
.split p { margin: 0; color: #3b3760; }

/* bonus page */
.ladder { display: grid; gap: 12px; }
.rung { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: var(--r); padding: 14px 20px 14px 14px; box-shadow: var(--sh); }
.rung__n { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff; background: linear-gradient(155deg, #8f9bff, #6d3cf2); }
.rung__b { display: grid; }
.rung__k { font-size: 13px; text-transform: uppercase; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.rung__b strong { font-size: 24px; font-weight: 800; }
.rung__fs { display: inline-flex; align-items: center; gap: 6px; color: #5d7600; font-weight: 700; }
.rung__fs .i { width: 16px; height: 16px; }
.rung--total { background: linear-gradient(120deg, #1f1650, #3b1aa8); color: #fff; }
.rung--total .rung__n { background: var(--lime); color: #1b1340; }
.rung--total .rung__k { color: #c8c2f2; }
.rung--total .rung__fs { color: var(--lime); }
.calc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.calc__f { display: grid; gap: 6px; font-weight: 600; }
.calc__f small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.calc__in { display: flex; align-items: center; border: 1px solid #dcdaea; border-radius: 12px; background: #fff; padding: 0 12px; }
.calc__in:focus-within { border-color: var(--vio); box-shadow: 0 0 0 3px rgba(109, 60, 242, .15); }
.calc__in b { color: var(--muted); }
.calc__in input { border: 0; outline: 0; height: 46px; width: 100%; min-width: 0; font: inherit; font-size: 18px; font-weight: 700; padding-left: 6px; color: var(--ink); background: transparent; }
.calc__out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.calc__out div { background: #f6f5fd; border-radius: 14px; padding: 14px; }
.calc__out span { display: block; font-size: 13px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.calc__out strong { font-size: 26px; font-weight: 800; }
.calc__out .calc__tot { background: linear-gradient(155deg, #8f9bff, #6d3cf2); color: #fff; }
.calc__out .calc__tot span { color: #e6e0ff; }
.spins { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #fff 30%, #f2fbd5); }
.spins h2 { font-size: 28px; text-transform: uppercase; }
.spins .btn-lime { min-height: 52px; font-size: 18px; padding: 0 34px; box-shadow: 0 5px 0 var(--lime2); }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: h; }
.howto li { display: flex; gap: 16px; align-items: flex-start; background: #f6f5fd; border-radius: 14px; padding: 16px; }
.howto .bub { width: 46px; height: 46px; }
.howto h3 { font-size: 18px; margin-bottom: 4px; }
.howto p { margin: 0; color: #3b3760; }
.howto--grid { grid-template-columns: repeat(2, 1fr); }

/* withdrawals */
.speed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.speed__i { background: #f6f5fd; border-radius: 14px; padding: 18px; }
.speed__i h3 { font-size: 18px; margin: 10px 0 8px; }
.speed__i p { margin: 0; font-size: 15px; color: #3b3760; }
.speed__bar { display: block; height: 8px; border-radius: 8px; background: #dcd6f7; margin-bottom: 10px; position: relative; overflow: hidden; }
.speed__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, var(--lime2), var(--lime)); border-radius: 8px; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fchips button, .fchips a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dcdaea; background: #fff; border-radius: 30px; padding: 7px 16px; font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; text-transform: uppercase; }
.fchips b { background: var(--vio-soft); color: var(--vio); border-radius: 10px; padding: 0 7px; font-size: 12px; }
.fchips button.is-on { background: var(--vio); border-color: var(--vio); color: #fff; }
.fchips button.is-on b { background: rgba(255, 255, 255, .25); color: #fff; }
.fchips a:hover, .fchips button:hover { border-color: var(--vio); }
.fchips--links { margin-bottom: 0; }
.fchips--links .i { width: 16px; height: 16px; color: var(--vio); }
.methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.methods li { display: flex; align-items: center; gap: 10px; background: #f6f5fd; border-radius: 12px; padding: 10px 12px; min-width: 0; }
.methods li[hidden] { display: none; }
.methods span { display: grid; min-width: 0; }
.methods strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.methods small { color: var(--muted); font-size: 12px; text-transform: uppercase; font-weight: 600; }

/* games */
.gtypes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gtype { display: flex; gap: 12px; align-items: center; background: #f6f5fd; border-radius: 14px; padding: 12px; text-decoration: none; color: var(--ink); transition: background .15s, transform .15s; min-width: 0; }
.gtype:hover { background: var(--vio-soft); transform: translateY(-2px); }
.gtype[hidden] { display: none; }
.gtype span { display: grid; min-width: 0; }
.gtype strong { font-size: 16px; }
.gtype small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pick { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; background: #f6f5fd; border-radius: 14px; padding: 12px; }
.pick__art { display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; }
.pick__art svg { width: 100%; height: 100%; }
.pick h3 { font-size: 18px; margin-bottom: 4px; text-transform: uppercase; }
.pick p { margin: 0; color: #3b3760; font-size: 15px; }
.psearch { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.psearch .i { position: absolute; left: 14px; color: #8a86a8; }
.psearch input { flex: 1; min-width: 0; height: 48px; border: 1px solid #dcdaea; border-radius: 12px; padding: 0 14px 0 42px; font: inherit; color: var(--ink); }
.psearch input:focus { outline: none; border-color: var(--vio); box-shadow: 0 0 0 3px rgba(109, 60, 242, .15); }
.psearch__n { color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.plist { list-style: none; margin: 0 0 16px; padding: 0; columns: 4 180px; column-gap: 14px; }
.plist li { break-inside: avoid; }
.plist li[hidden] { display: none; }
.plist a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.plist a:hover { background: var(--vio-soft); color: var(--vio2); }
.empty { color: var(--muted); }

.nf { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; margin-top: 30px; }
.nf__art { aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; }
.nf h1 { font-size: 32px; text-transform: uppercase; }

/* ---------- footer ---------- */
.foot { margin-top: auto; background: #fff; border-top: 1px solid var(--line); padding: 34px 24px 24px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 26px; }
.foot .logo { height: 54px; width: auto; margin-bottom: 10px; }
.foot__brand p { color: var(--muted); font-size: 15px; }
.foot h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot__nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot__nav a:hover { color: var(--vio); }
.chips--sm span { font-size: 13px; padding: 3px 10px; }
.foot__legal { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 13px; color: var(--muted); }
.foot__legal p { margin-bottom: 8px; }
.foot__legal a { color: var(--muted); }
.age { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #c94b4b; color: #c94b4b; font-weight: 800; font-size: 11px; margin-right: 6px; vertical-align: middle; }
.mbar { display: none; }

/* ---------- long words (de/fi/no/el…): hyphenate and never overflow ---------- */
main, .foot { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.rowhead { flex-wrap: wrap; }
.rowhead__t { min-width: 0; }
.fact, .fact > *, .step, .rung__b, .calc__f, .calc__out > div, .phead__txt, .phead__stats > div, .speed__i, .teaser, .split > div, .howto li > div, .pick > div { min-width: 0; }
.btn-lime, .btn-play, .btn-ghost { max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
.spins > div { min-width: 0; }
.phead h1, .rowhead__t, .hero__title, .band h2 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }

/* ---------- language switcher ---------- */
.langs { position: relative; flex: none; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border: 1px solid #dcdaea; border-radius: 12px; background: #fff; font-weight: 600; font-size: 14px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary .i { width: 18px; height: 18px; color: var(--vio); }
.langs[open] summary { border-color: var(--vio); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px; width: 220px; max-height: 70vh; overflow-y: auto; background: #fff; border-radius: 14px; box-shadow: var(--sh2); display: grid; gap: 2px; }
.langs a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.langs a b { width: 30px; font-size: 12px; color: var(--muted); }
.langs a:hover, .langs a.is-on { background: var(--vio-soft); color: var(--vio2); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; font-size: 14px; }
.foot__langs a { color: var(--muted); text-decoration: none; }
.foot__langs a:hover, .foot__langs a[aria-current] { color: var(--vio); }

/* ---------- right-to-left (Arabic) ---------- */
/* The artwork keeps its LTR composition: logo text and the hero card stay on the art-free side. */
[dir="rtl"] .logo, [dir="rtl"] .hero__svg { direction: ltr; }
[dir="rtl"] .hero__nav, [dir="rtl"] .hero__dots { direction: ltr; }
[dir="rtl"] .side { inset: 0 0 0 auto; border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .main { margin-left: 0; margin-right: var(--side); }
[dir="rtl"] .search { margin-left: 0; margin-right: auto; }
[dir="rtl"] .search .i { left: auto; right: 14px; }
[dir="rtl"] .search input { padding: 0 40px 0 14px; }
[dir="rtl"] .psearch .i { left: auto; right: 14px; }
[dir="rtl"] .psearch input { padding: 0 42px 0 14px; }
[dir="rtl"] .nav { margin: 2px 16px; padding: 6px 4px 6px 10px; }
[dir="rtl"] .nav.is-active::before { left: auto; right: -16px; border-left-color: transparent; border-right-color: var(--ink); }
[dir="rtl"] .i[data-flip], [dir="rtl"] .arr .i, [dir="rtl"] .hero__nav .i, [dir="rtl"] .teaser__go .i, [dir="rtl"] .more .i { transform: scaleX(-1); }
[dir="rtl"] .step::after { right: auto; left: -40px; }
[dir="rtl"] .score__list i::after, [dir="rtl"] .scorebars i::after, [dir="rtl"] .speed__bar::after { inset: 0 0 0 auto; }
[dir="rtl"] .toc a::before { margin: 0; }
[dir="rtl"] .age { margin: 0 0 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .tiles { grid-auto-columns: calc((100% - 4 * 14px) / 5); }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .teasers { grid-template-columns: repeat(2, 1fr); }
  .provs { grid-template-columns: repeat(4, 1fr); }
  .methods { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1080px) {
  :root { --side: 0px; }
  .side { transform: translateX(-100%); width: 270px; transition: transform .25s; box-shadow: var(--sh2); }
  body.side-open .side { transform: none; }
  body.side-open .side__scrim { display: block; position: fixed; inset: 0; background: rgba(20, 10, 60, .4); z-index: 35; }
  .top__menu { display: grid; }
  [dir="rtl"] .side { transform: translateX(100%); }
  [dir="rtl"] body.side-open .side, body.side-open[dir="rtl"] .side { transform: none; }
  [dir="rtl"] .main { margin-right: 0; }
  .top__logo { display: block; }
  .top__logo .logo { height: 44px; }
  .hero { border-radius: 0; }
  .hero__card, .hero--page .hero__card { left: 50%; transform: translate(-50%, -50%); }
  .hero__nav--prev { left: 8px; }
  .hero__nav--next { left: auto; right: 8px; }
  .hero__dots { left: 50%; }
  .intro { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { grid-template-columns: repeat(2, 1fr); }
  .speed, .calc__grid, .calc__out { grid-template-columns: repeat(2, 1fr); }
  .gtypes { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 110px 1fr; }
  .band .btn-lime { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .top { padding: 0 10px; gap: 8px; }
  .search { display: none; }
  .langs summary { height: 40px; padding: 0 10px; }
  .langs summary span { display: none; }
  [dir="rtl"] .btn-play { margin-left: 0; margin-right: auto; }
  .btn-play { margin-left: auto; height: 40px; padding: 0 16px; font-size: 14px; }
  .hero { height: 420px; }
  .hero--page { height: 360px; }
  .hero__card { width: calc(100% - 32px); padding: 20px 16px 30px; }
  .hero__kicker { font-size: 15px; }
  .hero__nav { top: auto; bottom: 14px; transform: none; }
  .hero__dots { bottom: 26px; }
  .btn-lime { min-height: 54px; font-size: 19px; padding: 0 34px; }
  .tiles, .tiles--wide { grid-auto-columns: 40%; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts .fact:last-child { grid-column: 1 / -1; }
  .card { padding: 18px; }
  .rowhead__t { font-size: 18px; }
  .pc, .split, .teasers, .howto--grid, .picks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { padding: 14px; }
  .step__p { font-size: 32px; }
  .provs { grid-template-columns: repeat(2, 1fr); }
  .phead { grid-template-columns: 1fr; padding: 20px; }
  .phead__stats { grid-template-columns: repeat(3, 1fr); }
  .phead__stats div { padding: 10px 6px; }
  .phead__stats strong { font-size: 22px; }
  .phead__help { max-width: none; }
  .scorebars li { grid-template-columns: 1fr 36px; }
  .scorebars i { grid-column: 1 / -1; grid-row: 2; }
  .mini-tiles { grid-template-columns: repeat(2, 1fr); }
  .rung { grid-template-columns: 48px 1fr; padding: 12px; gap: 12px; }
  .rung__n { width: 48px; height: 48px; font-size: 22px; }
  .rung .btn-play { grid-column: 1 / -1; }
  .rung__b strong { font-size: 19px; }
  .calc__out strong { font-size: 21px; }
  .spins { grid-template-columns: 1fr; }
  .spins__art { max-width: 160px; }
  .speed, .methods, .gtypes { grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr 1fr; }
  .toc ol { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 20px; text-align: left; }
  .band__art { width: 110px; }
  .band h2 { font-size: 21px; }
  .nf { grid-template-columns: 1fr; }
  .nf__art { width: 120px; }
  .foot { padding: 26px 16px 90px; }
  .foot__grid { grid-template-columns: 1fr; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; background: #1f1650; color: #fff; font-size: 14px; box-shadow: 0 -6px 20px rgba(20, 10, 60, .25); }
  .mbar strong { color: var(--lime); }
  .mbar .btn-lime { min-height: 42px; padding: 0 20px; font-size: 15px; box-shadow: 0 4px 0 var(--lime2); }
}
@media (max-width: 400px) {
  .methods { grid-template-columns: 1fr; }
  .calc__grid, .calc__out { grid-template-columns: 1fr 1fr; }
  .top__logo .logo { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
