/* Naturcesam — forest & parchment theme. Plain CSS, no build step. */
:root {
  --bg: #f4eddb;
  --bg-2: #ece3cb;
  --paper: #fffcf3;
  --paper-2: #faf4e4;
  --ink: #17261e;
  --muted: #5a695e;
  --dim: #7d8a7f;
  --line: #ddd3b8;
  --line-2: #cbbf9d;
  --forest: #1d4a37;
  --forest-2: #12301f;
  --forest-3: #0c2216;
  --moss: #5f8d4e;
  --sage: #e1e9cf;
  --clay: #c8602f;
  --clay-2: #a94c21;
  --amber: #eaa83a;
  --gold: #c8602f;
  --green: #2f7d4f;
  --red: #b83a2b;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 18px 40px -22px rgba(18, 48, 31, .45);
  --shadow-sm: 0 6px 16px -8px rgba(18, 48, 31, .35);
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  background-image: radial-gradient(1200px 500px at 85% -10%, rgba(95, 141, 78, .16), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(234, 168, 58, .12), transparent 60%);
  background-repeat: no-repeat; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.gold { color: var(--clay-2); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(200, 96, 47, .35); text-underline-offset: 3px; }
.gold:hover { text-decoration-color: var(--clay); }
.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: 300; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.is-hidden { display: none !important; }
.section { padding: 76px 0; }
.section-tight { padding: 40px 0; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.icon-sm { width: 16px; height: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- ribbon + header ---------- */
.ribbon { background: var(--forest-2); color: #d8e6cc; font-size: 13px; }
.ribbon .container { display: flex; justify-content: center; gap: 22px; padding: 8px 0; flex-wrap: wrap; text-align: center; }
.ribbon b { color: var(--amber); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 252, 243, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-display); font-weight: 800; font-size: 25px; letter-spacing: -.02em; color: var(--forest); line-height: 1; }
.brand-text em { font-style: italic; color: var(--clay); font-weight: 700; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-top: 4px; font-style: normal; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 4px; justify-content: center; }
.main-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); position: relative; }
.main-nav a:hover { color: var(--forest); background: var(--sage); }
.main-nav a[aria-current="page"] { color: var(--forest); background: var(--sage); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--clay); }
.mobile-account { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); place-items: center; }
.coin-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--forest); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.coin-chip img { width: 24px; height: 24px; }
.coin-chip.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.12); } }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--moss), var(--forest)); color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.player-btn { display: inline-flex; align-items: center; gap: 10px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 14px 4px 4px; }
.player-meta { display: flex; flex-direction: column; text-align: left; line-height: 1.2; font-size: 12px; color: var(--muted); }
.player-meta strong { color: var(--ink); font-size: 14px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3fbf6f; margin-right: 6px; }
.status-dot.off { background: var(--dim); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 90; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 14.5px; font-weight: 500; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--sage); }
.dropdown-head { padding: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-head .muted { font-size: 12.5px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--clay); color: #fff; box-shadow: 0 8px 18px -8px rgba(169, 76, 33, .7); }
.btn-gold:hover { background: var(--clay-2); }
.btn-ghost { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-sm { padding: 7px 15px; font-size: 13.5px; }
.btn-lg { padding: 14px 30px; font-size: 16.5px; }
.btn-block { display: flex; width: 100%; }
.round-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.round-btn:hover { background: rgba(255, 255, 255, .24); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--sage); color: var(--forest); font-size: 13px; font-weight: 600; }
.pill .icon { width: 15px; height: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 64px; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -140px; top: -120px; width: 620px; height: 620px; border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%; background: radial-gradient(circle at 40% 40%, rgba(95, 141, 78, .35), rgba(95, 141, 78, .05) 70%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--forest-2); }
.hero h1 mark { background: none; color: var(--clay); font-style: italic; position: relative; white-space: nowrap; }
.hero h1 mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: var(--amber); opacity: .5; border-radius: 8px; z-index: -1; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.hero-search { position: relative; max-width: 520px; margin: 26px 0 20px; }
.hero-search input { width: 100%; padding: 16px 20px 16px 52px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--paper); font-size: 16px; }
.hero-search input:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(95, 141, 78, .2); }
.hero-search .icon { position: absolute; left: 20px; top: 50%; margin-top: -10px; color: var(--moss); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.collage { position: relative; height: 520px; }
.collage .cv { position: absolute; width: 44%; border-radius: 50% 50% 22px 22px / 30% 30% 22px 22px; overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--paper); background: var(--paper); transition: transform .3s; }
.collage .cv img { width: 100%; }
.collage .cv:hover { transform: translateY(-6px) rotate(0) !important; z-index: 5; }
.collage .cv1 { left: 0; top: 56px; transform: rotate(-5deg); }
.collage .cv2 { left: 28%; top: 0; transform: rotate(2deg); z-index: 2; width: 46%; }
.collage .cv3 { right: 0; top: 118px; transform: rotate(6deg); }
.collage .float { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 18px; padding: 10px 16px 10px 10px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--forest); }
.collage .float img { width: 38px; }
.collage .float small { display: block; color: var(--muted); font-weight: 500; }
.collage .f1 { left: 8%; bottom: 36px; }
.collage .f2 { right: 4%; bottom: 8px; }
.leafline { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: radial-gradient(circle at 15px 0, transparent 14px, var(--forest-2) 15px) 0 0 / 30px 30px repeat-x; }

/* ---------- stat band ---------- */
.stat-band { background: var(--forest-2); color: #e9f2df; position: relative; }
.stat-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band .s { padding: 30px 18px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-band .s:first-child { border-left: 0; }
.stat-band b { display: block; font-family: var(--font-display); font-size: 40px; color: var(--amber); line-height: 1.05; }
.stat-band span { font-size: 14px; color: #b8cdaa; }

/* ---------- section heads ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 620px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center > div { max-width: 680px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); white-space: nowrap; }
.see-all:hover { color: var(--clay); }

/* ---------- game cards ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 20px; }
.tile-grid.six { grid-template-columns: repeat(6, 1fr); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 20px; }
.game-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.game-thumb { position: relative; border-radius: 50% 50% 20px 20px / 26% 26% 20px 20px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-sm); border: 4px solid var(--paper); transition: transform .25s, box-shadow .25s; }
.game-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.game-card:hover .game-thumb { transform: translateY(-6px); box-shadow: var(--shadow); }
.tag { position: absolute; top: 10px; right: 8px; padding: 3px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--forest); color: #fff; z-index: 2; transform: rotate(4deg); }
.tag.hot { background: var(--clay); }
.tag.new { background: var(--moss); }
.tag.classic { background: var(--amber); color: var(--forest-2); }
.play-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(18, 48, 31, .55)); opacity: 0; transition: opacity .2s; }
.play-overlay span { width: 56px; height: 56px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-items: center; transform: translateY(14px); transition: transform .2s; }
.play-overlay .icon { width: 24px; height: 24px; margin-left: 3px; }
.game-card:hover .play-overlay, .game-card:focus-within .play-overlay { opacity: 1; }
.game-card:hover .play-overlay span { transform: none; }
.game-info { padding: 14px 4px 0; text-align: center; }
.game-info h3 { font-size: 17px; margin: 0 0 4px; line-height: 1.2; }
.game-info h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.cat { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--moss); }
.dot.t-myth { background: #6b4fa3; } .dot.t-east { background: #c2456b; } .dot.t-quest { background: #1f7a8c; }
.dot.t-classic { background: #b9810f; } .dot.t-craft { background: #5f8d4e; } .dot.t-fun { background: #d4552e; }
.desc { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.coin-line { display: none; }
.catalog-grid.list-view { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.catalog-grid.list-view .game-card { flex-direction: row; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.catalog-grid.list-view .game-thumb { width: 92px; flex: none; border-width: 3px; border-radius: 50% 50% 14px 14px / 24% 24% 14px 14px; }
.catalog-grid.list-view .game-info { text-align: left; padding: 0; }
.catalog-grid.list-view .tag, .catalog-grid.list-view .play-overlay { display: none; }

/* rail */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--moss) transparent; }
.rail .game-card { flex: 0 0 200px; scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--forest); background: transparent; color: var(--forest); display: grid; place-items: center; }
.rail-btn:hover:not(:disabled) { background: var(--forest); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }

/* trails */
.trail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trail-card { position: relative; display: block; border-radius: 26px; padding: 26px 24px 22px; color: #fff; overflow: hidden; background: var(--tc, var(--forest)); min-height: 220px; transition: transform .2s, box-shadow .2s; }
.trail-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.trail-card::before { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.trail-card h3 { font-size: 24px; margin-bottom: 6px; position: relative; }
.trail-card p { font-size: 14px; opacity: .92; margin: 0 0 16px; max-width: 280px; position: relative; }
.trail-card .count { display: inline-flex; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: 12.5px; font-weight: 700; position: relative; }
.trail-card .minis { position: absolute; right: 16px; bottom: 16px; display: flex; }
.trail-card .minis img { width: 58px; border-radius: 50% 50% 10px 10px / 30% 30% 10px 10px; border: 3px solid rgba(255, 255, 255, .85); margin-left: -18px; box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .4); }
.trail-card .minis img:nth-child(2) { transform: translateY(-8px); }

/* spotlight + top list */
.spot-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.spot { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--forest); color: #e9f2df; border-radius: 30px; padding: 28px; overflow: hidden; }
.spot::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(234, 168, 58, .35), transparent 70%); }
.spot img { border-radius: 50% 50% 20px 20px / 26% 26% 20px 20px; border: 5px solid var(--paper); box-shadow: 0 20px 36px -14px rgba(0, 0, 0, .6); }
.spot h3 { color: #fff; font-size: 32px; }
.spot .eyebrow { color: var(--amber); }
.spot p { color: #c9dcba; }
.toplist { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 24px 24px 12px; }
.toplist h3 { margin-bottom: 10px; }
.top-row { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px dashed var(--line-2); }
.top-row:first-of-type { border-top: 0; }
.top-row .n { font-family: var(--font-display); font-weight: 800; font-size: 26px; width: 28px; color: var(--clay); text-align: center; }
.top-row img { width: 48px; border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px; border: 2px solid var(--paper); box-shadow: var(--shadow-sm); }
.top-row strong { display: block; font-size: 15px; line-height: 1.2; }
.top-row span.c { font-size: 12.5px; color: var(--muted); }
.top-row a:hover strong { color: var(--clay); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px 22px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--clay); color: #fff; font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* pot panel */
.pot-panel { display: grid; grid-template-columns: 170px 1fr 300px; gap: 32px; align-items: center; background: linear-gradient(135deg, var(--forest), var(--forest-3)); color: #e9f2df; border-radius: 32px; padding: 34px; position: relative; overflow: hidden; }
.pot-panel::before { content: ""; position: absolute; left: -60px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(234, 168, 58, .28), transparent 70%); }
.pot-art { position: relative; display: grid; place-items: center; }
.pot-art img { width: 150px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(3deg); } }
.pot-panel h2 { color: #fff; margin-bottom: 6px; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.live-tag i { width: 9px; height: 9px; border-radius: 50%; background: #5df08b; box-shadow: 0 0 0 0 rgba(93, 240, 139, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(93, 240, 139, 0); } }
.jackpot-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 60px); color: var(--amber); line-height: 1.1; margin: 4px 0 14px; font-variant-numeric: tabular-nums; }
.jackpot-value small { font-size: 22px; margin-left: 8px; color: #f6dca1; }
.progress { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), #f6d37a); transition: width .6s; }
.progress.violet { background: var(--sage); }
.progress.violet > span { background: linear-gradient(90deg, var(--moss), var(--forest)); }
.panel .progress, .level-card .progress { background: var(--sage); }
.panel .progress > span { background: linear-gradient(90deg, var(--moss), var(--forest)); }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #b8cdaa; margin-top: 10px; }
.pot-side { background: rgba(255, 255, 255, .07); border-radius: 22px; padding: 20px; position: relative; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown .unit { text-align: center; background: rgba(0, 0, 0, .25); border-radius: 14px; padding: 10px 0; }
.countdown b { display: block; font-family: var(--font-display); font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b8cdaa; }
.pot-side .muted { color: #b8cdaa; }

/* cta band */
.cta-band { text-align: center; background: var(--sage); border: 2px dashed var(--moss); border-radius: 36px; padding: 56px 24px; position: relative; }
.cta-band h2 { color: var(--forest-2); }
.cta-band p { max-width: 520px; margin: 0 auto 22px; color: var(--muted); }

/* ---------- page hero + breadcrumbs ---------- */
.page-hero { padding: 54px 0 34px; position: relative; }
.page-hero::after { content: ""; position: absolute; right: 4%; top: 20px; width: 220px; height: 220px; border-radius: 60% 40% 50% 50%; background: radial-gradient(circle, rgba(95, 141, 78, .22), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); color: var(--forest-2); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 18px; }
.page-hero .updated { font-size: 13.5px; color: var(--dim); }
.breadcrumbs { font-size: 13.5px; color: var(--dim); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--clay); }
.breadcrumbs span[aria-hidden] { margin: 0 4px; }

/* ---------- catalogue ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 20px; }
.filters h2 { font-size: 17px; margin-bottom: 12px; }
.chips { display: flex; flex-direction: column; gap: 6px; }
.chip { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; font-weight: 600; font-size: 14.5px; color: var(--muted); }
.chip small { margin-left: auto; font-size: 12px; background: var(--bg-2); border-radius: 999px; padding: 1px 9px; color: var(--muted); }
.chip:hover { background: var(--sage); }
.chip[aria-pressed="true"] { background: var(--forest); color: #fff; }
.chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .2); color: #fff; }
.catalog-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.search-box { flex: 1 1 240px; max-width: 360px; }
.search-box input { width: 100%; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--paper); }
.search-box input:focus { outline: none; border-color: var(--moss); }
.count-pill { padding: 6px 14px; border-radius: 999px; background: var(--sage); font-weight: 700; font-size: 13.5px; color: var(--forest); }
.catalog-tools select { padding: 10px 14px; border-radius: 12px; border: 2px solid var(--line-2); background: var(--paper); }
.view-toggle { display: inline-flex; border: 2px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.view-toggle button { padding: 8px 16px; border: 0; background: transparent; font-weight: 600; font-size: 14px; }
.view-toggle button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 30px 16px; border: 2px dashed var(--line-2); border-radius: 20px; display: none; }
.empty.show { display: block; }
.activity-item .empty, [data-activity] .empty { display: block; }
[data-help-empty].empty { display: block; }
[data-help-empty][hidden] { display: none; }

/* ---------- game page ---------- */
.game-top { padding: 34px 0 6px; }
.game-top .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.game-top h1 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 8px; color: var(--forest-2); }
.gh-trail { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-bottom: 8px; }
.game-top p { color: var(--muted); max-width: 640px; margin: 0; font-size: 17px; }
.gh-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.player-shell { border-radius: 30px; overflow: hidden; background: var(--forest-3); box-shadow: 0 34px 60px -34px rgba(12, 34, 22, .9); border: 6px solid var(--forest); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; background: var(--forest); color: #e9f2df; }
.player-bar .title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-bar .title img { width: 36px; border-radius: 10px; }
.player-bar strong { display: block; color: #fff; line-height: 1.2; font-size: 15px; }
.player-bar .title span { font-size: 12px; color: #a9c29a; }
.player-bar .tools { display: flex; align-items: center; gap: 8px; }
.player-bar .coin-chip { background: rgba(0, 0, 0, .3); }
.frame-wrap { position: relative; aspect-ratio: 16 / 9; min-height: 420px; max-height: 78vh; width: 100%; background: radial-gradient(circle at 50% 40%, #1f5a41, var(--forest-3) 72%); }
.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; color: #fff; z-index: 2; background: linear-gradient(180deg, rgba(12, 34, 22, .35), rgba(12, 34, 22, .9)); }
.frame-gate[hidden] { display: none; }
.frame-gate .inner { max-width: 440px; }
.frame-gate img.thumb { width: 130px; margin: 0 auto 16px; border-radius: 50% 50% 16px 16px / 26% 26% 16px 16px; border: 4px solid var(--paper); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.frame-gate h2 { color: #fff; font-size: 28px; }
.frame-gate p { color: #cfe0c3; }
.frame-gate .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.frame-gate .btn-ghost:hover { background: #fff; color: var(--forest); }
.frame-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #cfe0c3; font-size: 14px; text-align: center; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .18); border-top-color: var(--amber); animation: spin .9s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-shell:fullscreen { border-radius: 0; border: 0; display: flex; flex-direction: column; }
.player-shell:fullscreen .frame-wrap { flex: 1; aspect-ratio: auto; max-height: none; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 18px; position: sticky; top: 96px; }
.side-card img.cover { border-radius: 50% 50% 18px 18px / 26% 26% 18px 18px; border: 4px solid var(--paper-2); box-shadow: var(--shadow-sm); margin: 0 auto 14px; width: 70%; }
.side-card h2 { font-size: 20px; text-align: center; }
.side-card .btns { display: grid; gap: 8px; margin-top: 14px; }
.info-tabs { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.tab-row { display: flex; gap: 4px; padding: 10px 12px 0; background: var(--paper-2); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-row button { padding: 12px 20px; border: 0; background: transparent; border-radius: 14px 14px 0 0; font-weight: 700; color: var(--muted); white-space: nowrap; }
.tab-row button[aria-selected="true"] { background: var(--paper); color: var(--forest); box-shadow: 0 -3px 0 var(--clay) inset; }
.tab-body { padding: 28px; }
.tab-body[hidden] { display: none; }
.tab-body h2 { font-size: 26px; }
.kv { list-style: none; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: 14.5px; }
.kv li:last-child { border-bottom: 0; }
.kv li > span:first-child { color: var(--muted); }
.kv li > span:last-child { font-weight: 700; text-align: right; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- panels, stats, rewards ---------- */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; }
.panel-pad { padding: 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; }
.stat span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 700; }
.stat b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--forest); }
.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin: 20px 0; }
.streak .day { text-align: center; padding: 12px 4px; border-radius: 18px; background: var(--paper-2); border: 2px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.streak .day b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--forest); margin: 2px 0; }
.streak .day img { width: 22px; margin: 4px auto 0; }
.streak .day.done { background: var(--forest); border-color: var(--forest); color: #cfe0c3; }
.streak .day.done b { color: #fff; }
.streak .day.today { border-color: var(--clay); background: #fff1e6; box-shadow: 0 0 0 4px rgba(200, 96, 47, .18); }
.level-card { display: flex; align-items: center; gap: 22px; }
.level-ring { flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--clay) calc(var(--p, 0) * 1%), var(--sage) 0); }
.level-ring > div { width: 88px; height: 88px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; text-align: center; line-height: 1.1; }
.level-ring b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--forest); }
.level-ring span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 11px 10px; border-bottom: 1px dashed var(--line-2); vertical-align: top; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.level-table tr.current td { background: var(--sage); font-weight: 700; color: var(--forest); }
.odds td:last-child { text-align: right; font-weight: 700; color: var(--clay-2); }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.badge { text-align: center; padding: 22px 16px; background: var(--paper); border: 2px dashed var(--line-2); border-radius: 24px; opacity: .8; }
.badge .medal { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--dim); }
.badge .medal .icon { width: 28px; height: 28px; }
.badge h3 { font-size: 16px; margin-bottom: 4px; }
.badge p { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.badge .state { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
.badge.unlocked { opacity: 1; border: 2px solid var(--moss); background: #f3f8e8; }
.badge.unlocked .medal { background: linear-gradient(135deg, var(--amber), var(--clay)); color: #fff; }
.badge.unlocked .state { background: var(--moss); color: #fff; }
.milestones { list-style: none; display: grid; gap: 12px; }
.milestone { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 14px 18px; }
.milestone .num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-family: var(--font-display); font-weight: 800; color: var(--muted); }
.milestone.reached .num { background: var(--moss); color: #fff; }
.milestone h3 { font-size: 16px; margin-bottom: 6px; }
.chest { display: flex; gap: 24px; align-items: center; }
.chest-art { flex: none; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(234, 168, 58, .35), transparent 70%); }
.chest-art img { width: 100px; }
.chest-art.shake img { animation: shake .6s ease; }
@keyframes shake { 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-7deg); } 80% { transform: rotate(4deg); } }
.activity-item { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.activity-item img { width: 34px; border-radius: 8px; }
.amt { margin-left: 8px; font-weight: 800; color: var(--green); }
.amt.neg { color: var(--red); }
.info-banner { display: flex; gap: 12px; padding: 18px 22px; border-radius: 20px; background: #fff3dc; border: 1px solid #f1d8a2; color: #6a4b12; font-size: 14.5px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 26px 22px; }
.feature .ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--sage); color: var(--forest); margin-bottom: 14px; }
.feature h3 { font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ball-steps { list-style: none; display: grid; gap: 14px; }
.ball-steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 22px; }
.ball-steps h3 { font-size: 18px; margin-bottom: 4px; }
.ball-steps p { margin: 0; color: var(--muted); }
.num-ball { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; background: var(--forest); }
.num-ball.b-a { background: var(--forest); } .num-ball.b-b { background: var(--clay); } .num-ball.b-c { background: #6b4fa3; }

/* ---------- prose + legal ---------- */
.prose-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; font-size: 14px; }
.toc strong { display: block; margin-bottom: 8px; font-family: var(--font-display); }
.toc ol { padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--clay); }
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .5em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 1.2em; }
.prose p, .prose li { color: #33443a; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1em; display: grid; gap: 6px; }
.prose a { color: var(--clay-2); text-decoration: underline; }
.prose code { background: var(--bg-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.prose table { margin: 1em 0 1.4em; background: var(--paper); border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }

/* ---------- help / contact ---------- */
.help-search { margin-top: 20px; max-width: 520px; }
.help-search input { width: 100%; padding: 15px 22px; border-radius: 999px; border: 2px solid var(--line-2); background: var(--paper); }
.help-search input:focus { outline: none; border-color: var(--moss); }
.topic-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.topic { padding: 9px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-weight: 600; font-size: 14.5px; }
.topic:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.faq-group h2 { font-size: 26px; margin: 1.4em 0 .6em; }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
details.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; font-weight: 800; }
details.faq[open] summary::after { content: "–"; background: var(--clay); color: #fff; }
details.faq .answer { padding: 0 20px 6px; color: #33443a; }
.contact-grid { align-items: start; grid-template-columns: 1.4fr 1fr; }
.contact-card { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; margin-bottom: 14px; }
.contact-card .ico { width: 46px; height: 46px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--sage); color: var(--forest); }
.contact-card h3 { font-size: 16px; margin-bottom: 2px; }
.contact-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.contact-card a { color: var(--clay-2); font-weight: 700; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=date], .field select, .field textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line-2); background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(95, 141, 78, .18); }
.field .error { display: none; color: var(--red); font-size: 13px; margin-top: 5px; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.hint { display: block; font-size: 12.5px; color: var(--dim); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.form-row, .auth-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; padding: 16px 18px; border-radius: 16px; background: #e7f4e0; border: 1px solid #b7dba6; color: #25521f; margin-bottom: 18px; font-weight: 600; }
.form-success.show { display: block; }

/* auth */
.auth-page { padding: 0; }
.auth-wrap { display: grid; grid-template-columns: 5fr 6fr; min-height: calc(100vh - 110px); }
.auth-aside { background: linear-gradient(160deg, var(--forest), var(--forest-3)); color: #e3efd9; padding: 54px 52px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.auth-aside::before { content: ""; position: absolute; right: -90px; bottom: -90px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.auth-aside .brand-text { color: #fff; }
.auth-aside h2 { color: #fff; font-size: clamp(34px, 3.6vw, 48px); margin: 0; }
.auth-perks { list-style: none; display: grid; gap: 18px; position: relative; }
.auth-perks li { display: flex; gap: 14px; }
.auth-perks .ico { width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex: none; color: var(--amber); }
.auth-perks strong { display: block; color: #fff; }
.auth-perks span { font-size: 14px; color: #b8cdaa; }
.auth-panel { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 520px; background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 38px 36px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 36px; margin-bottom: 6px; }
.auth-lead { color: var(--muted); margin-bottom: 22px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; font-weight: 700; margin-bottom: 18px; }
.btn-google:hover { border-color: var(--forest); }
.btn-google:disabled { opacity: .6; }
.auth-or { text-align: center; color: var(--dim); font-size: 13px; margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 14px; }
.auth-row a { color: var(--clay-2); font-weight: 700; }
.forgot-box { background: var(--paper-2); border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.forgot-box[hidden] { display: none; }
.auth-switch { text-align: center; margin: 18px 0 6px; }
.auth-switch a { color: var(--clay-2); font-weight: 700; }
.auth-note { text-align: center; font-size: 12.5px; color: var(--dim); margin: 0; }

/* providers */
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 26px; }
.pv-card { display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px; background: var(--paper); border: 2px solid var(--line); border-radius: 22px; }
.pv-card:hover { border-color: var(--moss); }
.pv-card.on { border-color: var(--clay); background: #fff4ea; }
.monogram { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.pv-txt strong { display: block; line-height: 1.2; }
.pv-txt small { display: block; color: var(--muted); font-size: 12.5px; }
.pv-txt em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--clay-2); }
.pv-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 30px; padding: 28px; }
.pv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.pv-head h3 { font-size: 28px; margin-bottom: 4px; }
.pv-head p { margin: 0; color: var(--muted); }
.pv-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 18px; }
.pv-game { text-align: center; font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.pv-game img { border-radius: 50% 50% 14px 14px / 26% 26% 14px 14px; border: 3px solid var(--paper); box-shadow: var(--shadow-sm); margin-bottom: 8px; transition: transform .2s; }
.pv-game:hover img { transform: translateY(-4px); }

/* ---------- footer ---------- */
.site-footer { background: var(--forest-2); color: #c9dcba; margin-top: 70px; position: relative; padding-top: 30px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 30px; background: radial-gradient(circle at 15px 0, var(--bg) 14px, transparent 15px) 0 0 / 30px 30px repeat-x; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding: 40px 0 28px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; max-width: 360px; }
.footer-col h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.footer-col a:hover { color: var(--amber); }
.footer-rp { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 22px; background: rgba(255, 255, 255, .06); border-radius: 20px; margin-bottom: 18px; }
.footer-rp .left { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.age { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--amber); color: var(--amber); display: grid; place-items: center; font-weight: 800; flex: none; }
.footer-rp .pills { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-rp .pill { background: rgba(255, 255, 255, .1); color: #e3efd9; }
.footer-rp a.gold { color: var(--amber); }
.disclaimer { font-size: 13px; color: #9db58f; }
.disclaimer strong { color: #d8e8cb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--amber); }

/* ---------- modal, toast, cookies ---------- */
.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(12, 34, 22, .6); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.modal-top { padding: 30px 28px 8px; text-align: center; }
.modal-top h2 { font-size: 26px; }
.modal-top p { color: var(--muted); font-size: 14.5px; margin: 0; }
.modal-body { padding: 16px 28px 28px; }
.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: 18px; background: var(--forest); color: #fff; box-shadow: var(--shadow); font-size: 14px; animation: toastIn .3s ease; }
.toast img { width: 30px; flex: none; }
.toast .icon { color: var(--amber); }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
.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 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cookie-bar.show { display: flex; }
.cookie-bar p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cookie-bar strong { display: block; color: var(--ink); font-size: 14.5px; }
.cookie-bar a { color: var(--clay-2); text-decoration: underline; }

/* google demo chooser */
#gmock { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .55); }
#gmock .gmock-card { width: 100%; max-width: 400px; background: #fff; color: #202124; border-radius: 16px; padding: 32px 28px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); font-family: Roboto, Arial, sans-serif; text-align: center; }
#gmock h2 { font: 400 24px/1.3 Roboto, Arial, sans-serif; margin: 12px 0 4px; color: #202124; letter-spacing: 0; }
#gmock .gmock-sub { margin: 0 0 18px; color: #5f6368; font-size: 14px; }
#gmock .gmock-sub strong { color: #1a73e8; font-weight: 500; }
#gmock .gmock-list { display: grid; margin-bottom: 8px; text-align: left; }
#gmock .gmock-acc { display: flex; align-items: center; gap: 12px; padding: 10px 6px; background: none; border: 0; border-top: 1px solid #dadce0; cursor: pointer; font: inherit; color: #202124; text-align: left; }
#gmock .gmock-acc:hover { background: #f1f3f4; }
#gmock .gmock-acc small { display: block; color: #5f6368; }
#gmock .gmock-av { width: 32px; height: 32px; border-radius: 50%; background: #1a73e8; color: #fff; display: grid; place-items: center; font-weight: 500; flex: none; }
#gmock .gmock-av-o { background: #e8eaed; }
#gmock .gmock-form { text-align: left; border-top: 1px solid #dadce0; padding-top: 14px; }
#gmock .gmock-form input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #747775; border-radius: 6px; font-size: 16px; background: #fff; color: #202124; }
#gmock .gmock-form input:focus { outline: 2px solid #1a73e8; border-color: transparent; }
#gmock .gmock-err { display: block; min-height: 18px; margin-top: 4px; color: #d93025; font-size: 12px; }
#gmock .gmock-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
#gmock .gmock-cancel, #gmock .gmock-back { background: none; border: 0; color: #1a73e8; font: 500 14px Roboto, Arial, sans-serif; cursor: pointer; padding: 10px 8px; }
#gmock .gmock-next { background: #1a73e8; color: #fff; border: 0; border-radius: 999px; padding: 10px 24px; font: 500 14px Roboto, Arial, sans-serif; cursor: pointer; }
#gmock .gmock-note { margin: 16px 0 0; font-size: 11px; color: #80868b; }
#gmock .gmock-wait { padding: 30px 0; }
#gmock .gmock-wait p { color: #5f6368; margin: 14px 0 0; }
#gmock .gmock-chip { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 16px; padding: 4px 12px 4px 4px; border: 1px solid #dadce0; border-radius: 999px; font-size: 14px; color: #3c4043; }
#gmock .gmock-chip .gmock-av { width: 24px; height: 24px; font-size: 12px; }
#gmock .gmock-consent { text-align: left; font-size: 14px; color: #3c4043; border-top: 1px solid #dadce0; padding-top: 14px; }
#gmock .gmock-consent p { margin: 0 0 10px; }
#gmock .gmock-spin { width: 28px; height: 28px; margin: 18px auto 0; border: 3px solid #dadce0; border-top-color: #1a73e8; border-radius: 50%; animation: spin .8s linear infinite; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tile-grid.six { grid-template-columns: repeat(3, 1fr); }
  .play-layout { grid-template-columns: 1fr; }
  .side-card { position: static; display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; }
  .side-card img.cover { width: 100%; margin: 0; }
  .side-card .btns { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .pot-panel { grid-template-columns: 130px 1fr; }
  .pot-side { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .header-actions .login-btn, .header-actions > [data-auth="guest"] .btn-gold { display: none; }
  .header-actions .player-meta { display: none; }
  .player-btn { padding: 4px; }
  .bar { gap: 12px; justify-content: space-between; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 90vw); background: var(--paper); z-index: 120; padding: 80px 22px 24px; transform: translateX(105%); transition: transform .28s; overflow-y: auto; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4); flex: none; }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { width: 100%; padding: 13px 14px; font-size: 16px; border-radius: 14px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .mobile-account { display: block; margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-2); }
  .mobile-account input[type=search] { width: 100%; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--line-2); background: #fff; }
  .nav-toggle { position: relative; z-index: 130; }
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .collage { height: 440px; max-width: 520px; margin: 0 auto; width: 100%; }
  .stat-band .container { grid-template-columns: repeat(2, 1fr); }
  .stat-band .s:nth-child(3) { border-left: 0; }
  .stat-band .s:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .trail-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 22px; }
  .filters { position: static; padding: 12px; }
  .filters h2 { display: none; }
  .chips { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .chip { white-space: nowrap; flex: none; border-color: var(--line-2); }
  .prose-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { padding: 34px 24px; }
  .auth-perks { display: none; }
  .auth-aside h2 { font-size: 30px; }
  .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid.list-view { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 54px 0; }
  .tile-grid.six, .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
  .rail .game-card { flex-basis: 160px; }
  .trail-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spot { grid-template-columns: 1fr; text-align: center; }
  .spot img { width: 60%; margin: 0 auto; }
  .pot-panel { grid-template-columns: 1fr; padding: 24px 20px; text-align: center; }
  .pot-art img { width: 110px; }
  .progress-meta { justify-content: center; }
  .collage { height: 380px; }
  .collage .float { display: none; }
  .frame-wrap { aspect-ratio: 3 / 4; min-height: 0; max-height: 80vh; }
  .player-bar .title span { display: none; }
  .tab-body { padding: 20px; }
  .side-card { grid-template-columns: 1fr; }
  .side-card img.cover { width: 50%; margin: 0 auto; }
  .form-row, .auth-two { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .chest { flex-direction: column; text-align: center; }
  .milestone { grid-template-columns: 40px 1fr; }
  .milestone > :last-child { grid-column: 1 / -1; }
  .streak { gap: 5px; }
  .streak .day { font-size: 10.5px; padding: 8px 2px; }
  .streak .day b { font-size: 13px; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .level-card { flex-direction: column; text-align: center; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head.center { align-items: center; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* fixes */
[hidden] { display: none !important; }
.main-nav a { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) { .main-nav a { padding: 8px 10px; font-size: 14px; } .main-nav a .icon { display: none; } .bar { gap: 16px; } }
.tag { top: 60%; right: auto; left: 8px; transform: rotate(-4deg); }
.catalog-grid.list-view .tag { display: none; }
html, body { overflow-x: hidden; }
.hero .container > *, .play-layout > *, .catalog-layout > *, .spot-grid > *, .pot-panel > * { min-width: 0; }
@media (max-width: 640px) { .hero h1 mark { white-space: normal; } .hero-search input { font-size: 15px; } .collage .cv { width: 46%; } .collage .cv2 { left: 27%; } }
