/*
Theme Name: Regent Casino
Theme URI: https://example.com/regent
Author: Regent
Description: Classic (PHP) casino theme for WordPress. Dark lobby with promo carousel, category bar, game rows, prize wheel, winners ticker, reviews, FAQ, providers, payments and a responsible-gambling footer. Everything is editable in the Customizer and theme content types. No plugins required.
Version: 1.6.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: regent
Tags: dark, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ---------- Base ---------- */
:root {
	--rg-bg: #0e0e0e; --rg-surface: #1a1a1a; --rg-surface2: #242424; --rg-border: #2c2c2c;
	--rg-text: #fff; --rg-muted: #a8a8a8; --rg-accent: #c9a96e; --rg-btn-text: #111;
	--rg-font-h: 'Barlow Condensed', 'Arial Narrow', sans-serif; --rg-font-b: 'Roboto', system-ui, sans-serif;
	--rg-radius: 8px; --rg-case: uppercase;
	--rg-top-h: 72px; --rg-wrap: 1340px; --rg-gap: 16px;
	--rg-top-bg: color-mix(in srgb, var(--rg-bg) 55%, #000);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--rg-top-h) + 12px); }
body { margin: 0; background: var(--rg-bg); color: var(--rg-text); font: 400 15px/1.5 var(--rg-font-b); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--rg-font-h); font-weight: 700; line-height: 1.1; letter-spacing: .01em; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rg-accent); outline-offset: 2px; }
.rg-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--rg-accent); color: var(--rg-btn-text); padding: 8px 14px; border-radius: 99px; }
.rg-skip:focus { left: 8px; }
.rg-wrap { width: 100%; max-width: var(--rg-wrap); margin: 0 auto; padding: 0 16px; }
.rg-wrap--narrow { max-width: 920px; }
.rg-muted { color: var(--rg-muted); }
.rg-small { font-size: 12px; line-height: 1.5; color: var(--rg-muted); margin: 14px 0 0; }
.rg-svg { width: 20px; height: 20px; flex: none; }
.rg-ico { display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }

/* ---------- Buttons ---------- */
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 22px; border-radius: 999px; background: var(--rg-accent); color: var(--rg-btn-text); border: 2px solid var(--rg-accent); font: 700 15px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .03em; white-space: nowrap; transition: filter .15s, background .15s, color .15s; }
.rg-btn:hover { filter: brightness(1.1); }
.rg-btn .rg-svg { width: 16px; height: 16px; fill: currentColor; }
.rg-btn--ghost { background: transparent; color: var(--rg-text); border-color: color-mix(in srgb, var(--rg-accent) 75%, var(--rg-text)); }
.rg-btn--ghost:hover { background: color-mix(in srgb, var(--rg-accent) 14%, transparent); filter: none; }
.rg-btn--sm { min-height: 34px; padding: 0 18px; font-size: 14px; }
.rg-btn--lg { min-height: 48px; padding: 0 30px; font-size: 17px; }
.rg-icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--rg-text); transition: background .15s; }
.rg-icon-btn:hover { background: var(--rg-surface2); }
.rg-icon-btn .rg-svg { width: 24px; height: 24px; }

/* ---------- Top bar ---------- */
.rg-top { background: var(--rg-top-bg); border-bottom: 1px solid var(--rg-border); z-index: 50; }
.has-sticky-top .rg-top { position: sticky; top: 0; }
.admin-bar.has-sticky-top .rg-top { top: 32px; }
.rg-top__in { display: flex; align-items: center; gap: 14px; height: var(--rg-top-h); padding: 0 24px; max-width: 1920px; margin: 0 auto; }
.rg-top__burger { margin-left: -8px; }
.rg-logo { display: inline-flex; align-items: center; flex: none; }
.rg-logo__img { max-height: 44px; width: auto; }
.rg-logo__text { display: inline-flex; align-items: center; gap: 8px; font-family: var(--rg-font-h); font-weight: 700; text-transform: uppercase; }
.rg-logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--rg-accent); color: var(--rg-btn-text); font-size: 24px; font-style: italic; }
.rg-logo__words { display: flex; flex-direction: column; line-height: .9; font-size: 21px; letter-spacing: .02em; font-style: italic; }
.rg-logo__accent { color: var(--rg-accent); }
.rg-top__nav { align-self: stretch; margin-left: 28px; }
.rg-nav { display: flex; height: 100%; gap: 4px; }
.rg-nav > li { display: flex; }
.rg-nav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 16px; font: 700 18px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .02em; color: var(--rg-text); }
.rg-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rg-accent); transform: scaleX(0); transition: transform .2s; }
.rg-nav a:hover::after, .rg-nav .current-menu-item > a::after, .rg-nav .current_page_item > a::after { transform: scaleX(1); }
.rg-nav .rg-ico { width: 18px; height: 18px; }
.rg-top__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.rg-top__actions .rg-btn { min-height: 42px; min-width: 124px; font-size: 16px; }

/* ---------- Sections ---------- */
.rg-main { min-height: 60vh; }
.rg-sec { padding: 20px 0; }
.rg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rg-h1 { font-size: clamp(30px, 4vw, 44px); text-transform: var(--rg-case); }
.rg-h2 { font-size: clamp(22px, 2.4vw, 30px); text-transform: var(--rg-case); }
.rg-kicker { margin: 0 0 8px; color: var(--rg-accent); font: 700 15px/1.2 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .06em; }
.rg-arrows { display: flex; gap: 10px; }
.rg-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--rg-text) 35%, transparent); color: var(--rg-text); transition: border-color .15s, background .15s, opacity .15s; }
.rg-arrow:hover { border-color: var(--rg-accent); }
.rg-arrow[disabled] { opacity: .35; cursor: default; }
.rg-arrow .rg-svg { width: 18px; height: 18px; }
.rg-card { background: var(--rg-surface); border: 1px solid var(--rg-border); border-radius: var(--rg-radius); padding: 20px; }

/* Carousel tracks (scroll-snap, no library) */
.rg-track { display: grid; grid-auto-flow: column; gap: var(--rg-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rg-track::-webkit-scrollbar { display: none; }
.rg-track > * { scroll-snap-align: start; min-width: 0; }

/* ---------- Promo carousel ---------- */
.rg-promos { padding-top: 18px; }
.rg-promos__frame { position: relative; }
.rg-track--promos { grid-auto-columns: 86%; }
.rg-promo { display: flex; flex-direction: column; background: var(--rg-surface); border-radius: var(--rg-radius); overflow: hidden; }
.rg-promo__media { position: relative; aspect-ratio: 435 / 210; background: var(--rg-surface2); }
.rg-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rg-promo__plate { position: absolute; left: 18px; top: 18px; right: 28%; display: flex; flex-direction: column; align-items: flex-start; }
.rg-promo__title { display: inline; background: var(--rg-bg); padding: 6px 12px 4px; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; text-transform: var(--rg-case); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rg-promo__sub { display: inline-block; margin: 0; background: var(--rg-bg); padding: 4px 12px 8px; color: color-mix(in srgb, var(--rg-accent) 60%, var(--rg-text)); font: 700 14px/1.2 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .04em; }
.rg-promo__plate .rg-btn { margin-top: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.rg-promo__tcs { flex: 1; padding: 16px 18px 18px; font-size: 13px; line-height: 1.45; color: color-mix(in srgb, var(--rg-text) 88%, transparent); }
.rg-promo__tcs p { margin: 0; }
.rg-promo__tcs a { text-decoration: underline; text-underline-offset: 2px; }
.rg-promo__text { margin-bottom: 8px !important; color: var(--rg-text); font-size: 14px; }
.rg-arrow--float { position: absolute; top: calc((100% - 120px) / 2); z-index: 3; width: 44px; height: 44px; background: var(--rg-accent); color: var(--rg-btn-text); border: 0; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.rg-arrow--float:hover { filter: brightness(1.1); }
.rg-arrow--prev { left: 8px; }
.rg-arrow--next { right: 8px; }
.rg-arrow--float[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Category bar ---------- */
.rg-cats { padding: 22px 0 10px; }
.rg-cats__in { position: relative; display: flex; align-items: center; }
.rg-track--pills { grid-auto-columns: max-content; gap: 12px; padding-right: 56px; flex: 1; scroll-snap-type: x proximity; }
.rg-pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--rg-surface2); color: color-mix(in srgb, var(--rg-text) 72%, transparent); font: 700 15px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .03em; white-space: nowrap; transition: background .15s, color .15s; }
.rg-pill:hover, .rg-pill.is-active { color: var(--rg-text); background: color-mix(in srgb, var(--rg-surface2) 70%, var(--rg-text) 12%); }
.rg-pill.is-active { box-shadow: inset 0 0 0 1.5px var(--rg-accent); }
.rg-pill .rg-ico { width: 20px; height: 20px; }
.rg-pill--icon { width: 56px; padding: 0; justify-content: center; }
.rg-pill--icon .rg-svg { width: 24px; height: 24px; }
.rg-cats__more { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px 0 0 12px; background: var(--rg-accent); color: var(--rg-btn-text); box-shadow: -18px 0 22px var(--rg-bg); }
.rg-cats__more[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Game rows ---------- */
.rg-row { padding: 22px 0 12px; }
.rg-track--games { grid-auto-columns: 64%; }
.rg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rg-gap); }
.rg-game__link { display: block; }
.rg-game__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--rg-radius); overflow: hidden; background: var(--rg-surface2); }
.rg-game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rg-game__link:hover .rg-game__media img { transform: scale(1.05); }
.rg-game__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; pointer-events: none; }
.rg-game__link:hover .rg-game__media::after, .rg-game__link:focus-visible .rg-game__media::after { box-shadow: inset 0 0 0 2px var(--rg-accent); }
.rg-game__hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .2s; }
.rg-game__link:hover .rg-game__hover, .rg-game__link:focus-visible .rg-game__hover { opacity: 1; }
.rg-game__strip { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,0)); font: 700 15px/1.15 var(--rg-font-h); text-transform: var(--rg-case); }
.rg-game__name { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-game__provider { display: block; margin-top: 2px; font-size: 14px; color: var(--rg-muted); }
.rg-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 9px 3px; border-radius: 4px; background: var(--rg-accent); color: var(--rg-btn-text); font: 700 12px/1 var(--rg-font-h); text-transform: uppercase; letter-spacing: .06em; }
.rg-badge--hot { background: #e5484d; color: #fff; }
.rg-badge--new { background: #2fbf71; color: #08140d; }
.rg-badge--jackpot { background: linear-gradient(90deg, var(--rg-accent), color-mix(in srgb, var(--rg-accent) 60%, #fff)); }

/* Card shapes (Customizer → Game rows → Card shape) */
.rg-cards-tall .rg-game__media { aspect-ratio: 3 / 4; }
.rg-cards-square .rg-game__media { aspect-ratio: 1 / 1; }
.rg-cards-tall .rg-track--games, .rg-cards-square .rg-track--games { grid-auto-columns: 42%; }

/* ---------- Winners ticker ---------- */
.rg-winners { padding: 18px 0; }
.rg-winners__bar { display: flex; align-items: center; gap: 16px; background: var(--rg-surface); border: 1px solid var(--rg-border); border-radius: var(--rg-radius); padding: 10px 0 10px 18px; overflow: hidden; }
.rg-winners__label { flex: none; margin: 0; padding-right: 16px; border-right: 1px solid var(--rg-border); color: var(--rg-accent); font: 700 15px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .05em; }
.rg-winners__viewport { display: flex; overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rg-winners__list { display: flex; gap: 28px; padding-right: 28px; flex: none; animation: rg-marquee 40s linear infinite; }
.rg-winners__viewport:hover .rg-winners__list { animation-play-state: paused; }
.rg-win { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.rg-win__ava { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rg-surface2); color: var(--rg-accent); font-weight: 700; }
.rg-win__who { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
.rg-win__who span { color: var(--rg-muted); font-size: 12px; }
.rg-win__amt { color: var(--rg-accent); font: 700 17px/1 var(--rg-font-h); }
@keyframes rg-marquee { to { transform: translateX(-100%); } }

/* ---------- Banner (hero) ---------- */
.rg-banner__box { position: relative; display: flex; flex-direction: column; border-radius: calc(var(--rg-radius) * 1.5); overflow: hidden; background: color-mix(in srgb, var(--rg-bg) 60%, #000); isolation: isolate; }
.rg-banner__media { position: relative; z-index: -2; }
.rg-banner__bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.rg-banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0, var(--rg-overlay)); }
.rg-banner__content { position: relative; z-index: 1; padding: 0 22px 32px; max-width: 640px; }
.rg-banner__title { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; text-transform: var(--rg-case); margin-bottom: 22px; }
.rg-banner__list { display: grid; gap: 12px; margin-bottom: 28px; }
.rg-banner__list li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: color-mix(in srgb, var(--rg-text) 92%, transparent); }
.rg-banner__list .rg-svg { color: var(--rg-accent); width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: color-mix(in srgb, var(--rg-accent) 16%, transparent); }
.rg-banner .rg-btn--lg { background: linear-gradient(180deg, color-mix(in srgb, var(--rg-accent) 70%, #fff) 0%, var(--rg-accent) 55%, color-mix(in srgb, var(--rg-accent) 85%, #000) 100%); border-color: transparent; box-shadow: 0 10px 30px color-mix(in srgb, var(--rg-accent) 38%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.rg-banner .rg-small { margin-top: 22px; }
.rg-banner__side { display: none; position: absolute; right: 3%; bottom: 0; height: 104%; width: auto; max-width: 44%; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 18px 40px rgba(0,0,0,.5)); }

/* Split: image on the right fading into the box background (mobile: image on top) */
.rg-banner--split .rg-banner__media { aspect-ratio: 16 / 10; -webkit-mask: linear-gradient(to bottom, #000 55%, transparent 100%); mask: linear-gradient(to bottom, #000 55%, transparent 100%); }
.rg-banner--split .rg-banner__content { margin-top: -18%; }

/* Cover: full background + overlay + optional side illustration */
.rg-banner--cover .rg-banner__box { min-height: 380px; justify-content: center; }
.rg-banner--cover .rg-banner__media { position: absolute; inset: 0; }
.rg-banner--cover .rg-banner__media::after { background: linear-gradient(90deg, rgba(0,0,0, calc(var(--rg-overlay) + .3)) 0%, rgba(0,0,0, var(--rg-overlay)) 60%, rgba(0,0,0, calc(var(--rg-overlay) * .4)) 100%); }
.rg-banner--cover .rg-banner__content { padding: 36px 22px; }

/* ---------- Wheel ---------- */
.rg-wheel {
	--rg-gold-pale: color-mix(in srgb, var(--rg-accent) 45%, #fff1c4);
	--rg-gold-light: color-mix(in srgb, var(--rg-accent) 62%, #ffe3a0);
	--rg-gold-mid: color-mix(in srgb, var(--rg-accent) 80%, #9a6410);
	--rg-gold-dark: color-mix(in srgb, var(--rg-accent) 62%, #4a2c00);
	--rg-gold-deep: color-mix(in srgb, var(--rg-accent) 52%, #3a2000);
}
.rg-wheel__box { position: relative; display: grid; gap: 8px; border-radius: calc(var(--rg-radius) * 1.5); overflow: hidden; background: color-mix(in srgb, var(--rg-bg) 55%, #000); isolation: isolate; padding: 30px 22px 34px; }
.rg-wheel__media { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; -webkit-mask: linear-gradient(to bottom, transparent 0%, #000 45%); mask: linear-gradient(to bottom, transparent 0%, #000 45%); }
.rg-wheel__media img { width: 100%; height: 100%; object-fit: cover; }
.rg-wheel__text { position: relative; z-index: 2; max-width: 680px; }
.rg-wheel__title { font-size: clamp(34px, 4.2vw, 70px); line-height: 1.05; text-transform: var(--rg-case); margin: 6px 0 18px; }
.rg-wheel__desc { color: color-mix(in srgb, var(--rg-text) 88%, var(--rg-accent)); font-size: clamp(16px, 1.3vw, 20px); line-height: 1.55; max-width: 620px; }
.rg-wheel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.rg-btn--glow { background: linear-gradient(180deg, var(--rg-gold-light, color-mix(in srgb, var(--rg-accent) 70%, #fff)) 0%, var(--rg-gold-mid, var(--rg-accent)) 100%); border-color: transparent; color: var(--rg-btn-text); box-shadow: 0 8px 24px color-mix(in srgb, var(--rg-accent) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.35); }
.rg-wheel__result { margin: 16px 0 0; font-size: 16px; }
.rg-wheel__result strong { color: var(--rg-accent); font: 700 24px/1 var(--rg-font-h); text-transform: var(--rg-case); }
.rg-wheel .rg-small { margin-top: 20px; }

/* Stage: square, everything sized in % so it scales */
.rg-wheel__stage { position: relative; z-index: 2; width: min(100%, 380px); aspect-ratio: 1; margin: 28px auto 0; }
.rg-wheel__rim { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--rg-gold-pale) 0%, var(--rg-gold-dark) 20%, var(--rg-gold-light) 45%, color-mix(in srgb, var(--rg-accent) 50%, #000) 70%, var(--rg-gold-pale) 100%); box-shadow: 0 0 90px color-mix(in srgb, var(--rg-accent) 40%, transparent), 0 20px 40px rgba(0,0,0,.67); }
.rg-wheel__rim::after { content: ""; position: absolute; inset: 3.93%; border-radius: 50%; background: #100b06; }
.rg-wheel__disc { position: absolute; inset: 5.36%; }
.rg-wheel__svg { width: 100%; height: 100%; overflow: visible; transition: transform 5s cubic-bezier(.12,.68,.08,1); will-change: transform; }
.rg-seg--dark { fill: url(#rg-seg-dark); }
.rg-seg--gold { fill: url(#rg-seg-gold); }
.rg-stop-deep { stop-color: var(--rg-gold-deep); }
.rg-stop-light { stop-color: var(--rg-gold-light); }
.rg-stop-mid { stop-color: var(--rg-gold-mid); }
.rg-stop-pale { stop-color: var(--rg-gold-pale); }
.rg-seg-t { font: 700 22px var(--rg-font-h); letter-spacing: .6px; text-transform: uppercase; dominant-baseline: central; }
.rg-seg-t--dark { fill: var(--rg-gold-light); }
.rg-seg-t--gold { fill: #1a1208; }
.rg-wheel__dividers line { stroke: var(--rg-gold-light); stroke-width: 2; }
.rg-wheel__ring { fill: none; stroke: var(--rg-gold-light); stroke-width: 3; }
.rg-wheel__bulbs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 4px #ffd77a); }
.rg-wheel__bulbs circle { fill: #fff6d8; animation: rg-bulb 1.6s ease-in-out infinite; }
.rg-wheel__bulbs circle.is-alt { animation-delay: .8s; }
@keyframes rg-bulb { 50% { opacity: .45; } }
.rg-wheel__hub { position: absolute; left: 50%; top: 50%; width: 19.3%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(var(--rg-gold-pale) 0%, var(--rg-gold-dark) 20%, var(--rg-gold-light) 45%, color-mix(in srgb, var(--rg-accent) 50%, #000) 70%, var(--rg-gold-pale) 100%); box-shadow: 0 6px 20px rgba(0,0,0,.67); display: grid; place-items: center; }
.rg-wheel__hub span { width: 77.8%; aspect-ratio: 1; border-radius: 50%; background: #120d08; box-shadow: inset 0 0 0 1px var(--rg-gold-light); display: grid; place-items: center; color: var(--rg-gold-light); }
.rg-wheel__hub svg { width: 48%; height: auto; }
.rg-wheel__pointer { position: absolute; left: 50%; top: -4.6%; width: 8.6%; height: auto; transform: translateX(-50%); overflow: visible; filter: drop-shadow(0 6px 6px rgba(0,0,0,.67)); }
.rg-wheel__pointer-edge { stroke: color-mix(in srgb, var(--rg-accent) 50%, #000); stroke-width: 1; }

/* ---------- Prize popup ---------- */
.rg-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.rg-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.75); animation: rg-fade .25s; }
.rg-modal__panel { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; text-align: center; padding: 64px 28px 26px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--rg-accent) 45%, transparent); background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--rg-accent) 28%, #120d08) 0%, #0d0906 60%); box-shadow: 0 0 80px color-mix(in srgb, var(--rg-accent) 25%, transparent), 0 30px 60px rgba(0,0,0,.6); }
.rg-modal.is-in .rg-modal__panel { animation: rg-pop .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes rg-pop { from { transform: scale(.7); opacity: 0; } }
.rg-modal__x { position: absolute; top: 10px; right: 10px; color: var(--rg-muted); }
.rg-prize-modal { --rg-gold-pale: color-mix(in srgb, var(--rg-accent) 45%, #fff1c4); --rg-gold-light: color-mix(in srgb, var(--rg-accent) 62%, #ffe3a0); --rg-gold-mid: color-mix(in srgb, var(--rg-accent) 80%, #9a6410); --rg-gold-dark: color-mix(in srgb, var(--rg-accent) 62%, #4a2c00); }
.rg-prize-modal__badge { position: absolute; left: 50%; top: 0; width: 92px; aspect-ratio: 1; transform: translate(-50%, -38%); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--rg-gold-pale), var(--rg-gold-dark) 20%, var(--rg-gold-light) 45%, color-mix(in srgb, var(--rg-accent) 50%, #000) 70%, var(--rg-gold-pale)); box-shadow: 0 0 40px color-mix(in srgb, var(--rg-accent) 55%, transparent), 0 10px 24px rgba(0,0,0,.6); }
.rg-prize-modal__badge span { width: 78%; aspect-ratio: 1; border-radius: 50%; background: #120d08; display: grid; place-items: center; color: var(--rg-gold-light); box-shadow: inset 0 0 0 1px var(--rg-gold-light); }
.rg-modal__panel { overflow: visible; }
.rg-prize-modal .rg-modal__panel { margin-top: 40px; }
.rg-prize-modal__title { font-size: clamp(30px, 7vw, 40px); text-transform: var(--rg-case); margin: 2px 0 12px; }
.rg-prize-modal__lead { margin: 0; color: var(--rg-muted); font-size: 15px; }
.rg-prize-modal__prize { margin: 2px 0 14px; font: 700 clamp(40px, 11vw, 60px)/1.05 var(--rg-font-h); text-transform: uppercase; background: linear-gradient(180deg, var(--rg-gold-pale) 0%, var(--rg-gold-light) 45%, var(--rg-gold-mid) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--rg-accent) 40%, transparent)); }
.rg-prize-modal__text { color: color-mix(in srgb, var(--rg-text) 85%, transparent); font-size: 15px; max-width: 360px; margin: 0 auto 22px; }
.rg-prize-modal__cta { width: 100%; }
.rg-prize-modal__later { display: inline-block; margin-top: 12px; color: var(--rg-muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.rg-prize-modal__later:hover { color: var(--rg-text); }
.rg-prize-modal .rg-small { margin-top: 14px; }
.rg-prize-modal__burst { position: absolute; left: 50%; top: 0; width: 0; height: 0; pointer-events: none; }
.rg-prize-modal__burst span { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--rg-gold-pale), var(--rg-gold-mid) 70%); box-shadow: 0 0 8px color-mix(in srgb, var(--rg-accent) 70%, transparent); opacity: 0; }
.rg-modal.is-in .rg-prize-modal__burst span { animation: rg-burst 1.1s var(--d) cubic-bezier(.15,.7,.3,1) forwards; }
@keyframes rg-burst { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(1); opacity: 0; } }

/* ---------- Homepage page text ---------- */
.rg-home-text__title { margin-bottom: 16px; }
.rg-home-text__body { max-width: none; }
.rg-home-text__body > :first-child { margin-top: 0; }
.rg-home-text__body h2 { font-size: 22px; }
.rg-home-text__body li { margin-bottom: 4px; }
.rg-home-text__body li::marker { color: var(--rg-accent); }
.rg-home-text__edit { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--rg-muted); text-decoration: underline; }

/* ---------- Reviews ---------- */
.rg-track--reviews { grid-auto-columns: 86%; }
.rg-review { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.rg-review__title { font-size: 20px; text-transform: var(--rg-case); }
.rg-review__text { color: color-mix(in srgb, var(--rg-text) 82%, transparent); flex: 1; }
.rg-review__text p:last-child { margin: 0; }
.rg-stars { display: flex; gap: 2px; color: var(--rg-border); }
.rg-stars .is-on { color: var(--rg-accent); }
.rg-stars .rg-svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rg-review__author { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--rg-border); }
.rg-review__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.rg-review__author span { display: flex; flex-direction: column; line-height: 1.25; }
.rg-review__author span span { color: var(--rg-muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.rg-faq__list { display: grid; gap: 10px; }
.rg-faq__item { background: var(--rg-surface); border: 1px solid var(--rg-border); border-radius: var(--rg-radius); }
.rg-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 500; font-size: 16px; }
.rg-faq__item summary::-webkit-details-marker { display: none; }
.rg-faq__item summary .rg-svg { color: var(--rg-accent); transition: transform .2s; }
.rg-faq__item[open] summary .rg-svg { transform: rotate(45deg); }
.rg-faq__a { padding: 0 18px 16px; color: color-mix(in srgb, var(--rg-text) 80%, transparent); }
.rg-faq__a p:last-child { margin: 0; }

/* ---------- Logos (providers, payments) ---------- */
.rg-logos__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.rg-logos__item { display: grid; place-items: center; height: 72px; padding: 14px 18px; border-radius: var(--rg-radius); border: 1px solid var(--rg-border); transition: border-color .15s, background .15s; }
.rg-logos__item:hover { border-color: var(--rg-accent); background: var(--rg-surface); }
.rg-logos__item img { max-height: 30px; width: auto; max-width: 100%; object-fit: contain; opacity: .82; transition: opacity .15s; }
.rg-logos__item:hover img { opacity: 1; }
.rg-logos--payments .rg-logos__item img { max-height: 40px; }
.rg-logos--partners .rg-logos__item img { max-height: 44px; opacity: .9; }
.rg-logos.is-white .rg-logos__item img { filter: brightness(0) invert(1); }
.rg-logos__name { font: 700 15px/1.1 var(--rg-font-h); text-transform: uppercase; color: var(--rg-muted); text-align: center; }

/* ---------- Footer ---------- */
.rg-footer { margin-top: 40px; padding: 40px 0 28px; background: var(--rg-top-bg); border-top: 1px solid var(--rg-border); font-size: 14px; }
.rg-footer__cols { display: grid; gap: 28px; padding-bottom: 28px; }
.rg-footer__about { margin-top: 14px; color: var(--rg-muted); max-width: 420px; }
.rg-footer__title { font-size: 17px; text-transform: var(--rg-case); margin-bottom: 12px; color: var(--rg-accent); }
.rg-footer__menu li { margin: 0 0 8px; }
.rg-footer__menu a, .rg-legal a { color: color-mix(in srgb, var(--rg-text) 78%, transparent); }
.rg-footer__menu a:hover, .rg-legal a:hover { color: var(--rg-accent); }
.rg-safe { display: grid; gap: 18px; padding: 22px; border: 1px solid var(--rg-border); border-radius: var(--rg-radius); background: var(--rg-surface); }
.rg-safe__main { display: flex; gap: 18px; align-items: flex-start; }
.rg-safe__age { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #e5484d; font: 700 20px/1 var(--rg-font-h); }
.rg-safe__title { font-size: 20px; text-transform: var(--rg-case); margin-bottom: 6px; }
.rg-safe__text { color: color-mix(in srgb, var(--rg-text) 80%, transparent); margin-bottom: 6px; }
.rg-safe__link { color: var(--rg-accent); text-decoration: underline; text-underline-offset: 2px; }
.rg-safe__orgs { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-safe__org { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid var(--rg-border); border-radius: 6px; font: 700 15px/1 var(--rg-font-h); letter-spacing: .02em; color: color-mix(in srgb, var(--rg-text) 85%, transparent); }
.rg-safe__org:hover { border-color: var(--rg-accent); color: var(--rg-text); }
.rg-safe__org img { max-height: 28px; width: auto; }
.rg-safe__license { margin: 0; font-size: 13px; color: var(--rg-muted); }
.rg-footer__bottom { padding-top: 22px; }
.rg-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.rg-footer__disclaimer, .rg-footer__copy { font-size: 12.5px; color: var(--rg-muted); }
.rg-footer__copy { margin: 0; }

/* ---------- Pages ---------- */
.rg-page { padding-top: 32px; padding-bottom: 32px; }
.rg-page__head { margin: 10px 0 24px; }
.rg-content { max-width: 820px; color: color-mix(in srgb, var(--rg-text) 86%, transparent); font-size: 16px; line-height: 1.7; }
.rg-content a { color: var(--rg-accent); text-decoration: underline; }
.rg-content h2, .rg-content h3 { margin: 1.4em 0 .5em; text-transform: var(--rg-case); color: var(--rg-text); }
.rg-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.rg-entry { margin-bottom: 14px; }
.rg-entry__title { font-size: 22px; margin-bottom: 8px; }
.rg-slot { display: grid; gap: 28px; align-items: center; }
.rg-slot__media img { width: 100%; border-radius: var(--rg-radius); }
.rg-slot__body .rg-btn { margin-top: 18px; }
.rg-404 { text-align: center; padding: 80px 16px; }
.rg-404 .rg-h1 { font-size: 96px; color: var(--rg-accent); }
.nav-links { display: flex; gap: 8px; margin-top: 24px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; border-radius: 99px; background: var(--rg-surface2); padding: 0 12px; }
.page-numbers.current { background: var(--rg-accent); color: var(--rg-btn-text); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ---------- Drawer ---------- */
.rg-drawer, .rg-search { position: fixed; inset: 0; z-index: 100; }
.rg-drawer[hidden], .rg-search[hidden] { display: none; }
.rg-drawer__backdrop, .rg-search__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); animation: rg-fade .2s; }
.rg-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); display: flex; flex-direction: column; background: var(--rg-surface); border-right: 1px solid var(--rg-border); animation: rg-slide .25s ease; overflow-y: auto; }
.rg-drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--rg-top-h); padding: 0 12px 0 20px; border-bottom: 1px solid var(--rg-border); }
.rg-drawer__nav { padding: 12px; flex: 1; }
.rg-side a { display: flex; align-items: center; gap: 14px; padding: 13px 12px; border-radius: 8px; font: 700 17px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .02em; }
.rg-side a:hover, .rg-side .current-menu-item > a { background: var(--rg-surface2); color: var(--rg-accent); }
.rg-side .rg-ico { color: var(--rg-accent); }
.rg-side .sub-menu { padding-left: 34px; }
.rg-drawer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 24px; border-top: 1px solid var(--rg-border); }
@keyframes rg-fade { from { opacity: 0; } }
@keyframes rg-slide { from { transform: translateX(-100%); } }

/* ---------- Search overlay ---------- */
.rg-search__panel { position: relative; width: min(760px, calc(100% - 24px)); margin: 72px auto 0; background: var(--rg-surface); border: 1px solid var(--rg-border); border-radius: 14px; overflow: hidden; animation: rg-fade .2s; }
.rg-search__form { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--rg-border); }
.rg-search__form input[type="search"] { flex: 1; min-width: 0; height: 48px; background: transparent; border: 0; color: var(--rg-text); font: 400 18px var(--rg-font-b); outline: none; }
.rg-search__form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.rg-search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 16px; max-height: min(62vh, 560px); overflow-y: auto; }
.rg-search__results:empty { display: none; }
.rg-search__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: var(--rg-surface2); }
.rg-search__item strong { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rg-search__item span { font-size: 12px; color: var(--rg-muted); }
.rg-search__empty { padding: 22px; margin: 0; color: var(--rg-muted); text-align: center; }

/* ---------- Mobile tab bar & chat ---------- */
.rg-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--rg-top-bg); border-top: 1px solid var(--rg-border); padding-bottom: env(safe-area-inset-bottom); }
.rg-tabbar__menu { display: flex; }
.rg-tabbar__menu li { flex: 1; }
.rg-tabbar__menu a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 60px; font: 700 12px/1 var(--rg-font-h); text-transform: var(--rg-case); letter-spacing: .04em; color: var(--rg-muted); }
.rg-tabbar__menu .current-menu-item > a, .rg-tabbar__menu a:hover { color: var(--rg-accent); }
.rg-tabbar__menu .rg-ico { width: 22px; height: 22px; }
.has-tabbar { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
.rg-chat { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rg-accent); color: var(--rg-btn-text); box-shadow: 0 8px 24px rgba(0,0,0,.5); transition: transform .15s; }
.rg-chat:hover { transform: scale(1.06); }
.has-tabbar .rg-chat { bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
	:root { --rg-top-h: 60px; --rg-gap: 12px; }
	.rg-top__in { padding: 0 12px; gap: 6px; }
	.rg-top__nav { display: none; }
	.rg-top__actions { gap: 6px; }
	.rg-top__actions .rg-btn { min-width: 0; min-height: 36px; padding: 0 14px; font-size: 14px; }
	.rg-logo__mark { width: 30px; height: 30px; font-size: 20px; }
	.rg-logo__words { font-size: 17px; }
	.rg-arrows { display: none; }
	.rg-arrow--float { display: none; }
	.rg-promo__plate { right: 18px; }
	.rg-track--promos, .rg-track--games, .rg-track--reviews { margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
	.rg-cats__more { display: none; }
	.rg-track--pills { padding-right: 0; margin: 0 -16px; padding-left: 16px; }
	.rg-track--pills::after { content: ""; width: 4px; }
	.rg-pill { height: 40px; padding: 0 16px; font-size: 14px; }
	.rg-pill--icon { width: 48px; padding: 0; }
	.rg-winners__label { display: none; }
	.rg-winners__bar { padding-left: 0; }
}
@media (max-width: 420px) {
	.rg-top__actions .rg-btn--ghost { display: none; }
	.rg-logo__words { font-size: 15px; }
}
@media (min-width: 600px) {
	.rg-track--promos { grid-auto-columns: calc((100% - var(--rg-gap)) / 2); }
	.rg-track--games { grid-auto-columns: calc((100% - 2 * var(--rg-gap)) / 3); }
	.rg-track--reviews { grid-auto-columns: calc((100% - var(--rg-gap)) / 2); }
	.rg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rg-cards-tall .rg-track--games, .rg-cards-square .rg-track--games { grid-auto-columns: calc((100% - 3 * var(--rg-gap)) / 4); }
	.rg-footer__cols { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
	.rg-tabbar { display: none; }
	.has-tabbar { padding-bottom: 0; }
	.has-tabbar .rg-chat { bottom: 24px; }
	.rg-sec { padding: 26px 0; }
	.rg-track--games { grid-auto-columns: calc((100% - 3 * var(--rg-gap)) / 4); }
	.rg-track--reviews { grid-auto-columns: calc((100% - 2 * var(--rg-gap)) / 3); }
	.rg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rg-cards-tall .rg-track--games, .rg-cards-square .rg-track--games { grid-auto-columns: calc((100% - 5 * var(--rg-gap)) / 6); }
	.rg-cards-tall .rg-grid, .rg-cards-square .rg-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.rg-banner--split .rg-banner__box { flex-direction: row; align-items: center; min-height: clamp(440px, 38vw, 560px); }
	.rg-banner--split .rg-banner__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; aspect-ratio: auto; -webkit-mask: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 18%, #000 42%); mask: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 18%, #000 42%); }
	.rg-banner--split .rg-banner__content { margin-top: 0; padding: 56px 64px; max-width: 56%; }
	.rg-banner--cover .rg-banner__content { padding: 48px 56px; }
	.rg-banner--cover .rg-banner__side { display: block; }
	.rg-wheel__box { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 56px 7% 56px 64px; min-height: 520px; }
	.rg-wheel__media { top: 0; left: 37.5%; height: auto; -webkit-mask: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 22%, #000 42%); mask: linear-gradient(to right, transparent 0%, rgba(0,0,0,.6) 22%, #000 42%); }
	.rg-wheel__stage { width: clamp(340px, 33vw, 540px); margin: 0; }
	.rg-slot { grid-template-columns: 1.2fr 1fr; }
	.rg-safe { grid-template-columns: 1.4fr 1fr; align-items: center; }
	.rg-safe__license { grid-column: 1 / -1; }
	.rg-safe__orgs { justify-content: flex-end; }
}
@media (min-width: 1100px) {
	.rg-track--promos { grid-auto-columns: calc((100% - 2 * var(--rg-gap)) / 3); }
	.rg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 782px) { .admin-bar.has-sticky-top .rg-top { top: 0; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.rg-winners__list { animation: none; }
	.rg-winners__viewport { overflow-x: auto; }
}
