/* GameEarn - neon arcade earn design system */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Outfit:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --bg: #05060b;
  --bg-elev: #0b0e18;
  --bg-panel: #101425;
  --border: rgba(0, 245, 212, 0.12);
  --text: #e8eefc;
  --muted: #8b95b0;
  --primary: #00f5d4;       /* electric cyan */
  --secondary: #ff2e63;     /* neon magenta */
  --lime: #b8ff3c;
  --glow: rgba(0, 245, 212, 0.45);
  --danger: #ff4d6d;
  --ok: #3dff9a;
  --warn: #ffc857;
  --radius: 14px;
  --font: 'Outfit', system-ui, sans-serif;
  --display: 'Orbitron', 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --header-h: 72px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: clip;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 245, 212, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(255, 46, 99, 0.08), transparent);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #7dffe9; }
img { max-width: 100%; display: block; }
h1, h2, h3, .brand-font { font-family: var(--display); letter-spacing: 0.02em; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
@media (max-width: 560px) {
  .container { width: min(100% - 1.25rem, var(--max)); }
}
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.text-ok { color: var(--ok); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .75rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-family: var(--font); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s;
  text-decoration: none; font-size: .92rem; letter-spacing: .01em;
  position: relative; overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00c4a8 55%, #7dff6a 100%);
  color: #041018;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.25), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { color: #041018; box-shadow: 0 0 28px var(--glow); transform: translateY(-1px); }
.btn-primary::after,
.btn-join::after,
.btn-play::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.4) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 65% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.btn-join {
  background: linear-gradient(120deg, #b8ff3c 0%, #00f5d4 50%, #00d4aa 100%);
  color: #06100a;
  border: 1px solid rgba(184, 255, 60, 0.5);
  box-shadow: 0 0 22px rgba(184, 255, 60, 0.28), 0 4px 16px rgba(0,0,0,.35);
  text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
  padding: .6rem 1.1rem;
}
.btn-join:hover { color: #06100a; box-shadow: 0 0 32px rgba(184, 255, 60, 0.45); transform: translateY(-1px); }
.btn-login {
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.35);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.08);
}
.btn-login:hover {
  background: rgba(0, 245, 212, 0.12);
  border-color: var(--primary);
  color: #7dffe9;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.2);
}
.btn-play {
  background: linear-gradient(135deg, #ff2e63, #ff6b9d);
  color: #fff;
  border: 1px solid rgba(255, 46, 99, 0.5);
  box-shadow: 0 0 18px rgba(255, 46, 99, 0.3);
  text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
}
.btn-play:hover { color: #fff; box-shadow: 0 0 28px rgba(255, 46, 99, 0.5); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border-color: var(--border); color: var(--text);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,245,212,.05); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .5rem .95rem; font-size: .84rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-logout { padding: .5rem .65rem; color: var(--muted); }
.btn-logout:hover { color: var(--danger); border-color: rgba(255,77,109,.4); }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-size: .9rem; color: var(--muted); }
.form-control {
  width: 100%; padding: .75rem 1rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
  font: inherit;
  font-size: 16px; /* prevent iOS zoom on focus */
}
.form-control:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}
.alert {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .9rem 1.05rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.45;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.alert > i {
  flex: 0 0 auto;
  margin-top: .12rem;
  font-size: 1.1rem;
  line-height: 1;
  opacity: .95;
}
.alert > span { min-width: 0; flex: 1; }
.flash-wrap { margin-top: 1rem; }
.alert-error {
  background: linear-gradient(145deg, rgba(255, 77, 109, .16), rgba(255, 77, 109, .08));
  border-color: rgba(255, 77, 109, .4);
  color: #ffc2ce;
}
.alert-success {
  background: linear-gradient(145deg, rgba(61, 255, 154, .16), rgba(0, 245, 212, .08));
  border-color: rgba(61, 255, 154, .38);
  color: #c6ffe4;
}
.alert-info {
  background: linear-gradient(145deg, rgba(0, 245, 212, .12), rgba(0, 245, 212, .05));
  border-color: rgba(0, 245, 212, .3);
  color: #b8fff4;
}

/* Daily limit → punchy upgrade strip */
.limit-upsell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.1rem;
  margin: 0 0 1.05rem;
  padding: .75rem .75rem .75rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 212, .24);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(255, 46, 99, .12), transparent 55%),
    linear-gradient(110deg, rgba(12, 18, 32, .98), rgba(8, 12, 22, .98) 55%, rgba(10, 22, 20, .95));
  box-shadow:
    0 0 28px rgba(0, 245, 212, .07),
    0 10px 28px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.limit-upsell--vacation {
  border-color: rgba(255, 107, 138, .35);
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(255, 107, 138, .14), transparent 55%),
    linear-gradient(110deg, rgba(18, 12, 24, .98), rgba(8, 12, 22, .98) 55%, rgba(12, 20, 28, .95));
}
.limit-upsell--vacation::before {
  background: linear-gradient(180deg, #ff6b8a, #2ee6c2, #4db7ff);
}
.limit-upsell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #ff2e63, var(--primary), var(--lime));
}
.limit-upsell-main {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-width: 0;
  flex: 1;
}
.limit-upsell-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}
.limit-upsell-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #ff8fab;
  border: 1px solid rgba(255, 46, 99, .35);
  background: rgba(255, 46, 99, .12);
}
.limit-upsell-badge i {
  font-size: .7rem;
}
.limit-upsell-text {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  min-width: 0;
}
.limit-upsell-text strong {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .03em;
  color: var(--text);
  line-height: 1.1;
}
.limit-upsell-text span {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.25;
}
.limit-upsell-hook {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: 100%;
  padding: .45rem .7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 212, .2);
  background:
    linear-gradient(105deg, rgba(0, 245, 212, .1), rgba(184, 255, 60, .08) 55%, rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.limit-upsell-hook > i {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  color: #041018;
  background: linear-gradient(135deg, var(--primary), var(--lime));
  box-shadow: 0 0 12px rgba(0, 245, 212, .3);
}
.limit-upsell-hook span {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .35rem;
  font-size: .8rem;
  line-height: 1.25;
  color: rgba(232, 236, 248, .72);
}
.limit-upsell-hook b {
  font-family: var(--display);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(115deg, #fff 10%, var(--primary) 55%, var(--lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.limit-upsell-hook em {
  font-style: normal;
  font-size: .74rem;
  color: var(--muted);
}
.limit-upsell-cta {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 48px;
  padding: .45rem .9rem .45rem .65rem;
  border-radius: 12px;
  text-decoration: none;
  color: #061018;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(125deg, #00e8d0 0%, #7dff6a 48%, #c8ff3c 82%, #ffe08a 100%);
  background-size: 160% 160%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18) inset,
    0 6px 20px rgba(0, 245, 212, .28);
  overflow: hidden;
  transition: transform .15s ease, filter .15s ease;
  animation: limitCtaShift 5s ease-in-out infinite;
}
.limit-upsell-cta:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.05);
  color: #061018;
}
.limit-upsell-cta > i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(4, 16, 24, .18);
  font-size: .9rem;
}
.limit-upsell-cta span {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  text-align: left;
  line-height: 1.1;
}
.limit-upsell-cta strong {
  font-family: var(--display);
  font-size: .88rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.limit-upsell-cta small {
  font-size: .62rem;
  font-weight: 700;
  opacity: .7;
}
.limit-upsell-cta--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
  animation: none;
}
.limit-upsell-cta--ghost:hover {
  color: var(--primary);
  border-color: rgba(0, 245, 212, .35);
}
.limit-upsell--compact {
  margin-bottom: .8rem;
  padding: .65rem .65rem .65rem .8rem;
}
.limit-upsell--compact .limit-upsell-text strong {
  font-size: .92rem;
}
.limit-upsell--compact .limit-upsell-cta {
  min-height: 44px;
}
@keyframes limitCtaShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (max-width: 720px) {
  .limit-upsell {
    flex-direction: column;
    align-items: stretch;
  }
  .limit-upsell-cta {
    justify-content: center;
  }
  .limit-upsell-cta span {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .limit-upsell-cta { animation: none; }
}

/* Site header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--header-h);
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(18px) saturate(1.2);
  background:
    linear-gradient(180deg, rgba(8, 10, 20, 0.96), rgba(5, 6, 11, 0.9));
  border-bottom: 1px solid rgba(0, 245, 212, 0.12);
  box-shadow: 0 8px 28px rgba(0,0,0,.32);
}
.header-scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--lime), transparent);
  opacity: .55;
  animation: scanPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanPulse {
  0%, 100% { opacity: .3; }
  50% { opacity: .8; }
}
.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem 1rem;
  padding-block: .5rem;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.logo {
  display: flex; align-items: center; gap: .55rem;
  flex-shrink: 0; text-decoration: none; line-height: 0;
}
.logo:hover { opacity: .92; }
.logo-img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(200px, 46vw);
  object-fit: contain;
  object-position: left center;
}
.header-panel {
  display: contents;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: .18rem;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: .28rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(8, 10, 20, 0.55);
  border: 1px solid rgba(0, 245, 212, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.22);
}
.nav::-webkit-scrollbar { display: none; }
.nav-link {
  --nav-accent: var(--primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: rgba(232, 238, 252, 0.72);
  padding: .4rem .72rem .4rem .42rem;
  border-radius: 12px;
  font-size: clamp(.72rem, 0.9vw, .8rem);
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-ico {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 9px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--nav-accent);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nav-ico i {
  font-size: .92rem;
  line-height: 1;
  opacity: 1;
}
.nav-label-compact { display: none; }
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.nav-link:hover .nav-ico {
  background: color-mix(in srgb, var(--nav-accent) 16%, transparent);
  border-color: color-mix(in srgb, var(--nav-accent) 35%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--nav-accent) 22%, transparent);
  transform: scale(1.04);
}
.nav-link.active {
  color: #fff;
  background: color-mix(in srgb, var(--nav-accent) 14%, rgba(255, 255, 255, 0.02));
  border-color: color-mix(in srgb, var(--nav-accent) 38%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--nav-accent) 14%, transparent);
}
.nav-link.active .nav-ico {
  background: color-mix(in srgb, var(--nav-accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--nav-accent) 45%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--nav-accent) 28%, transparent);
}
.nav-link--play {
  --nav-accent: #ff2e63;
  color: #ffb3c6;
}
.nav-link--play:hover,
.nav-link--play.active {
  color: #fff;
}
.nav-link--proof {
  --nav-accent: var(--lime);
}
.nav-link--proof:hover,
.nav-link--proof.active {
  color: #eaffc8;
}
/* legacy alias */
.nav-link-play { --nav-accent: #ff2e63; }

/* Theme toggle (light / night) */
.nav-theme {
  --nav-accent: #ffc857;
  appearance: none;
  cursor: pointer;
  font: inherit;
  background: transparent;
  margin: 0;
}
.nav-theme-ico {
  position: relative;
}
.nav-theme-sun,
.nav-theme-moon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-theme-sun { opacity: 1; transform: scale(1); }
.nav-theme-moon { opacity: 0; transform: scale(.7); }
html[data-theme="light"] .nav-theme-sun { opacity: 0; transform: scale(.7); }
html[data-theme="light"] .nav-theme-moon { opacity: 1; transform: scale(1); }
.nav-theme-text--to-night { display: none; }
html[data-theme="light"] .nav-theme-text--to-light { display: none; }
html[data-theme="light"] .nav-theme-text--to-night { display: inline; }

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex-shrink: 0;
}
.header-actions { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.bal-pills { display: flex; gap: .35rem; flex-wrap: nowrap; }
.bal-pills--drawer { display: none; }
.bal-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--mono); font-size: .7rem;
  padding: .38rem .62rem; border-radius: 10px;
  background: linear-gradient(145deg, #12162a, #0a0d18);
  border: 1px solid var(--border);
  text-decoration: none; color: var(--text);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.bal-pill:hover { transform: translateY(-1px); color: var(--text); }
.bal-pill i { font-size: .82rem; }
.bal-pill .lbl {
  color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-size: .58rem;
}
.bal-pill .val { font-weight: 600; }
.bal-pill.earn {
  border-color: rgba(61,255,154,.35);
  box-shadow: 0 0 12px rgba(61,255,154,.08);
}
.bal-pill.earn i, .bal-pill.earn .val { color: var(--ok); }
.bal-pill.buy {
  border-color: rgba(0,245,212,.35);
  box-shadow: 0 0 12px rgba(0,245,212,.08);
}
.bal-pill.buy i, .bal-pill.buy .val { color: var(--primary); }
.btn-logout {
  min-width: 38px;
  color: var(--muted);
}
.btn-logout-text { display: none; }
.btn-logout:hover { color: var(--danger); border-color: rgba(255,77,109,.4); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-panel); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
  justify-self: end;
}
.header-join {
  display: none;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--primary);
  border-radius: 2px; transition: .2s;
  box-shadow: 0 0 6px var(--glow);
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Soft account rail under main header */
.site-subnav {
  position: relative;
  z-index: 1;
  padding: .25rem 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.site-subnav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}
.subnav {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-left: auto;
}
.subnav-theme {
  appearance: none;
  cursor: pointer;
  font: inherit;
  background: transparent;
  margin: 0;
  flex-shrink: 0;
  color: rgba(255, 200, 87, 0.88);
}
.subnav-theme:hover,
.subnav-theme:focus-visible {
  color: #ffc857;
  background: rgba(255, 200, 87, 0.1);
  border-color: transparent;
}
.subnav-theme-ico {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: .92rem;
  height: .92rem;
  flex-shrink: 0;
}
.subnav-theme-ico .nav-theme-sun,
.subnav-theme-ico .nav-theme-moon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .92rem;
  transition: opacity .18s ease, transform .18s ease;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav-link {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  flex-shrink: 0;
  padding: .38rem .72rem;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(210, 218, 236, 0.62);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.subnav-link i {
  font-size: .92rem;
  opacity: .88;
}
.subnav-link:hover,
.subnav-link:focus-visible {
  color: #f2f5ff;
  background: rgba(255, 255, 255, 0.05);
  border-color: transparent;
}
.subnav-link.is-active {
  color: #fff;
  background: rgba(0, 245, 212, 0.1);
  border-color: transparent;
  box-shadow: none;
}
.subnav-link.is-active i {
  color: var(--primary);
  opacity: 1;
}
.subnav-label-compact { display: none; }

body.ui-compact .subnav-label-full { display: none; }
body.ui-compact .subnav-label-compact { display: inline; }

@media (max-width: 720px) {
  .site-subnav {
    padding: .2rem 0 0;
  }
  .subnav-link {
    padding: .34rem .58rem;
    font-size: .68rem;
    gap: .3rem;
  }
  .subnav-link i { font-size: .86rem; }
  .subnav-label-full { display: none; }
  .subnav-label-compact { display: inline; }
}

/* Large but tighter: shrink padding before stacking */
@media (max-width: 1360px) and (min-width: 1101px) {
  .header-inner { gap: .55rem .65rem; }
  .nav-link {
    gap: .32rem;
    padding: .36rem .55rem .36rem .36rem;
    font-size: .74rem;
  }
  .nav-ico {
    width: 1.55rem;
    height: 1.55rem;
  }
  .nav-ico i { font-size: .85rem; }
  .nav-label-full { display: none; }
  .nav-label-compact { display: inline; }
}

/* Mid widths: icon + tiny label rail */
@media (max-width: 1280px) and (min-width: 1101px) {
  .bal-pills--header .bal-pill .lbl { display: none; }
  .bal-pills--header .bal-pill { padding: .36rem .5rem; }
  .nav {
    gap: .08rem;
    padding: .18rem;
  }
  .nav-link {
    flex-direction: column;
    gap: .2rem;
    padding: .34rem .36rem;
    min-width: 3.25rem;
    font-size: .58rem;
    letter-spacing: .015em;
  }
  .nav-ico {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 10px;
  }
  .nav-ico i { font-size: .95rem; }
  .nav-link > span:not(.nav-ico) {
    line-height: 1.05;
    max-width: 4.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }
  .nav-label-full { display: none; }
  .nav-label-compact { display: inline; }
}

/* Tablet / small desktop: drawer keeps style intact */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
  .header-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .42rem .72rem;
    font-size: .68rem;
    letter-spacing: .05em;
    border-radius: 9px;
    white-space: nowrap;
  }
  .header-join i {
    font-size: .78rem;
  }
  .header-join-desk {
    display: none;
  }
  .nav-toggle { display: flex; }
  .header-panel {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .9rem;
    padding: .95rem 1rem 1.15rem;
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 245, 212, .08), transparent 55%),
      rgba(7, 9, 16, 0.98);
    border-bottom: 1px solid rgba(0,245,212,.22);
    box-shadow: 0 18px 42px rgba(0,0,0,.5);
    backdrop-filter: blur(16px);
  }
  .site-header.nav-open .header-panel {
    display: flex;
  }
  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    width: 100%;
    max-width: none;
    overflow: visible;
    justify-self: stretch;
    padding: .15rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
      rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
  }
  .nav-link {
    flex-direction: row;
    justify-content: flex-start;
    gap: .6rem;
    min-width: 0;
    padding: .72rem .75rem;
    font-size: .86rem;
    letter-spacing: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .06);
    transform: none;
  }
  .nav-link:hover { transform: none; }
  .nav-ico {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
  }
  .nav-ico i {
    font-size: 1.05rem;
  }
  .nav-link > span:not(.nav-ico) {
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    text-align: left;
  }
  .nav-label-full { display: inline; }
  .nav-label-compact { display: none; }
  .nav-link.active {
    background: color-mix(in srgb, var(--nav-accent) 14%, rgba(255, 255, 255, 0.03));
  }
  .header-tools {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .bal-pills--header { display: none; }
  .bal-pills--drawer {
    display: flex;
    width: 100%;
    gap: .45rem;
  }
  .bal-pill {
    flex: 1;
    justify-content: center;
    padding: .55rem .65rem;
    border-radius: 12px;
  }
  .bal-pill .lbl { display: inline; }
  .header-actions { width: 100%; }
  .header-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
  }
  .btn-logout-text { display: inline; }
  .logo-img { height: 36px; }
}
@media (max-width: 420px) {
  .nav {
    grid-template-columns: 1fr;
  }
}

/* Panels / cards (app only - not hero) */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.panel-title {
  font-family: var(--display); font-size: .95rem; margin: 0 0 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .logo-img { height: 32px; max-width: min(160px, 48vw); }
  .bal-pills--header .bal-pill .lbl { display: none; }
  .bal-pills--drawer .bal-pill .lbl { display: none; }
  .bal-pill { padding: .4rem .55rem; }
}

.stat-value {
  font-family: var(--mono); font-size: 1.35rem; font-weight: 600;
  color: var(--primary);
}
.stat-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* Tables */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-inline: 0;
}
table.data {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  min-width: 520px;
}
table.data th, table.data td {
  text-align: left; padding: .75rem .6rem;
  border-bottom: 1px solid var(--border);
}
table.data th { color: var(--muted); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 640px) {
  table.data { font-size: .8rem; min-width: 480px; }
  table.data th, table.data td { padding: .55rem .4rem; white-space: nowrap; }
  table.data th:first-child,
  table.data td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-panel);
    z-index: 1;
  }
}
.pager { display: flex; gap: .5rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.pager a, .pager span {
  padding: .35rem .7rem; border-radius: 8px; border: 1px solid var(--border);
  color: var(--muted); font-size: .85rem;
}
.pager .current { background: rgba(0,245,212,.15); color: var(--primary); border-color: var(--primary); }

/* Earnings history */
.result-pill, .grade-pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .22rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.result-win {
  color: var(--lime);
  background: rgba(184,255,60,.1);
  border-color: rgba(184,255,60,.35);
}
.result-play {
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.grade-pill.grade-best {
  color: #ffe08a;
  background: rgba(255,200,80,.12);
  border-color: rgba(255,200,80,.4);
}
.grade-pill.grade-great {
  color: var(--primary);
  background: rgba(0,245,212,.1);
  border-color: rgba(0,245,212,.35);
}
.grade-pill.grade-good {
  color: var(--lime);
  background: rgba(184,255,60,.08);
  border-color: rgba(184,255,60,.28);
}
.grade-pill.grade-try {
  color: #ff8fab;
  background: rgba(255,46,99,.08);
  border-color: rgba(255,46,99,.25);
}

/* Earnings history — mobile cards */
@media (max-width: 760px) {
  .table-wrap--earn {
    overflow: visible;
  }

  table.data.earn-history {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .earn-history thead {
    display: none;
  }

  .earn-history tbody {
    display: grid;
    gap: .55rem;
  }

  .earn-history .earn-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "game result"
      "when total"
      "score points"
      "play win"
      "comment comment";
    gap: .35rem .55rem;
    padding: .8rem .85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background:
      linear-gradient(160deg, rgba(255, 255, 255, .035), transparent 55%),
      rgba(10, 12, 22, .78);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  }

  .earn-history .earn-row.is-win {
    border-color: rgba(184, 255, 60, .2);
  }

  .earn-history .earn-row--empty {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  .earn-history--no-game .earn-row {
    grid-template-areas:
      "when result"
      "total total"
      "score points"
      "play win"
      "comment comment";
  }

  .earn-history .earn-row td {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: .84rem;
  }

  .earn-history .earn-row td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .12rem;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .earn-when { grid-area: when; }
  .earn-game { grid-area: game; min-width: 0; }
  .earn-result { grid-area: result; justify-self: end; align-self: start; }
  .earn-score { grid-area: score; }
  .earn-points { grid-area: points; }
  .earn-play { grid-area: play; }
  .earn-win { grid-area: win; }
  .earn-total { grid-area: total; justify-self: end; text-align: right; }
  .earn-comment {
    grid-area: comment;
    padding-top: .35rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }

  .earn-result::before,
  .earn-game::before,
  .earn-comment::before,
  .earn-total::before,
  .earn-when::before {
    display: none;
  }

  .earn-game-link {
    display: block;
    font-size: .95rem;
    line-height: 1.25;
    word-break: break-word;
  }

  .earn-when {
    white-space: normal;
    font-size: .75rem;
    color: var(--muted);
  }

  .earn-total strong { font-size: 1rem; }

  .earn-comment .grade-pill {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    border-radius: 10px;
    padding: .35rem .55rem;
  }

  .earn-score,
  .earn-points,
  .earn-play,
  .earn-win {
    padding: .35rem .45rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .05);
  }
}
.tr-grade {
  display: inline-block;
  margin-bottom: .35rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: .04em;
}
.game-earn-panel { margin-top: 1.35rem; }
.game-earn-totals {
  margin: -.15rem 0 1rem;
  font-size: .88rem;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .15rem;
  align-items: center;
}
.game-earn-totals .sep { opacity: .5; margin: 0 .25rem; }

/* Game hub */
.game-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.game-card {
  background: linear-gradient(160deg, #12162a, #0a0d18);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.game-card:hover {
  border-color: rgba(0,245,212,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 30px rgba(0,245,212,.08);
}
.game-card:active {
  transform: translateY(-1px) scale(.992);
}
.game-thumb {
  aspect-ratio: 16/10;
  background: #080a12;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.game-thumb img {
  width: 64%;
  height: auto;
  opacity: .9;
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
.game-thumb--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: transform .45s ease, filter .35s ease;
}
.game-thumb--cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 6, 11, .72) 100%),
    linear-gradient(90deg, rgba(0, 245, 212, .08), transparent 40%, rgba(255, 46, 99, .1));
  opacity: .9;
}
.game-thumb--cover::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .18) 50%, transparent 60%);
  transform: translateX(-30%);
  opacity: 0;
  transition: transform .7s ease, opacity .35s ease;
}
.game-thumb-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(.92);
  background: rgba(5, 8, 16, .55);
  border: 1px solid rgba(0, 245, 212, .45);
  color: var(--primary);
  font-size: 1.25rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35), 0 0 20px rgba(0, 245, 212, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  backdrop-filter: blur(6px);
}
.game-card:hover .game-thumb-play,
.game-card:focus-within .game-thumb-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.game-card:hover .game-thumb--cover img {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.1);
}
.game-card:hover .game-thumb--cover::after {
  opacity: 1;
  transform: translateX(35%);
}
.game-thumb--mf {
  box-shadow: inset 0 0 0 1px rgba(255, 46, 99, .18);
}
.game-thumb--mf::before {
  background:
    linear-gradient(180deg, transparent 50%, rgba(5, 6, 11, .6) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255, 46, 99, .16), transparent 65%),
    linear-gradient(90deg, rgba(0, 245, 212, .1), transparent 45%, rgba(255, 46, 99, .12));
}
.game-card:hover .game-thumb--mf {
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 212, .28),
    0 0 28px rgba(255, 46, 99, .16);
}
.game-badge {
  position: absolute; top: .6rem; right: .6rem;
  z-index: 4;
  font-size: .7rem; font-weight: 600; padding: .25rem .5rem;
  border-radius: 6px; background: rgba(255,46,99,.2); color: #ff8fab;
  border: 1px solid rgba(255,46,99,.35);
}
.game-badge--live {
  background: rgba(184, 255, 60, .18);
  color: #d8ff8a;
  border-color: rgba(184, 255, 60, .4);
  box-shadow: 0 0 12px rgba(184, 255, 60, .2);
}
.game-badge--soon {
  background: rgba(255, 160, 60, .18);
  color: #ffc857;
  border-color: rgba(255, 160, 60, .4);
}
.game-card.is-soon {
  opacity: .92;
}
.game-card.is-soon .game-thumb img {
  filter: saturate(.85) brightness(.92);
}
.game-card.is-soon .btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}
.game-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.game-body h3 { margin: 0; font-size: 1.05rem; font-family: var(--display); }
.game-body > .muted {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}
.game-meta { font-size: .8rem; color: var(--muted); display: flex; gap: .75rem; flex-wrap: wrap; }
.game-reward { font-family: var(--mono); color: var(--lime); font-size: .85rem; }
.game-body .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Play shell */
.play-shell {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr 280px;
}
@media (max-width: 800px) { .play-shell { grid-template-columns: 1fr; } }
.play-canvas {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(0,245,212,.05), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(0,245,212,.04) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(0,245,212,.04) 32px),
    #070912;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.play-canvas .placeholder {
  text-align: center; padding: 2rem; max-width: 420px;
}
.play-canvas .glow-orb {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,212,.25), transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* Landing hero - compact arcade stage */
.landing-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
  padding: clamp(1.75rem, 4.5vh, 2.75rem) 0 clamp(1.25rem, 3.5vh, 2rem);
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 78% 42%, rgba(0, 245, 212, 0.16), transparent 58%),
    radial-gradient(ellipse 42% 70% at 8% 88%, rgba(255, 46, 99, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 40% -10%, rgba(184, 255, 60, 0.06), transparent 50%),
    linear-gradient(180deg, #080a14 0%, #05060b 72%, #05060b 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-beam {
  position: absolute;
  top: -15%;
  left: 62%;
  width: 1.5px;
  height: 130%;
  background: linear-gradient(180deg, transparent, rgba(0, 245, 212, .5), rgba(184, 255, 60, .28), transparent);
  transform: rotate(16deg);
  filter: blur(.5px);
  animation: beamPulse 5s ease-in-out infinite;
  opacity: .55;
}
@keyframes beamPulse {
  0%, 100% { opacity: .2; }
  50% { opacity: .65; }
}
.hero-grid {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -35%;
  height: 70%;
  background-image:
    linear-gradient(rgba(0, 245, 212, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 55%, transparent 100%);
  transform: perspective(520px) rotateX(62deg);
  transform-origin: center top;
  opacity: .55;
  animation: gridDrift 18s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 48px, 48px 0; }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  animation: pulse 7s ease-in-out infinite;
}
.hero-orb-a {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  left: -8%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(0, 245, 212, .28), transparent 72%);
}
.hero-orb-b {
  width: min(36vw, 300px);
  height: min(36vw, 300px);
  right: 8%;
  top: -12%;
  background: radial-gradient(circle, rgba(255, 46, 99, .18), transparent 72%);
  animation-delay: 1.5s;
}
.landing-hero-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.hero-visual {
  position: relative;
  justify-self: end;
  align-self: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
  animation: visualFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 40px rgba(0, 245, 212, 0.18));
}
.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 48%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 48%, #000 58%, transparent 100%);
}
@keyframes visualFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.landing-hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
  max-width: 540px;
  width: 100%;
  animation: heroIn .85s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(232, 238, 252, 0.72);
  margin-bottom: .85rem;
  padding: .38rem .75rem .38rem .6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(10px);
}
.hero-kicker .hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: liveBlink 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.kicker-sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.landing-brand {
  margin: 0 0 .85rem;
  width: fit-content;
  position: relative;
  line-height: 0;
  animation: brandEarnIn .85s cubic-bezier(.22, 1, .36, 1) both;
}
.landing-logo {
  display: block;
  width: min(420px, 88vw);
  height: auto;
  max-height: clamp(72px, 12vw, 112px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 22px rgba(0, 245, 212, .26));
}
@keyframes brandEarnIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.landing-headline {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 .65rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: rgba(232, 238, 252, 0.96);
  max-width: 18ch;
}
.landing-headline .hl-earn {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 245, 212, .32);
}
.landing-sub {
  color: var(--muted);
  margin: 0 0 .95rem;
  max-width: 46ch;
  font-size: clamp(.94rem, 1.7vw, 1.05rem);
  line-height: 1.55;
}
.hero-stats {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  max-width: 40rem;
}
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 8.25rem;
  padding: .48rem .95rem .48rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 212, .18);
  background:
    linear-gradient(145deg, rgba(0, 245, 212, .08), rgba(255, 255, 255, .03));
  box-shadow: 0 6px 16px rgba(0, 0, 0, .16);
}
.hero-stat-ico {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(0, 245, 212, .12);
  color: var(--primary);
  font-size: .82rem;
  flex-shrink: 0;
}
.hero-stat:nth-child(2) .hero-stat-ico {
  background: rgba(61, 255, 154, .12);
  color: #7dffb8;
}
.hero-stat:nth-child(3) .hero-stat-ico {
  background: rgba(255, 200, 87, .12);
  color: #ffd56a;
}
.hero-stat-copy {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  min-width: 0;
  line-height: 1.15;
}
.hero-stat-copy strong {
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #eef6ff;
}
.hero-stat-copy em {
  font-style: normal;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-group { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-cta { gap: .75rem; align-items: center; }

.we-accept {
  margin-top: 1.15rem;
  max-width: 36rem;
}
.we-accept-label {
  margin: 0 0 .45rem;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(0, 245, 212, .85);
}
.we-accept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
}
.we-accept-pill {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .2rem .45rem .2rem .28rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(8, 12, 20, .55);
  color: #d5deee;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .03em;
  text-decoration: none;
  line-height: 1;
  cursor: default;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.we-accept-pill img,
.we-accept-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
}
.we-accept-pill i {
  font-size: .72rem;
  color: #b8ff3c;
}
.we-accept-pill--fp {
  border-color: rgba(184, 255, 60, .28);
  background: rgba(184, 255, 60, .08);
  color: #e8ffc8;
}
.we-accept-pill:hover {
  border-color: rgba(0, 245, 212, .4);
  background: rgba(0, 245, 212, .1);
  color: #fff;
}
.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 1.45rem;
  border-radius: 14px;
  border: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: .92rem;
  color: #04110c;
  background: linear-gradient(135deg, #d4ff5e 0%, #00f5d4 50%, #00d4b8 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 0 36px rgba(0, 245, 212, 0.32), 0 10px 28px rgba(0, 0, 0, .4);
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-hero-primary:hover {
  color: #04110c;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 0 48px rgba(184, 255, 60, 0.4), 0 14px 32px rgba(0, 0, 0, .45);
}
.btn-hero-primary .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: shine 3s ease-in-out infinite;
}
.btn-hero-primary i {
  font-size: 1.1rem;
  background: rgba(0, 0, 0, .12);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 1.25rem;
  border-radius: 14px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .25);
  transition: border-color .2s, background .2s, transform .2s, color .2s;
}
.btn-hero-secondary:hover {
  color: var(--primary);
  border-color: rgba(0, 245, 212, .45);
  background: rgba(0, 245, 212, .08);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .landing-hero-stage {
    position: relative;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
  }
  .hero-visual {
    display: block;
    position: absolute;
    top: .15rem;
    right: .1rem;
    width: 92px;
    height: 92px;
    aspect-ratio: 1;
    margin: 0;
    justify-self: unset;
    align-self: unset;
    z-index: 3;
    pointer-events: none;
    animation: visualFloatCute 4.8s ease-in-out infinite;
    filter: drop-shadow(0 8px 18px rgba(0, 245, 212, 0.22));
  }
  .hero-visual img {
    -webkit-mask-image: radial-gradient(ellipse 82% 82% at 50% 48%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 82% 82% at 50% 48%, #000 62%, transparent 100%);
  }
  @keyframes visualFloatCute {
    0%, 100% { transform: translateY(0) rotate(-3deg) scale(1); }
    50% { transform: translateY(-7px) rotate(3deg) scale(1.04); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-visual {
      animation: none;
    }
  }
  .landing-hero-content {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-column: 1;
    width: 100%;
  }
  .landing-brand {
    margin-inline: auto;
  }
  .landing-logo {
    object-position: center;
  }
  .landing-headline {
    max-width: none;
  }
  .landing-sub {
    margin-inline: auto;
  }
  .hero-stats {
    justify-content: center;
    margin-inline: auto;
    max-width: 100%;
  }
  .we-accept {
    margin-inline: 0;
    width: 100%;
    max-width: none;
    text-align: left;
    align-self: stretch;
  }
  .we-accept-pills {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .landing-hero {
    padding: 1rem 0 1.75rem;
  }
  .hero-visual {
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    justify-content: center;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }
  .hero-kicker {
    font-size: .58rem;
    letter-spacing: .08em;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  .we-accept {
    margin-top: .9rem;
    width: 100%;
    max-width: none;
    text-align: left;
    align-self: stretch;
  }
  .we-accept-pills {
    justify-content: flex-start;
  }
  .landing-logo {
    margin-inline: auto;
    max-height: 84px;
  }
  .landing-sub {
    max-width: 36ch;
  }
  .hero-stats {
    gap: .35rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-left: .2rem;
    padding-right: .2rem;
    box-sizing: border-box;
  }
  .hero-stat {
    flex: 1 1 calc(33.33% - .35rem);
    min-width: 0;
    justify-content: center;
    padding: .48rem .28rem;
    border-radius: 12px;
    gap: .35rem;
  }
  .hero-stat-ico {
    width: 1.55rem;
    height: 1.55rem;
    font-size: .76rem;
  }
  .hero-stat-copy strong {
    font-size: .8rem;
  }
  .hero-stat-copy em {
    font-size: .58rem;
    letter-spacing: .06em;
  }
  .hero-beam {
    left: 72%;
  }
  .hero-grid {
    opacity: .35;
  }
}

/* Live payouts marquee under hero */
.payout-band {
  position: relative;
  z-index: 3;
  border-block: 1px solid rgba(0, 245, 212, .14);
  background:
    linear-gradient(90deg, rgba(0, 245, 212, .07), transparent 18%, transparent 82%, rgba(184, 255, 60, .06)),
    linear-gradient(180deg, rgba(10, 14, 24, .98), rgba(6, 8, 14, .99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 10px 28px rgba(0, 0, 0, .28);
}
.payout-band-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: .55rem clamp(.75rem, 2vw, 1.25rem);
}
.payout-band-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d7ffe8;
  white-space: nowrap;
}
.payout-band-pulse {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(184, 255, 60, .55);
  animation: payoutPulse 1.8s ease-out infinite;
}
@keyframes payoutPulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 255, 60, .5); }
  70% { box-shadow: 0 0 0 8px rgba(184, 255, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 60, 0); }
}
.payout-band-viewport {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.payout-band-track {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  animation: payoutMarquee 42s linear infinite;
  will-change: transform;
}
.payout-band-viewport:hover .payout-band-track {
  animation-play-state: paused;
}
@keyframes payoutMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.payout-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  padding: .38rem .65rem .38rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(135deg, rgba(18, 24, 40, .95), rgba(8, 10, 18, .98));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  white-space: nowrap;
}
.payout-chip-status {
  display: inline-flex;
  align-items: center;
  gap: .18rem;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #04110c;
  background: linear-gradient(135deg, #d4ff5e, #00f5d4);
  padding: .18rem .4rem;
  border-radius: 999px;
}
.payout-chip-status i {
  font-size: .62rem;
}
.payout-chip-user {
  font-size: .78rem;
  font-weight: 650;
  color: #e8eefc;
}
.payout-chip-amount {
  font-size: .78rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: .01em;
}
.payout-chip-method {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--m, #00f5d4);
  padding: .16rem .4rem;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--m, #00f5d4) 45%, transparent);
  background: color-mix(in srgb, var(--m, #00f5d4) 14%, transparent);
}
.payout-band-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 650;
  color: var(--primary);
  text-decoration: none;
  padding: .35rem .55rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 212, .2);
  background: rgba(0, 245, 212, .06);
  transition: background .15s, border-color .15s, transform .15s;
}
.payout-band-link:hover {
  background: rgba(0, 245, 212, .12);
  border-color: rgba(0, 245, 212, .4);
  transform: translateY(-1px);
  color: var(--primary);
}
@media (max-width: 720px) {
  .payout-band-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "label link"
      "track track";
    gap: .45rem .55rem;
    padding: .55rem .7rem .65rem;
  }
  .payout-band-label { grid-area: label; }
  .payout-band-link { grid-area: link; justify-self: end; }
  .payout-band-viewport {
    grid-area: track;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }
  .payout-band-track {
    animation-duration: 32s;
  }
  .payout-chip {
    padding: .32rem .55rem .32rem .38rem;
    gap: .35rem;
  }
  .payout-chip-user {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (prefers-reduced-motion: reduce) {
  .payout-band-track {
    animation: none;
  }
  .payout-band-pulse {
    animation: none;
  }
  .payout-band-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2rem; }

/* Home landing - tighter section rhythm */
.page-home .section {
  padding: 2.25rem 0;
}
.page-home .section-head {
  margin-bottom: 1.25rem;
}
.page-home .section-how {
  padding-top: 1.75rem;
  padding-bottom: 2rem;
}
.page-home .section-games {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}
.page-home .section-refs {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}
.page-home .section-support {
  padding: .85rem 0 .65rem;
}
.page-home .landing-cta {
  padding: 1.15rem 0 1.1rem;
}
.page-home .landing-cta-inner {
  padding: 1.1rem 1.15rem 1.15rem;
}
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}
.section-eyebrow i { color: var(--lime); }
.section-title {
  font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  margin: 0 0 .55rem; letter-spacing: -0.02em;
}
.section-lead { color: var(--muted); margin: 0 0 2rem; max-width: 46ch; line-height: 1.55; }
.section-head .section-lead { margin-bottom: 0; }

.section-how {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,245,212,.06), transparent 60%);
}
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2.15rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,212,.35), rgba(255,46,99,.25), rgba(0,245,212,.35), transparent);
  pointer-events: none;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.15rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(0,245,212,.14);
  background:
    linear-gradient(165deg, rgba(16, 20, 37, 0.95), rgba(8, 10, 18, 0.9));
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.step:hover {
  border-color: rgba(0,245,212,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 28px rgba(0,245,212,.08);
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  color: var(--primary);
  background: rgba(0,245,212,.08);
  border: 1px solid rgba(0,245,212,.28);
  box-shadow: 0 0 20px rgba(0,245,212,.12);
  margin-bottom: 1rem;
}
.step:nth-child(2) .step-icon {
  color: #ff8fab;
  background: rgba(255,46,99,.1);
  border-color: rgba(255,46,99,.3);
  box-shadow: 0 0 20px rgba(255,46,99,.12);
}
.step:nth-child(3) .step-icon {
  color: #ffc857;
  background: rgba(255,200,87,.1);
  border-color: rgba(255,200,87,.32);
  box-shadow: 0 0 20px rgba(255,200,87,.1);
}
.step:nth-child(4) .step-icon {
  color: var(--ok);
  background: rgba(61,255,154,.1);
  border-color: rgba(61,255,154,.3);
  box-shadow: 0 0 20px rgba(61,255,154,.1);
}
.step-num {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .45rem;
}
.step-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .45rem;
  letter-spacing: 0.01em;
}
.step-desc {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}
.hi-num {
  display: inline;
  font-family: var(--mono);
  font-weight: 700;
  font-size: .95em;
  letter-spacing: .01em;
  color: #b8ff3c;
  text-shadow: 0 0 14px rgba(184, 255, 60, .35);
  white-space: nowrap;
}
.hi-num--hot {
  color: #00f5d4;
  text-shadow: 0 0 16px rgba(0, 245, 212, .4);
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* Home games showcase */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-head--row .section-lead {
  margin-bottom: 0;
}
.home-games-all {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  font-size: .86rem;
  font-weight: 650;
  color: var(--primary);
  text-decoration: none;
  padding: .45rem .7rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 245, 212, .22);
  background: rgba(0, 245, 212, .06);
  transition: background .15s, border-color .15s, transform .15s;
}
.home-games-all:hover {
  background: rgba(0, 245, 212, .12);
  border-color: rgba(0, 245, 212, .4);
  transform: translateY(-1px);
  color: var(--primary);
}

.home-games-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.home-games {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  justify-content: stretch;
  width: 100%;
  align-items: stretch;
}

.home-game {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0c0f18;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.home-game:hover {
  border-color: rgba(0, 245, 212, .45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 18px rgba(0, 245, 212, .12);
  color: inherit;
}
.home-game-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  background: #080a12;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.home-game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 11, .55));
}
.home-game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.home-game:hover .home-game-art img {
  transform: scale(1.06);
}
.home-game-art > i {
  font-size: 1.75rem;
  color: var(--primary);
  opacity: .75;
}
.home-game-live {
  position: absolute;
  top: .55rem;
  left: .55rem;
  z-index: 2;
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .48rem;
  border-radius: 6px;
  color: #04110c;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(184, 255, 60, .3);
}
.home-game-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(5, 6, 11, .42);
  opacity: 0;
  transition: opacity .2s ease;
}
.home-game-play i {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4ff5e, #00f5d4);
  color: #04110c;
  font-size: 1.15rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.home-game:hover .home-game-play {
  opacity: 1;
}
.home-game-body {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  padding: .7rem .85rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(14, 18, 30, .98), rgba(8, 10, 18, 1));
}
.home-game-body strong {
  display: block;
  width: 100%;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #eef3ff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-game--more {
  border-color: rgba(184, 255, 60, .22);
}
.home-game--more:hover {
  border-color: rgba(184, 255, 60, .5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35), 0 0 22px rgba(184, 255, 60, .14);
}
.home-game-art--more {
  background: #0a0f18;
}
.home-game-art--more > i {
  font-size: 2rem;
  color: var(--lime);
  opacity: .95;
  filter: drop-shadow(0 0 16px rgba(184, 255, 60, .45));
  z-index: 1;
}
.home-game-more-glow {
  position: absolute;
  inset: 18% 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 212, .35), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.home-game-live--more {
  background: linear-gradient(135deg, #d4ff5e, #00f5d4);
  color: #04110c;
}

.home-games-nav,
.home-games-dots {
  display: none;
}

@media (max-width: 900px) {
  .section-head--row {
    align-items: flex-start;
  }

  .home-games-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "prev track next"
      "dots dots dots";
    align-items: center;
    gap: .55rem .4rem;
    width: calc(100% + 1.5rem);
    margin-left: -.75rem;
    margin-right: -.75rem;
    padding: 0 .35rem;
  }

  .home-games {
    grid-area: track;
    display: flex;
    grid-template-columns: none;
    justify-content: flex-start;
    gap: .7rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: .15rem .15rem .35rem;
  }
  .home-games::-webkit-scrollbar {
    display: none;
  }

  .home-game {
    flex: 0 0 min(200px, 62vw);
    width: min(200px, 62vw);
    scroll-snap-align: start;
  }

  .home-games-nav {
    display: grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(12, 15, 24, .92);
    color: #eef3ff;
    cursor: pointer;
    padding: 0;
    transition: border-color .15s, background .15s, opacity .15s, transform .15s;
  }
  .home-games-nav:hover:not(:disabled) {
    border-color: rgba(0, 245, 212, .4);
    background: rgba(0, 245, 212, .1);
    color: var(--primary);
  }
  .home-games-nav:disabled {
    opacity: .28;
    cursor: default;
  }
  .home-games-nav--prev { grid-area: prev; }
  .home-games-nav--next { grid-area: next; }

  .home-games-dots {
    grid-area: dots;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .4rem;
    min-height: 1rem;
  }
  .home-games-dot {
    width: .42rem;
    height: .42rem;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: transform .15s, background .15s;
  }
  .home-games-dot.is-active {
    background: var(--primary);
    transform: scale(1.2);
  }
}

@media (max-width: 520px) {
  .home-games-carousel {
    width: calc(100% + 1.25rem);
    margin-left: -.625rem;
    margin-right: -.625rem;
  }
  .home-game {
    flex-basis: min(168px, 58vw);
    width: min(168px, 58vw);
  }
  .home-games-nav {
    width: 1.9rem;
    height: 1.9rem;
  }
}

/* Ranks - organized responsive grid */
.section-ranks {
  padding-top: 1.5rem;
}
.page-ranks-section {
  padding-bottom: 3.5rem;
}
.page-ranks-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2.25rem;
}
.ranks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}
.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.1rem 1.05rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(0,245,212,.14);
  background: linear-gradient(165deg, rgba(16, 20, 36, .98), rgba(7, 9, 16, .96));
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-align: left;
  align-items: stretch;
}
.rank-card::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent 75%);
  opacity: .75;
}
.rank-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,245,212,.4);
  box-shadow: 0 14px 36px rgba(0,0,0,.35), 0 0 24px rgba(0,245,212,.08);
}

.rank-card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
}
.rank-card-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  text-align: left;
  min-width: 0;
}

/* Emblem - left side */
.rank-card-emblem {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.rank-card-emblem-ring {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(0,245,212,.28);
  animation: rankRingSpin 18s linear infinite;
  pointer-events: none;
}
.rank-card-emblem-core {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--primary);
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.18), transparent 45%),
    linear-gradient(145deg, rgba(0,245,212,.22), rgba(0,80,90,.35));
  border: 1px solid rgba(0,245,212,.4);
  box-shadow:
    0 0 0 3px rgba(0,245,212,.06),
    0 0 16px rgba(0,245,212,.25),
    inset 0 1px 0 rgba(255,255,255,.15);
  transition: transform .25s ease, box-shadow .25s ease;
  font-style: normal;
  font-weight: normal;
  -webkit-font-smoothing: antialiased;
}
.rank-card-emblem-core.bi::before,
.rank-card-emblem-core[class*=" bi-"]::before {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
  vertical-align: middle;
}
.rank-card-emblem-core > i {
  display: block;
  position: relative;
  z-index: 1;
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
  opacity: 1;
}
.rank-card:hover .rank-card-emblem-core {
  transform: scale(1.06) rotate(-4deg);
  box-shadow:
    0 0 0 4px rgba(0,245,212,.1),
    0 0 24px rgba(0,245,212,.35),
    inset 0 1px 0 rgba(255,255,255,.2);
}
@keyframes rankRingSpin {
  to { transform: rotate(360deg); }
}

/* Theme accents */
.rank-theme-free .rank-card-emblem-core {
  color: var(--lime);
  background: linear-gradient(145deg, rgba(184,255,60,.28), rgba(40,80,20,.4));
  border-color: rgba(184,255,60,.5);
  box-shadow: 0 0 0 3px rgba(184,255,60,.08), 0 0 18px rgba(184,255,60,.28), inset 0 1px 0 rgba(255,255,255,.15);
}
.rank-theme-free .rank-card-emblem-ring { border-color: rgba(184,255,60,.35); }
.rank-theme-lime .rank-card-emblem-core {
  color: var(--lime);
  background: linear-gradient(145deg, rgba(184,255,60,.22), rgba(0,100,80,.3));
  border-color: rgba(184,255,60,.4);
  box-shadow: 0 0 0 3px rgba(184,255,60,.06), 0 0 16px rgba(184,255,60,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.rank-theme-lime .rank-card-emblem-ring { border-color: rgba(184,255,60,.3); }
.rank-theme-orange .rank-card-emblem-core {
  color: #ffc857;
  background: linear-gradient(145deg, rgba(255,200,87,.25), rgba(120,50,20,.4));
  border-color: rgba(255,200,87,.45);
  box-shadow: 0 0 0 3px rgba(255,200,87,.07), 0 0 16px rgba(255,160,40,.25), inset 0 1px 0 rgba(255,255,255,.12);
}
.rank-theme-orange .rank-card-emblem-ring { border-color: rgba(255,200,87,.3); }
.rank-theme-magenta .rank-card-emblem-core {
  color: #ff8fab;
  background: linear-gradient(145deg, rgba(255,46,99,.28), rgba(80,20,50,.4));
  border-color: rgba(255,46,99,.45);
  box-shadow: 0 0 0 3px rgba(255,46,99,.08), 0 0 16px rgba(255,46,99,.28), inset 0 1px 0 rgba(255,255,255,.12);
}
.rank-theme-magenta .rank-card-emblem-ring { border-color: rgba(255,46,99,.3); }
.rank-theme-gold .rank-card-emblem-core {
  color: #ffe566;
  background: linear-gradient(145deg, rgba(255,214,80,.3), rgba(100,70,10,.45));
  border-color: rgba(255,214,80,.5);
  box-shadow: 0 0 0 3px rgba(255,214,80,.08), 0 0 18px rgba(255,200,60,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.rank-theme-gold .rank-card-emblem-ring { border-color: rgba(255,214,80,.35); }
.rank-theme-elite .rank-card-emblem-core {
  color: #fff;
  background: linear-gradient(145deg, rgba(184,255,60,.35), rgba(0,245,212,.25), rgba(255,46,99,.3));
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 3px rgba(0,245,212,.1), 0 0 20px rgba(184,255,60,.25), 0 0 28px rgba(255,46,99,.12), inset 0 1px 0 rgba(255,255,255,.25);
}
.rank-theme-elite .rank-card-emblem-ring {
  border-style: solid;
  border-color: rgba(184,255,60,.4);
}
.rank-theme-elite::before {
  background: linear-gradient(90deg, #b8ff3c, #00f5d4, #ff2e63);
  height: 3px;
  opacity: 1;
}

.rank-card--free {
  border-color: rgba(184,255,60,.28);
  background: linear-gradient(165deg, rgba(22, 32, 18, .95), rgba(8, 12, 10, .98));
}
.rank-card--free::before {
  background: linear-gradient(90deg, var(--lime), var(--primary));
  height: 3px;
  opacity: 1;
}
.rank-card-badge {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--primary);
  padding: .22rem .5rem;
  border-radius: 999px;
  background: rgba(0,245,212,.08);
  border: 1px solid rgba(0,245,212,.22);
}
.rank-card--free .rank-card-badge,
.rank-theme-free .rank-card-badge {
  color: var(--lime);
  border-color: rgba(184,255,60,.3);
  background: rgba(184,255,60,.1);
}
.rank-card-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.rank-card-upto {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.05);
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.rank-card-upto-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.rank-card-upto-val {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.15;
  text-shadow: 0 0 16px rgba(184,255,60,.25);
}
.rank-card-formula {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.rank-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  width: 100%;
}
.rank-stat {
  text-align: center;
  padding: .55rem .25rem;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
}
.rank-stat-val {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  word-break: break-all;
}
.rank-stat-lbl {
  display: block;
  margin-top: .25rem;
  font-size: .62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rank-card-foot {
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid rgba(255,255,255,.06);
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.rank-card-price {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
}
.rank-card-price--free { color: var(--lime); }

@media (max-width: 1100px) {
  .ranks-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .ranks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ranks-grid { grid-template-columns: 1fr; }
  .rank-card-upto-val { font-size: 1.5rem; }
}

/* Referrals - horizontal tier packs */
.section-refs { padding-top: 1rem; }
.ref-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .75rem;
  width: 100%;
  margin-top: .25rem;
}
.ref-pack {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(0,245,212,.16);
  background: linear-gradient(165deg, rgba(18, 22, 42, .98), rgba(8, 10, 18, .95));
  display: flex;
  flex-direction: column;
  gap: .4rem;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ref-pack::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
.ref-pack[data-tier="2"]::before { background: linear-gradient(90deg, var(--lime), transparent); }
.ref-pack[data-tier="3"]::before { background: linear-gradient(90deg, #ff2e63, transparent); }
.ref-pack:hover {
  transform: translateY(-5px);
  border-color: rgba(0,245,212,.4);
  box-shadow: 0 16px 36px rgba(0,0,0,.35), 0 0 24px rgba(0,245,212,.08);
}
.ref-pack-top {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-bottom: .25rem;
}
.ref-pack-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.15rem; color: var(--primary);
  background: rgba(0,245,212,.1);
  border: 1px solid rgba(0,245,212,.28);
}
.ref-pack[data-tier="2"] .ref-pack-icon {
  color: var(--lime);
  background: rgba(184,255,60,.1);
  border-color: rgba(184,255,60,.3);
}
.ref-pack[data-tier="3"] .ref-pack-icon {
  color: #ff8fab;
  background: rgba(255,46,99,.1);
  border-color: rgba(255,46,99,.3);
}
.ref-pack-label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.ref-pack-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.ref-pack-rate {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  text-shadow: 0 0 24px rgba(0,245,212,.3);
  margin: .2rem 0;
}
.ref-pack-rate span {
  font-size: .45em;
  color: var(--lime);
  margin-left: .05em;
}
.ref-pack[data-tier="2"] .ref-pack-rate { color: var(--lime); text-shadow: 0 0 24px rgba(184,255,60,.3); }
.ref-pack[data-tier="2"] .ref-pack-rate span { color: var(--primary); }
.ref-pack[data-tier="3"] .ref-pack-rate { color: #ff6b9d; text-shadow: 0 0 24px rgba(255,46,99,.3); }
.ref-pack[data-tier="3"] .ref-pack-rate span { color: #ffb3c6; }
.ref-pack-desc {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.45;
}
.ref-connector {
  flex: 0 0 auto;
  display: grid; place-items: center;
  color: var(--primary);
  opacity: .45;
  font-size: 1.25rem;
  align-self: center;
}
.ref-note {
  display: flex; align-items: flex-start; gap: .5rem;
  margin: 1.25rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}
.ref-note i { color: var(--primary); margin-top: .15rem; }
.ref-note strong { color: var(--text); font-weight: 600; }

@media (max-width: 720px) {
  .ref-track {
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .ref-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    padding: .05rem 0;
    font-size: .85rem;
    opacity: .38;
  }
  .ref-connector i {
    transform: rotate(90deg);
  }
  .ref-pack {
    flex: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "top rate"
      "name rate"
      "desc rate";
    column-gap: .85rem;
    row-gap: .12rem;
    align-items: center;
    padding: .8rem .95rem;
    border-radius: 14px;
  }
  .ref-pack:hover {
    transform: none;
    box-shadow: none;
  }
  .ref-pack-top {
    grid-area: top;
    margin: 0;
    justify-content: flex-start;
    gap: .55rem;
  }
  .ref-pack-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9px;
    font-size: .95rem;
  }
  .ref-pack-label {
    font-size: .58rem;
  }
  .ref-pack-name {
    grid-area: name;
    font-size: .92rem;
    line-height: 1.2;
  }
  .ref-pack-rate {
    grid-area: rate;
    align-self: center;
    margin: 0;
    font-size: 1.7rem;
    text-shadow: none;
  }
  .ref-pack-desc {
    grid-area: desc;
    font-size: .78rem;
    line-height: 1.35;
  }
  .ref-note {
    margin-top: 1rem;
    font-size: .8rem;
  }
}

@media (max-width: 420px) {
  .ref-pack {
    padding: .7rem .8rem;
    column-gap: .65rem;
  }
  .ref-pack-rate {
    font-size: 1.45rem;
  }
  .ref-pack-desc {
    font-size: .74rem;
  }
}

.faq details {
  border: 1px solid var(--border); border-radius: 10px;
  padding: .85rem 1rem; margin-bottom: .6rem; background: var(--bg-elev);
}
.faq summary { cursor: pointer; font-weight: 600; }

/* Landing support - clean link strip, no wash */
.section-support {
  padding: 1.15rem 0 .85rem;
  position: relative;
  background: none;
}

.lsup-head {
  margin-bottom: 1.25rem;
  max-width: 36rem;
}

.lsup-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .35rem;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}

.lsup-title {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  text-transform: none;
}

.lsup-lead {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--muted);
}

.lsup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1rem;
}

.lsup-card {
  --lsup-accent: var(--primary);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: 1rem .15rem 1rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease;
  position: relative;
}

.lsup-card + .lsup-card {
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.lsup-card:nth-child(2) { --lsup-accent: #b8ff3c; }
.lsup-card:nth-child(3) { --lsup-accent: #00f5d4; }

.lsup-card:hover {
  transform: translateY(-2px);
}

.lsup-ico {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--lsup-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--lsup-accent) 32%, transparent);
  color: var(--lsup-accent);
  font-size: 1.1rem;
  transition: box-shadow .18s ease, background .18s ease;
}

.lsup-card:hover .lsup-ico {
  box-shadow: 0 0 18px color-mix(in srgb, var(--lsup-accent) 28%, transparent);
  background: color-mix(in srgb, var(--lsup-accent) 18%, transparent);
}

.lsup-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.lsup-card strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #eef3ff;
  letter-spacing: -0.01em;
}

.lsup-card em {
  display: block;
  font-style: normal;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lsup-arrow {
  color: var(--lsup-accent);
  opacity: .45;
  font-size: 1rem;
  transition: opacity .18s ease, transform .18s ease;
}

.lsup-card:hover .lsup-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

@media (max-width: 800px) {
  .lsup-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .lsup-card,
  .lsup-card + .lsup-card {
    padding: .95rem 0;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }
  .lsup-card:last-child {
    border-bottom: none;
  }
  .lsup-card em {
    white-space: normal;
  }
}

/* Landing closing CTA */
.landing-cta {
  padding: 1.75rem 0 1.5rem;
  text-align: center;
}
.landing-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  max-width: 34rem;
  margin-inline: auto;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 245, 212, .18);
  background:
    linear-gradient(180deg, rgba(0, 245, 212, .06), transparent 55%),
    rgba(255, 255, 255, .02);
}
.landing-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lime);
}
.landing-cta-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.landing-cta-lead {
  margin: 0 0 .35rem;
  max-width: 28ch;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--muted);
}
.landing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin-top: .35rem;
}
@media (max-width: 520px) {
  .landing-cta {
    padding: 1.25rem 0 1.15rem;
  }
  .landing-cta-inner {
    padding: 1.15rem 1rem 1.2rem;
  }
  .landing-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .landing-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  position: relative;
  margin-top: 4rem;
  padding: 3.5rem 0 1.75rem;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(0,245,212,.35), rgba(255,46,99,.25), transparent) 1;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, 0.4), rgba(5, 6, 11, 0.95)),
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(0,245,212,.07), transparent 55%);
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  width: 280px; height: 280px;
  right: 10%; top: -40%;
  background: radial-gradient(circle, rgba(255,46,99,.12), transparent 70%);
  pointer-events: none; filter: blur(20px);
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem 1.5rem;
  padding-bottom: 2rem;
}
.footer-brand { max-width: 340px; }
.footer-logo {
  display: inline-flex; align-items: center;
  text-decoration: none; line-height: 0;
  margin-bottom: .85rem;
}
.footer-logo:hover { opacity: .92; }
.footer-logo .logo-img {
  height: 40px;
  max-width: min(200px, 70vw);
}
.footer-tagline {
  margin: 0 0 1.15rem;
  line-height: 1.55;
  font-size: .9rem;
  color: var(--muted);
}
.footer-cta {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.footer-heading {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .15s, transform .15s;
}
.footer-links a i {
  font-size: .95rem;
  color: var(--primary);
  opacity: .7;
}
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(3px);
}
.footer-links a:hover i { opacity: 1; }
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
}
.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.footer-pills span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(0,245,212,.06);
  border: 1px solid rgba(0,245,212,.2);
}
.footer-pills span:nth-child(2) {
  color: var(--lime);
  border-color: rgba(184,255,60,.25);
  background: rgba(184,255,60,.06);
}
.footer-pills span:nth-child(3) {
  color: #ff8fab;
  border-color: rgba(255,46,99,.25);
  background: rgba(255,46,99,.06);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer { padding: 2.75rem 0 1.5rem; }
}

.auth-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vh, 2.75rem) 0 clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.auth-box { width: min(100%, 420px); }

.auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.auth-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 18% 30%, rgba(0, 245, 212, .14), transparent 60%),
    radial-gradient(ellipse 45% 50% at 88% 70%, rgba(255, 46, 99, .1), transparent 58%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(184, 255, 60, .05), transparent 55%);
}
.auth-grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(0, 245, 212, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 212, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: .55;
}
.auth-orb-a {
  width: 220px;
  height: 220px;
  top: 8%;
  right: 12%;
  background: rgba(0, 245, 212, .22);
}
.auth-orb-b {
  width: 260px;
  height: 260px;
  bottom: 6%;
  left: 8%;
  background: rgba(255, 46, 99, .14);
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100% - 2rem, 440px);
  margin-inline: auto;
}

.auth-card {
  position: relative;
  width: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(165deg, rgba(18, 24, 42, .96), rgba(8, 10, 18, .98));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--lime), transparent);
  opacity: .85;
}
.auth-card-head {
  margin-bottom: 1.25rem;
}
.auth-card-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  margin-bottom: .9rem;
  object-fit: contain;
  object-position: left center;
}
.auth-card-kicker {
  margin: 0 0 .35rem;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}
.auth-card-title {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: .02em;
}
.auth-card-sub {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.auth-alert {
  margin-bottom: 1rem;
}
.auth-form {
  display: grid;
  gap: .15rem;
}
.auth-field {
  margin-bottom: .95rem;
}
.auth-field label {
  display: block;
  margin-bottom: .4rem;
  font-size: .8rem;
  font-weight: 650;
  color: #c9d2ea;
}
.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .4rem;
}
.auth-label-row label {
  margin-bottom: 0;
}
.auth-forgot {
  font-size: .75rem;
  font-weight: 650;
  color: var(--muted);
}
.auth-forgot:hover {
  color: var(--primary);
}
.auth-optional {
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}
.pw-meter {
  margin-top: .45rem;
  display: grid;
  gap: .4rem;
}
.pw-meter-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .5rem;
}
.pw-meter-bar {
  height: .28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}
.pw-meter-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #ff4d6d;
  transition: width .25s ease, background .25s ease;
}
.pw-meter[data-level="1"] .pw-meter-fill { background: #ff4d6d; }
.pw-meter[data-level="2"] .pw-meter-fill { background: #ffc857; }
.pw-meter[data-level="3"] .pw-meter-fill { background: #00f5d4; }
.pw-meter[data-level="4"] .pw-meter-fill { background: #b8ff3c; }
.pw-meter-label {
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 3.2rem;
  text-align: right;
}
.pw-meter[data-level="1"] .pw-meter-label { color: #ff4d6d; }
.pw-meter[data-level="2"] .pw-meter-label { color: #ffc857; }
.pw-meter[data-level="3"] .pw-meter-label { color: #00f5d4; }
.pw-meter[data-level="4"] .pw-meter-label { color: #b8ff3c; }
.pw-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .28rem;
}
.pw-tips li {
  display: inline-flex;
  align-items: center;
  gap: .22rem;
  font-size: .62rem;
  font-weight: 650;
  color: var(--muted);
  line-height: 1;
  padding: .22rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  transition: color .15s, border-color .15s, background .15s;
}
.pw-tips li i {
  font-size: .58rem;
  color: rgba(255, 255, 255, .28);
}
.pw-tips li.is-ok {
  color: #c9ffe0;
  border-color: rgba(184, 255, 60, .28);
  background: rgba(184, 255, 60, .08);
}
.pw-tips li.is-ok i {
  color: var(--lime);
}
.pw-match {
  margin: .4rem 0 0;
  font-size: .74rem;
  font-weight: 650;
}
.pw-match.is-ok { color: var(--ok); }
.pw-match.is-bad { color: var(--danger); }
.auth-input {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input > i {
  position: absolute;
  left: .85rem;
  z-index: 1;
  color: var(--primary);
  opacity: .7;
  font-size: .95rem;
  pointer-events: none;
}
.auth-input .form-control {
  padding-left: 2.45rem;
  padding-right: 2.6rem;
  min-height: 2.85rem;
  border-radius: 12px;
  background: rgba(5, 7, 14, .72);
  border-color: rgba(255, 255, 255, .08);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-input .form-control:focus {
  background: rgba(5, 7, 14, .9);
  border-color: rgba(0, 245, 212, .45);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, .12);
}
.auth-eye {
  position: absolute;
  right: .35rem;
  z-index: 1;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.auth-eye:hover,
.auth-eye.is-on {
  color: var(--primary);
  background: rgba(0, 245, 212, .08);
}
.btn-auth-submit {
  margin-top: .35rem;
  min-height: 2.95rem;
  border: none;
  border-radius: 12px;
  font-weight: 750;
  font-size: .95rem;
  color: #04110c;
  background: linear-gradient(135deg, #d4ff5e 0%, #00f5d4 55%, #00d4b8 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18) inset,
    0 0 28px rgba(0, 245, 212, .28),
    0 10px 24px rgba(0, 0, 0, .35);
}
.btn-auth-submit:hover {
  color: #04110c;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 0 36px rgba(184, 255, 60, .35),
    0 14px 28px rgba(0, 0, 0, .4);
}
.auth-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem .85rem;
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .88rem;
  color: var(--muted);
}
.auth-foot-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  color: var(--primary);
  padding: .35rem .55rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 245, 212, .2);
  background: rgba(0, 245, 212, .06);
  transition: background .15s, border-color .15s, transform .15s;
}
.auth-foot-link:hover {
  background: rgba(0, 245, 212, .12);
  border-color: rgba(0, 245, 212, .4);
  transform: translateY(-1px);
  color: var(--primary);
}

.page-auth .site-footer {
  margin-top: 0;
}

@media (max-width: 860px) {
  .auth-shell {
    width: min(100% - 1.5rem, 440px);
  }
  .auth-card-logo {
    margin-inline: auto;
    object-position: center;
  }
  .auth-card-head {
    text-align: center;
  }
  .auth-card-sub {
    margin-inline: auto;
    max-width: 34ch;
  }
}

@media (max-width: 560px) {
  .auth-page {
    padding: 1rem 0 1.75rem;
    place-items: start center;
  }
  .auth-card {
    padding: 1.15rem 1rem 1.25rem;
    border-radius: 18px;
  }
  .auth-card-logo {
    height: 34px;
  }
  .auth-input .form-control {
    min-height: 2.7rem;
  }
}

.page-head { margin: 1.75rem 0 1.25rem; }
.page-head h1 { margin: 0 0 .35rem; font-size: 1.6rem; }
.badge {
  display: inline-block; font-size: .7rem; padding: .2rem .5rem;
  border-radius: 6px; background: rgba(0,245,212,.12); color: var(--primary);
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: .55rem 1rem;
  padding-bottom: calc(.55rem + env(safe-area-inset-bottom));
  background: transparent;
  border: 0;
  pointer-events: none;
}
.mobile-cta .btn,
.mobile-cta .btn-block {
  pointer-events: auto;
  width: auto;
  max-width: calc(100% - 0.5rem);
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 750;
  letter-spacing: .01em;
  min-height: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18) inset,
    0 10px 28px rgba(0, 0, 0, .45),
    0 0 28px rgba(0, 245, 212, .28);
  transition: transform .15s ease, box-shadow .2s ease;
}
.mobile-cta .btn-primary {
  background: linear-gradient(135deg, #d4ff5e 0%, #00f5d4 50%, #00d4b8 100%);
  color: #04110c;
  border: none;
}
.mobile-cta .btn-primary:hover {
  color: #04110c;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .22) inset,
    0 14px 32px rgba(0, 0, 0, .5),
    0 0 36px rgba(184, 255, 60, .35);
}
.mobile-cta .btn-play {
  padding: .72rem 1.35rem;
  font-size: .84rem;
}
.mobile-cta .btn i {
  font-size: 1.05rem;
}
.mobile-cta .btn-hero-primary {
  gap: .5rem;
  padding: .72rem 1.35rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 750;
  min-height: 0;
}
.mobile-cta .btn-hero-primary i {
  width: auto;
  height: auto;
  font-size: 1.05rem;
  background: transparent;
}
.mobile-cta .btn-hero-primary:hover {
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .mobile-cta { display: flex; justify-content: center; }
  body.has-mobile-cta { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}

/* Arcade Loot exit landing — sticky Free Games CTA on all widths */
.page-arcadeloot .mobile-cta {
  display: flex;
  justify-content: center;
}
body.page-arcadeloot.has-mobile-cta {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

/* -- Site-wide mobile polish -- */
@media (max-width: 800px) {
  .panel { padding: 1rem; }
  .page-head { margin: 1.15rem 0 1rem; }
  .page-head h1 { font-size: clamp(1.2rem, 5.5vw, 1.45rem); }
  .page-head .muted { font-size: .88rem; }
  .stat-value { font-size: 1.15rem; }
  .auth-page { padding: 1.25rem 0 2rem; align-items: start; }
  .auth-box { width: min(100%, 420px); }
  .game-earn-panel { margin-top: 1rem; }
  .game-earn-totals { font-size: .8rem; gap: .25rem; }
  .play-shell { gap: .85rem; }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }
  .game-card {
    border-radius: 14px;
  }
  .game-thumb {
    aspect-ratio: 5 / 4;
  }
  .game-thumb-play {
    opacity: .92;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    transform: translate(-50%, -50%) scale(1);
  }
  .game-badge {
    top: .45rem;
    right: .45rem;
    font-size: .62rem;
    padding: .2rem .4rem;
  }
  .game-body {
    padding: .72rem .7rem .8rem;
    gap: .35rem;
  }
  .game-body h3 {
    font-size: .92rem;
    line-height: 1.25;
  }
  .game-body > .muted {
    font-size: .72rem !important;
    -webkit-line-clamp: 2;
  }
  .game-meta {
    font-size: .68rem;
    gap: .4rem .55rem;
  }
  .game-reward {
    font-size: .74rem;
  }
  .game-body .btn {
    min-height: 40px;
    font-size: .82rem;
    padding: .45rem .6rem;
  }
}

@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .panel-title { font-size: 1rem; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .header-actions { flex-wrap: wrap; }
  .site-footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }

  .game-grid {
    gap: .6rem;
  }
  .game-body > .muted {
    display: none;
  }
  .game-meta span:last-child {
    display: none;
  }
}

@media (max-width: 380px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .game-thumb {
    aspect-ratio: 16 / 10;
  }
  .game-body > .muted {
    display: -webkit-box;
  }
}

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-logo {
  text-decoration: none;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}
.admin-logo .logo-img {
  height: 40px;
  max-width: 100%;
}
.admin-logo-label {
  font-family: var(--mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin-side {
  background: #080a12; border-right: 1px solid var(--border); padding: 1.25rem .75rem;
}
.admin-side a {
  display: block; padding: .55rem .75rem; color: var(--muted); border-radius: 8px;
  margin-bottom: .2rem; font-size: .9rem;
}
.admin-side a:hover, .admin-side a.active { background: rgba(0,245,212,.08); color: var(--primary); }
.admin-main { padding: 1.5rem; }
@media (max-width: 800px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; gap: .25rem; }
}
