/* =========================================================
   Skull & Ski — free-to-play virtual coin games (night-ski theme)
   ========================================================= */
:root {
  --bg: #121a26;
  --bg-2: #162131;
  --panel: #1a2433;
  --panel-2: #202c3e;
  --panel-3: #273549;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f2ead9;
  --muted: #9aa7ba;
  --dim: #6b7a90;
  --gold: #ff6b2c;
  --gold-2: #e2531a;
  --gold-ink: #121a26;
  --violet: #8fe3ff;
  --violet-2: #5cc8ef;
  --cyan: #8fe3ff;
  --pink: #4aa3ff;
  --green: #3ddc84;
  --red: #ff5a5f;
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 0 1px rgba(143, 227, 255, .25), 0 20px 60px -20px rgba(143, 227, 255, .55);
  --container: 1180px;
  --header-h: 68px;
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo Black", "Work Sans", 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(143, 227, 255, .18), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(143, 227, 255, .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: 14px; 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, #ff9a66, var(--gold) 50%, var(--gold-2)); color: var(--gold-ink); box-shadow: 0 8px 24px -8px rgba(226, 83, 26, .6), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover { box-shadow: 0 12px 30px -8px rgba(226, 83, 26, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-violet { background: linear-gradient(180deg, #bff0ff, var(--violet-2)); color: #fff; box-shadow: 0 8px 24px -10px rgba(143, 227, 255, .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: 11px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; border-radius: 16px; }
.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(18, 26, 38, .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(143, 227, 255, .16); box-shadow: inset 0 0 0 1px rgba(143, 227, 255, .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(255, 107, 44, .16), rgba(226, 83, 26, .08)); border: 1px solid rgba(255, 107, 44, .35);
  font-weight: 800; font-variant-numeric: tabular-nums; color: #bff0ff; 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(255, 107, 44, .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(18, 26, 38, .92) 0%, rgba(18, 26, 38, .55) 45%, rgba(18, 26, 38, 0) 70%), linear-gradient(0deg, var(--bg) 0%, rgba(18, 26, 38, 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(--violet); border-radius: 50%; box-shadow: 0 0 0 4px rgba(143, 227, 255, .18); }
.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, #ffffff, var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: #cdd6e3; 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(143, 227, 255, .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, 95, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 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%, #ffd1b8 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), #ff9a66); box-shadow: 0 0 16px rgba(255, 107, 44, .6); transition: width .6s ease; }
.progress.violet > span { background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 16px rgba(143, 227, 255, .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(226, 83, 26, .45)); animation: float 5s ease-in-out infinite; }
.jackpot-coin .orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, var(--gold-2)); box-shadow: 0 0 20px rgba(255, 107, 44, .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(74, 163, 255, .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(255, 107, 44, .25), transparent 60%), linear-gradient(120deg, #1d2839, #b8400f 60%, #ff6b2c); }
.promo-slide.s2 { background: radial-gradient(600px 300px at 80% 50%, rgba(143, 227, 255, .3), transparent 60%), linear-gradient(120deg, #1d2839, #30405a 55%, #183a52); }
.promo-slide.s3 { background: radial-gradient(600px 300px at 80% 50%, rgba(74, 163, 255, .3), transparent 60%), linear-gradient(120deg, #12223a, #2f6fb8 55%, #4aa3ff); }
.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: #c4cedd; 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(255, 107, 44, .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), #7cc2ff); 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), #8fe3ff); 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: 12px; font-size: 13px; font-weight: 700; 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: #03231a; 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; 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: 16px; 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(255, 107, 44, .4); box-shadow: 0 20px 40px -20px rgba(255, 107, 44, .35); }
.game-thumb { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel-2); }
.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(18, 26, 38, .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: var(--gold-ink); box-shadow: 0 10px 30px rgba(255, 107, 44, .5); }
.tag { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(18, 26, 38, .75); color: var(--gold); border: 1px solid rgba(255, 107, 44, .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: #bff0ff; }
.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: #cdd6e3; 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(143, 227, 255, .08); border: 1px solid rgba(143, 227, 255, .3); color: #d4f7f3; font-size: 14px; }
.info-banner .icon { color: var(--cyan); margin-top: 2px; }
.info-banner.gold { background: rgba(255, 107, 44, .07); border-color: rgba(255, 107, 44, .3); color: #e6faff; }
.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(143, 227, 255, .16); color: #bff0ff; margin-bottom: 16px; border: 1px solid rgba(143, 227, 255, .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(255, 107, 44, .18), transparent 70%), linear-gradient(180deg, #1a2433, #162131); border: 1px solid rgba(143, 227, 255, .35); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: #dde4ee; max-width: 440px; margin: 0 auto 24px; }
.cta-band .deco { position: absolute; width: 70px; opacity: .85; filter: drop-shadow(0 8px 20px rgba(226,83,26,.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(143, 227, 255, .25), transparent 70%), radial-gradient(500px 260px at 10% 100%, rgba(255, 107, 44, .08), transparent 70%); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.page-hero p { color: #cdd6e3; 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: #0b111c; 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%, #162131, #0b111c 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(11, 17, 28, .55), rgba(11, 17, 28, .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(255, 107, 44, .1); box-shadow: 0 0 0 3px rgba(255, 107, 44, .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%, #ffffff, var(--gold) 50%, #e2531a); border: 3px solid #ffd1b8; color: var(--gold-ink); box-shadow: 0 10px 30px -8px rgba(255, 107, 44, .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(143, 227, 255, .15); border: 1px solid rgba(143, 227, 255, .35); }
.milestone.reached .num { background: linear-gradient(135deg, var(--gold), #7cc2ff); 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(255, 107, 44, .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: #cdd6e3; 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(143, 227, 255, .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: #cdd6e3; 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(255, 107, 44, .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(143, 227, 255, .15); color: #bff0ff; }
.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(0, 0, 0, .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(255, 107, 44, .08); border: 1px solid rgba(255, 107, 44, .3); font-size: 13px; color: #e6faff; 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: #dde4ee; }
.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), #0b111c); 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: #cdd6e3; }
.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: #cdd6e3; }
.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: #cdd6e3; 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(18, 26, 38, .97); }
  .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: rgba(18, 26, 38, .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(18, 26, 38, .85) 55%, rgba(18, 26, 38, .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; }
}







/* =========================================================
   Skull & Ski — night-ski layout
   ========================================================= */
:root { --header-h: 74px; --ice: #8fe3ff; --orange: #ff6b2c; --bone: #f2ead9; --slate: #121a26; --run-green: #3ddc84; --run-blue: #4aa3ff; }
body { background-image: radial-gradient(1000px 500px at 80% -10%, rgba(143, 227, 255, .10), transparent 60%), radial-gradient(800px 500px at -10% 30%, rgba(255, 107, 44, .06), transparent 60%); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; text-transform: uppercase; }
h3 { font-family: var(--font); font-weight: 800; }
.eyebrow { color: var(--ice); letter-spacing: .2em; }
.eyebrow::before { width: 14px; height: 14px; border-radius: 0; background: none; box-shadow: none; border: 2px solid var(--ice); transform: rotate(45deg) scale(.7); }
.btn { border-radius: 12px; font-weight: 800; letter-spacing: .02em; }
.btn-gold { background: var(--orange); color: var(--slate); box-shadow: 0 10px 26px -12px rgba(255, 107, 44, .9); }
.btn-gold:hover { background: #ff7f47; }
.btn-violet { background: var(--ice); color: var(--slate); }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1.5px solid rgba(143, 227, 255, .35); color: var(--bone); }
.btn-ghost:hover { background: rgba(143, 227, 255, .1); }
.coin-chip { background: rgba(143, 227, 255, .1); border-color: rgba(143, 227, 255, .4); color: var(--ice); }
.avatar { background: linear-gradient(135deg, var(--orange), #ff9a66); color: var(--slate); }
.panel, .side-card, .provider-card, .feature, .badge, .milestone, .stat, .topic, .contact-card, .toc, .seo-block, .provider-mini, .info-banner { border-radius: 16px; }
.feature .ico, .contact-card .ico { background: rgba(143, 227, 255, .1); color: var(--ice); border-radius: 12px; }
.tag { border-radius: 8px; background: var(--slate); color: var(--ice); border: 1px solid rgba(143, 227, 255, .4); top: 12px; right: 12px; left: auto; }
.tag.hot { background: var(--orange); color: var(--slate); border-color: var(--orange); }
.tag.new { background: var(--ice); color: var(--slate); border-color: var(--ice); }
.progress > span { background: linear-gradient(90deg, var(--run-blue), var(--ice)); }
.jackpot-value { font-family: var(--font-display); font-weight: 400; background: linear-gradient(180deg, #fff, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jackpot-value small { -webkit-text-fill-color: var(--orange); color: var(--orange); }
.page-hero { background: linear-gradient(180deg, transparent, rgba(11, 17, 28, .6)), radial-gradient(700px 300px at 85% 0%, rgba(143, 227, 255, .14), transparent 70%); border-bottom: 0; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: var(--bg); clip-path: polygon(0 100%, 0 60%, 8% 20%, 15% 55%, 24% 10%, 33% 60%, 41% 30%, 50% 70%, 58% 25%, 67% 55%, 75% 15%, 84% 50%, 92% 30%, 100% 60%, 100% 100%); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 400; }
.cta-band { background: linear-gradient(180deg, rgba(11, 17, 28, 0), rgba(11, 17, 28, .7)), radial-gradient(600px 240px at 50% 0%, rgba(143, 227, 255, .2), transparent 70%), #1a2433; border: 1px solid rgba(143, 227, 255, .25); }
.see-all { color: var(--ice); }
.sym { display: inline-block; flex: none; width: 13px; height: 13px; vertical-align: -1px; }
.sym.s-green { border-radius: 50%; background: var(--run-green); }
.sym.s-blue { background: var(--run-blue); }
.sym.s-black { background: #05080d; border: 1.5px solid var(--bone); transform: rotate(45deg) scale(.85); }
.sym.s-double { width: 24px; background: linear-gradient(45deg, transparent 0 0), none; position: relative; }
.sym.s-double::before, .sym.s-double::after { content: ""; position: absolute; top: 1px; width: 10px; height: 10px; background: #05080d; border: 1.5px solid var(--bone); transform: rotate(45deg); }
.sym.s-double::before { left: 1px; } .sym.s-double::after { left: 12px; }

/* ---------- Header: hanging patch + mobile tab bar ---------- */
.site-header { height: var(--header-h); background: rgba(11, 17, 28, .92); border-bottom: 1px solid rgba(143, 227, 255, .18); }
.hdr { height: 100%; display: flex; align-items: center; gap: 22px; }
.brand { position: relative; padding-left: 92px; height: 100%; }
.brand .patch { position: absolute; left: 0; top: 8px; width: 82px; height: 82px; border-radius: 50%; background: var(--slate); padding: 5px; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .8); transition: transform .25s; }
.brand:hover .patch { transform: rotate(-8deg); }
.brand .patch img { width: 100%; height: 100%; }
.brand-text { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: var(--bone); }
.brand-text em { font-style: normal; color: var(--orange); margin: 0 3px; }
.brand-text small { font-family: var(--font); color: var(--ice); letter-spacing: .26em; font-size: 9px; font-weight: 700; }
.hdr .main-nav { flex: 1; }
.hdr .main-nav ul { justify-content: center; gap: 4px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(143, 227, 255, .14); padding: 4px; border-radius: 14px; width: fit-content; margin: 0 auto; }
.hdr .main-nav a { height: 38px; border-radius: 10px; color: var(--muted); font-weight: 700; padding: 0 12px; }
.hdr .main-nav a:hover { color: var(--bone); background: rgba(255, 255, 255, .05); }
.hdr .main-nav a[aria-current="page"] { background: var(--ice); color: var(--slate); box-shadow: none; }
.hdr .main-nav a .icon { display: none; }
.tabbar { display: none; }
.footer-brand .brand { padding-left: 70px; height: 60px; }
.footer-brand .brand .patch { width: 60px; height: 60px; top: 0; }

/* ---------- Home: trail map ---------- */
.trail-hero { padding: 26px 0 10px; }
.map { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid rgba(143, 227, 255, .2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); background: #0b111c; }
.map-art { width: 100%; height: auto; display: block; }
.map-copy { position: absolute; left: 4%; top: 7%; width: 44%; z-index: 2; }
.map-copy h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: .98; margin-bottom: 16px; color: #fff; }
.map-copy h1 em { font-style: normal; color: var(--orange); display: block; }
.map-copy .lead { font-size: 16.5px; color: #cdd6e3; max-width: 470px; margin-bottom: 22px; }
.pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.run-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(11, 17, 28, .9); border: 1.5px solid rgba(143, 227, 255, .45); color: var(--bone); pointer-events: auto; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); transition: transform .15s, border-color .15s; }
.run-pin:hover { transform: translate(-50%, -50%) scale(1.06); border-color: var(--orange); z-index: 2; }
.run-pin b { display: block; font-size: 13px; line-height: 1.1; }
.run-pin small { display: block; font-size: 11px; color: var(--muted); }
.map-hint { position: absolute; right: 18px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #cdd6e3; background: rgba(11, 17, 28, .7); padding: 6px 10px; border-radius: 999px; }
.snow-report { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(143, 227, 255, .2); border-radius: 18px; overflow: hidden; background: #0b111c; }
.snow-report div { padding: 18px 22px; border-left: 1px solid rgba(143, 227, 255, .14); }
.snow-report div:first-child { border-left: 0; }
.snow-report span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); font-weight: 700; }
.snow-report b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 30px; color: var(--bone); line-height: 1.2; }
.snow-report small { color: var(--muted); font-size: 12.5px; }
.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.4vw, 40px); 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; }
.lift-board { background: #05080d; border-radius: 18px; border: 1px solid rgba(143, 227, 255, .2); padding: 8px; font-variant-numeric: tabular-nums; }
.lb-row { display: grid; grid-template-columns: 64px 1.6fr 1.2fr 100px 120px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; }
.lb-row + .lb-row { border-top: 1px dashed rgba(143, 227, 255, .12); }
a.lb-row:hover { background: rgba(143, 227, 255, .06); }
.lb-headrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: 12px; padding-bottom: 12px; }
.lb-no { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 20px; color: var(--orange); font-weight: 700; }
.lb-headrow .lb-no { font-family: var(--font); font-size: 11px; color: var(--muted); }
.lb-game { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lb-game img { width: 38px; border-radius: 6px; }
.lb-game b { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; font-size: 14.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-run { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #cdd6e3; }
.lb-status { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--run-green); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.lb-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--run-green); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 8px var(--run-green); }
.lb-headrow .lb-status::before { display: none; }
.lb-headrow .lb-status { color: var(--muted); font-family: var(--font); font-size: 11px; }
.lb-go { justify-self: end; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 13px; color: var(--slate); background: var(--ice); padding: 7px 12px; border-radius: 10px; }
.lb-headrow .lb-go { background: none; }
.runs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.run-card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: grid; gap: 14px; }
.rc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.rc-head .sym { margin-top: 6px; transform-origin: center; }
.rc-head .sym.s-black { transform: rotate(45deg) scale(1.1); }
.rc-head h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 20px; margin: 0; }
.rc-head p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.rc-count { font-family: var(--font-display); font-size: 26px; color: var(--ice); text-align: right; line-height: 1; }
.rc-count small { display: block; font-family: var(--font); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.rc-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rc-thumbs img { border-radius: 10px; transition: transform .2s; }
.rc-thumbs a:hover img { transform: translateY(-4px); }
.rc-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--orange); font-size: 14px; }
.summit { display: grid; grid-template-columns: 110px 1fr 260px; gap: 34px; align-items: center; padding: 30px 34px; border-radius: 24px; border: 1px solid rgba(143, 227, 255, .22); background: radial-gradient(500px 260px at 100% 100%, rgba(255, 107, 44, .18), transparent 70%), linear-gradient(180deg, #1a2433, #121a26); }
.altimeter { display: grid; justify-items: center; gap: 8px; font-size: 11px; color: var(--muted); text-align: center; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.alt-tube { position: relative; width: 26px; height: 210px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(143, 227, 255, .35); overflow: hidden; }
.alt-tube span { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(0deg, var(--run-blue), var(--ice)); border-radius: 999px; transition: height .6s; }
.alt-tube::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 20px, rgba(255, 255, 255, .25) 20px 21px); }
.summit-copy h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 8px 0 0; }
.summit-copy .countdown { margin-top: 16px; }
.summit-art img { width: 100%; max-width: 240px; margin: 0 auto 12px; }
.live-tag { color: var(--orange); }
.countdown .unit { background: rgba(11, 17, 28, .7); border-color: rgba(143, 227, 255, .2); border-radius: 12px; }
.chairlift { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; position: relative; }
.chairlift::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, rgba(143, 227, 255, .5) 0 10px, transparent 10px 16px); }
.chairlift li { position: relative; padding-top: 58px; }
.chairlift .chair { position: absolute; top: 4px; left: 22px; width: 38px; height: 36px; border-radius: 10px 10px 12px 12px; background: var(--orange); color: var(--slate); display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; box-shadow: 0 8px 16px -6px rgba(255, 107, 44, .7); }
.chairlift .chair::before { content: ""; position: absolute; top: -18px; left: 50%; width: 2px; height: 18px; background: #9aa7ba; }
.chairlift .stop { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 16px; height: 100%; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.chairlift h3 { margin: 0; font-size: 17px; }
.chairlift p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.chairlift .reward { font-weight: 800; color: var(--ice); font-size: 13px; }
.activity-item { background: var(--panel); }

/* game cards: ski passes */
.game-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.game-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: none; }
.game-thumb { background: transparent; overflow: visible; aspect-ratio: 4 / 5; }
.game-thumb img { border-radius: 16px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); }
.game-card:hover .game-thumb img { transform: none; }
.game-thumb .play-overlay { border-radius: 16px; background: rgba(11, 17, 28, .35); }
.play-overlay span { background: var(--orange); color: var(--slate); }
.game-info { padding: 12px 2px 0; }
.game-info h3 { font-size: 14.5px; }
.game-info .cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.game-card .coin-line, .catalog-grid .desc { display: none; }

/* ---------- Catalogue ---------- */
.cat-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.trail-legend { position: sticky; top: calc(var(--header-h) + 18px); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 12px; }
.trail-legend h2 { font-family: var(--font); text-transform: uppercase; font-size: 11px; letter-spacing: .2em; color: var(--ice); margin: 6px 0 0; }
.search-box { position: relative; display: block; }
.search-box input { padding-left: 40px; height: 44px; border-radius: 12px; }
.search-box .icon { position: absolute; left: 13px; top: 13px; color: var(--muted); }
.run-chips { flex-direction: column; gap: 4px; }
.run-chips .chip { width: 100%; justify-content: flex-start; border-radius: 10px; background: transparent; border-color: transparent; height: 38px; color: var(--muted); }
.run-chips .chip span { flex: 1; text-align: left; }
.run-chips .chip small { font-size: 11px; color: var(--dim); }
.run-chips .chip:hover { background: rgba(255, 255, 255, .04); color: var(--bone); }
.run-chips .chip[aria-pressed="true"] { background: rgba(143, 227, 255, .12); border-color: rgba(143, 227, 255, .35); color: var(--bone); }
.trail-legend select { height: 42px; border-radius: 12px; }
.view-toggle { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, .04); border-radius: 12px; padding: 4px; }
.view-toggle button { height: 34px; border: 0; border-radius: 9px; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 13px; }
.view-toggle button[aria-pressed="true"] { background: var(--ice); color: var(--slate); }
.legend-key { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.legend-key span { display: inline-flex; align-items: center; gap: 7px; }
.cat-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; flex-wrap: wrap; }
.count-pill { background: var(--orange); color: var(--slate); font-weight: 800; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 28px 18px; }
.catalog-empty { display: none; }
.catalog-empty.show { display: block; }
.catalog-grid.list-view { grid-template-columns: 1fr; gap: 0; background: #05080d; border-radius: 18px; border: 1px solid rgba(143, 227, 255, .2); padding: 6px; }
.catalog-grid.list-view .game-card { flex-direction: row; align-items: center; padding: 8px 12px; border-radius: 12px; }
.catalog-grid.list-view .game-card + .game-card { border-top: 1px dashed rgba(143, 227, 255, .12); border-radius: 0; }
.catalog-grid.list-view .game-card:hover { transform: none; background: rgba(143, 227, 255, .06); }
.catalog-grid.list-view .game-thumb { width: 44px; aspect-ratio: 4 / 5; flex: none; }
.catalog-grid.list-view .game-thumb img { border-radius: 6px; filter: none; }
.catalog-grid.list-view .tag, .catalog-grid.list-view .play-overlay { display: none; }
.catalog-grid.list-view .game-info { flex-direction: row; align-items: center; gap: 18px; padding: 0 14px; flex: 1; flex-wrap: wrap; }
.catalog-grid.list-view .game-info h3 { font-family: ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .04em; min-width: 260px; }
.catalog-grid.list-view .game-info .desc { display: block; margin: 0; flex: 1; color: var(--muted); font-size: 13px; min-width: 200px; }
.catalog-grid.list-view .game-info .cat { min-width: 150px; }

/* ---------- Game page: full-bleed stage ---------- */
.stage-band { position: relative; padding: 22px 0 70px; background: radial-gradient(900px 400px at 50% 0%, rgba(143, 227, 255, .12), transparent 70%), #0b111c; border-bottom: 1px solid rgba(143, 227, 255, .14); }
.stage-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; background: var(--bg); clip-path: polygon(0 100%, 0 70%, 6% 35%, 12% 60%, 20% 15%, 28% 55%, 36% 30%, 44% 65%, 52% 20%, 60% 50%, 68% 25%, 76% 60%, 84% 30%, 92% 55%, 100% 35%, 100% 100%); }
.stage-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 16px 0 22px; flex-wrap: wrap; }
.run-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ice); font-weight: 700; letter-spacing: .06em; }
.stage-title h1 { font-size: clamp(32px, 4.6vw, 56px); margin: 6px 0 4px; }
.stage-title p { color: #cdd6e3; margin: 0; }
.stage-stats { display: flex; gap: 10px; }
.stage-stats div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(143, 227, 255, .2); border-radius: 14px; padding: 10px 16px; min-width: 120px; }
.stage-stats b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--bone); }
.stage-stats span { font-size: 11.5px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.stage-band .player-shell { border-radius: 22px; border: 1.5px solid rgba(143, 227, 255, .35); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 1); position: relative; z-index: 1; }
.player-bar .title strong { display: block; font-size: 15px; }
.player-bar .title img { border-radius: 6px; object-fit: contain; }
.frame-gate img.thumb { border-radius: 12px; }
.run-notes { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 18px; align-items: start; }
.run-notes .side-card { margin: 0; padding: 24px; }
.run-notes h2 { font-size: 20px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mini-list a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; }
.mini-list a:hover { background: rgba(255, 255, 255, .04); }
.mini-list img { width: 40px; border-radius: 6px; }
.mini-list b { display: block; font-size: 14px; }
.mini-list span span { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 0; background: #0b111c; }
.site-footer .ridge { position: absolute; left: 0; right: 0; top: -40px; height: 41px; background: #0b111c; clip-path: polygon(0 100%, 0 70%, 7% 30%, 14% 60%, 22% 10%, 30% 55%, 39% 25%, 47% 65%, 55% 15%, 63% 50%, 72% 20%, 80% 60%, 88% 25%, 95% 55%, 100% 35%, 100% 100%); }
.footer-col h3 { color: var(--ice); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) { .hdr .main-nav a { padding: 0 9px; font-size: 13px; } .brand-text small { display: none; } }
@media (max-width: 1100px) {
  .hdr .main-nav a { padding: 0 7px; font-size: 12.5px; }
  .hdr .login-btn { display: none; }
  .lb-row { grid-template-columns: 50px 1.6fr 1.1fr 90px; }
  .lb-go { display: none; }
  .summit { grid-template-columns: 90px 1fr; }
  .summit-art { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
  .summit-art img { max-width: 110px; margin: 0; }
  .summit-art .btn-block { width: auto; }
  .run-notes { grid-template-columns: 1fr 1fr; }
  .run-notes > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .map-copy { position: relative; left: auto; top: auto; width: auto; padding: 26px 24px 4px; }
  .map { display: flex; flex-direction: column; }
  .map-art { order: 2; }
  .pins { top: auto; height: auto; }
  .map .pins { position: absolute; inset: auto 0 0 0; aspect-ratio: 2 / 1; }
  .cat-layout { grid-template-columns: 1fr; }
  .trail-legend { position: static; grid-template-columns: 1fr; }
  .run-chips { flex-direction: row; flex-wrap: wrap; }
  .run-chips .chip { width: auto; border-color: var(--line); }
  .legend-key { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  body { padding-bottom: 70px; }
  .site-header { background: #0b111c; }
  .hdr { justify-content: space-between; }
  .brand { padding-left: 64px; }
  .brand .patch { width: 58px; height: 58px; top: 6px; }
  .brand-text { font-size: 19px; }
  .hdr .main-nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 70px; background: #0b111c; padding: 16px 20px 24px; overflow-y: auto; }
  .hdr .main-nav ul { flex-direction: column; width: auto; background: none; border: 0; padding: 0; }
  .hdr .main-nav a { height: 52px; width: 100%; font-size: 16px; color: var(--bone); border-bottom: 1px solid var(--line); border-radius: 0; }
  .hdr .main-nav a[aria-current="page"] { background: none; color: var(--orange); }
  .hdr .main-nav a .icon { display: inline; color: var(--ice); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 66px; background: rgba(11, 17, 28, .97); border-top: 1px solid rgba(143, 227, 255, .22); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a, .tabbar .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); border-radius: 12px; background: none; border: 0; width: auto; height: auto; }
  .tabbar a[aria-current="page"] { color: var(--ice); background: rgba(143, 227, 255, .08); }
  .tabbar .icon { width: 20px; height: 20px; }
  .tabbar .nav-toggle::after { content: "Menu"; font-size: 11px; }
  .cookie-bar { bottom: 80px; }
  .toast-stack { bottom: 80px; }
  .snow-report { grid-template-columns: repeat(2, 1fr); }
  .snow-report div:nth-child(3) { border-left: 0; }
  .snow-report div:nth-child(n+3) { border-top: 1px solid rgba(143, 227, 255, .14); }
  .runs { grid-template-columns: 1fr; }
  .stage-stats { width: 100%; }
}
@media (max-width: 640px) {
  .hdr .header-actions .btn-sm { height: 36px; padding: 0 12px; }
  .brand-text { font-size: 16px; }
  .map-copy { padding: 22px 18px 4px; }
  .map-copy .lead { font-size: 15px; }
  .run-pin { padding: 4px 8px 4px 7px; gap: 5px; }
  .run-pin small { display: none; }
  .run-pin b { font-size: 10.5px; }
  .map-hint { display: none; }
  .lb-row { grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px; }
  .lb-row .lb-run { display: none; }
  .lb-no { font-size: 15px; }
  .lb-game b { font-size: 12.5px; }
  .lb-status { font-size: 11px; }
  .rc-thumbs { grid-template-columns: repeat(4, 1fr); }
  .rc-thumbs a:nth-child(5) { display: none; }
  .summit { grid-template-columns: 1fr; padding: 24px 20px; }
  .altimeter { display: none; }
  .chairlift::before { display: none; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .catalog-grid.list-view .game-info h3 { min-width: 0; font-size: 13px; }
  .catalog-grid.list-view .game-info .desc { display: none; }
  .catalog-grid.list-view .game-info { gap: 2px; flex-direction: column; align-items: flex-start; }
  .run-notes { grid-template-columns: 1fr; }
  .stage-band { padding-bottom: 50px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
  .eyebrow { letter-spacing: .12em; font-size: 10.5px; }
}
.map-runs { display: none; }
@media (max-width: 640px) {
  .map .pins { display: none; }
  .map-runs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .map-runs a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--panel); border: 1px solid rgba(143, 227, 255, .2); font-weight: 700; font-size: 13.5px; }
  .map-runs small { margin-left: auto; color: var(--muted); font-size: 11.5px; }
}
