/* =========================================================
   AGKeno — free-to-play virtual coin games (keno-board theme, light)
   ========================================================= */
:root {
  --bg: #f3f5f9;
  --bg-2: #e9edf4;
  --panel: #ffffff;
  --panel-2: #fbfcfe;
  --panel-3: #ffffff;
  --line: rgba(17, 26, 51, .1);
  --line-2: rgba(17, 26, 51, .18);
  --text: #111a33;
  --muted: #56607a;
  --dim: #8b94aa;
  --gold: #2f5bff;
  --gold-2: #1f43d6;
  --gold-ink: #ffffff;
  --violet: #ff7a45;
  --violet-2: #e8602b;
  --cyan: #2fb6ff;
  --pink: #c6f432;
  --green: #22a062;
  --red: #e5484d;
  --radius: 20px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(47, 91, 255, .45);
  --shadow-glow: 0 0 0 1px rgba(255, 122, 69, .25), 0 20px 60px -20px rgba(255, 122, 69, .55);
  --container: 1180px;
  --header-h: 68px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", 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(255, 122, 69, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 122, 69, .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: 999px; 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, #e4ebff, var(--gold) 50%, var(--gold-2)); color: #ffffff; border-color: rgba(17, 26, 51, .6); box-shadow: 0 8px 24px -8px rgba(31, 67, 214, .6), inset 0 1px 0 rgba(17, 26, 51, .6); }
.btn-gold:hover { box-shadow: 0 12px 30px -8px rgba(31, 67, 214, .8), inset 0 1px 0 rgba(17, 26, 51, .6); }
.btn-violet { background: linear-gradient(180deg, #2fb6ff, var(--violet-2)); color: #fff; box-shadow: 0 8px 24px -10px rgba(255, 122, 69, .8); }
.btn-ghost { background: rgba(17, 26, 51, .06); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(17, 26, 51, .1); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.btn-lg { height: 52px; padding: 0 30px; font-size: 15px; border-radius: 999px; }
.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(243, 245, 249, .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(17, 26, 51, .05); }
.main-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 122, 69, .16); box-shadow: inset 0 0 0 1px rgba(255, 122, 69, .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(17, 26, 51, .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(47, 91, 255, .16), rgba(31, 67, 214, .08)); border: 1px solid rgba(47, 91, 255, .35);
  font-weight: 800; font-variant-numeric: tabular-nums; color: #1f43d6; 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(47, 91, 255, .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(17, 26, 51, .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(34, 160, 98, .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(17, 26, 51, .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(243, 245, 249, .92) 0%, rgba(243, 245, 249, .55) 45%, rgba(243, 245, 249, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(243, 245, 249, 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: 26px; height: 3px; background: currentColor; }
.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, #eef2ff, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: #3b4560; 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(255, 122, 69, .3); box-shadow: var(--shadow-glow); }
.jackpot-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(17, 26, 51, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 26, 51, .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(47, 91, 255, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47, 91, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 91, 255, 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%, #1f43d6 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(17, 26, 51, .08); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), #e4ebff); box-shadow: 0 0 16px rgba(47, 91, 255, .6); transition: width .6s ease; }
.progress.violet > span { background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 16px rgba(255, 122, 69, .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(31, 67, 214, .45)); animation: float 5s ease-in-out infinite; }
.jackpot-coin .orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #eef2ff, var(--gold-2)); box-shadow: 0 0 20px rgba(47, 91, 255, .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(198, 244, 50, .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(47, 91, 255, .25), transparent 60%), linear-gradient(120deg, #ff7a45, #2f5bff 60%, #2f5bff); }
.promo-slide.s2 { background: radial-gradient(600px 300px at 80% 50%, rgba(255, 122, 69, .3), transparent 60%), linear-gradient(120deg, #e8602b, #ff7a45 55%, #ffab86); }
.promo-slide.s3 { background: radial-gradient(600px 300px at 80% 50%, rgba(198, 244, 50, .3), transparent 60%), linear-gradient(120deg, #ff7a45, #c6f432 55%, #c6f432); }
.promo-slide h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.promo-slide p { color: #eef1f6; max-width: 440px; }
.promo-slide .fine { font-size: 13px; color: #d3dae6; 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(17, 26, 51, .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(17, 26, 51, .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(47, 91, 255, .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), #ff7a45); 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), #2f5bff); color: #111a33; }
.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 16px; border-radius: 999px; 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: #ffffff; 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(47, 91, 255, .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(47, 91, 255, .4); box-shadow: 0 20px 40px -20px rgba(47, 91, 255, .35); }
.game-thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #ffffff; }
.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(243, 245, 249, .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: #ffffff; box-shadow: 0 10px 30px rgba(47, 91, 255, .5); }
.tag { position: absolute; top: 12%; left: 7%; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(243, 245, 249, .75); color: var(--gold); border: 1px solid rgba(47, 91, 255, .35); backdrop-filter: blur(4px); }
.tag.new { color: #111a33; 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: #1f43d6; }
.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: #3b4560; 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(255, 122, 69, .08); border: 1px solid rgba(255, 122, 69, .3); color: #111a33; font-size: 14px; }
.info-banner .icon { color: var(--cyan); margin-top: 2px; }
.info-banner.gold { background: rgba(47, 91, 255, .07); border-color: rgba(47, 91, 255, .3); color: #0b1226; }
.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(255, 122, 69, .16); color: var(--violet); margin-bottom: 16px; border: 1px solid rgba(255, 122, 69, .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(34, 160, 98, .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(47, 91, 255, .18), transparent 70%), linear-gradient(180deg, #1b2a5c, #111a33); border: 1px solid rgba(255, 122, 69, .35); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: #dfe5ef; max-width: 440px; margin: 0 auto 24px; }
.cta-band .deco { position: absolute; width: 70px; opacity: .85; filter: drop-shadow(0 8px 20px rgba(31,67,214,.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(255, 122, 69, .25), transparent 70%), radial-gradient(500px 260px at 10% 100%, rgba(47, 91, 255, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.page-hero p { color: #3b4560; 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: #0b1226; 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%, #1b2a5c, #0b1226 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(17, 26, 51, .55), rgba(17, 26, 51, .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(17, 26, 51, .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(34, 160, 98, .45); background: rgba(34, 160, 98, .08); }
.streak .day.today { border-color: var(--gold); background: rgba(47, 91, 255, .1); box-shadow: 0 0 0 3px rgba(47, 91, 255, .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(17, 26, 51, .05); border: 2px dashed var(--line-2); color: var(--dim); }
.badge.unlocked .medal { background: radial-gradient(circle at 35% 30%, #eef2ff, var(--gold) 50%, #1f43d6); border: 3px solid #1f43d6; color: var(--gold-ink); box-shadow: 0 10px 30px -8px rgba(47, 91, 255, .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(255, 122, 69, .15); border: 1px solid rgba(255, 122, 69, .35); }
.milestone.reached .num { background: linear-gradient(135deg, var(--gold), #ff7a45); 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(17, 26, 51, .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(47, 91, 255, .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: #3b4560; 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(17, 26, 51, .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(255, 122, 69, .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: #3b4560; 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(47, 91, 255, .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(34, 160, 98, .1); border: 1px solid rgba(34, 160, 98, .35); color: #14603b; 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(255, 122, 69, .15); color: var(--violet); }
.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(17, 26, 51, .55); 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(17, 26, 51, .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(47, 91, 255, .08); border: 1px solid rgba(47, 91, 255, .3); font-size: 13px; color: #0b1226; 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: var(--muted); }
.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: #fff; 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: #3b4560; }
.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(17, 26, 51, .03); border: 1px solid var(--line); }
.footer-rp .left { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: #3b4560; }
.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: #3b4560; background: rgba(17, 26, 51, .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(243, 245, 249, .97); }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: rgba(243, 245, 249, .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(243, 245, 249, .85) 55%, rgba(243, 245, 249, .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; }
}





/* =========================================================
   AGKeno — floating pill header, keno board, tiles
   ========================================================= */
:root { --header-h: 88px; --blue: #2f5bff; --lime: #c6f432; --navy: #111a33; --ball-violet: #7a5cff; --ball-teal: #12b5a5; --ball-pink: #ff4f8b; --ball-lime: #8fc21a; }
body { background: var(--bg); background-image: radial-gradient(900px 480px at 100% -10%, rgba(47, 91, 255, .10), transparent 60%), radial-gradient(700px 420px at -10% 40%, rgba(198, 244, 50, .14), transparent 60%); }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
h3 { font-family: var(--font); font-weight: 800; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .16em; }
.eyebrow::before { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--navy); }
.btn { border-radius: 999px; font-weight: 800; }
.btn-gold { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(47, 91, 255, .8); }
.btn-gold:hover { background: #1f43d6; box-shadow: 0 14px 28px -10px rgba(47, 91, 255, .9); }
.btn-violet { background: var(--navy); color: #fff; box-shadow: none; }
.btn-ghost { background: #fff; border: 1.5px solid rgba(17, 26, 51, .16); color: var(--navy); }
.btn-ghost:hover { background: #fff; border-color: var(--navy); }
.chip { background: #fff; color: var(--navy); }
.chip[aria-pressed="true"], .chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.coin-chip { background: #fff; border: 1.5px solid rgba(17, 26, 51, .14); color: var(--navy); }
.avatar { background: linear-gradient(135deg, var(--blue), var(--ball-violet)); color: #fff; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.b-blue { --c: var(--blue); } .b-orange { --c: #ff7a45; } .b-violet { --c: var(--ball-violet); } .b-teal { --c: var(--ball-teal); } .b-pink { --c: var(--ball-pink); } .b-lime { --c: var(--ball-lime); }
.dot[class*="b-"] { background: var(--c); }
.panel, .side-card, .provider-card, .feature, .badge, .milestone, .stat, .topic, .contact-card, .toc, .seo-block, .provider-mini { background: #fff; border-radius: 22px; box-shadow: 0 1px 0 rgba(17, 26, 51, .04), 0 18px 40px -30px rgba(17, 26, 51, .35); }
.feature .ico, .contact-card .ico { background: rgba(47, 91, 255, .1); color: var(--blue); border-radius: 14px; }
.tag { border-radius: 999px; background: var(--navy); color: var(--lime); border: 0; top: 16px; right: 16px; left: auto; }
.tag.hot { background: #ff7a45; color: #fff; }
.tag.new { background: var(--lime); color: var(--navy); }
.tag.classic { background: var(--navy); color: #fff; }
.progress { background: rgba(17, 26, 51, .08); }
.progress > span { background: linear-gradient(90deg, var(--blue), #6f8cff); }
.jackpot-value { font-family: var(--font-display); background: none; -webkit-text-fill-color: var(--navy); color: var(--navy); }
.jackpot-value small { -webkit-text-fill-color: var(--blue); color: var(--blue); }
.page-hero { background: radial-gradient(600px 260px at 85% 0%, rgba(47, 91, 255, .14), transparent 70%), radial-gradient(500px 240px at 0% 100%, rgba(198, 244, 50, .25), transparent 70%); border-bottom: 0; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
.cta-band { background: radial-gradient(500px 220px at 50% 0%, rgba(47, 91, 255, .45), transparent 70%), var(--navy); border: 0; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--lime); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.see-all { color: var(--blue); font-weight: 800; }

/* ---------- Floating pill header ---------- */
.site-header { height: auto; padding: 12px 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pill-bar { height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 10px 0 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(17, 26, 51, .08); border-radius: 999px; box-shadow: 0 16px 40px -24px rgba(17, 26, 51, .45); }
.brand img { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-display); font-size: 20px; font-weight: 800; text-transform: none; letter-spacing: -.02em; color: var(--navy); }
.brand-text em { font-style: normal; color: var(--blue); }
.pill-bar .main-nav { flex: 1; }
.pill-bar .main-nav ul { justify-content: center; gap: 2px; }
.pill-bar .main-nav a { height: 40px; padding: 0 14px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 14px; }
.pill-bar .main-nav a:hover { background: var(--bg); color: var(--navy); }
.pill-bar .main-nav a[aria-current="page"] { background: var(--navy); color: #fff; box-shadow: none; }
.pill-bar .main-nav a .icon { display: none; }
.pill-bar .header-actions { gap: 8px; }
.pill-bar .btn-sm { height: 40px; padding: 0 18px; }
.pill-bar .coin-chip { height: 40px; }
.pill-bar .player-btn { height: 44px; background: var(--bg); border-color: transparent; }

/* ---------- Home: keno board hero ---------- */
.board-hero { position: relative; isolation: isolate; padding: 30px 0 40px; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + 40px); }
.board-hero .bg { position: absolute; inset: 0; z-index: -1; }
.board-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.board-hero .container { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.board-hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; margin-bottom: 18px; }
.board-hero mark { background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); color: inherit; padding: 0 .05em; }
.board-hero .lead { font-size: 17px; color: #3b4560; max-width: 520px; margin-bottom: 22px; }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 520px; padding: 6px 6px 6px 46px; background: #fff; border-radius: 999px; border: 1.5px solid rgba(17, 26, 51, .12); box-shadow: 0 16px 34px -26px rgba(17, 26, 51, .6); margin-bottom: 18px; }
.hero-search .icon { position: absolute; left: 18px; color: var(--dim); }
.hero-search input { border: 0 !important; background: transparent !important; box-shadow: none !important; height: 42px; padding: 0; flex: 1; min-width: 0; }
.hero-search .btn { height: 42px; }
.keno-board { background: var(--navy); border-radius: 30px; padding: 22px; color: #fff; box-shadow: 0 40px 80px -40px rgba(17, 26, 51, .8); position: relative; }
.keno-board::before { content: ""; position: absolute; inset: 8px; border-radius: 24px; border: 1px dashed rgba(255, 255, 255, .14); pointer-events: none; }
.kb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; padding: 0 4px; }
.kb-head strong { font-family: var(--font-display); font-size: 17px; }
.kb-head span { font-size: 12.5px; color: #9fb3ff; }
.kb-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.kball { position: relative; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--navy); background: radial-gradient(circle at 50% 50%, #fff 0 54%, transparent 55%), var(--c); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2), 0 0 0 2px rgba(255, 255, 255, .08); transition: transform .15s; }
.kball:hover, .kball:focus-visible { transform: scale(1.12); z-index: 3; }
.kball::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #fff; color: var(--navy); font-family: var(--font); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .15s; }
.kball:hover::after, .kball:focus-visible::after { opacity: 1; }
.kball.b-all { --c: var(--lime); }
.kb-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 16px; font-size: 12px; color: #c9d3ee; padding: 0 4px; }
.kb-legend span { display: inline-flex; align-items: center; gap: 6px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-strip div { background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 18px 40px -32px rgba(17, 26, 51, .5); border: 1px solid var(--line); }
.stat-strip div:first-child { background: var(--lime); border-color: transparent; }
.stat-strip b { display: block; font-family: var(--font-display); font-size: 30px; color: var(--navy); line-height: 1.1; }
.stat-strip span { font-size: 13px; color: var(--muted); font-weight: 600; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 4px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.feature-tile { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: center; padding: 22px; background: var(--navy); border-radius: 26px; color: #fff; transition: transform .2s; }
.feature-tile:hover { transform: translateY(-4px); }
.feature-tile img { width: 100%; border-radius: 22px; }
.feature-tile h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; margin: 6px 0 8px; }
.feature-tile p { color: #c9d3ee; font-size: 14.5px; }
.feature-tile .eyebrow { color: var(--lime); }
.feature-tile .num-ball { margin-bottom: 10px; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bento-grid .game-card { flex-direction: row; align-items: center; padding: 10px; }
.bento-grid .game-thumb { width: 92px; flex: none; }
.bento-grid .tag, .bento-grid .play-overlay { display: none; }
.bento-grid .game-info { padding: 4px 10px; }
.bento-grid .desc { display: block !important; font-size: 12.5px; margin: 2px 0 0; }
.num-ball { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #fff 0 54%, transparent 55%), var(--c); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 13px; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); flex: none; }
.tab-row { display: flex; gap: 6px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 999px; margin-bottom: 18px; width: fit-content; max-width: 100%; }
.tab-row button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font-weight: 800; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.tab-row button small { font-size: 11px; color: var(--dim); }
.tab-row button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-row button[aria-selected="true"] small { color: #9fb3ff; }
.panel-note { color: var(--muted); margin: 0 0 16px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.panel-note a { display: inline-flex; align-items: center; gap: 2px; font-weight: 800; }
.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pot-panel { display: grid; grid-template-columns: 170px 1fr 300px; gap: 30px; align-items: center; padding: 30px 34px; background: #fff; border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(17, 26, 51, .5); background-image: radial-gradient(400px 200px at 100% 0%, rgba(198, 244, 50, .35), transparent 70%); }
.pot-panel h2 { font-size: 26px; margin: 8px 0 0; }
.pot-art img { width: 100%; }
.pot-side .countdown { margin-bottom: 16px; }
.countdown .unit { background: var(--bg); border: 0; border-radius: 14px; }
.countdown .unit b { color: var(--navy); }
.live-tag { color: #ff7a45; }
.daily-wrap { align-items: start; gap: 34px; }
.ball-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ball-steps li { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.ball-steps .num-ball { width: 50px; height: 50px; font-size: 18px; }
.ball-steps h3 { margin: 2px 0 4px; font-size: 17px; }
.ball-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.ball-steps .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ball-steps .reward { font-weight: 800; color: var(--blue); font-size: 13px; }
.activity.stacked { flex-direction: column; overflow: visible; }
.activity.stacked .activity-item { background: #fff; border-radius: 18px; }
.activity.stacked .empty { background: #fff; border-radius: 22px; }

/* game cards */
.game-card { border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 34px -30px rgba(17, 26, 51, .55); }
.game-card:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: 0 22px 40px -26px rgba(47, 91, 255, .55); }
.game-thumb { background: transparent; padding: 8px 8px 0; aspect-ratio: auto; overflow: visible; }
.game-thumb img { border-radius: 16px; height: auto; aspect-ratio: 4 / 5; }
.game-card:hover .game-thumb img { transform: none; }
.game-thumb .play-overlay { inset: 8px 8px 0; border-radius: 16px; background: rgba(17, 26, 51, .35); }
.play-overlay span { background: var(--lime); color: var(--navy); }
.game-info { padding: 10px 14px 14px; }
.game-info h3 { font-size: 14.5px; }
.game-info .cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.game-card .coin-line, .tile-grid .desc, .catalog-grid .desc { display: none; }

/* ---------- Catalogue ---------- */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 16px; margin-bottom: 24px; display: grid; gap: 14px; box-shadow: 0 18px 40px -34px rgba(17, 26, 51, .5); }
.catalog-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 260px; max-width: 420px; display: block; }
.search-box input { padding-left: 44px; height: 46px; border-radius: 999px; background: var(--bg); border-color: transparent; }
.search-box .icon { position: absolute; left: 16px; top: 14px; color: var(--muted); }
.count-pill { font-size: 12.5px; font-weight: 800; background: var(--lime); color: var(--navy); padding: 6px 12px; border-radius: 999px; }
.catalog-tools select { width: auto; height: 46px; padding-right: 40px; border-radius: 999px; background-color: var(--bg); border-color: transparent; }
.view-toggle { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.view-toggle button { height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; }
.view-toggle button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 18px; }
.catalog-empty { display: none; }
.catalog-empty.show { display: block; }
.catalog-grid.list-view { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.catalog-grid.list-view .game-card { flex-direction: row; align-items: center; padding: 8px; }
.catalog-grid.list-view .game-thumb { width: 84px; flex: none; padding: 0; }
.catalog-grid.list-view .game-thumb img { border-radius: 14px; }
.catalog-grid.list-view .tag, .catalog-grid.list-view .play-overlay { display: none; }
.catalog-grid.list-view .game-info { padding: 4px 14px; }
.catalog-grid.list-view .game-info .desc { display: block; margin: 2px 0 0; font-size: 13px; }

/* ---------- Game page ---------- */
.game-head { padding: 18px 0 18px; }
.gh-row { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.gh-cover { width: 120px; border-radius: 18px; box-shadow: 0 20px 40px -24px rgba(17, 26, 51, .7); }
.gh-board { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--muted); font-size: 13.5px; }
.gh-text h1 { font-size: clamp(30px, 4vw, 48px); margin: 6px 0 6px; }
.gh-text p { color: var(--muted); margin: 0 0 12px; }
.gh-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gh-pills .pill { background: #fff; height: 32px; }
.player-shell { border-radius: 28px; background: var(--navy); border: 0; box-shadow: 0 40px 80px -40px rgba(17, 26, 51, .8); }
.player-bar { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; padding: 12px 14px 12px 18px; }
.player-bar .title strong { display: block; font-size: 15px; color: #fff; }
.player-bar .title span { color: #9fb3ff; }
.player-bar .title img { border-radius: 10px; }
.player-bar .coin-chip { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }
.round-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.frame-wrap { background: radial-gradient(circle at 50% 40%, #1b2a5c, #0b1226 70%); }
.frame-gate { background: linear-gradient(180deg, rgba(11, 18, 38, .5), rgba(11, 18, 38, .92)); color: #fff; }
.frame-gate h2 { color: #fff; font-size: 26px; }
.frame-gate p { color: #c9d3ee; }
.frame-gate .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.info-tabs { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px; }
.info-tabs .tab-row { background: var(--bg); border: 0; }
.tab-body { padding: 8px 8px 4px; }
.tab-body h2 { font-size: 24px; }
.tab-body p { color: var(--muted); font-size: 15.5px; max-width: 820px; }
.tile-grid.six { grid-template-columns: repeat(6, 1fr); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) { .pill-bar .main-nav a { padding: 0 10px; font-size: 13.5px; } }
@media (max-width: 1100px) {
  .pill-bar .main-nav a { padding: 0 8px; font-size: 13px; }
  .pill-bar .login-btn { display: none; }
  .tile-grid, .tile-grid.six { grid-template-columns: repeat(4, 1fr); }
  .pot-panel { grid-template-columns: 140px 1fr; }
  .pot-side { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .pot-side .countdown { margin: 0; }
  .pot-side .btn-block { width: auto; }
}
@media (max-width: 1024px) {
  .board-hero .container { grid-template-columns: 1fr; }
  .keno-board { max-width: 640px; }
  .bento { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .site-header { padding: 8px 0; background: transparent; }
  .pill-bar { height: 60px; }
  .pill-bar .main-nav { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 4px); bottom: auto; max-height: calc(100vh - var(--header-h) - 20px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(17, 26, 51, .6); padding: 12px; }
  .pill-bar .main-nav ul { flex-direction: column; }
  .pill-bar .main-nav a { height: 50px; width: 100%; font-size: 16px; color: var(--navy); }
  .pill-bar .main-nav a .icon { display: inline; }
  .mobile-account { background: var(--bg); border: 0; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .daily-wrap { grid-template-columns: 1fr; }
  .catalog-grid.list-view { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pill-bar { padding: 0 8px 0 10px; gap: 8px; }
  .brand-text { font-size: 17px; }
  .brand img { width: 34px; height: 34px; }
  .pill-bar .btn-sm { height: 38px; padding: 0 14px; }
  .pill-bar .coin-chip { height: 38px; }
  .board-hero { padding-top: calc(var(--header-h) + 22px); }
  .board-hero .container { gap: 28px; }
  .hero-search .btn { padding: 0 14px; }
  .keno-board { padding: 16px; border-radius: 24px; }
  .kb-grid { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .kball { font-size: 13px; }
  .kball::after { display: none; }
  .stat-strip b { font-size: 22px; }
  .feature-tile { grid-template-columns: 1fr; }
  .feature-tile img { max-width: 180px; }
  .bento-grid { grid-template-columns: 1fr; }
  .tab-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 22px; width: auto; }
  .tile-grid, .tile-grid.six { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pot-panel { grid-template-columns: 1fr; padding: 24px 20px; }
  .pot-art { width: 120px; }
  .filter-bar { padding: 12px; }
  .filter-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-bar .chip { flex: none; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog-grid.list-view .game-info .desc { display: none; }
  .gh-row { gap: 16px; align-items: flex-start; }
  .gh-cover { width: 84px; }
  .info-tabs { padding: 12px; }
  .ball-steps li { grid-template-columns: 40px 1fr; padding: 16px; }
  .ball-steps .num-ball { width: 40px; height: 40px; font-size: 15px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
  .eyebrow { letter-spacing: .1em; font-size: 10.5px; }
}
.mobile-account input { background: #fff; }
