/* =========================================================
   Wauto Sale — main stylesheet
   Fonts: Unbounded (display) + Manrope (body), Google Fonts
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #0a0816;
  --bg-2: #0f0c22;
  --surface: #161230;
  --surface-2: #1e1940;
  --surface-3: #282155;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4f1ff;
  --muted: #a8a2cc;
  --dim: #6f6996;
  --amber: #ffb020;
  --coral: #ff5a5f;
  --pink: #ff3d9a;
  --cyan: #2de2e6;
  --violet: #7c5cff;
  --lime: #b8f84a;
  --hot: linear-gradient(120deg, #ffb020 0%, #ff5a5f 48%, #ff3d9a 100%);
  --cool: linear-gradient(120deg, #2de2e6 0%, #7c5cff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 92, 255, .22), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(255, 61, 154, .14), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.55rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
h4 { font-size: 1rem; }
em.grad, .grad { font-style: normal; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
em.cool { font-style: normal; background: var(--cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--amber); color: #120c00; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* ---------- swing-tag eyebrow (the "sale tag" signature) ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #1a0f00; background: var(--amber);
  padding: 7px 14px 7px 26px; margin-bottom: 18px;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  position: relative;
}
.tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--bg); }
.tag.cyan { background: var(--cyan); }
.tag.pink { background: var(--pink); color: #fff; }
.tag.violet { background: var(--violet); color: #fff; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--surface-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-weight: 800; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s, border-color .18s;
  white-space: nowrap; color: var(--text); background: var(--b);
}
.btn:hover { transform: translateY(-2px); color: var(--text); }
.btn:active { transform: translateY(0); }
.btn-hot { background: var(--hot); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 61, 154, .65); }
.btn-hot:hover { color: #fff; box-shadow: 0 16px 36px -10px rgba(255, 90, 95, .8); }
.btn-cool { background: var(--cool); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-dark { background: var(--bg); border-color: var(--line-2); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top strip ---------- */
.topstrip { background: #07050f; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.topstrip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.topstrip b { color: var(--amber); font-weight: 800; }
.topstrip .ts-links { display: flex; gap: 18px; }
.topstrip .ts-links a:hover { color: var(--text); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(10, 8, 22, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: var(--header-h); }
.nav-main { display: flex; gap: 4px; }
.nav-main a { padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--muted); }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { width: 44px; height: 44px; }
.logo .wordmark { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; line-height: 1; }
.logo .wordmark small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; color: var(--amber); font-weight: 700; margin-top: 5px; }
.hdr-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.coin-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-weight: 800; font-size: .9rem;
}
.coin-pill .coin { width: 28px; height: 28px; }
.coin-pill small { display: block; font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; color: var(--muted); line-height: 1.1; }
.coin-pill b { display: block; line-height: 1.1; }
.hdr-link { font-weight: 800; font-size: .93rem; padding: 8px 10px; }
.user-chip { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .92rem; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--hot); display: grid; place-items: center; font-family: var(--display); font-size: .78rem; color: #fff; }
.lvl-badge { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: var(--violet); color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- bottom nav (mobile) ---------- */
.bottom-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url(../images/hero-grid.svg) center bottom / cover no-repeat; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 38px; max-width: 600px; }
.stat { background: rgba(22, 18, 48, .7); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.collage { position: relative; height: 520px; }
.collage .cv { position: absolute; width: 46%; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-2); transition: transform .4s ease; }
.collage .cv img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.collage .cv span { position: absolute; left: 12px; right: 12px; bottom: 12px; font-family: var(--display); font-size: .82rem; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.collage .c1 { left: 0; top: 40px; transform: rotate(-7deg); }
.collage .c2 { left: 27%; top: 0; z-index: 2; transform: rotate(2deg); }
.collage .c3 { right: 0; top: 70px; transform: rotate(8deg); }
.collage:hover .c1 { transform: rotate(-10deg) translateX(-10px); }
.collage:hover .c3 { transform: rotate(11deg) translateX(10px); }
.welcome-card {
  position: absolute; z-index: 3; left: 8%; right: 8%; bottom: 0;
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px;
  background: rgba(15, 12, 34, .88); backdrop-filter: blur(10px); border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.welcome-card .coin { width: 54px; height: 54px; flex: none; animation: spin 6s linear infinite; }
.welcome-card small { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--amber); }
.welcome-card b { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.welcome-card p { margin: 0; font-size: .84rem; color: var(--muted); }
@keyframes spin { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: #07050f; overflow: hidden; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 40px; padding: 14px 0; animation: marq 38s linear infinite; font-family: var(--display); font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.marquee .track span::after { content: "✦"; margin-left: 40px; color: var(--pink); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 84px 0; position: relative; }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 620px; }
.see-all { font-weight: 800; font-size: .92rem; color: var(--amber); white-space: nowrap; }
.see-all::after { content: " →"; }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .9rem; cursor: pointer; font-family: var(--body); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active, .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .n { font-family: var(--mono); font-size: .74rem; opacity: .7; }

/* ---------- game cards ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 214px; gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 6px; }
.grid-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.gcard { position: relative; display: block; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.gcard:hover { transform: translateY(-6px); border-color: rgba(255, 176, 32, .55); box-shadow: 0 20px 40px -18px rgba(255, 61, 154, .45); color: var(--text); }
.gcard .art { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.gcard .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gcard:hover .art img { transform: scale(1.06); }
.gcard .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 8, 22, .85)); }
.gcard .play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: .25s; background: var(--hot); color: #fff; font-weight: 800; font-size: .86rem; padding: 10px 18px; border-radius: 999px; }
.gcard:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gcard .badge { position: absolute; z-index: 2; top: 12px; left: 12px; font-family: var(--mono); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: var(--pink); color: #fff; }
.gcard .badge.new { background: var(--cyan); color: #04211f; }
.gcard .badge.top { background: var(--amber); color: #1a0f00; }
.gcard .meta { padding: 14px 16px 16px; }
.gcard .meta h3 { font-size: .98rem; margin: 0 0 4px; }
.gcard .meta span { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--display); font-size: 3.2rem; font-weight: 800; line-height: 1; margin-bottom: 18px; background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 0; }
.step .pill { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--cyan); }

/* ---------- levels ladder ---------- */
.ladder { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; margin-top: 10px; }
.rung { border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--surface-3), var(--surface)); border: 1px solid var(--line); padding: 12px 8px; text-align: center; display: flex; flex-direction: column; justify-content: flex-end; }
.rung b { font-family: var(--display); font-size: 1.1rem; }
.rung span { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); }
.rung small { display: block; font-family: var(--mono); font-size: .62rem; color: var(--dim); }
.rung.lit { background: linear-gradient(180deg, rgba(255, 61, 154, .5), rgba(124, 92, 255, .25)); border-color: rgba(255, 61, 154, .5); }

/* ---------- split / panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 92, 255, .18); margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px dashed var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 6px; background: var(--cool); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.bonus-meter { position: relative; padding: 32px; border-radius: 24px; background: radial-gradient(120% 140% at 0% 0%, rgba(255, 176, 32, .22), transparent 55%), var(--surface); border: 1px solid rgba(255, 176, 32, .35); }
.bonus-meter .amt { font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; }
.bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; margin: 22px 0 10px; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--hot); transition: width 1s ease; }
.bar-legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--muted); }

/* ---------- responsible play block ---------- */
.rg { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: linear-gradient(135deg, rgba(45, 226, 230, .12), rgba(124, 92, 255, .14)); border: 1px solid rgba(45, 226, 230, .25); }
.rg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rg-stats div { padding: 18px; border-radius: 16px; background: rgba(10, 8, 22, .55); border: 1px solid var(--line); text-align: center; }
.rg-stats b { display: block; font-family: var(--display); font-size: 1.9rem; }
.rg-stats span { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 1.1rem; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--pink); }
.faq details > div { padding: 0 24px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 56px; border-radius: 30px; background: var(--hot); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; background: url(../images/coin.svg) center/contain no-repeat; opacity: .22; transform: rotate(18deg); }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; opacity: .92; font-weight: 600; }
.cta-band .btn { position: relative; z-index: 1; background: #0a0816; color: #fff; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(../images/hero-grid.svg) center bottom / cover no-repeat; opacity: .5; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
.page-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--amber); }
.crumbs span[aria-hidden] { color: var(--dim); }
.updated { font-family: var(--mono); font-size: .78rem; color: var(--dim); margin-top: 14px; }

/* ---------- legal / prose ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc b { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--amber); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 0; font-size: .9rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.toc a:last-child { border: 0; }
.toc a:hover { color: var(--text); }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 26px 0 10px; font-size: 1.05rem; }
.prose p, .prose li { color: #d6d2ee; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose b, .prose strong { color: var(--text); }
.note { padding: 18px 22px; border-radius: 14px; background: rgba(255, 176, 32, .08); border: 1px solid rgba(255, 176, 32, .3); margin: 0 0 1.4em; }
.note p:last-child { margin: 0; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 1.4em; }
.cards-2 > div { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cards-2 h3 { margin-top: 0; }
.cards-2 p { margin: 0; font-size: .94rem; }
.cookie-item { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.cookie-item h3 { margin: 0 0 6px; font-family: var(--mono); font-size: .95rem; color: var(--cyan); }
.cookie-item p { margin: 0; font-size: .94rem; }
.cookie-item .kind { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--surface-3); margin-left: 8px; vertical-align: middle; color: var(--muted); font-family: var(--body); }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.field .hint { font-size: .78rem; color: var(--dim); margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a2cc' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(45, 226, 230, .15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--coral); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pink); flex: none; }
.check a { color: var(--amber); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 76px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--surface-3); color: var(--text); font: inherit; font-size: .76rem; font-weight: 800; padding: 6px 10px; border-radius: 9px; cursor: pointer; }
.form-msg { display: none; margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-weight: 700; font-size: .92rem; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(184, 248, 74, .1); border: 1px solid rgba(184, 248, 74, .45); color: var(--lime); }
.form-msg.err { background: rgba(255, 90, 95, .1); border: 1px solid rgba(255, 90, 95, .45); color: #ff9da0; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: .82rem; font-weight: 700; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.btn-google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.btn-google:hover { color: #1f1f1f; }
.btn-google svg { width: 20px; height: 20px; }
.gsi-slot { display: flex; justify-content: center; min-height: 0; }
.gsi-slot:not(:empty) + .btn-google { display: none; }
.g-note { font-size: .78rem; color: var(--dim); text-align: center; margin: 10px 0 0; }
.form-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.form-foot a { color: var(--amber); font-weight: 700; }

.auth { padding: 56px 0 80px; }
.auth .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.auth-side h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.auth-side .lead { color: var(--muted); font-size: 1.08rem; }
.auth-art { margin-top: 30px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .94rem; }
.perks li i { font-style: normal; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 176, 32, .15); color: var(--amber); flex: none; font-size: .9rem; }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.info-item .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 61, 154, .14); flex: none; }
.info-item .ico svg { width: 22px; height: 22px; stroke: var(--pink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-item h3 { font-size: .95rem; margin: 0 0 4px; }
.info-item p { margin: 0; font-size: .9rem; color: var(--muted); }
.info-item a { color: var(--amber); }

/* ---------- account ---------- */
.dash { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dash + .dash { margin-top: 22px; }
.balance-card { position: relative; overflow: hidden; padding: 32px; border-radius: 24px; background: radial-gradient(110% 120% at 100% 0%, rgba(255, 61, 154, .35), transparent 55%), radial-gradient(90% 100% at 0% 100%, rgba(255, 176, 32, .25), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.balance-card small, .level-card small { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.balance-card .big { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; margin: 8px 0 22px; line-height: 1; }
.balance-card .big img { width: 52px; height: 52px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.kv div { padding: 12px 14px; border-radius: 12px; background: rgba(10, 8, 22, .5); border: 1px solid var(--line); }
.kv small { font-size: .62rem; }
.kv b { display: block; font-size: 1.05rem; }
.level-card { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.level-top { display: flex; align-items: center; gap: 18px; margin: 10px 0 6px; }
.level-ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--pink) calc(var(--p, 0) * 1%), rgba(255, 255, 255, .08) 0); flex: none; }
.level-ring div { width: 68px; height: 68px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.level-top h2 { margin: 0; font-size: 1.6rem; }
.level-top p { margin: 0; color: var(--muted); font-size: .9rem; }
.dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.dl > div:last-child { border: 0; }
.dl span { color: var(--muted); }
.dl b { text-align: right; word-break: break-all; }
.recent { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.recent a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.recent img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.recent span { display: block; padding: 8px 10px; font-size: .76rem; font-weight: 700; }
.empty { padding: 24px; border-radius: 14px; border: 1px dashed var(--line-2); color: var(--muted); text-align: center; font-size: .92rem; }
.levels-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.levels-list div { padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.levels-list div.on { border-color: var(--pink); background: rgba(255, 61, 154, .12); }
.levels-list b { display: block; font-size: .88rem; }
.levels-list span { font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.danger-zone { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.danger-zone summary { cursor: pointer; font-weight: 700; color: #ff9da0; font-size: .92rem; }
.danger-zone form { margin-top: 14px; }

/* ---------- single game ---------- */
.player-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.player { position: relative; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.player .frame { position: relative; aspect-ratio: 16/9; background: #05040b; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: .9rem; background: radial-gradient(circle, rgba(124, 92, 255, .2), transparent 60%); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--line); flex-wrap: wrap; }
.player-bar .t { font-weight: 800; font-size: .95rem; }
.player-bar .t small { display: block; font-weight: 600; color: var(--muted); font-size: .78rem; }
.player-bar .ctas { gap: 8px; }
.player:fullscreen { border-radius: 0; border: 0; }
.player:fullscreen .frame { aspect-ratio: auto; height: calc(100vh - 64px); }
.side-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; }
.side-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.side-card img { border-radius: 14px; margin-bottom: 16px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: .76rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--surface-3); color: var(--muted); }
.signin-nudge { padding: 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 176, 32, .16), rgba(255, 61, 154, .16)); border: 1px solid rgba(255, 176, 32, .35); }
.signin-nudge p { font-size: .9rem; color: #e2ddf7; }
.xp-toast { font-family: var(--mono); font-size: .8rem; color: var(--lime); }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.value b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.value p { color: var(--muted); margin: 0; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--surface-3); margin-left: 8px; }
.timeline div { position: relative; padding: 0 0 26px 28px; }
.timeline div::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 4px var(--bg); }
.timeline b { display: block; font-family: var(--display); font-size: .95rem; }
.timeline p { margin: 4px 0 0; color: var(--muted); }

/* ---------- support ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.support-grid a.panel { display: block; transition: border-color .2s, transform .2s; }
.support-grid a.panel:hover { border-color: var(--amber); transform: translateY(-3px); color: var(--text); }
.support-grid .panel p { color: var(--muted); margin: 0; font-size: .92rem; }
.support-grid .panel .k { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--cyan); display: block; margin-bottom: 10px; }
.secure-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }
.secure-flow div { position: relative; padding: 22px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.secure-flow div::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cool); font-family: var(--display); font-size: .85rem; margin-bottom: 12px; }
.secure-flow h3 { font-size: .95rem; }
.secure-flow p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; background: #07050f; border-top: 1px solid var(--line); padding-top: 64px; }
.f-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.f-brand p { color: var(--muted); font-size: .92rem; max-width: 360px; }
.f-brand .logo { margin-bottom: 18px; }
.f-col h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; color: var(--amber); text-transform: uppercase; margin-bottom: 16px; }
.f-col a, .f-col button { display: block; padding: 5px 0; color: var(--muted); font-size: .93rem; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.f-col a:hover, .f-col button:hover { color: var(--text); }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 48px; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.seal { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 3px solid var(--coral); font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.seal small { display: block; font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; margin-top: 4px; color: var(--muted); }
.notice p { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.notice .links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .86rem; font-weight: 700; }
.notice .links a { color: var(--amber); }
.f-bottom { margin-top: 36px; border-top: 1px solid var(--line); padding: 22px 0 26px; }
.f-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--dim); }
.op-line { font-size: .84rem !important; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 4, 12, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal.open { display: flex; }
.modal-box { position: relative; width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 36px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px #000; animation: pop .3s ease; }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.age-gate { background: rgba(5, 4, 12, .94); }
.age-gate .modal-box { text-align: center; max-width: 500px; border-color: rgba(255, 90, 95, .4); }
.age-gate .seal { margin: 0 auto 20px; width: 104px; height: 104px; font-size: 1.9rem; box-shadow: 0 0 0 8px rgba(255, 90, 95, .12); }
.age-gate h2 { font-size: 1.7rem; }
.age-gate p { color: var(--muted); }
.age-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 14px; }
.age-fine { font-size: .78rem !important; color: var(--dim) !important; margin: 0; }
.age-flag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--amber); margin-bottom: 10px; }
.care-head { margin-bottom: 18px; }
.care-head .tag { margin-bottom: 12px; }
.care-head p { color: var(--muted); font-size: .92rem; }

/* ---------- cookie bar + toast ---------- */
.cookie-bar { position: fixed; z-index: 150; left: 20px; right: 20px; bottom: 20px; max-width: 760px; margin: 0 auto; display: flex; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgba(22, 18, 48, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cookie-bar p { margin: 0; font-size: .86rem; color: var(--muted); flex: 1; }
.cookie-bar a { color: var(--amber); text-decoration: underline; }
.cookie-bar .ctas { flex: none; gap: 8px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 14px 22px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 800; font-size: .92rem; transition: .3s; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf b { font-family: var(--display); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; display: block; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-main a { padding: 8px 10px; font-size: .88rem; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .player-wrap { grid-template-columns: 1fr; }
  .player-side { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .player-side .side-card { margin: 0; }
  .side-card img { display: none; }
  .secure-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .topstrip .ts-links { display: none; }
  .site-header .wrap { grid-template-columns: auto 1fr; }
  .nav-main { display: none; }
  .logo { order: -1; }
  .menu-btn { display: block; }
  .hdr-right .hdr-link, .hdr-right .btn-join { display: none; }
  .user-chip [data-username], .user-chip .lvl-badge { display: none; }
  .user-chip { padding: 3px; }
  .hdr-right { min-width: 0; }
  .mobile-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 24px 22px; max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .35s ease, visibility .35s; }
  .mobile-nav.open { max-height: 80vh; visibility: visible; overflow-y: auto; }
  .mobile-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .mobile-nav .mn-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .mobile-nav .mn-ctas a { border: 0; padding: 12px; text-align: center; }
  .hero { padding: 48px 0 40px; }
  .hero .wrap, .split, .auth .wrap, .contact-grid, .rg, .legal { grid-template-columns: 1fr; }
  .collage { height: 460px; max-width: 520px; margin: 0 auto; width: 100%; }
  .steps, .values, .support-grid { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(5, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .toc { position: static; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 30px; }
  .auth-art { display: none; }
  body { padding-bottom: 74px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: rgba(10, 8, 22, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: .68rem; font-weight: 700; color: var(--muted); }
  .bottom-nav a[aria-current="page"] { color: var(--amber); }
  .bottom-nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .cookie-bar { bottom: 84px; }
  .toast { bottom: 96px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .section.tight { padding: 40px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .collage { height: 380px; }
  .welcome-card { left: 0; right: 0; padding: 14px 16px; }
  .welcome-card b { font-size: 1.15rem; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rail { grid-auto-columns: 158px; gap: 12px; }
  .grid-games { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gcard .meta { padding: 10px 12px 12px; }
  .gcard .meta h3 { font-size: .86rem; }
  .features, .row2, .cards-2, .rg-stats { grid-template-columns: 1fr; }
  .rg-stats { grid-template-columns: 1fr 1fr; }
  .rg { padding: 28px 20px; }
  .ladder { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .rung { padding: 10px 4px; }
  .rung span { font-size: .6rem; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .notice { grid-template-columns: 1fr; text-align: left; }
  .form-card, .panel, .balance-card, .level-card { padding: 24px 20px; }
  .kv { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .kv div { padding: 10px; }
  .recent { grid-template-columns: repeat(3, 1fr); }
  .levels-list { grid-template-columns: repeat(2, 1fr); }
  .player .frame { aspect-ratio: 3/4; max-height: 78vh; }
  .player-side { grid-template-columns: 1fr; }
  .secure-flow { grid-template-columns: 1fr; }
  .age-actions { grid-template-columns: 1fr; }
  .modal-box { padding: 28px 20px; }
  .cookie-bar { flex-direction: column; align-items: stretch; left: 12px; right: 12px; }
  .cookie-bar .ctas .btn { flex: 1; }
  .coin-pill small { display: none; }
  .coin-pill { padding: 5px 12px 5px 5px; font-size: .84rem; }
  .logo .wordmark { font-size: 1.08rem; }
  .logo img { width: 38px; height: 38px; }
  .hero h1 { font-size: 2.15rem; }
  .btn { padding: 12px 20px; }
  .ctas .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .logo .wordmark small { display: none; }
  .coin-pill { display: none !important; }
}
