/* =========================================================
   Al Orouba Online — free-to-play virtual coin games
   ========================================================= */
:root {
  --bg: #14060d;
  --bg-2: #1c0a13;
  --panel: #26101b;
  --panel-2: #321524;
  --panel-3: #3e1a2d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #fff5e6;
  --muted: #cfb8a8;
  --dim: #9a7f72;
  --gold: #e9b95a;
  --gold-2: #c98f35;
  --gold-ink: #2a0b16;
  --violet: #1cb5a8;
  --violet-2: #0f7a72;
  --cyan: #5fd6c9;
  --pink: #d9486a;
  --green: #3ddc84;
  --red: #ff5a6e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 0 1px rgba(28, 181, 168, .25), 0 20px 60px -20px rgba(28, 181, 168, .55);
  --container: 1180px;
  --header-h: 68px;
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "El Messiri", "Cairo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(28, 181, 168, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(95, 214, 201, .07), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--gold-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-tight { padding: 28px 0; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(180deg, #fff0c4, var(--gold) 50%, var(--gold-2)); color: #2a0b16; border-color: rgba(107, 58, 12, .6); box-shadow: 0 8px 24px -8px rgba(201, 143, 53, .6), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover { box-shadow: 0 12px 30px -8px rgba(201, 143, 53, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-violet { background: linear-gradient(180deg, #3fd1c3, var(--violet-2)); color: #fff; box-shadow: 0 8px 24px -10px rgba(28, 181, 168, .8); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(20, 6, 13, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-text { font-family: var(--font-display); font-weight: 800; letter-spacing: .06em; font-size: 15px; line-height: 1; text-transform: uppercase; }
.brand-text small { display: block; font-size: 9.5px; letter-spacing: .28em; color: var(--gold); font-weight: 700; margin-top: 4px; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px;
  color: var(--muted); font-weight: 600; font-size: 13.5px; white-space: nowrap; transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav a[aria-current="page"] { color: var(--text); background: rgba(28, 181, 168, .16); box-shadow: inset 0 0 0 1px rgba(28, 181, 168, .35); }
.main-nav a .icon { width: 15px; height: 15px; opacity: .8; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); align-items: center; justify-content: center; }

/* player chip */
.coin-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(233, 185, 90, .16), rgba(201, 143, 53, .08)); border: 1px solid rgba(233, 185, 90, .35);
  font-weight: 800; font-variant-numeric: tabular-nums; color: #ffe7a3; font-size: 14px;
}
.coin-chip img { width: 26px; height: 26px; }
.coin-chip.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(233, 185, 90, .15); } }
.player-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 4px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); text-align: left;
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--violet), var(--pink)); font-weight: 800; font-size: 13px; color: #fff;
}
.player-meta { line-height: 1.15; }
.player-meta strong { display: block; font-size: 13px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-meta span { font-size: 11px; color: var(--muted); }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 1px; box-shadow: 0 0 0 3px rgba(61, 220, 132, .15); }
.status-dot.off { background: var(--dim); box-shadow: none; }
.guest-status { font-size: 12px; color: var(--muted); display: flex; align-items: center; white-space: nowrap; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px; border-radius: 16px;
  background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: none;
}
.dropdown.open .dropdown-menu { display: block; animation: pop .16s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.dropdown-head { padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-head .muted { font-size: 12px; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; background: none; border: 0; font-size: 14px; color: var(--text); text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: rgba(255, 255, 255, .06); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 6, 13, .92) 0%, rgba(20, 6, 13, .55) 45%, rgba(20, 6, 13, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(20, 6, 13, 0) 35%); }
.hero-content { padding: 90px 0 64px; max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--gold); border-radius: 1px; transform: rotate(45deg); }
.eyebrow.no-line::before { display: none; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); font-weight: 800; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #fff4d6, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: #e8d6c6; max-width: 460px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 15px; height: 15px; color: var(--cyan); }

/* ---------- Panels ---------- */
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.panel-pad { padding: 28px; }
.panel-pad > h2 { display: flex; align-items: center; gap: 8px; }
.panel-pad > h2 .icon { color: var(--gold); }

/* jackpot panel */
.jackpot-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; padding: 36px 40px; border-color: rgba(28, 181, 168, .3); box-shadow: var(--shadow-glow); }
.jackpot-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent); pointer-events: none; }
.jackpot-panel > * { position: relative; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.live-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 90, 110, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 110, 0); } }
.jackpot-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1; margin: 12px 0 14px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 20%, #ffe7a3 60%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: baseline; gap: 10px; }
.jackpot-value small { font-size: .32em; color: var(--gold); -webkit-text-fill-color: var(--gold); letter-spacing: .08em; }
.progress { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), #fff0c4); box-shadow: 0 0 16px rgba(233, 185, 90, .6); transition: width .6s ease; }
.progress.violet > span { background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 16px rgba(28, 181, 168, .5); }
.progress-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; gap: 12px; }
.countdown { display: flex; gap: 10px; margin: 22px 0 0; align-items: center; flex-wrap: wrap; }
.countdown .unit { width: 60px; padding: 8px 0; text-align: center; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.countdown .unit b { display: block; font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }
.countdown .unit span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.jackpot-coin { justify-self: center; width: min(290px, 100%); aspect-ratio: 1; position: relative; }
.jackpot-coin img { width: 100%; filter: drop-shadow(0 20px 50px rgba(201, 143, 53, .45)); animation: float 5s ease-in-out infinite; }
.jackpot-coin .orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff4d6, var(--gold-2)); box-shadow: 0 0 20px rgba(233, 185, 90, .7); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* promo carousel */
.promo { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(217, 72, 106, .25); }
.promo-track { display: flex; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.promo-slide { flex: 0 0 100%; min-height: 330px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; padding: 40px 48px; gap: 20px; }
.promo-slide.s1 { background: radial-gradient(600px 300px at 80% 50%, rgba(233, 185, 90, .25), transparent 60%), linear-gradient(120deg, #4a0f2c, #7a1a3c 60%, #a8324a); }
.promo-slide.s2 { background: radial-gradient(600px 300px at 80% 50%, rgba(95, 214, 201, .3), transparent 60%), linear-gradient(120deg, #0b3a3f, #0f5e5a 55%, #138f86); }
.promo-slide.s3 { background: radial-gradient(600px 300px at 80% 50%, rgba(217, 72, 106, .3), transparent 60%), linear-gradient(120deg, #2a1a4a, #4a2a6e 55%, #7a4a2a); }
.promo-slide h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.promo-slide p { color: #fbeee0; max-width: 440px; }
.promo-slide .fine { font-size: 13px; color: #e3cdbb; margin-top: 16px; margin-bottom: 0; }
.promo-art { justify-self: center; width: min(300px, 90%); }
.promo-art img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.promo-controls { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 8px; }
.round-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); transition: background .15s; }
.round-btn:hover { background: rgba(255, 255, 255, .14); }
.round-btn:disabled { opacity: .35; cursor: default; }
.promo-dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 6px; }
.promo-dots button { width: 22px; height: 5px; border-radius: 5px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); }
.promo-dots button[aria-current="true"] { background: var(--gold); width: 36px; }

/* quick tiles */
.quick-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.quick-tile:hover { border-color: rgba(233, 185, 90, .35); transform: translateY(-2px); background: var(--panel-2); }
.quick-tile .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--gold), #ff7a1a); color: var(--gold-ink); }
.quick-tile .ico.v { background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.quick-tile .ico.c { background: linear-gradient(135deg, var(--cyan), #2f8bff); color: #04222a; }
.quick-tile strong { display: block; font-size: 14px; }
.quick-tile span { font-size: 12px; color: var(--muted); }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--panel); border: 1px solid var(--line); color: var(--muted); transition: all .15s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-pressed="true"], .chip.active { color: #062a27; background: var(--violet); border-color: var(--violet); }
.chip .icon { width: 15px; height: 15px; }

/* section head */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: 20px; margin: 0; display: flex; align-items: center; gap: 10px; }
.section-head h2 .icon { color: var(--gold); }
.section-head .actions { display: flex; align-items: center; gap: 8px; }
.see-all { font-size: 13px; color: var(--muted); display: inline-flex; white-space: nowrap; align-items: center; gap: 4px; font-weight: 600; }
.see-all:hover { color: var(--text); }

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game-card { position: relative; border-radius: 18px 18px 14px 14px; border-top: 2px solid rgba(233, 185, 90, .35); background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(233, 185, 90, .4); box-shadow: 0 20px 40px -20px rgba(233, 185, 90, .35); }
.game-thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #2a0b16; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game-card:hover .game-thumb img { transform: scale(1.05); }
.game-thumb .play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 6, 13, .45); opacity: 0; transition: opacity .2s; }
.game-card:hover .play-overlay, .game-card:focus-within .play-overlay { opacity: 1; }
.play-overlay span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2a0b16; box-shadow: 0 10px 30px rgba(233, 185, 90, .5); }
.tag { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(20, 6, 13, .75); color: var(--gold); border: 1px solid rgba(233, 185, 90, .35); backdrop-filter: blur(4px); }
.tag.new { color: #04222a; background: var(--cyan); border-color: var(--cyan); }
.game-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.game-info h3 { font-size: 15px; margin: 0; }
.game-info h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.game-info .cat { font-size: 12px; color: var(--muted); }
.game-info .desc { font-size: 13px; color: var(--muted); margin: 4px 0 6px; }
.coin-line { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #ffe7a3; }
.coin-line img { width: 16px; height: 16px; }
.game-card .btn { position: relative; z-index: 2; margin-top: auto; }
.game-card.detailed .game-thumb { aspect-ratio: 16 / 13; }
.game-card.detailed .game-thumb img { object-position: 50% 30%; }
.is-hidden { display: none !important; }

/* horizontal row with arrows (home) */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* activity */
.activity { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.activity::-webkit-scrollbar { display: none; }
.activity-item { flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; }
.activity-item img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.activity-item .amt { font-weight: 800; color: var(--green); margin-left: 6px; }
.activity-item .amt.neg { color: var(--red); }
.empty { padding: 22px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; font-size: 14px; }

/* provider tiles */
.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.provider-mini { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.provider-mini:hover { border-color: var(--line-2); }
.provider-mini .top { display: flex; align-items: center; gap: 10px; }
.monogram { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; letter-spacing: .02em; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.provider-mini strong { font-size: 14px; }
.provider-mini span { font-size: 12px; color: var(--muted); }
.provider-card { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); gap: 14px; }
.provider-card .top { display: flex; gap: 14px; align-items: center; }
.provider-card .monogram { width: 54px; height: 54px; border-radius: 14px; font-size: 19px; }
.provider-card h3 { margin: 0; font-size: 18px; }
.provider-card .hq { font-size: 12px; color: var(--muted); }
.provider-card p { color: #e8d6c6; font-size: 14px; margin: 0; }
.provider-card .known { font-size: 12.5px; color: var(--muted); }
.provider-card .known b { color: var(--text); font-weight: 600; }
.provider-card .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.provider-card .links .btn { height: 36px; font-size: 13px; }
.info-banner { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: rgba(95, 214, 201, .08); border: 1px solid rgba(95, 214, 201, .3); color: #d4f7f3; font-size: 14px; }
.info-banner .icon { color: var(--cyan); margin-top: 2px; }
.info-banner.gold { background: rgba(233, 185, 90, .07); border-color: rgba(233, 185, 90, .3); color: #fbecc4; }
.info-banner.gold .icon { color: var(--gold); }

/* why / features */
.why-head { text-align: center; margin-bottom: 30px; }
.why-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(28, 181, 168, .16); color: #8ff3e6; margin-bottom: 16px; border: 1px solid rgba(28, 181, 168, .3); }
.feature h3 { font-size: 16px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.trust-row > div { padding: 26px 22px; text-align: center; }
.trust-row > div + div { border-left: 1px solid var(--line); }
.trust-row .ico { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: rgba(61, 220, 132, .12); color: var(--green); }
.trust-row h3 { font-size: 15px; margin-bottom: 4px; }
.trust-row p { font-size: 13px; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: 60px 24px; border-radius: var(--radius-lg); background: radial-gradient(500px 200px at 50% 0%, rgba(233, 185, 90, .18), transparent 70%), linear-gradient(180deg, #5a1430, #2e0b1c); border: 1px solid rgba(28, 181, 168, .35); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: #f0dfd0; max-width: 440px; margin: 0 auto 24px; }
.cta-band .deco { position: absolute; width: 70px; opacity: .85; filter: drop-shadow(0 8px 20px rgba(201,143,53,.35)); }

/* SEO block */
.seo-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); }
.seo-block h2 { font-size: 17px; }
.seo-block h3 { font-size: 14.5px; margin-top: 18px; }
.seo-block p { font-size: 13.5px; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 64px 0 40px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(700px 300px at 80% 0%, rgba(28, 181, 168, .25), transparent 70%), radial-gradient(500px 260px at 10% 100%, rgba(233, 185, 90, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.page-hero p { color: #e8d6c6; max-width: 640px; font-size: 16px; }
.breadcrumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* ---------- Game player page ---------- */
.player-shell { border-radius: 20px; overflow: hidden; background: #0d0409; border: 1px solid var(--line-2); box-shadow: var(--shadow-glow); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.player-bar .title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-bar .title img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: 50% 30%; }
.player-bar h1 { font-size: 17px; margin: 0; }
.player-bar .title span { font-size: 12px; color: var(--muted); }
.player-bar .tools { display: flex; align-items: center; gap: 8px; }
.frame-wrap { position: relative; aspect-ratio: 16 / 9; min-height: 420px; max-height: 78vh; width: 100%; background: radial-gradient(circle at 50% 40%, #3a1226, #0d0409 70%); }
.frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame-gate { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(180deg, rgba(7, 6, 26, .55), rgba(7, 6, 26, .92)); z-index: 2; }
.frame-gate .inner { max-width: 420px; }
.frame-gate img.thumb { width: 120px; border-radius: 16px; margin: 0 auto 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.frame-gate h2 { font-size: 24px; }
.frame-gate p { color: var(--muted); font-size: 14px; }
.frame-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--gold); animation: spin .9s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-shell:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.player-shell:fullscreen .frame-wrap { flex: 1; aspect-ratio: auto; max-height: none; }
.game-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; margin-top: 28px; }
.side-card { padding: 22px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.side-card h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.side-card h2 .icon { color: var(--gold); }
.side-card + .side-card { margin-top: 16px; }
.kv { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv li:last-child { border-bottom: 0; }
.kv li span:first-child { color: var(--muted); }
.kv li span:last-child { font-weight: 600; text-align: right; }

/* ---------- Rewards / jackpot ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.stat > span { font-size: 12px; color: var(--muted); display: block; }
.stat b { font-family: var(--font-display); font-size: 26px; font-variant-numeric: tabular-nums; }
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 18px 0; }
.streak .day { text-align: center; padding: 12px 4px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.streak .day b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--text); margin-top: 4px; }
.streak .day img { width: 28px; height: 28px; margin: 6px auto 0; }
.streak .day.done { border-color: rgba(61, 220, 132, .45); background: rgba(61, 220, 132, .08); }
.streak .day.today { border-color: var(--gold); background: rgba(233, 185, 90, .1); box-shadow: 0 0 0 3px rgba(233, 185, 90, .12); }
.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge { padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: center; position: relative; }
.badge .medal { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 2px dashed var(--line-2); color: var(--dim); }
.badge.unlocked .medal { background: radial-gradient(circle at 35% 30%, #fff4d6, var(--gold) 50%, #a86b1c); border: 3px solid #ffe7a3; color: var(--gold-ink); box-shadow: 0 10px 30px -8px rgba(233, 185, 90, .7); }
.badge h3 { font-size: 14px; margin-bottom: 4px; }
.badge p { font-size: 12.5px; color: var(--muted); margin: 0; }
.badge .state { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.badge.unlocked .state { color: var(--green); }
.milestones { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.milestone { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.milestone .num { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; background: rgba(28, 181, 168, .15); border: 1px solid rgba(28, 181, 168, .35); }
.milestone.reached .num { background: linear-gradient(135deg, var(--gold), #ff7a1a); color: var(--gold-ink); border: 0; }
.milestone h3 { font-size: 14.5px; margin: 0 0 6px; }
.milestone .progress { height: 6px; }
.level-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.level-ring { width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), rgba(255, 255, 255, .08) 0); }
.level-ring > div { width: 88px; height: 88px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; text-align: center; line-height: 1.1; }
.level-ring b { font-family: var(--font-display); font-size: 30px; display: block; }
.level-ring span { font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.level-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.level-table th, .level-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.level-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.level-table tr.current td { color: var(--gold); font-weight: 700; }
.chest { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.chest-art { width: 140px; height: 140px; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(circle, rgba(233, 185, 90, .25), transparent 70%); }
.chest-art img { width: 110px; }
.chest-art.shake img { animation: shake .6s ease; }
@keyframes shake { 20%, 60% { transform: rotate(-8deg) scale(1.05); } 40%, 80% { transform: rotate(8deg) scale(1.05); } }
.odds { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.odds td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.odds td:last-child { text-align: right; color: var(--muted); }

/* ---------- Prose / legal ---------- */
.prose-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-size: 13.5px; }
.toc strong { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--text); }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 36px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; margin-top: 22px; }
.prose p, .prose li { color: #e8d6c6; font-size: 15px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.prose code { font-size: 13px; background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 6px; }
.updated { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq-group { margin-bottom: 34px; scroll-margin-top: calc(var(--header-h) + 20px); }
.faq-group > h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.faq-group > h2 .icon { color: var(--gold); }
details.faq { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px; }
details.faq[open] { border-color: rgba(28, 181, 168, .35); }
details.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 20px; color: var(--gold); line-height: 1; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer { padding: 0 18px 16px; color: #e8d6c6; font-size: 14.5px; }
details.faq .answer p:last-child { margin: 0; }
.help-search { position: relative; max-width: 520px; margin-top: 22px; }
.help-search input { padding-left: 44px; height: 52px; font-size: 15px; }
.help-search .icon { position: absolute; left: 16px; top: 17px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 36px; }
.topic { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.topic:hover { border-color: var(--line-2); background: var(--panel-2); }
.topic .icon { color: var(--gold); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--muted); }
.input, input[type="text"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 14.5px; color: var(--text);
  background: rgba(0, 0, 0, .28); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--panel-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 185, 90, .15); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--red); }
.field .error { font-size: 12px; color: var(--red); display: none; }
.field.invalid .error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { display: none; padding: 16px; border-radius: 12px; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .35); color: #c9f7dc; font-size: 14px; margin-bottom: 16px; }
.form-success.show { display: block; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.contact-card + .contact-card { margin-top: 12px; }
.contact-card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(28, 181, 168, .15); color: #8ff3e6; }
.contact-card h3 { font-size: 15px; margin-bottom: 2px; }
.contact-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.contact-card a { color: var(--gold); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 3, 7, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; border-radius: 22px; background: linear-gradient(180deg, var(--panel-3), var(--panel)); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8); animation: modalIn .22s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.modal-top { position: relative; padding: 28px 28px 10px; text-align: center; }
.modal-top img { width: 64px; margin: 0 auto 12px; }
.modal-top h2 { font-size: 24px; margin-bottom: 6px; }
.modal-top p { color: var(--muted); font-size: 14px; margin: 0; }
.modal-body { padding: 16px 28px 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); display: grid; place-items: center; z-index: 2; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .3); margin-bottom: 18px; }
.tabs button { height: 38px; border-radius: 9px; border: 0; background: none; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--panel-3); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .3); }
.bonus-pill { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(233, 185, 90, .08); border: 1px solid rgba(233, 185, 90, .3); font-size: 13px; color: #fbecc4; margin-bottom: 16px; }
.bonus-pill img { width: 28px; }
.modal-foot { font-size: 12px; color: var(--dim); text-align: center; margin: 14px 0 0; }

/* toast */
.toast-stack { position: fixed; z-index: 120; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; animation: toastIn .3s ease; }
.toast img { width: 30px; flex: none; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* cookie banner */
.cookie-bar { position: fixed; z-index: 90; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); display: none; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 13px; color: #f0dfd0; }
.cookie-bar strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-bar .btns { display: flex; gap: 8px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), #0d0409); padding: 56px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; max-width: 300px; margin-top: 16px; }
.footer-col h3 { font-family: var(--font); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: #e8d6c6; }
.footer-col a:hover { color: var(--gold); }
.footer-rp { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.footer-rp .left { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #e8d6c6; }
.footer-rp .age { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; border: 2px solid var(--line-2); flex: none; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #e8d6c6; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.pill .icon { width: 13px; height: 13px; color: var(--green); }
.disclaimer { margin-top: 22px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.disclaimer strong { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

.game-grid.four { grid-template-columns: repeat(4, 1fr); }
.provider-grid.three { grid-template-columns: repeat(3, 1fr); }
.contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) { .main-nav a .icon { display: none; } .main-nav a { padding: 0 10px; } }
@media (max-width: 1100px) {
  .main-nav a { padding: 0 8px; font-size: 13px; }
  .player-meta { display: none; }
  .player-btn { padding: 0 4px; }
  .guest-status { display: none; }
}
@media (max-width: 1024px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 32px) / 3.3); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .provider-grid, .provider-grid.three { grid-template-columns: repeat(2, 1fr); }
  .badge-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .game-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 6, 13, .97); }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: rgba(20, 6, 13, .98); padding: 16px 20px 32px; overflow-y: auto; display: none; }
  .main-nav.open { display: block; animation: pop .2s ease; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { height: 52px; font-size: 16px; padding: 0 14px; width: 100%; }
  .main-nav a .icon { display: inline; width: 18px; height: 18px; }
  .mobile-account { display: block !important; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
  .header-inner { gap: 12px; }
  .brand { margin-right: auto; }
  .jackpot-panel { grid-template-columns: 1fr; padding: 28px 24px; }
  .jackpot-coin { width: 180px; order: -1; }
  .promo-slide { grid-template-columns: 1fr; padding: 32px 24px 64px; }
  .promo-art { width: 160px; order: -1; justify-self: start; }
  .promo-dots { left: 24px; }
  .quick-tiles { grid-template-columns: repeat(2, 1fr); }
  .seo-block { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .game-grid.four { grid-template-columns: repeat(2, 1fr); }
  .prose-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
.mobile-account { display: none; }
@media (max-width: 400px) { .brand-text small { display: none; } .brand-text { font-size: 12px; } }
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .brand-text { font-size: 13px; }
  .brand-text small { font-size: 8.5px; }
  .brand img { width: 30px; height: 30px; }
  .header-actions .btn-ghost.login-btn { display: none; }
  .header-actions .dropdown { display: none; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 8px; }
  .brand { gap: 8px; }
  .nav-toggle { width: 38px; height: 38px; }
  .section-head h2 { font-size: 18px; }
  .section-head h2 [data-filter-count] { display: none; }
  .header-actions .btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .coin-chip { height: 34px; font-size: 13px; padding-right: 10px; }
  .coin-chip img { width: 22px; height: 22px; }
  .hero { min-height: 480px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 8%, rgba(20, 6, 13, .85) 55%, rgba(20, 6, 13, .3)); }
  .hero-content { padding: 150px 0 40px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rail { grid-auto-columns: 44%; gap: 12px; }
  .game-info { padding: 10px 12px 12px; }
  .game-info .desc { display: none; }
  .game-card.detailed .game-info .desc { display: block; }
  .quick-tiles { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .provider-grid, .provider-grid.three { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .streak { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-bar .btns .btn { flex: 1; }
  .frame-wrap { aspect-ratio: 3 / 4; min-height: 0; max-height: 80vh; }
  .chest { grid-template-columns: 1fr; text-align: center; }
  .chest-art { margin: 0 auto; }
  .level-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .milestone { grid-template-columns: 40px 1fr; }
  .milestone .num { width: 40px; height: 40px; }
  .milestone > :last-child { grid-column: 1 / -1; }
  .topic-grid { grid-template-columns: 1fr; }
  .panel-pad { padding: 20px; }
  .countdown .unit { width: 54px; }
  .seo-block { padding: 22px; }
  .stat b { font-size: 22px; }
  .modal-top, .modal-body { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
