:root {
	--color-bg: #080a10;
	--color-bg-deep: #05070b;
	--color-surface: #10141e;
	--color-surface-raised: #171c28;
	--color-surface-soft: #131725;
	--color-text: #f5f3fa;
	--color-muted: #9ba3b4;
	--color-border: #292c40;
	--color-border-purple: rgb(140 92 255 / 34%);
	--color-primary: #8c5cff;
	--color-primary-strong: #a176ff;
	--color-primary-soft: rgb(140 92 255 / 13%);
	--color-secondary: #b9a0ff;
	--color-success: #42cf7d;
	--color-success-strong: #30b96a;
	--color-warning: #f3c56b;
	--color-danger: #ff7082;
	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: .75rem;
	--space-4: 1rem;
	--space-5: 1.35rem;
	--space-6: 1.8rem;
	--space-7: 2.6rem;
	--space-8: 3.75rem;
	--container: 74rem;
	--page-gutter: 8px;
	--content: 46rem;
	--radius-sm: .55rem;
	--radius-md: .8rem;
	--radius-lg: 1.05rem;
	--shadow-sm: 0 .8rem 2.4rem rgb(0 0 0 / 24%);
	--shadow-purple: 0 1.4rem 4.5rem rgb(73 35 165 / 17%);
	--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--header-height: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + var(--space-4)); }
body { overflow-x: hidden; margin: 0; background: var(--color-bg); color: var(--color-text); font: 400 1rem/1.58 var(--font-sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 74% 5%, rgb(111 64 224 / 10%), transparent 34%), linear-gradient(180deg, #0b0d15 0, var(--color-bg) 30rem); content: ""; pointer-events: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-secondary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--color-text); }
button, input, select, textarea { font: inherit; }

/* Shared chevron for public, single-line selects. Background paint cannot intercept taps.
   Keep the native picker and exclude listboxes/multiple selects and WordPress admin. */
body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]) {
	-webkit-appearance: none;
	appearance: none;
	color-scheme: dark;
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m2 2 5 5 5-5' fill='none' stroke='%23c7c0da' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 9px;
	cursor: pointer;
}
@media (hover: hover) {
	body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]):not(:disabled):hover { border-color: #a58ac6; }
}
body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]):is(:focus, :active) { border-color: var(--color-secondary); }
body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]):focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
@supports selector(select:open) {
	body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]):open { border-color: var(--color-secondary); }
}
body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]):disabled { opacity: .55; cursor: not-allowed; }
@media (forced-colors: active) {
	body:not(.wp-admin) main select:not([multiple]):where(:not([size]), [size="1"]) { -webkit-appearance: auto; appearance: auto; background-image: none; }
}

:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 var(--space-3); line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.55rem, 9vw, 5.15rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.65rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 var(--space-4); }

.container { width: min(100% - var(--page-gutter) * 2, var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: var(--space-3); left: var(--space-3); width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border-radius:var(--radius-sm); background:var(--color-text); color:var(--color-bg); }
.skip-link:focus-visible { width:auto; height:auto; padding:var(--space-2) var(--space-4); overflow:visible; clip-path:none; z-index:1000001; outline:2px solid var(--color-primary-strong); outline-offset:3px; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgb(47 45 67 / 78%); background: rgb(7 9 14 / 91%); backdrop-filter: blur(1rem); }
.site-header__inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--color-text); font-weight: 820; line-height: .96; letter-spacing: -.025em; text-decoration: none; }
.brand:hover { color: var(--color-text); }
.brand__mark { width: 2.1rem; height: 2.1rem; flex: 0 0 auto; object-fit: contain; }
.brand__name { display: grid; font-size: .88rem; }
.brand--header { min-width: 0; gap: .7rem; }
.brand--header .brand__mark { width: 3rem; height: 3rem; }
.brand--header .brand__name { min-width: 0; font-size: 1.2rem; white-space: normal; }
.nav-toggle { display: grid; width: 2.75rem; height: 2.75rem; place-content: center; gap: .3rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-text); cursor: pointer; }
.nav-toggle > span:not(.screen-reader-text) { width: 1.2rem; height: 2px; border-radius: 1px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-.4rem) rotate(-45deg); }
.primary-nav { position: absolute; visibility: hidden; top: calc(100% + 1px); right: 1rem; left: 1rem; padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgb(16 20 30 / 98%); box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(-.4rem); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.nav-is-open .primary-nav { visibility: visible; opacity: 1; transform: none; }
.menu, .footer-links { margin: 0; padding: 0; list-style: none; }
.menu a, .menu > li > .is-unavailable { display: flex; min-height: 2.75rem; align-items: center; padding-inline: var(--space-3); border-radius: var(--radius-sm); color: #c5c8d2; font-size: .9rem; font-weight: 680; text-decoration: none; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--color-primary-soft); color: #fff; }
.primary-nav { max-height: calc(100dvh - var(--header-height) - 2rem); overflow-y: auto; }

.site-main { min-height: 55vh; }
.hero { position: relative; overflow: hidden; padding: var(--space-7) 0; border-bottom: 1px solid var(--color-border); }
.hero__inner { display: grid; align-items: center; gap: var(--space-6); }
.hero__content { max-width: 44rem; }
.hero h1 { max-width: 11ch; margin: var(--space-4) 0; }
.hero h1 span { color: var(--color-primary-strong); }
.hero__lede { max-width: 38rem; color: #afb5c3; font-size: clamp(1.02rem, 3vw, 1.2rem); }
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 780; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: linear-gradient(135deg, #9c65ff, #7436e2); color: #fff; box-shadow: 0 .7rem 1.8rem rgb(105 48 221 / 24%); }
.button--primary:hover { background: linear-gradient(135deg, #aa7aff, #8145e9); color: #fff; }
.button--secondary { border-color: var(--color-border-purple); background: var(--color-primary-soft); color: var(--color-text); }
.button--secondary:hover { border-color: rgb(140 92 255 / 58%); background: rgb(140 92 255 / 19%); }
.badge, .game-label { display: inline-flex; width: fit-content; align-items: center; border: 1px solid var(--color-border-purple); border-radius: .4rem; background: var(--color-primary-soft); color: #bd9fff; font-size: .68rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.badge { padding: .3rem .6rem; }
.badge--subtle { margin-bottom: var(--space-2); border-color: var(--color-border); background: rgb(255 255 255 / 2%); color: var(--color-muted); }
.hero__visual { display: block; min-width: 0; }
.mini-game { position: relative; width: min(100%, 28rem); margin-inline: auto; padding: var(--space-3); overflow: hidden; border: 1px solid var(--color-border-purple); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 38%, rgb(134 77 255 / 23%), transparent 42%), linear-gradient(145deg, #181529, #0d111a); box-shadow: var(--shadow-purple); transform: rotate(1.2deg); }
.mini-game__bar { display: flex; min-height: 1.8rem; align-items: center; gap: .35rem; padding-inline: .25rem; }
.mini-game__bar span { width: 3.5rem; height: .35rem; margin-right: auto; border-radius: 1rem; background: rgb(185 160 255 / 42%); }
.mini-game__bar i { width: .35rem; height: .35rem; border-radius: 50%; background: rgb(255 255 255 / 18%); }
.mini-game__board { display: block; width: 100%; max-height: 14rem; }
.mini-game__board > path { fill: rgb(13 15 26 / 62%); stroke: rgb(140 92 255 / 24%); }
.mini-game__ball { fill: #a45fff; filter: drop-shadow(0 0 .6rem #8446ed); }
.mini-game__pegs { fill: #eeeaff; filter: drop-shadow(0 0 .2rem rgb(208 192 255 / 80%)); }
.mini-game__slots rect { fill: #6633bd; }
.mini-game__slots rect:nth-child(2) { fill: #4e5dac; }
.mini-game__slots rect:nth-child(3) { fill: #318f65; }
.mini-game__slots rect:nth-child(4) { fill: #7941c9; }
.mini-game__controls { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-2); }
.mini-game__controls span { height: 2.25rem; border-radius: .45rem; background: linear-gradient(135deg, #9557fa, #7134d7); }
.mini-game__controls span:last-child { background: linear-gradient(135deg, #43d27e, #238d50); }

.section { padding-block: var(--space-8); }
.section--surface { border-block: 1px solid var(--color-border); background: rgb(16 20 30 / 64%); }
.section--compact { padding-top: var(--space-5); }
.section-heading { max-width: 43rem; margin-bottom: var(--space-6); }
.section-heading > p:last-child { color: var(--color-muted); font-size: 1rem; }
.eyebrow { margin-bottom: var(--space-2); color: #aa86ff; font-size: .7rem; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.feature-grid { display: grid; gap: var(--space-3); }
.feature-grid--lead { align-items: stretch; }
.card, .tool-panel, .disclosure-shell { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--color-surface-raised), var(--color-surface)); box-shadow: var(--shadow-sm); }
.card { padding: var(--space-5); }
.feature-card { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); }
.card__title { margin-bottom: var(--space-2); }
.card__title a { color: var(--color-text); text-decoration: none; }
.card__title a:hover { color: var(--color-secondary); }
.card p { margin: 0; color: var(--color-muted); font-size: .92rem; }
.card__icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid var(--color-border-purple); border-radius: .65rem; background: var(--color-primary-soft); }
.card__icon span { width: .75rem; height: .75rem; border: 2px solid var(--color-secondary); border-radius: 50%; }
.card__icon--chart span { height: 1.05rem; border-width: 0 0 2px 2px; border-radius: 0; transform: skewY(-30deg); }
.card__icon--guide span { border-radius: 2px; }
.card__icon--numbers span { border-style: dotted; }
.card__icon--game span { box-shadow: -.45rem .45rem 0 -.14rem var(--color-primary), .45rem .45rem 0 -.14rem var(--color-success); }
.tool-panel { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-4); padding: var(--space-5); background: radial-gradient(circle at 90% 10%, rgb(140 92 255 / 16%), transparent 38%), linear-gradient(145deg, #171628, var(--color-surface)); }
.tool-panel strong { display: block; max-width: 25rem; margin-top: var(--space-2); font-size: 1.17rem; }
.tool-panel__label { color: #b899ff; font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.tool-panel__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tool-panel__chips span { padding: .3rem .55rem; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-muted); font-size: .72rem; }
.start-playing-grid { display: grid; gap: var(--space-3); }
.hub-actions { padding: var(--space-4); border-block: 1px solid var(--color-border); }
.hub-actions__title { margin-bottom: var(--space-3); color: var(--color-muted); font-size: .72rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.hub-actions ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.hub-actions li { display: flex; min-height: 2.85rem; align-items: center; gap: var(--space-2); padding: 0; border-radius: var(--radius-sm); background: rgb(140 92 255 / 7%); color: #d8d3e4; font-size: .84rem; font-weight: 680; }
.hub-actions li a { display: flex; width: 100%; min-height: 2.85rem; padding: .55rem .65rem; align-items: center; gap: var(--space-2); color: #fff; text-decoration: none; }
.hub-actions li a:hover { color: var(--color-secondary); }
.home-path-list { display: grid; border-block: 1px solid var(--color-border); }
.home-path-list > a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--space-3); min-width: 0; padding: var(--space-4) var(--space-2); }
.home-path-list > a + a { border-top: 1px solid var(--color-border); }
.home-path-list > a > span { display: grid; gap: .15rem; min-width: 0; }
.home-path-list > a { color: var(--color-text); text-decoration: none; }
.home-path-list > a:hover { background: var(--color-primary-soft); }
.home-path-list strong { font-size: .95rem; }
.home-path-list small { color: var(--color-muted); font-size: .8rem; line-height: 1.4; }
.home-path-list--guides { grid-template-columns: 1fr; }
.disclosure-shell { overflow: hidden; }
.disclosure-shell details + details { border-top: 1px solid var(--color-border); }
.disclosure-shell summary { min-height: 3.35rem; padding: .9rem var(--space-5); cursor: pointer; font-weight: 700; }
.disclosure-shell details[open] summary { color: #c6afff; }
.disclosure-shell details p { padding: 0 var(--space-5) var(--space-4); color: var(--color-muted); font-size: .93rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); color: #858c9d; font-size: .78rem; }
.content-layout { max-width: var(--content); padding-block: var(--space-7) var(--space-8); }
.content-stack { display: grid; gap: var(--space-3); }
.entry-card a { color: var(--color-text); text-decoration: none; }
.entry-content > * { max-width: 100%; }
.entry-content :is(ul, ol) { padding-left: 1.4rem; }
.empty-state { display: grid; min-height: 65vh; place-content: center; justify-items: start; padding-block: var(--space-8); }
.empty-state p { color: var(--color-muted); }

.site-footer { border-top: 1px solid var(--color-border); background: var(--color-bg-deep); }
.site-footer__grid { display: grid; grid-template-columns: fit-content(60%) minmax(0, 1fr); gap: 1.25rem 1.5rem; padding-block: 1.75rem; }
.site-footer__brand { grid-column: 1 / -1; }
.brand--footer { margin-bottom: var(--space-3); }
.site-footer__note { max-width: 29rem; color: var(--color-muted); font-size: .9rem; }
.site-footer__heading { margin: 0 0 .5rem; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.site-footer__icon { width: 1rem; height: 1rem; flex: none; fill: none; stroke: var(--color-secondary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { display: grid; gap: .125rem; color: var(--color-muted); font-size: .88rem; }
.footer-links a { display: flex; align-items: center; width: fit-content; min-height: 28px; padding-block: .125rem; color: #c5c8d2; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: #777083; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--color-text); text-decoration-color: currentColor; }
.footer-links--muted { opacity: .72; }
.site-footer__bottom { display: flex; flex-direction: column; gap: var(--space-2); padding-block: var(--space-4); border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: .75rem; }
.site-footer__bottom p { margin: 0; }

/* Reusable gaming product layer. */
.game-hub { --game-accent: var(--color-primary); }
.game-hero { position: relative; padding: var(--space-4) 0 var(--space-6); }
.game-hero::before { position: absolute; inset: 2rem 0 0; background: radial-gradient(circle at 70% 42%, rgb(113 55 228 / 20%), transparent 32%); content: ""; pointer-events: none; }
.game-hero > .container { position: relative; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgb(14 17 25 / 98%), rgb(12 11 23 / 96%)); box-shadow: var(--shadow-purple); }
.game-hero__grid { display: grid; gap: var(--space-5); align-items: center; }
.game-hero__content { position: relative; z-index: 2; }
.game-label { gap: var(--space-2); padding: .28rem .55rem; }
.game-label::before { width: .42rem; height: .42rem; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 .8rem rgb(140 92 255 / 70%); content: ""; }
.game-hero h1 { margin: var(--space-3) 0; color: #fff; font-size: clamp(2.9rem, 13vw, 5.2rem); }
.game-hero__lede { max-width: 32rem; margin: 0; color: #b4bac8; font-size: clamp(1rem, 3vw, 1.16rem); }
.game-hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-5); }
.game-hero__actions .button { min-height: 3.55rem; padding-inline: .7rem; text-align: center; }
.button--game-primary { background: linear-gradient(135deg, #a15eff, #7432da); color: #fff; box-shadow: 0 .8rem 2rem rgb(109 46 218 / 27%); }
.button--game-primary:hover { background: linear-gradient(135deg, #ad76ff, #8142e5); color: #fff; }
.button--game-secondary { background: linear-gradient(135deg, #218448, #176638); color: #fff; box-shadow: 0 .8rem 2rem rgb(36 156 88 / 19%); }
.button--game-secondary:hover { background: linear-gradient(135deg, #26854b, #1d7340); color: #fff; }
.button.is-unavailable { cursor: default; opacity: 1; transform: none; }
.game-hero__visual { min-width: 0; }
.plinko-visual { position: relative; width: min(100%, 35rem); margin: 0 auto; overflow: hidden; border: 1px solid rgb(140 92 255 / 25%); border-radius: .9rem; background: radial-gradient(circle at 50% 40%, rgb(115 55 228 / 24%), transparent 45%), #0b0e16; box-shadow: inset 0 0 3rem rgb(106 51 209 / 9%), 0 1.3rem 4rem rgb(0 0 0 / 35%); }
.plinko-visual::before, .plinko-visual::after { position: absolute; z-index: 1; inset: 1rem auto 1rem 1rem; width: 1px; background: linear-gradient(transparent, rgb(140 92 255 / 55%), transparent); content: ""; }
.plinko-visual::after { right: 1rem; left: auto; }
.plinko-visual__glow { position: absolute; top: 28%; left: 50%; width: 45%; aspect-ratio: 1; border-radius: 50%; background: rgb(123 60 244 / 24%); filter: blur(2.5rem); transform: translate(-50%, -50%); }
.plinko-board { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.plinko-board__frame { stroke: rgb(145 101 244 / 38%); stroke-width: 2; }
.plinko-board__inner { fill: none; stroke: rgb(185 160 255 / 9%); stroke-width: 1; }
.plinko-board__slots rect { fill: #7138c9; stroke: rgb(210 192 255 / 38%); }
.plinko-board__slots rect:nth-child(2), .plinko-board__slots rect:nth-child(7) { fill: #5b42b8; }
.plinko-board__slots rect:nth-child(3), .plinko-board__slots rect:nth-child(6) { fill: #3f75ad; }
.plinko-board__slots rect:nth-child(4), .plinko-board__slots rect:nth-child(5) { fill: #269960; }

.game-navigation-wrap { position: relative; z-index: 3; margin-top: calc(var(--space-3) * -1); }
.game-navigation { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgb(13 16 24 / 97%); box-shadow: var(--shadow-sm); scrollbar-width: thin; }
.game-navigation ul { display: flex; width: max-content; min-width: 100%; margin: 0; padding: .35rem; list-style: none; }
.game-navigation li { flex: 1 0 auto; }
.game-navigation :is(a, span[aria-disabled="true"]) { display: flex; min-height: 3rem; align-items: center; justify-content: center; gap: .55rem; padding: .5rem .85rem; border-radius: .5rem; color: #b4bac8; font-size: .8rem; font-style: normal; font-weight: 690; text-decoration: none; white-space: nowrap; }
.game-navigation a:hover { background: var(--color-primary-soft); color: #fff; }
.game-navigation span[aria-disabled="true"] { color: #aeb4c2; }
.game-icon { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: #a986ff; }
.game-icon--real-money { color: var(--color-success); }

.game-link-grid { display: grid; gap: var(--space-3); }
.game-link-card { display: grid; min-height: 7.35rem; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: linear-gradient(145deg, rgb(23 27 40 / 93%), rgb(13 17 25 / 96%)); color: var(--color-text); text-decoration: none; }
.game-link-card[href] { transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.game-link-card[href]:hover { border-color: rgb(140 92 255 / 55%); background: linear-gradient(145deg, rgb(36 28 58 / 96%), rgb(15 18 29 / 96%)); color: #fff; transform: translateY(-2px); }
.game-link-card.is-unavailable { cursor: default; }
.game-link-card__icon { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid var(--color-border-purple); border-radius: .65rem; background: var(--color-primary-soft); }
.game-link-card--real-money .game-link-card__icon { border-color: rgb(66 207 125 / 38%); background: rgb(66 207 125 / 10%); }
.game-link-card__icon .game-icon { width: 1.3rem; height: 1.3rem; }
.game-link-card__body { display: grid; gap: .3rem; }
.game-link-card__body strong { font-size: 1rem; }
.game-link-card__body > span { color: var(--color-muted); font-size: .83rem; line-height: 1.42; }
.game-link-card__arrow { color: var(--color-primary-strong); font-size: 1.2rem; }

.section--game-tools { border-block: 1px solid var(--color-border); background: radial-gradient(circle at 20% 80%, rgb(113 55 228 / 10%), transparent 32%), rgb(14 17 26 / 75%); }
.game-tools { overflow: hidden; border: 1px solid var(--color-border-purple); border-radius: var(--radius-md); background: #0d1018; box-shadow: var(--shadow-purple); }
.game-tools__items { display: grid; }
.game-tool-preview { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: center; padding: var(--space-4); }
.game-tool-preview + .game-tool-preview { border-top: 1px solid var(--color-border); }
.game-tool-preview__icon { display: grid; width: 2.7rem; height: 2.7rem; place-items: center; border: 1px solid var(--color-border-purple); border-radius: .65rem; background: var(--color-primary-soft); }
.game-tool-preview__icon .game-icon { width: 1.35rem; height: 1.35rem; }
.game-tool-preview h3 { margin-bottom: .3rem; }
.game-tool-preview p { margin: 0; color: var(--color-muted); font-size: .82rem; }
.game-overview { border-block: 1px solid var(--color-border); background: rgb(16 20 30 / 48%); }
.game-overview__inner { display: grid; gap: var(--space-5); padding-block: var(--space-6); }
.game-overview h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.drop-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.drop-flow li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); padding: var(--space-3) 0; }
.drop-flow li + li { border-top: 1px solid var(--color-border); }
.drop-flow li > span { display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border: 1px solid var(--color-border-purple); border-radius: 50%; background: var(--color-primary-soft); color: #bea5ff; font-size: .7rem; font-weight: 800; }
.drop-flow h3 { margin-bottom: .25rem; color: #d6c8fa; font-size: .92rem; }
.drop-flow p { margin: 0; color: var(--color-muted); font-size: .82rem; }
.game-faq { padding-bottom: var(--space-8); }
.metric { display: grid; gap: var(--space-1); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.metric__value { font-size: 1.5rem; font-weight: 800; }
.metric__label { color: var(--color-muted); font-size: .8rem; }

/* Free Plinko game. */
.free-game-page { padding-bottom: var(--space-8); }
.free-game-heading { padding-block: var(--space-5) var(--space-4); }
.free-game-heading .breadcrumb { margin-bottom: var(--space-4); }
.free-game-heading h1 { margin: var(--space-3) 0; font-size: clamp(2.35rem, 9vw, 4.25rem); }
.free-game-heading > p { max-width: 42rem; margin: 0; color: var(--color-muted); }
.free-game-navigation { margin-bottom: var(--space-4); }
.game-navigation a[aria-current="page"] { background: var(--color-primary-soft); color: #fff; }
.free-game-shell { display: grid; overflow: hidden; border: 1px solid var(--color-border-purple); border-radius: var(--radius-lg); background: #0c0f17; box-shadow: var(--shadow-purple); }
.free-game-controls { display: grid; align-content: start; gap: var(--space-4); padding: var(--space-4); border-bottom: 1px solid var(--color-border); background: linear-gradient(160deg, #171827, #10141e); }
.balance-panel { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border-purple); border-radius: var(--radius-md); background: var(--color-primary-soft); }
.balance-panel > span { color: #b8afc9; font-size: .75rem; font-weight: 720; text-transform: uppercase; letter-spacing: .06em; }
.balance-panel strong { color: #fff; font-size: 1.25rem; white-space: nowrap; }
.balance-panel small { color: var(--color-muted); font-size: .68rem; font-weight: 600; }
.control-group { display: grid; min-width: 0; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.control-group > label, .control-group legend, .control-label label, .auto-control > label { color: #d7d3df; font-size: .78rem; font-weight: 750; }
.control-label { display: flex; justify-content: space-between; }
.control-label output { color: #b99dff; font-weight: 800; }
.bet-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #0b0e15; }
.bet-input:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgb(140 92 255 / 15%); }
.bet-input input { width: 100%; min-height: 2.9rem; padding: .6rem .75rem; border: 0; outline: 0; background: transparent; color: #fff; font-weight: 720; }
.bet-input span { display: flex; align-items: center; padding-inline: .7rem; color: var(--color-muted); font-size: .72rem; }
.bet-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.bet-presets button { min-height: 2.55rem; border: 1px solid var(--color-border); border-radius: .45rem; background: rgb(255 255 255 / 2%); color: #c7c3d0; font-size: .78rem; font-weight: 700; cursor: pointer; }
.bet-presets button:hover { border-color: var(--color-border-purple); background: var(--color-primary-soft); }
.rows-range { width: 100%; min-height: 2.2rem; accent-color: var(--color-primary); cursor: pointer; }
.range-limits { display: flex; justify-content: space-between; color: #777f91; font-size: .68rem; }
.risk-control > p { margin: 0; color: var(--color-muted); font-size: .7rem; line-height: 1.4; }
.risk-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.risk-options label { position: relative; cursor: pointer; }
.risk-options input { position: absolute; opacity: 0; }
.risk-options span { display: grid; min-height: 2.7rem; place-items: center; border: 1px solid var(--color-border); border-radius: .45rem; color: var(--color-muted); font-size: .75rem; font-weight: 730; }
.risk-options input:checked + span { border-color: rgb(140 92 255 / 56%); background: var(--color-primary-soft); color: #fff; }
.risk-options input:focus-visible + span { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.free-game-drop { min-height: 3.45rem; background: linear-gradient(135deg, #a15eff, #7432da); color: #fff; box-shadow: 0 .8rem 2rem rgb(109 46 218 / 25%); font-size: 1rem; cursor: pointer; }
.free-game-drop:hover { background: linear-gradient(135deg, #ad76ff, #8142e5); color: #fff; }
.auto-control { display: grid; gap: var(--space-2); }
.auto-control > div { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: var(--space-2); }
.auto-control select { min-height: 2.9rem; padding-inline: .6rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #0b0e15; color: #fff; }
.auto-control .button { min-height: 2.9rem; cursor: pointer; }
.auto-control .button.is-stopping { border-color: rgb(255 112 130 / 50%); background: rgb(255 112 130 / 10%); color: #ff9eaa; }
.reset-session { min-height: 2.75rem; border: 0; background: transparent; color: var(--color-muted); font-size: .75rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
:disabled { cursor: not-allowed !important; opacity: .52; }
.free-game-stage { min-width: 0; padding: var(--space-3); background: radial-gradient(circle at 50% 35%, rgb(112 54 224 / 23%), transparent 42%), #090c13; }
.free-game-stage__top { display: flex; min-height: 3.1rem; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-2); }
.free-game-stage__top > div > span { color: var(--color-muted); font-size: .66rem; font-weight: 730; letter-spacing: .07em; text-transform: uppercase; }
.current-result { display: flex; align-items: baseline; gap: var(--space-2); }
.current-result span { color: #b5b2bf; font-size: .75rem; }
.current-result strong { color: #c2aaff; font-size: 1.2rem; }
.game-status { display: inline-flex; min-height: 1.8rem; align-items: center; padding: .25rem .55rem; border: 1px solid var(--color-border); border-radius: 999px; color: #a9b0bf; font-size: .67rem; white-space: nowrap; }
.game-status::before { width: .38rem; height: .38rem; margin-right: .35rem; border-radius: 50%; background: var(--color-success); content: ""; }
.game-status[data-type="error"] { border-color: rgb(255 112 130 / 32%); color: #ff9eaa; }
.game-status[data-type="error"]::before { background: var(--color-danger); }
.free-game-board { width: 100%; min-height: 15rem; }
.free-plinko-board { display: block; width: 100%; max-height: min(59vh, 34rem); }
.free-plinko-board__frame { fill: rgb(15 16 28 / 76%); stroke: rgb(140 92 255 / 24%); stroke-width: 2; }
.free-plinko-board__pegs { fill: #eeeaff; filter: drop-shadow(0 0 2px rgb(202 183 255 / 70%)); }
.free-plinko-board__slot { fill: var(--slot-fill); stroke: rgb(221 208 255 / 38%); transition: fill .18s ease, filter .18s ease; }
.free-plinko-board__slot-label { fill: #fff; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.35px; pointer-events: none; }
.free-plinko-board__slot-group.is-result .free-plinko-board__slot { fill: var(--color-success); filter: drop-shadow(0 0 8px rgb(66 207 125 / 70%)); }
.game-error { color: #ff9eaa; }
.recent-results { grid-column: 1 / -1; min-width: 0; padding: var(--space-4); border-top: 1px solid var(--color-border); background: #0e121b; }
.recent-results__heading { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-3); }
.recent-results__heading h2 { margin: 0; font-size: 1rem; }
.recent-results__heading > span { color: var(--color-muted); font-size: .68rem; }
.recent-results ul { display: flex; gap: var(--space-2); margin: 0; padding: 0 0 .2rem; overflow-x: auto; list-style: none; scrollbar-width: thin; }
.recent-results li { display: grid; min-width: 5.3rem; gap: .1rem; padding: .5rem .65rem; border: 1px solid var(--color-border); border-radius: .45rem; background: rgb(255 255 255 / 2%); }
.recent-results li strong { font-size: .78rem; }
.recent-results li span { color: #ff9eaa; font-size: .65rem; }
.recent-results li.is-positive span { color: #7de7a9; }
.recent-results .recent-results__empty { min-width: 100%; border: 0; background: transparent; color: var(--color-muted); font-size: .78rem; }
.free-game-notes { display: grid; gap: var(--space-4); padding-block: var(--space-7) 0; }
.free-game-notes h2 { margin: 0; font-size: clamp(1.45rem, 4vw, 2rem); }
.free-game-notes__content p { color: var(--color-muted); font-size: .88rem; }
.free-game-notes__content a { font-size: .86rem; font-weight: 720; text-decoration: none; }

@media (min-width: 42rem) {
	.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.start-playing-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; }
	.home-path-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.home-path-list > a + a { border-top: 0; border-left: 1px solid var(--color-border); }
	.home-path-list--guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.game-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.game-overview__inner { grid-template-columns: minmax(11rem, .55fr) minmax(0, 2fr); align-items: center; }
	.drop-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.drop-flow li { padding: 0 var(--space-4); }
	.drop-flow li + li { border-top: 0; border-left: 1px solid var(--color-border); }
	.site-footer__bottom { flex-direction: row; justify-content: space-between; }
	.free-game-heading { padding-top: var(--space-6); }
	.free-game-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.balance-panel, .free-game-drop, .auto-control, .reset-session { grid-column: 1 / -1; }
	.free-game-notes { grid-template-columns: minmax(12rem, .7fr) minmax(0, 1.3fr); }
}

@media (min-width: 56rem) {
	.brand--header { gap: .8rem; }
	.brand--header .brand__mark { width: 3.5rem; height: 3.5rem; }
	.brand--header .brand__name { font-size: 1.35rem; }
	.nav-toggle { display: none; }
	.primary-nav { position: static; visibility: visible; padding: 0; border: 0; background: transparent; box-shadow: none; opacity: 1; transform: none; }
	.menu { display: flex; gap: var(--space-2); }
	.primary-nav .menu { flex-wrap: wrap; justify-content: flex-end; gap: .25rem; }
	.primary-nav .menu a, .primary-nav .menu > li > .is-unavailable { padding-inline: .6rem; }
	.hero { padding-block: 4.75rem; }
	.hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr); gap: var(--space-8); }
	.mini-game__board { max-height: 17rem; }
	.game-hero { padding-block: var(--space-5); }
	.game-hero > .container { padding: var(--space-5) var(--space-6); }
	.game-hero__grid { grid-template-columns: minmax(0, .82fr) minmax(27rem, 1.18fr); gap: var(--space-7); }
	.game-hero__actions { display: flex; gap: var(--space-3); }
	.game-hero__actions .button { min-width: 12.3rem; }
	.game-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.game-tools__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.game-tool-preview + .game-tool-preview { border-top: 0; border-left: 1px solid var(--color-border); }
	.free-game-shell { grid-template-columns: minmax(17rem, .36fr) minmax(0, 1fr); }
	.free-game-controls { grid-template-columns: 1fr; padding: var(--space-5); border-right: 1px solid var(--color-border); border-bottom: 0; }
	.balance-panel, .free-game-drop, .auto-control, .reset-session { grid-column: auto; }
	.free-game-stage { padding: var(--space-4); }
}

@media (max-width: 30rem) {
	.game-hero > .container { padding: var(--space-3); }
	.game-hero .breadcrumb { margin-bottom: var(--space-3); }
	.game-hero h1 { font-size: 2.75rem; }
	.game-hero__actions .button { min-height: 3.4rem; font-size: .82rem; }
	.plinko-visual { max-width: 23rem; }
	.section { padding-block: 2.8rem; }
	.free-game-page { padding-bottom: var(--space-7); }
	.free-game-heading { padding-top: var(--space-4); }
	.free-game-heading h1 { font-size: 2.4rem; }
	.free-game-navigation { position: relative; margin-bottom: var(--space-3); }
	.free-game-navigation::after { position: absolute; z-index: 2; inset: 1px 1px 1px auto; width: 1.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; background: linear-gradient(90deg, transparent, #0d1018 80%); content: ""; pointer-events: none; }
	.free-game-navigation .game-navigation { scroll-padding-inline: .35rem 2rem; }
	.free-game-navigation .game-navigation ul { padding-right: 2rem; }
	.free-game-navigation .game-navigation :is(a, span[aria-disabled="true"]) { min-height: 2.7rem; padding: .4rem .7rem; }
	.free-game-shell { border-radius: .8rem; }
	.free-game-controls { gap: .65rem; padding: .7rem; }
	.balance-panel { padding: .5rem .65rem; }
	.balance-panel > span { font-size: .65rem; }
	.balance-panel strong { font-size: 1.05rem; }
	.control-group { gap: .32rem; }
	.bet-input input { min-height: 2.55rem; padding-block: .4rem; }
	.bet-presets button { min-height: 2.55rem; }
	.rows-range { min-height: 1.6rem; }
	.range-limits { display: none; }
	.risk-options span { min-height: 2.55rem; }
	.risk-control > p { font-size: .63rem; line-height: 1.2; }
	.free-game-drop { min-height: 3rem; }
	.auto-control { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .4rem; }
	.auto-control > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.auto-control > div { grid-column: 1 / -1; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .4rem; }
	.auto-control select, .auto-control .button { min-height: 2.65rem; }
	.reset-session { min-height: 1.75rem; font-size: .68rem; }
	.free-game-stage { padding: .25rem; }
	.free-game-stage__top { min-height: 2.6rem; align-items: center; padding-inline: .5rem; }
	.free-game-stage__top > div > span { display: none; }
	.current-result { gap: .35rem; }
	.current-result span, .current-result strong { font-size: .82rem; }
	.free-game-board { min-height: 0; }
	.free-plinko-board { max-height: none; }
	.free-plinko-board__slot-label { font-size: 11px; letter-spacing: -.5px; }
	.game-status { min-height: 1.65rem; padding: .15rem .45rem; }
	.recent-results { padding: .75rem; }
	.recent-results__heading { margin-bottom: .5rem; }
	.recent-results li { min-width: 4.7rem; padding: .35rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Free game: wallet → board → action → result → settings, also in DOM order. */
.free-game-heading { padding-block: 1rem .75rem; }
.free-game-heading .breadcrumb { margin-bottom: .5rem; }
.free-game-heading h1 { margin-block: .35rem; font-size: clamp(1.65rem, 6vw, 2.8rem); }
.free-game-heading > p { font-size: .85rem; }
.free-game-navigation { margin-top: 1rem; }
.free-game-shell { grid-template-columns: minmax(0, 1fr); }
.free-game-wallet { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .65rem; padding: .65rem; }
.free-game-wallet .balance-panel { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .35rem; padding: .55rem; min-width: 0; }
.free-game-wallet .balance-panel strong { white-space: normal; overflow-wrap: anywhere; }
.free-game-wallet .balance-panel small { display: block; }
.free-game-wallet .control-group { gap: .25rem; }
.free-game-wallet .bet-input span { display: none; }
.free-game-wallet .bet-input input { min-height: 2.75rem; font-size: 1rem; }
.free-game-wallet .bet-presets button { min-height: 2.75rem; }
.free-game-stage { padding: .3rem .4rem; }
.free-game-board { min-height: 0; }
.free-plinko-board { max-height: none; }
.free-game-stage .free-game-drop { width: 100%; min-height: 3rem; }
.free-game-stage__top { min-height: 2.7rem; padding: .35rem .15rem; gap: .5rem; flex-wrap: wrap; }
.free-game-stage__top > div > span { display: none; }
.current-result { gap: .35rem; }
.current-result span, .current-result strong { font-size: .85rem; }
.game-status { white-space: normal; }
.free-game-settings { grid-template-columns: minmax(0, 1fr); gap: .6rem; padding: .65rem; }

.free-game-settings .range-limits { display: none; }
.free-game-settings .rows-range { min-height: 2.75rem; margin: 0; }
.free-game-settings .risk-options span { min-height: 2.75rem; }
.free-game-settings .risk-control legend { margin-bottom: .3rem; }
.free-game-settings .risk-control > p { font-size: .7rem; }
.free-game-settings .auto-control { display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.free-game-settings .auto-control > label { position: static; width: auto; height: auto; clip-path: none; white-space: normal; }

.free-game-settings .auto-control > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: .5rem; min-width: 0; }
.free-game-settings .auto-control select { flex: 1 1 4rem; min-width: 0; }
.free-game-settings .auto-control .button { min-width: 0; padding-inline: .5rem; }
.free-game-settings .auto-control :is(select, .button), .free-game-settings .reset-session { min-height: 2.75rem; }
.free-game-settings .reset-session { justify-self: end; padding-inline: .5rem; }
.recent-results { padding: .65rem; }
.recent-results__heading { margin-bottom: .4rem; }
.free-plinko-board__slot-label { font-size: 13px; letter-spacing: 0; }
.free-plinko-board__slot-group.is-result .free-plinko-board__slot { fill: var(--slot-fill); stroke: white; stroke-width: 3; }
@media (width < 62rem) {
 /* Reduce the empty top gutter, preserving SVG scale and ball entry clearance. */
 .free-game-stage { padding-top: 0; }
 .free-game-stage .free-game-board { aspect-ratio: 640 / 440; display: flex; align-items: flex-end; }
 .free-game-stage .free-plinko-board { flex: 0 0 100%; height: auto; }
}
@media (min-width: 62rem) {
 /* Keep wallet content-sized; the spanning board leaves spare height below settings. */
 .free-game-shell { grid-template-columns: minmax(16rem, .4fr) minmax(0, 1fr); grid-template-rows: min-content minmax(min-content, 1fr) auto; align-items: start; background: #090c13; }
 .free-game-wallet { grid-column: 1; grid-row: 1; grid-template-columns: 1fr; }
 .free-game-settings { grid-column: 1; grid-row: 2; align-self: stretch; }
 .free-game-stage { grid-column: 2; grid-row: 1 / 3; padding: .25rem .75rem .75rem; }
 /* Trim only the SVG's empty top gutter; keep its scale and ball entry visible. */
 .free-game-stage .free-game-board { max-width: 48rem; margin-inline: auto; aspect-ratio: 640 / 440; display: flex; align-items: flex-end; overflow: hidden; }
 .free-game-stage .free-plinko-board { flex: 0 0 100%; height: auto; }
 .free-game-stage .free-game-drop, .free-game-stage__top { max-width: 48rem; margin-inline: auto; display: flex; }
 .free-game-controls { border-right: 1px solid var(--color-border); background: #141622; }
}

/* Secondary sound control occupies the empty upper corner of the board. */
.free-game-stage { position: relative; }
.plinko-sound { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: .5rem; background: transparent; color: var(--color-muted); cursor: pointer; }
.plinko-sound:hover { color: #fff; }
.plinko-sound:focus-visible { outline: 2px solid #b58aff; outline-offset: -2px; }
.plinko-sound svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.plinko-sound[aria-pressed="true"] .sound-muted, .plinko-sound[aria-pressed="false"] .sound-waves { display: none; }

@media (max-width: 23rem) {
	.hero .button-row { flex-direction: column; }
}

.button--game-secondary:focus { color: #fff; }
.button--game-secondary:active { background: linear-gradient(135deg, #1c763f, #145b31); color: #fff; transform: none; }
@media (max-width: 30rem) {
	.home .hero .button-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home .hero .button-row > .button { min-width: 0; padding-inline: .5rem; text-align: center; }
	.home .hero .button--game-secondary { grid-column: 1 / -1; width: 100%; }
}

/* Shared child-page rhythm; the Plinko hub keeps its separate hero. */
header.plinko-page-heading { padding-top: var(--space-4); }
.plinko-page-heading .breadcrumb { margin-bottom: var(--space-4); }
.plinko-page-heading .game-label { vertical-align: top; }
.plinko-page-heading h1 { margin-block: .75rem; }
.plinko-page-heading h1 + p { margin-top: 0; margin-bottom: 0; }

/* One outer gutter across all mobile page containers. */
@media (max-width: 767px) {
	body .container { max-width: none; }
}
@media (min-width: 768px) {
	:root { --page-gutter: 1.5rem; }
}

/* Shared outbound casino action. */
.button--casino { display:flex; align-items:center; justify-content:center; text-align:center; min-height:44px; padding:.5rem .7rem; font-size:.8125rem; line-height:1.3; border:1px solid #31d78188; background:linear-gradient(180deg,#079b50,#086d3c); box-shadow:inset 0 1px 0 #98ffc733,0 0 18px #13cf5f1f; color:#fff; }
.button--casino:hover { background:linear-gradient(180deg,#0caf5b,#087d44); border-color:#79efa8; color:#fff; }
.button--casino:focus { color:#fff; }
.button--casino:focus-visible { outline:2px solid #c09aff; outline-offset:3px; }

/* Plinko v3: settings stay outside the unchanged SVG geometry. */

.free-game-settings { gap: .75rem; }
.free-game-settings .free-rtp-meta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-width: 0; font-size: .75rem; color: var(--color-muted); }
.free-rtp-value { display: flex; align-items: center; min-width: 0; }
.free-rtp-meta details { flex-shrink: 0; }
.free-rtp-meta summary span { display: grid; place-items: center; width: 1.1rem; height: 1.1rem; border: 1px solid currentColor; border-radius: 50%; font-family: serif; font-weight: 700; }
.free-game-settings .free-rtp-meta .reset-session { grid-column: auto; margin: 0 0 0 auto; flex-shrink: 0; }
.free-rtp-meta summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.free-rtp-meta details p { position: absolute; z-index: 5; left: 0; bottom: 100%; max-height: 60vh; overflow: auto; width: min(17rem, 100%); padding: .8rem; margin: 0; border: 1px solid var(--color-border); border-radius: .5rem; background: #171827; color: #fff; font-size: .85rem; }
.free-game-settings .risk-control > p { margin-block: .2rem; }
.free-game-settings .reset-session { min-height: 44px; }
[data-plinko-free] :is([data-drop], [data-bet-action], [data-auto]) { touch-action: manipulation; }
.plinko-rtp-control { --rtp-touch-height: 44px; display: grid; gap: 0; min-width: 0; margin-block: 1rem; }
.free-game-settings .plinko-rtp-control { --rtp-touch-height: 2.75rem; grid-template-columns: minmax(0, 1fr); width: 100%; margin: 0; }
.strategy-page .odds-controls .odds-control-pair select { margin-bottom: 0; }
:is(.free-game-settings, .sim-controls, .odds-controls) .plinko-rtp-control > label { display: flex; justify-content: space-between; gap: .5rem; margin: 0; position: relative; z-index: 1; }
/* Native range tracks are centred in their unchanged 44px touch area.
   Overlap its transparent upper half so the visible track is 8px below the label. */
:is(.free-game-settings, .sim-controls, .odds-controls) .plinko-rtp-control > input.rows-range { width: 100%; min-height: var(--rtp-touch-height); margin: calc(.5rem - var(--rtp-touch-height) / 2) 0 0; padding: 0; }
.plinko-rtp-control:has(> input:focus-visible) { outline: 3px solid var(--color-secondary); outline-offset: 3px; border-radius: var(--radius-sm); }
.plinko-rtp-control > input.rows-range:focus-visible { outline: none; }
/* Compact mobile spacing; retain the board geometry and 44px controls. */
@media (max-width: 767px) {
 .free-game-wallet { padding-block: .25rem; row-gap: .25rem; }
 .free-game-wallet .balance-panel { padding-block: .25rem; gap: .2rem; }
 .free-game-wallet .control-group { gap: .125rem; }
 .free-game-wallet .bet-input input { min-height: 44px; padding-block: .25rem; }
 .free-game-wallet .bet-presets button { min-height: 44px; padding-block: 0; }
 .free-game-stage { padding-block: 0; }
 .free-game-stage__top { min-height: 30px; padding-block: 0; gap: .25rem; }
 .free-game-settings { padding-block: .25rem; gap: .25rem; }
 .free-game-settings .plinko-rtp-control > input.rows-range { margin-top: calc(.25rem - var(--rtp-touch-height) / 2); }
 .free-game-settings .risk-control { gap: .125rem; }
 .free-game-settings .risk-control legend { margin-bottom: .125rem; }
 .free-game-settings .risk-options span { min-height: 44px; padding-block: 0; }
 .free-game-settings .risk-control > p { margin-block: 0; }
 .free-game-settings .auto-control { gap: .2rem; }
 .free-game-settings .auto-control :is(select, .button) { min-height: 44px; padding-block: .25rem; }
}
.free-real-money-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .8rem; border: 1px solid var(--color-border); border-radius: .8rem; background: #101a18; }
.free-real-money-cta p { margin: 0; font-weight: 650; }
.free-real-money-cta .button { background: #21864a; color: #fff; min-height: 44px; white-space: normal; text-align: center; }
.free-real-money-cta .button:hover { background: #196c3a; }
@media(max-width: 47.99rem) { .free-real-money-cta { flex-direction: column; gap: .5rem; } .free-real-money-cta .button { width: 100%; } }

/* Mobile site navigation: separate global links and game hierarchies. */
.mobile-navigation { display:none; }
@media (max-width:55.999rem) {
 .desktop-navigation { display:none; }
 .mobile-navigation { display:block; }
 .primary-nav { left:auto; right:12px; width:min(320px,calc(100vw - 24px)); padding:12px; border-color:#514362; border-radius:18px; background:#11111e; box-shadow:0 16px 48px #0009,inset 0 1px 0 #ffffff08; max-height:calc(100dvh - var(--header-height) - 16px); overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#5c476f transparent; transition:opacity .18s ease,transform .18s ease; }
 .mobile-navigation__title,.mobile-navigation__section { margin:0; padding:4px 12px 8px; color:#948ba7; font-size:.625rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
 .mobile-navigation ul { list-style:none; padding:0; margin:0; }
 .mobile-navigation a { display:flex; align-items:center; gap:12px; min-height:44px; padding:9px 12px; border-radius:10px; color:#dad5e4; font-size:.875rem; font-weight:600; line-height:1.4; text-align:left; text-decoration:none; }
 .mobile-navigation .game-icon { width:18px; height:18px; color:#a89abb; }
 .mobile-navigation__main > li + li { border-top:1px solid #ffffff08; }
 .mobile-navigation__section { border-top:1px solid #ffffff12; margin-top:8px; padding-top:14px; }
 .mobile-navigation__game { border:1px solid #ffffff0d; border-radius:12px; background:#ffffff03; }
 .mobile-navigation__game summary { display:flex; align-items:center; list-style:none; cursor:pointer; border-radius:11px; }
 .mobile-navigation__game summary::-webkit-details-marker { display:none; }
 .mobile-navigation__game summary > a { flex:1; min-width:0; font-size:.9375rem; font-weight:700; }
 .mobile-navigation__expand { display:flex; align-items:center; justify-content:center; width:44px; min-height:46px; flex:none; color:#bca3d8; border-left:1px solid #ffffff0a; }
 .mobile-navigation__expand svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:transform .18s ease; }
 .mobile-navigation__game[open] .mobile-navigation__expand svg { transform:rotate(180deg); }
 .mobile-navigation__game[data-current-branch] > summary .game-icon { color:#c79bff; }
 .mobile-navigation .mobile-navigation__children { margin:0 8px 8px 20px; padding-left:8px; border-left:1px solid #a97ce12e; }
 .mobile-navigation__children > li + li { border-top:1px solid #ffffff06; }
 .mobile-navigation__children a { padding-left:10px; font-size:.8125rem; font-weight:500; }
 .mobile-navigation a:hover { background:#ffffff07; color:#fff; }
 .mobile-navigation a[aria-current] { background:linear-gradient(100deg,#8f50ce30,#8f50ce14); color:#fff; box-shadow:inset 2px 0 #be8af2; }
 .mobile-navigation a[aria-current] .game-icon { color:#cdabfa; }
 .mobile-navigation a[aria-current]::after { content:''; width:5px; height:5px; border-radius:50%; background:#c493fb; margin-left:auto; flex:none; }
 .mobile-navigation :is(a,summary):focus-visible { outline:2px solid #c493fb; outline-offset:2px; }
}
@media (prefers-reduced-motion:reduce) { .mobile-navigation__expand svg { transition:none; } }

/* Free demo: quiet decorative atmosphere behind the existing game UI. */
.free-game-page { position:relative; isolation:isolate; background:radial-gradient(ellipse 65% 500px at 90% 0,#33145b40,transparent),linear-gradient(#0c0b1d,#090b14 850px); }
.free-game-page::before { content:""; position:absolute; z-index:-1; inset:0 0 auto; height:620px; pointer-events:none; background:url("../images/plinko-free-background-v1.webp") right top/1000px auto no-repeat; opacity:.45; mask-image:linear-gradient(to right,transparent,#000 40%),linear-gradient(#000 45%,transparent); mask-composite:intersect; }
@media(max-width:767px) {
 .free-game-page::before { height:420px; background-size:600px auto; background-position:right -125px top; opacity:.28; }
}

/* Free heading follows the Real Money heading typography and accent. */
.free-game-heading h1 { font-family:var(--font-sans); font-weight:850; font-size:clamp(2rem,3.7vw,3.5rem); line-height:1.12; letter-spacing:-.045em; text-wrap:balance; }
.free-game-heading__title-accent { color:#bc59ff; background:linear-gradient(120deg,#9f31f5,#d77bff); background-clip:text; -webkit-text-fill-color:transparent; }
@media(max-width:767px) { .free-game-heading h1 { font-size:clamp(2rem,7vw,2.65rem); letter-spacing:-.035em; } }

/* Service pages and shared layout: allow long links and enlarged text to reflow. */
.site-footer__grid > * { min-width: 0; }
.site-footer a, .site-footer p { overflow-wrap: anywhere; }
.site-footer__note:last-child { margin-bottom: 0; }
@media (min-width: 56rem) {
 .site-footer__grid { grid-template-columns: minmax(0, 1fr) max-content max-content; gap: 2rem; align-items: start; padding-block: 2rem; }
 .site-footer__brand { grid-column: auto; }
}

.service-information { overflow-wrap: anywhere; }
.service-information h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.service-information h2 { margin-top: 2rem; font-size: 1.5rem; }
.service-information h3 { margin-top: 1.5rem; }
.service-information li + li { margin-top: .4rem; }

/* Desktop disclosure navigation; the existing mobile drawer is unchanged. */
@media (min-width: 56rem) {
 .primary-nav { overflow: visible; max-height: none; }
 .desktop-menu { display: flex; align-items: center; gap: .5rem; }
 .desktop-plinko { position: relative; }
 /* Keep the pointer inside the disclosure while crossing the visual dropdown gap. */
 .desktop-menu details[open]::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: .5rem; }
 .desktop-plinko > summary, .desktop-menu__blog { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .8rem; border-radius: var(--radius-sm); color: #c5c8d2; font-size: .9rem; font-weight: 680; text-decoration: none; cursor: pointer; list-style: none; }
 .desktop-plinko > summary::-webkit-details-marker { display: none; }
 .desktop-plinko > summary:hover, .desktop-plinko[open] > summary, .desktop-plinko[data-active-branch] > summary, .desktop-menu__blog:hover, .desktop-menu__blog[aria-current] { color: #fff; background: var(--color-primary-soft); }
 .desktop-menu__arrow { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
 .desktop-plinko[open] .desktop-menu__arrow { transform: rotate(180deg); }
 .desktop-menu__dropdown { position: absolute; z-index: 60; top: calc(100% + .5rem); right: 0; width: max-content; min-width: 15rem; max-width: min(24rem, calc(100vw - 3rem)); max-height: calc(100dvh - 8rem); overflow: auto; margin: 0; padding: .5rem; list-style: none; border: 1px solid #514362; border-radius: .8rem; background: #11111e; box-shadow: 0 16px 48px #0009; }
 .desktop-menu__dropdown a { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .5rem .65rem; border-radius: .5rem; color: #dad5e4; font-size: .9rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
 .desktop-menu__dropdown a:hover, .desktop-menu__dropdown a[aria-current] { background: var(--color-primary-soft); color: #fff; }
 .desktop-menu__dropdown .game-icon { width: 1.1rem; height: 1.1rem; color: #bca3d8; }
}

/* Keep manual launch controls and result rows steady during rapid touch input. */
[data-plinko-free] :is([data-drop], .free-plinko-board__ready-ball){touch-action:manipulation}
[data-plinko-free] .free-game-drop{flex-shrink:0}
[data-plinko-free] .free-game-stage__top{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center}
[data-plinko-free] .current-result{min-height:1.5em;white-space:nowrap;overflow-x:auto;font-variant-numeric:tabular-nums}
[data-plinko-free] .current-result>*{flex-shrink:0}
[data-plinko-free] .game-status{max-width:18ch;min-height:1.5em;white-space:nowrap;overflow-x:auto}

/* Primary-page labels share one spacing rhythm; post articles are excluded. */
body:not(.single-post) :is(main,.classic-stage) .game-label:has(+h1){display:flex;max-width:100%;margin:0;vertical-align:top;line-height:1.5}
body:not(.single-post) :is(main,.classic-stage) .game-label+h1{margin-top:1rem;margin-bottom:1rem}
body:not(.single-post) :is(.content-layout,.blog-hero__inner)>.breadcrumb{margin:0 0 1rem}
body:not(.single-post) .casino-sources__back{margin-bottom:1rem}
