/* ==========================================================================
   101F Game — main.css
   Mobile-first · BEM-lite · "The Emerald Vault"

    1. Reset & base            8. Hero & app mockup
    2. Layout primitives       9. Live ledger ticker
    3. Ambient vault field    10. Game cards & grids
    4. Typography             11. Content components
    5. The Vault Dial         12. Screenshot slider
    6. Buttons                13. Footer
    7. Navigation             14. Reveal & reduced motion
   ========================================================================== */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1.5rem);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

img, video { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

/* Every inline SVG icon gets a sane default; context rules override it. */
.icon { width: 1.05em; height: 1.05em; flex: none; }

a {
  color: var(--color-emerald);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
a:hover { color: var(--color-gold-bright); }

ul, ol { padding: 0; list-style: none; }

table { border-collapse: collapse; width: 100%; }

::selection { background: var(--color-emerald-deep); color: #fff; }

:focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: var(--z-top);
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-sm);
  background: var(--color-gold);
  color: #10160F;
  font-weight: 800;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  transition: top var(--t-fast) var(--ease-vault);
}
.skip-link:focus { top: 1rem; color: #10160F; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   2. LAYOUT PRIMITIVES
   ========================================================================== */
.shell {
  width: 100%;
  max-width: calc(var(--container) + (var(--gutter-lg) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter-lg);
}
.shell--wide { max-width: calc(var(--container-wide) + (var(--gutter-lg) * 2)); }
.shell--read { max-width: calc(var(--container-read) + (var(--gutter-lg) * 2)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.section__head { max-width: 64ch; margin-bottom: var(--block-gap); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head > * + * { margin-top: 0.95rem; }

.section__head--split {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stack > * + * { margin-top: 1.15rem; }
.stack--lg > * + * { margin-top: 1.85rem; }
.stack--sm > * + * { margin-top: 0.7rem; }

.band {
  position: relative;
  background: linear-gradient(180deg,
    rgba(14, 36, 27, 0) 0%,
    rgba(14, 36, 27, 0.5) 14%,
    rgba(14, 36, 27, 0.5) 86%,
    rgba(14, 36, 27, 0) 100%);
}
.band--solid {
  background: linear-gradient(180deg, var(--color-bg-deep), var(--color-surface-2) 55%, var(--color-bg-deep));
  border-block: 1px solid var(--ivory-a06);
}

/* ==========================================================================
   3. AMBIENT VAULT FIELD
   ========================================================================== */
.vault-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--color-bg);
}

.vault-field__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.vault-field__orb--a {
  width: 62vmax; height: 62vmax;
  top: -26vmax; left: -18vmax;
  background: radial-gradient(circle at 50% 50%, rgba(23, 185, 120, 0.32), rgba(23, 185, 120, 0) 68%);
  animation: drift-a 34s var(--ease-in-out) infinite alternate;
}
.vault-field__orb--b {
  width: 54vmax; height: 54vmax;
  bottom: -24vmax; right: -16vmax;
  background: radial-gradient(circle at 50% 50%, rgba(11, 94, 61, 0.62), rgba(11, 94, 61, 0) 70%);
  animation: drift-b 40s var(--ease-in-out) infinite alternate;
}
.vault-field__orb--c {
  width: 40vmax; height: 40vmax;
  top: 42%; left: 46%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0) 70%);
  animation: drift-c 27s var(--ease-in-out) infinite alternate;
}

@keyframes drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(7vw, 6vh, 0) scale(1.14); }
}
@keyframes drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1.08); }
  100% { transform: translate3d(-6vw, -5vh, 0) scale(1); }
}
@keyframes drift-c {
  0%   { transform: translate3d(-50%, -50%, 0) scale(0.9); }
  100% { transform: translate3d(-56%, -44%, 0) scale(1.18); }
}

.vault-field__grille {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(212, 175, 55, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.026) 1px, transparent 1px);
  background-size: 148px 148px, 148px 148px, 37px 37px, 37px 37px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 18%, transparent 80%);
          mask-image: radial-gradient(ellipse 78% 62% at 50% 38%, #000 18%, transparent 80%);
}

.vault-field__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 130% 95% at 50% 0%, transparent 42%, rgba(4, 7, 5, 0.8) 100%);
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
  font-variation-settings: 'SOFT' 20, 'WONK' 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: 1.14; }
h3 { font-size: var(--fs-h3); }
h4 {
  font-size: var(--fs-h4);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}
h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

p { text-wrap: pretty; }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.028em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.72;
  color: var(--color-text-muted);
}

.prose > p { margin-bottom: 1.1em; }
.prose > p:last-child { margin-bottom: 0; }
.prose strong { color: var(--color-text); font-weight: 700; }
.prose h3 { margin-top: 2.2rem; margin-bottom: 0.85rem; }
.prose h4 { margin-top: 1.75rem; margin-bottom: 0.6rem; color: var(--color-gold-bright); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--em-a45); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-gold);
  line-height: 1.5;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold));
  flex: none;
}
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  flex: none;
}

.num {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum' 1;
}

.text-gold  { color: var(--color-gold); }
.text-em    { color: var(--color-emerald); }
.text-muted { color: var(--color-text-muted); }

.text-vault {
  background: linear-gradient(100deg, #2BE29A 0%, #7FEFC0 28%, #FFE3A6 62%, var(--color-gold-bright) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--gold-a24) 25%, var(--gold-a24) 75%, transparent);
  margin-block: var(--block-gap);
}

/* Bulleted list with emerald vault markers */
.ticks { display: grid; gap: 0.72rem; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--color-text-muted);
  line-height: 1.66;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 10px; height: 10px;
  border: 1px solid var(--color-emerald);
  background: var(--em-a24);
  transform: rotate(45deg);
}
.ticks li strong { color: var(--color-text); }

.ticks--gold li::before { border-color: var(--color-gold); background: var(--gold-a24); }

/* ==========================================================================
   5. THE VAULT DIAL
   ========================================================================== */
.dial { display: block; color: var(--color-gold); overflow: visible; }
.dial__ring     { fill: none; stroke: currentColor; stroke-opacity: 0.4; }
.dial__ring--in { stroke-opacity: 0.2; }
.dial__ticks    { stroke: currentColor; stroke-opacity: 0.5; stroke-linecap: round; }
.dial__sweep {
  fill: none;
  stroke: var(--color-emerald);
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(23, 185, 120, 0.8));
}
.dial__core  { fill: none; stroke: currentColor; stroke-opacity: 0.65; }
.dial__spoke { stroke: currentColor; stroke-opacity: 0.3; }

.dial--spin .dial__rotor {
  animation: dial-unlock 2.4s var(--ease-vault) forwards;
  transform-origin: 50% 50%;
}
.dial--spin .dial__sweep { animation: dial-sweep 2.4s var(--ease-vault) forwards; }
.dial--loop .dial__rotor { animation: dial-loop 9s linear infinite; transform-origin: 50% 50%; }
.dial--loop-rev .dial__rotor { animation: dial-loop 16s linear infinite reverse; transform-origin: 50% 50%; }

@keyframes dial-unlock {
  0%   { transform: rotate(0deg); }
  38%  { transform: rotate(268deg); }
  58%  { transform: rotate(226deg); }
  100% { transform: rotate(392deg); }
}
@keyframes dial-sweep {
  0%   { stroke-dasharray: 0 1000; opacity: 0; }
  20%  { opacity: 1; }
  100% { stroke-dasharray: 330 1000; opacity: 0.9; }
}
@keyframes dial-loop {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.dial-divider {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3vw, 1.75rem);
  margin-block: var(--section-y-sm);
}
.dial-divider::before,
.dial-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-a24));
}
.dial-divider::after { background: linear-gradient(90deg, var(--gold-a24), transparent); }
.dial-divider .dial { width: 34px; height: 34px; flex: none; }

/* ==========================================================================
   6. BUTTONS
   ========================================================================== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--color-text);
  --btn-bd: var(--ivory-a16);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  min-height: 50px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.012em;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-fast) var(--ease-vault),
              box-shadow var(--t-mid) var(--ease-vault),
              border-color var(--t-fast) ease,
              color var(--t-fast) ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  --btn-fg: #100E06;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 46%, #B8912A 100%);
  box-shadow: 0 10px 30px -12px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 800;
}
.btn--gold:hover {
  color: #100E06;
  box-shadow: 0 20px 46px -14px rgba(212, 175, 55, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.5) 50%, transparent 68%);
  transform: translateX(-125%);
  transition: transform 720ms var(--ease-vault);
}
.btn--gold:hover::after { transform: translateX(125%); }

.btn--emerald {
  --btn-fg: var(--color-emerald);
  --btn-bd: var(--em-a45);
  background: linear-gradient(180deg, var(--em-a08), rgba(23, 185, 120, 0.02));
}
.btn--emerald:hover {
  color: #A9F0CE;
  border-color: var(--color-emerald);
  box-shadow: var(--glow-emerald);
}

.btn--ghost { background: var(--ivory-a06); }
.btn--ghost:hover { color: var(--color-text); border-color: var(--gold-a40); }

.btn--telegram {
  --btn-fg: #EAF6FF;
  border-color: rgba(42, 171, 238, 0.45);
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.2), rgba(34, 158, 217, 0.06));
}
.btn--telegram:hover {
  color: #fff;
  border-color: #2AABEE;
  box-shadow: 0 0 0 1px rgba(42, 171, 238, 0.35), 0 18px 46px -18px rgba(42, 171, 238, 0.65);
}
.btn--telegram .icon { color: #2AABEE; }

.btn--lg { padding: 1.15rem 2.05rem; min-height: 58px; font-size: 1.01rem; }
.btn--sm { padding: 0.62rem 1.1rem; min-height: 40px; font-size: 0.82rem; }
.btn--block { display: flex; width: 100%; }

.btn .icon { width: 18px; height: 18px; flex: none; }
.btn--lg .icon { width: 20px; height: 20px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.btn-note {
  font-size: var(--fs-micro);
  color: var(--color-text-faint);
  letter-spacing: 0.03em;
  line-height: 1.6;
  margin-top: 0.9rem;
}

/* ==========================================================================
   7. NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t-mid) ease,
              border-color var(--t-mid) ease,
              backdrop-filter var(--t-mid) ease,
              box-shadow var(--t-mid) ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 11, 9, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--gold-a14);
  box-shadow: 0 12px 40px -22px rgba(0, 0, 0, 0.95);
}

.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* --- Brand lockup: logo sized to read clearly, never stretched ----------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  padding: 0.3rem 0;
  border-radius: var(--r-sm);
}
.brand__img {
  width: auto;
  height: 30px;
  filter: drop-shadow(0 2px 10px rgba(23, 185, 120, 0.35));
  transition: filter var(--t-mid) ease, transform var(--t-mid) var(--ease-vault);
}
.brand:hover .brand__img {
  filter: drop-shadow(0 3px 16px rgba(212, 175, 55, 0.45));
  transform: translateY(-1px);
}
.brand__tag {
  display: none;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  line-height: 1;
  white-space: nowrap;
}

.nav__links { display: none; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.008em;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--ease-vault);
}
.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--color-gold-bright); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.6rem; flex: none; }
.nav__cta { display: none; }

.nav__tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(42, 171, 238, 0.35);
  border-radius: 50%;
  background: rgba(42, 171, 238, 0.1);
  color: #2AABEE;
  transition: transform var(--t-fast) var(--ease-vault), box-shadow var(--t-mid) ease, border-color var(--t-fast) ease;
}
.nav__tg:hover {
  color: #6BC9F5;
  border-color: #2AABEE;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(42, 171, 238, 0.75);
}
.nav__tg .icon { width: 20px; height: 20px; }

/* --- Hamburger ----------------------------------------------------------- */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--ivory-a16);
  border-radius: var(--r-sm);
  background: var(--ivory-a06);
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.burger:hover { border-color: var(--gold-a40); }
.burger__bar {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease-vault), opacity var(--t-fast) ease;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Mobile drawer ------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  grid-template-rows: var(--nav-h) 1fr;
  background: rgba(4, 7, 5, 0.97);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-mid) ease, transform var(--t-mid) var(--ease-vault), visibility var(--t-mid);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.drawer__body {
  overflow-y: auto;
  padding-block: 1.5rem 3rem;
}
.drawer__nav { display: grid; gap: 0.15rem; margin-bottom: 1.75rem; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid var(--ivory-a06);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.drawer__link:hover, .drawer__link.is-active { color: var(--color-gold-bright); }
.drawer__link span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-text-faint);
}
.drawer__actions { display: grid; gap: 0.7rem; }
.drawer__meta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ivory-a06);
  font-size: var(--fs-micro);
  color: var(--color-text-faint);
  line-height: 1.7;
}

body.is-locked { overflow: hidden; }

/* ==========================================================================
   8. HERO & APP MOCKUP
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.2rem, 6vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  overflow: clip;
}

/* Concentric vault rings etched behind the hero */
.hero__rings {
  position: absolute;
  top: 50%; left: 50%;
  width: min(140vw, 1500px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  pointer-events: none;
  color: var(--color-gold);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-areas: "lead" "mock" "cta";
  row-gap: clamp(1.75rem, 5vw, 2.5rem);
  column-gap: clamp(2.5rem, 7vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero__lead { grid-area: lead; }
.hero__cta  { grid-area: cta; }
.mock       { grid-area: mock; align-self: center; }

.hero__lead > * + *, .hero__cta > * + * { margin-top: 1.35rem; }

.hero__title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; }
.hero__title .amount {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.hero__sub { max-width: 54ch; }

/* Offer plate — the ₹10,000 figure in the ledger numeral face */
.offer {
  display: inline-flex;
  align-items: stretch;
  gap: 1.1rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(14, 36, 27, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.offer__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.offer__value {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--color-gold-bright);
  align-self: center;
}
.offer__divider { width: 1px; background: var(--gold-a24); flex: none; }

/* Trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  padding-top: 0.4rem;
  max-width: 34rem;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.745rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.trust__item .icon { width: 16px; height: 16px; color: var(--color-emerald); flex: none; }

/* --- App mockup ---------------------------------------------------------- */
.mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(1rem, 4vw, 2rem);
  isolation: isolate;
}

.mock__halo {
  position: absolute;
  top: 50%; left: 50%;
  width: min(115%, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 185, 120, 0.3) 0%, rgba(23, 185, 120, 0.08) 42%, transparent 68%);
  filter: blur(28px);
  z-index: -2;
  animation: halo-pulse 6.5s var(--ease-in-out) infinite alternate;
}
@keyframes halo-pulse {
  from { opacity: 0.7; transform: translate(-50%, -50%) scale(0.94); }
  to   { opacity: 1;   transform: translate(-50%, -50%) scale(1.06); }
}

.mock__dial {
  position: absolute;
  top: 50%; left: 50%;
  width: min(128%, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.5;
}

/* The device */
.mock__device {
  position: relative;
  width: clamp(230px, 63vw, 296px);
  aspect-ratio: 296 / 610;
  border-radius: 40px;
  padding: 9px;
  background:
    linear-gradient(160deg, #3B4740 0%, #10201A 22%, #060A08 50%, #16261F 78%, #4A5A50 100%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.22),
    0 42px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 70px -20px rgba(23, 185, 120, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.14);
  animation: mock-float 7.5s var(--ease-in-out) infinite alternate;
  will-change: transform;
}
@keyframes mock-float {
  from { transform: translateY(-9px) rotate(-0.6deg); }
  to   { transform: translateY(9px) rotate(0.6deg); }
}

.mock__screen-wrap {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #05100B;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.9);
}
.mock__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Notch / pill */
.mock__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 15px;
  border-radius: var(--r-pill);
  background: #040806;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  z-index: 3;
}
.mock__notch::after {
  content: '';
  position: absolute;
  top: 50%; right: 9px;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #1E4A38, #071410);
}

/* Glass sheen sweeping down the screen */
.mock__gloss {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(158deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.03) 18%,
    transparent 42%);
}
.mock__sheen {
  position: absolute;
  inset: -40% -60%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(102deg, transparent 40%, rgba(255, 255, 255, 0.14) 50%, transparent 60%);
  transform: translateY(-100%);
  animation: mock-sheen 8s var(--ease-in-out) infinite;
}
@keyframes mock-sheen {
  0%, 62%  { transform: translateY(-110%); }
  86%,100% { transform: translateY(110%); }
}

/* Floating spec chips around the device */
.mock__chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-pill);
  background: rgba(10, 26, 20, 0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  line-height: 1;
}
.mock__chip .icon { width: 14px; height: 14px; color: var(--color-emerald); flex: none; }
.mock__chip b { color: var(--color-gold-bright); font-weight: 700; }

.mock__chip--a {
  top: 8%; left: -38%;
  animation: chip-float-a 6s var(--ease-in-out) infinite alternate;
}
.mock__chip--b {
  top: 46%; right: -40%;
  animation: chip-float-b 7.4s var(--ease-in-out) infinite alternate;
}
.mock__chip--c {
  bottom: 10%; left: -33%;
  animation: chip-float-a 8.2s var(--ease-in-out) infinite alternate-reverse;
}

/* Below the two-column breakpoint the mock has no side space to float chips
   into — pin them near the device's own edges instead of off into the page. */
@media (max-width: 767px) {
  .mock__chip { font-size: 0.58rem; padding: 0.45rem 0.7rem; }
  .mock__chip--a { top: 7%; left: 1%; }
  .mock__chip--b { top: 44%; right: 1%; }
  .mock__chip--c { bottom: 9%; left: 1%; }
}
@keyframes chip-float-a {
  from { transform: translate3d(0, -6px, 0); }
  to   { transform: translate3d(4px, 8px, 0); }
}
@keyframes chip-float-b {
  from { transform: translate3d(0, 8px, 0); }
  to   { transform: translate3d(-5px, -7px, 0); }
}

/* Reflected floor under the device */
.mock__plinth {
  position: absolute;
  bottom: 2%; left: 50%;
  transform: translateX(-50%);
  width: 78%; height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(23, 185, 120, 0.4), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* ==========================================================================
   9. LIVE LEDGER TICKER
   ========================================================================== */
.ledger {
  position: relative;
  padding-block: clamp(1.6rem, 4vw, 2.4rem);
  border-block: 1px solid var(--ivory-a06);
  background: linear-gradient(180deg, rgba(10, 26, 20, 0.5), rgba(7, 11, 9, 0.2));
  overflow: hidden;
}
.ledger__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.ledger__pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-emerald);
}
.ledger__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 0 0 rgba(23, 185, 120, 0.7);
  animation: pulse-dot 2.4s ease-out infinite;
  flex: none;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(23, 185, 120, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(23, 185, 120, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 185, 120, 0); }
}

.ticker {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  gap: 0.9rem;
  width: max-content;
  animation: ticker-run 60s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.ticker__item {
  flex: none;
  width: 132px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--ivory-a06);
  background: var(--color-surface-2);
  transition: border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-vault);
}
.ticker__item:hover { border-color: var(--gold-a40); transform: translateY(-3px); }
.ticker__item img {
  width: 100%;
  aspect-ratio: 211 / 260;
  object-fit: cover;
}
.ticker__name {
  display: block;
  padding: 0.5rem 0.6rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   10. GAME CARDS & GRIDS
   ========================================================================== */
.grid { display: grid; gap: clamp(0.7rem, 2vw, 1.1rem); }

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2.2vw, 1.05rem);
}

.gcard {
  position: relative;
  border-radius: var(--r-md);
  background: linear-gradient(170deg, var(--color-surface), var(--color-surface-2));
  clip-path: polygon(
    var(--facet-sm) 0, 100% 0,
    100% calc(100% - var(--facet-sm)), calc(100% - var(--facet-sm)) 100%,
    0 100%, 0 var(--facet-sm));
  isolation: isolate;
  transition: transform var(--t-mid) var(--ease-vault);
}
.gcard::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  background: linear-gradient(160deg, var(--ivory-a10), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  transition: background var(--t-mid) ease;
  pointer-events: none;
}
.gcard:hover { transform: translateY(-4px); }
.gcard:hover::before {
  background: linear-gradient(160deg, var(--color-gold-bright), rgba(212, 175, 55, 0.25) 40%, transparent 70%);
}

.gcard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.gcard__link:hover { color: inherit; }

.gcard__media {
  position: relative;
  display: block;
  aspect-ratio: 211 / 260;
  overflow: hidden;
  background: var(--color-surface-3);
}
.gcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-vault), filter var(--t-mid) ease;
}
.gcard:hover .gcard__media img { transform: scale(1.06); filter: saturate(1.15) brightness(1.06); }

/* Gold facet edge sweeping the media on hover */
.gcard__facet {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 38%,
    rgba(242, 200, 121, 0.28) 47%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(242, 200, 121, 0.28) 53%,
    transparent 62%);
  transform: translateX(-120%);
  transition: transform 900ms var(--ease-vault);
}
.gcard:hover .gcard__facet { transform: translateX(120%); }

.gcard__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(4, 7, 5, 0.1), rgba(4, 7, 5, 0.82));
  opacity: 0;
  transition: opacity var(--t-mid) ease;
}
.gcard:hover .gcard__play, .gcard__link:focus-visible .gcard__play { opacity: 1; }
.gcard__play span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
  color: #100E06;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform var(--t-mid) var(--ease-spring);
}
.gcard:hover .gcard__play span { transform: translateY(0); }

.gcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.7rem 0.75rem 0.85rem;
  flex: 1;
}
.gcard__name {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gcard__cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.gcard:hover .gcard__cat { color: var(--color-gold); }

.gcard__flag {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-sm);
  background: rgba(4, 7, 5, 0.8);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border: 1px solid var(--gold-a24);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  line-height: 1;
}

/* Fallback tile when a game image is missing */
.gcard__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--color-surface-3), var(--color-bg-deep));
  color: var(--color-gold);
}
.gcard__fallback .dial { width: 54%; height: auto; opacity: 0.55; }

/* --- Filter chips styled as vault keys ---------------------------------- */
.filters {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: var(--block-gap);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--ivory-a16);
  background: var(--ivory-a06);
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, background var(--t-fast) ease, transform var(--t-fast) var(--ease-vault);
}
.chip:hover { color: var(--color-text); border-color: var(--gold-a40); transform: translateY(-2px); }
.chip.is-active {
  color: #100E06;
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold));
  box-shadow: 0 8px 22px -10px rgba(212, 175, 55, 0.7);
}
.chip__count {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  opacity: 0.72;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search .icon {
  position: absolute;
  left: 1.05rem;
  width: 18px; height: 18px;
  color: var(--color-text-faint);
  pointer-events: none;
}
.search__input {
  width: 100%;
  padding: 0.95rem 1.1rem 0.95rem 3rem;
  border: 1px solid var(--ivory-a16);
  border-radius: var(--r-pill);
  background: rgba(10, 26, 20, 0.7);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-mid) ease;
}
.search__input::placeholder { color: var(--color-text-faint); }
.search__input:focus {
  outline: none;
  border-color: var(--em-a45);
  box-shadow: var(--glow-emerald);
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.results-bar b { color: var(--color-gold); }

.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.load-more .dial { width: 40px; height: 40px; opacity: 0.7; }

.empty-state {
  padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
  text-align: center;
  border: 1px dashed var(--ivory-a16);
  border-radius: var(--r-lg);
  color: var(--color-text-muted);
}
.empty-state .dial { width: 56px; height: 56px; margin: 0 auto 1.25rem; opacity: 0.6; }

/* ==========================================================================
   11. CONTENT COMPONENTS
   ========================================================================== */

/* --- Generic vault panel ------------------------------------------------- */
.panel {
  position: relative;
  padding: clamp(1.35rem, 3.4vw, 2.1rem);
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(14, 36, 27, 0.82), rgba(10, 26, 20, 0.6));
  box-shadow: var(--shadow-md);
}
.panel--gold { border-color: var(--gold-a24); }
.panel--facet {
  border-radius: 0;
  clip-path: polygon(
    var(--facet) 0, 100% 0,
    100% calc(100% - var(--facet)), calc(100% - var(--facet)) 100%,
    0 100%, 0 var(--facet));
}
.panel__title { margin-bottom: 0.65rem; }

/* --- Numbered step sequence --------------------------------------------- */
.steps { display: grid; gap: clamp(0.85rem, 2.4vw, 1.15rem); counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: clamp(1.25rem, 3.2vw, 1.75rem);
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(14, 36, 27, 0.75), rgba(7, 11, 9, 0.5));
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-vault), box-shadow var(--t-mid) ease;
}
.step:hover {
  border-color: var(--gold-a40);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex: none;
  border: 1px solid var(--gold-a24);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(212, 175, 55, 0.2), rgba(7, 11, 9, 0.7));
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  line-height: 1;
  transition: box-shadow var(--t-mid) ease;
}
.step:hover .step__num { box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08); }
.step__body > * + * { margin-top: 0.55rem; }
.step__body h3 { font-size: 1.16rem; }
.step__body p { color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.7; }
.step__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-emerald);
}

/* --- Feature / benefit tiles -------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(0.85rem, 2.4vw, 1.2rem);
}

.tile {
  position: relative;
  padding: clamp(1.35rem, 3.2vw, 1.85rem);
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(14, 36, 27, 0.72), rgba(7, 11, 9, 0.45));
  overflow: hidden;
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-vault);
}
.tile::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 100% 0%, var(--em-a14), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-mid) ease;
  pointer-events: none;
}
.tile:hover { border-color: var(--em-a45); transform: translateY(-4px); }
.tile:hover::after { opacity: 1; }

.tile__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-md);
  background: linear-gradient(140deg, rgba(212, 175, 55, 0.12), transparent);
  color: var(--color-gold-bright);
}
.tile__icon .icon { width: 22px; height: 22px; }
.tile h3 { font-size: 1.14rem; margin-bottom: 0.55rem; }
.tile p { color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.72; }
.tile__meta {
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ivory-a06);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* --- Stat strip ---------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ivory-a10);
}
.stat {
  padding: clamp(1.25rem, 3vw, 1.85rem) clamp(1rem, 2.4vw, 1.5rem);
  background: linear-gradient(160deg, rgba(14, 36, 27, 0.9), rgba(7, 11, 9, 0.85));
  text-align: center;
  transition: background var(--t-mid) ease;
}
.stat:hover { background: linear-gradient(160deg, rgba(18, 46, 35, 0.95), rgba(10, 26, 20, 0.9)); }
.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 1rem + 2.1vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--color-gold-bright);
}
.stat__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.stat__note {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

/* --- Ledger entries (about page timeline) -------------------------------- */
.ledger-entries { display: grid; gap: 0; position: relative; }
.entry {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.5rem, 4vw, 2.25rem) 0 clamp(1.5rem, 4vw, 2.25rem) clamp(2.4rem, 6vw, 3.5rem);
  border-bottom: 1px solid var(--ivory-a06);
}
.entry:last-child { border-bottom: 0; }
.entry::before {
  content: '';
  position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-a24), var(--em-a24));
}
.entry:first-child::before { top: clamp(1.5rem, 4vw, 2.25rem); }
.entry:last-child::before { bottom: auto; height: clamp(1.5rem, 4vw, 2.25rem); }
.entry::after {
  content: '';
  position: absolute;
  left: 0; top: clamp(1.5rem, 4vw, 2.25rem);
  width: 15px; height: 15px;
  border: 1px solid var(--color-gold);
  background: var(--color-bg);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(7, 11, 9, 1), 0 0 14px rgba(212, 175, 55, 0.35);
}
.entry__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-emerald);
}
.entry h3 { font-size: 1.28rem; }
.entry p { color: var(--color-text-muted); line-height: 1.78; }

/* --- Accordion ----------------------------------------------------------- */
.accordion { display: grid; gap: 0.6rem; }

.acc {
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(14, 36, 27, 0.6), rgba(7, 11, 9, 0.4));
  overflow: hidden;
  transition: border-color var(--t-mid) ease, background var(--t-mid) ease;
}
.acc.is-open { border-color: var(--gold-a24); background: linear-gradient(160deg, rgba(18, 46, 35, 0.8), rgba(10, 26, 20, 0.55)); }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem clamp(1rem, 3vw, 1.5rem);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.99rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
  transition: color var(--t-fast) ease;
}
.acc__btn:hover { color: var(--color-gold-bright); }
.acc.is-open .acc__btn { color: var(--color-gold-bright); }

.acc__sign {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
  border: 1px solid var(--gold-a40);
  border-radius: 50%;
  transition: transform var(--t-mid) var(--ease-vault), background var(--t-mid) ease;
}
.acc__sign::before, .acc__sign::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.5px;
  background: var(--color-gold-bright);
  transform: translate(-50%, -50%);
  transition: opacity var(--t-fast) ease;
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc.is-open .acc__sign { transform: rotate(180deg); background: var(--gold-a14); }
.acc.is-open .acc__sign::after { opacity: 0; }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease-vault);
}
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div {
  padding: 0 clamp(1rem, 3vw, 1.5rem) 1.35rem;
  color: var(--color-text-muted);
  font-size: 0.94rem;
  line-height: 1.78;
}
.acc__inner p + p { margin-top: 0.85rem; }
.acc__inner strong { color: var(--color-text); }

/* --- Bonus spotlight ----------------------------------------------------- */
.spotlight {
  position: relative;
  padding: clamp(1.85rem, 5.5vw, 3.75rem);
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 90% 130% at 88% 10%, rgba(212, 175, 55, 0.16), transparent 62%),
    radial-gradient(ellipse 80% 120% at 5% 95%, rgba(23, 185, 120, 0.16), transparent 60%),
    linear-gradient(150deg, rgba(14, 36, 27, 0.95), rgba(4, 7, 5, 0.92));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.spotlight__grille {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
}
.spotlight__dial {
  position: absolute;
  top: 50%; right: -12%;
  width: min(52%, 380px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.2;
  pointer-events: none;
}
.spotlight__inner { position: relative; z-index: 1; }
.spotlight__figure {
  font-family: var(--font-mono);
  font-size: clamp(3.1rem, 1.4rem + 9.2vw, 7.2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
  color: var(--color-gold-bright);
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.35);
}
.spotlight__terms {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gold-a14);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-text-faint);
  max-width: 68ch;
}

/* --- Bonus breakdown table ---------------------------------------------- */
.spec {
  width: 100%;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.9rem;
}
.spec caption {
  padding: 0.9rem 1.1rem;
  background: rgba(10, 26, 20, 0.9);
  border-bottom: 1px solid var(--ivory-a10);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: left;
}
.spec th, .spec td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--ivory-a06);
  vertical-align: top;
  line-height: 1.6;
}
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  width: 42%;
  background: rgba(7, 11, 9, 0.4);
}
.spec td { color: var(--color-text); }
.spec td .num { color: var(--color-gold-bright); }
.spec .is-placeholder { color: var(--color-text-faint); font-style: italic; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Telegram community cards ------------------------------------------- */
.community {
  display: grid;
  gap: clamp(0.85rem, 2.4vw, 1.25rem);
}
.tg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(14, 36, 27, 0.8), rgba(7, 11, 9, 0.5));
  overflow: hidden;
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-vault), box-shadow var(--t-mid) ease;
}
.tg-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tg-glow, rgba(42, 171, 238, 0.22)), transparent 68%);
  filter: blur(10px);
  opacity: 0.7;
  transition: opacity var(--t-mid) ease, transform var(--t-mid) var(--ease-vault);
  pointer-events: none;
}
.tg-card:hover { transform: translateY(-4px); border-color: var(--tg-border, rgba(42, 171, 238, 0.5)); box-shadow: var(--shadow-md); }
.tg-card:hover::after { opacity: 1; transform: scale(1.12); }
.tg-card--news { --tg-glow: rgba(23, 185, 120, 0.24); --tg-border: var(--em-a45); }

.tg-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.tg-card__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  flex: none;
  border-radius: 16px;
  background: linear-gradient(140deg, #35BDF5, #1E96D4);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(42, 171, 238, 0.8);
}
.tg-card--news .tg-card__icon {
  background: linear-gradient(140deg, #2FD695, var(--color-emerald-deep));
  box-shadow: 0 12px 30px -12px rgba(23, 185, 120, 0.8);
}
.tg-card__icon .icon { width: 27px; height: 27px; }
.tg-card__handle {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  margin-top: 0.2rem;
  word-break: break-all;
}
.tg-card p { position: relative; z-index: 1; color: var(--color-text-muted); font-size: 0.94rem; line-height: 1.74; }
.tg-card .btn { position: relative; z-index: 1; margin-top: auto; }
.tg-card__list { position: relative; z-index: 1; }

/* --- OG / share banner section ------------------------------------------ */
.og-banner {
  position: relative;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--color-surface-2);
  box-shadow: var(--shadow-lg);
  display: block;
}
.og-banner__media { position: relative; display: block; }
.og-banner__media img {
  width: 100%;
  height: auto;
  transition: transform var(--t-slow) var(--ease-vault);
}
.og-banner:hover .og-banner__media img { transform: scale(1.025); }
.og-banner__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 5, 0) 40%, rgba(4, 7, 5, 0.88) 100%);
  pointer-events: none;
}
.og-banner__sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(242, 200, 121, 0.16) 50%, transparent 60%);
  transform: translateX(-110%);
  animation: og-sweep 7s var(--ease-in-out) infinite;
}
@keyframes og-sweep {
  0%, 55%  { transform: translateX(-110%); }
  85%,100% { transform: translateX(110%); }
}
.og-banner__foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.15rem, 3.4vw, 1.85rem);
  border-top: 1px solid var(--gold-a14);
  background: linear-gradient(180deg, rgba(10, 26, 20, 0.92), rgba(4, 7, 5, 0.95));
}
.og-banner__copy h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.og-banner__copy p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }

.og-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.og-meta__cell {
  padding: 0.85rem 1rem;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-sm);
  background: rgba(7, 11, 9, 0.55);
}
.og-meta__k {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 0.3rem;
}
.og-meta__v { font-size: 0.85rem; font-weight: 600; color: var(--color-text); word-break: break-word; }
.og-meta__v.num { color: var(--color-gold-bright); }

/* --- CTA band ------------------------------------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(2rem, 5.5vw, 3.5rem);
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 70% 120% at 15% 0%, rgba(23, 185, 120, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 120% at 90% 100%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(160deg, rgba(14, 36, 27, 0.92), rgba(4, 7, 5, 0.9));
  overflow: hidden;
  text-align: center;
}
.cta-band__dial {
  position: absolute;
  top: 50%; left: 50%;
  width: min(90%, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.14;
  pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__inner > * + * { margin-top: 1.15rem; }
.cta-band p { color: var(--color-text-muted); max-width: 60ch; margin-inline: auto; }

/* --- Breadcrumb ---------------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.crumbs a { color: var(--color-text-muted); }
.crumbs a:hover { color: var(--color-gold-bright); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.45rem; }
.crumbs li + li::before { content: '/'; color: var(--gold-a40); }
.crumbs [aria-current] { color: var(--color-gold); }

/* --- In-page contents (legal pages) -------------------------------------- */
.toc {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: rgba(10, 26, 20, 0.6);
  margin-bottom: var(--block-gap);
}
.toc__title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.9rem;
}
.toc ol { counter-reset: toc; display: grid; gap: 0.4rem; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 0.7rem;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-text-faint);
  flex: none;
  padding-top: 0.1rem;
}
.toc a:hover { color: var(--color-gold-bright); }
.toc a:hover::before { color: var(--color-gold); }

/* --- Legal / long-form body ---------------------------------------------- */
.legal { line-height: var(--lh-loose); }
.legal section + section { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.legal h2 {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.8rem);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--gold-a14);
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}
.legal h3 { font-size: 1.14rem; margin-top: 1.75rem; margin-bottom: 0.6rem; color: var(--color-gold-bright); }
.legal p { margin-bottom: 1.05em; color: var(--color-text-muted); }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: var(--color-text); }
.legal ul { display: grid; gap: 0.6rem; margin-bottom: 1.15em; }
.legal ul li { position: relative; padding-left: 1.5rem; color: var(--color-text-muted); }
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 7px; height: 7px;
  border: 1px solid var(--color-emerald);
  transform: rotate(45deg);
}
.legal ol { display: grid; gap: 0.6rem; margin-bottom: 1.15em; counter-reset: li; }
.legal ol li { position: relative; padding-left: 2rem; color: var(--color-text-muted); counter-increment: li; }
.legal ol li::before {
  content: counter(li) '.';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-gold);
}

/* --- Callout / notice ---------------------------------------------------- */
.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--gold-a24);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--r-md);
  background: rgba(212, 175, 55, 0.05);
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--color-text-muted);
}
.notice .icon { width: 22px; height: 22px; color: var(--color-gold); flex: none; margin-top: 0.15rem; }
.notice strong { color: var(--color-text); display: block; margin-bottom: 0.3rem; }
.notice p + p { margin-top: 0.6rem; }
.notice--emerald { border-color: var(--em-a45); border-left-color: var(--color-emerald); background: rgba(23, 185, 120, 0.05); }
.notice--emerald .icon { color: var(--color-emerald); }

/* --- Split media/text block ---------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
}
.split__copy > * + * { margin-top: 1.1rem; }

/* --- Two-column prose (long-form depth without a wall of text) ----------- */
.cols { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }

/* --- Mini game strip (related games) ------------------------------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
}

/* --- Gallery (screenshots as a grid on inner pages) ---------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.7rem, 2.2vw, 1.15rem);
}
.gallery__item {
  position: relative;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--color-surface-2);
  transition: border-color var(--t-mid) ease, transform var(--t-mid) var(--ease-vault);
}
.gallery__item:hover { border-color: var(--gold-a40); transform: translateY(-3px); }
.gallery__item img { width: 100%; height: auto; }
.gallery__cap {
  display: block;
  padding: 0.7rem 0.85rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  border-top: 1px solid var(--ivory-a06);
  line-height: 1.5;
}

/* --- Contact form -------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--ivory-a16);
  border-radius: var(--r-md);
  background: rgba(7, 11, 9, 0.65);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-mid) ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field select option { background: var(--color-surface-2); color: var(--color-text); }
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--em-a45);
  box-shadow: var(--glow-emerald);
}
.field__hint { font-size: 0.76rem; color: var(--color-text-faint); line-height: 1.6; }

/* --- Badges -------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--gold-a24);
  border-radius: var(--r-pill);
  background: var(--gold-a08);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  line-height: 1;
  white-space: nowrap;
}
.badge--em { border-color: var(--em-a45); background: var(--em-a08); color: var(--color-emerald); }
.badge .icon { width: 14px; height: 14px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* --- Keyword cloud (semantic SEO, styled as vault index tags) ------------ */
.kw-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.kw-index li {
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-sm);
  background: rgba(10, 26, 20, 0.55);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  line-height: 1.4;
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.kw-index li:hover { color: var(--color-gold); border-color: var(--gold-a24); }

/* ==========================================================================
   12. SCREENSHOT SLIDER
   ========================================================================== */
.shots { position: relative; }

.shots__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: clamp(1rem, 3vw, 1.75rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.shots__viewport::-webkit-scrollbar { display: none; }

.shots__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.9rem, 3vw, 1.75rem);
  width: max-content;
  /* Side padding lets the first and last slide reach the centre of the viewport */
  padding-inline: max(2px, calc(50vw - 190px));
}

.shots__slide {
  flex: none;
  width: clamp(190px, 52vw, 250px);
  scroll-snap-align: center;
}
/* Scale the device, not the slide, so captions stay on one baseline */
.shots__phone,
.shots__cap { transition: transform var(--t-slow) var(--ease-vault), opacity var(--t-slow) ease; }
.shots__slide .shots__phone { opacity: 0.5; transform: scale(0.92); }
.shots__slide .shots__cap   { opacity: 0.45; }
.shots__slide.is-current .shots__phone { opacity: 1; transform: scale(1); }
.shots__slide.is-current .shots__cap   { opacity: 1; }

.shots__phone {
  position: relative;
  border-radius: 30px;
  padding: 7px;
  background: linear-gradient(160deg, #38443D 0%, #0E1C17 24%, #060A08 52%, #14231D 78%, #46564C 100%);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 30px 64px -26px rgba(0, 0, 0, 0.95),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}
.shots__slide.is-current .shots__phone {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.42),
    0 34px 74px -24px rgba(0, 0, 0, 0.95),
    0 0 60px -18px rgba(23, 185, 120, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.16);
}
.shots__screen {
  border-radius: 24px;
  overflow: hidden;
  background: #05100B;
  position: relative;
}
.shots__screen img {
  width: 100%;
  aspect-ratio: 620 / 1288;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.shots__screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.02) 16%, transparent 38%);
  pointer-events: none;
}
.shots__pill {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 28%; height: 11px;
  border-radius: var(--r-pill);
  background: #040806;
  z-index: 2;
}

.shots__cap {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  text-align: center;
}
.shots__cap b {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}
.shots__cap span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  line-height: 1.5;
}

.shots__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.shots__arrow {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--gold-a24);
  border-radius: 50%;
  background: rgba(10, 26, 20, 0.75);
  color: var(--color-gold);
  transition: transform var(--t-fast) var(--ease-vault), border-color var(--t-fast) ease, color var(--t-fast) ease, box-shadow var(--t-mid) ease;
}
.shots__arrow:hover {
  color: var(--color-gold-bright);
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}
.shots__arrow .icon { width: 18px; height: 18px; }

.shots__dots { display: flex; gap: 0.5rem; }
.shots__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold-a40);
  background: transparent;
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--ease-vault), width var(--t-mid) var(--ease-vault);
  padding: 0;
}
.shots__dot.is-current {
  width: 26px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
  border-color: transparent;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  position: relative;
  margin-top: var(--section-y);
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  border-top: 1px solid var(--gold-a14);
  background: linear-gradient(180deg, rgba(10, 26, 20, 0.6), rgba(4, 7, 5, 0.96));
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: min(70%, 620px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer__top {
  display: grid;
  gap: clamp(2rem, 5vw, 2.75rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.footer__brand > * + * { margin-top: 1.1rem; }
.footer__logo { height: 34px; width: auto; }
.footer__blurb { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.75; max-width: 46ch; }

.footer__socials { display: flex; gap: 0.6rem; }
.footer__social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--ivory-a16);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-vault), background var(--t-fast) ease;
}
.footer__social:hover {
  color: #6BC9F5;
  border-color: #2AABEE;
  background: rgba(42, 171, 238, 0.12);
  transform: translateY(-2px);
}
.footer__social .icon { width: 19px; height: 19px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.footer__coltitle {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}
.footer__list { display: grid; gap: 0.6rem; }
.footer__list a { color: var(--color-text-muted); font-size: 0.89rem; line-height: 1.5; }
.footer__list a:hover { color: var(--color-gold-bright); }

/* Compliance block — the honest small print, given real prominence */
.footer__compliance {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.35rem, 3.5vw, 2rem);
  border: 1px solid var(--ivory-a10);
  border-radius: var(--r-lg);
  background: rgba(7, 11, 9, 0.6);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.footer__compliance p {
  font-size: 0.85rem;
  line-height: 1.78;
  color: var(--color-text-muted);
}
.footer__compliance strong { color: var(--color-text); }
.footer__compliance .footer__age { color: var(--color-gold-bright); }

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-bright);
  letter-spacing: -0.02em;
  line-height: 1;
  box-shadow: 0 0 22px -6px rgba(212, 175, 55, 0.5);
}

.footer__complrow { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--ivory-a06);
  font-size: 0.8rem;
  color: var(--color-text-faint);
  line-height: 1.7;
}
.footer__bottom a { color: var(--color-text-faint); }
.footer__bottom a:hover { color: var(--color-gold); }
.footer__legalinks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* Floating CTA on mobile — always one tap from the offer */
.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-nav);
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(4, 7, 5, 0.94);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-top: 1px solid var(--gold-a14);
  transform: translateY(110%);
  transition: transform var(--t-mid) var(--ease-vault);
}
.dock.is-visible { transform: translateY(0); }
.dock .btn { flex: 1; min-height: 46px; padding-inline: 1rem; font-size: 0.85rem; }
.dock .btn--telegram { flex: none; width: 52px; padding: 0; }

/* ==========================================================================
   14. REVEAL & MOTION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease-vault), transform 760ms var(--ease-vault);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Hero unlock choreography */
.hero__lead .hero-seq, .hero__cta .hero-seq {
  opacity: 0;
  transform: translateY(18px);
  animation: seq-in 900ms var(--ease-vault) forwards;
}
.hero-seq--1 { animation-delay: 1.15s; }
.hero-seq--2 { animation-delay: 1.3s; }
.hero-seq--3 { animation-delay: 1.45s; }
.hero-seq--4 { animation-delay: 1.6s; }
.hero-seq--5 { animation-delay: 1.75s; }
.hero-seq--6 { animation-delay: 1.9s; }
@keyframes seq-in {
  to { opacity: 1; transform: none; }
}

/* Marks the page as loaded — used to gate the dial unlock */
.no-js .reveal, .no-js .hero-seq { opacity: 1; transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .vault-field__orb { animation: none; }
  .mock__device { animation: none; transform: none; }
  .mock__chip { animation: none; }
  .mock__sheen, .og-banner__sweep { display: none; }
  .ticker__track { animation: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker__track { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__lead .hero-seq, .hero__cta .hero-seq { opacity: 1; transform: none; animation: none; }
  .shots__slide { opacity: 1; transform: none; }
  .shots__viewport { scroll-behavior: auto; }
}

/* ==========================================================================
   BREAKPOINT: 560px — comfortable phones
   ========================================================================== */
@media (min-width: 560px) {
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip, .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  .og-meta { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   BREAKPOINT: 768px — tablets
   ========================================================================== */
@media (min-width: 768px) {
  .brand__img { height: 36px; }
  .brand__tag { display: inline-flex; }

  .hero__grid {
    grid-template-columns: 1.02fr 0.98fr;
    grid-template-areas: "lead mock" "cta mock";
  }
  .hero { padding-bottom: clamp(4rem, 8vw, 6.5rem); }

  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .section__head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
  .section__head--split > div { max-width: 60ch; }

  .footer__top { grid-template-columns: 1.15fr 1fr; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .og-banner__foot { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .og-banner__foot .btn-row { flex: none; }

  .ticker__item { width: 148px; }

  .dock { display: none; }
}

/* ==========================================================================
   BREAKPOINT: 1024px — small laptops, full desktop nav
   ========================================================================== */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.2vw, 2rem);
  }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .drawer { display: none; }

  .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .filters { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .filters .search { width: min(300px, 28%); flex: none; }
  .filters .chips { flex: 1; }

  .legal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }
  .legal-layout .toc {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
    margin-bottom: 0;
    max-height: calc(100vh - var(--nav-h) - 3rem);
    overflow-y: auto;
  }

  .footer__top { grid-template-columns: 1.2fr 1.6fr; }
}

/* ==========================================================================
   BREAKPOINT: 1200px — large desktop
   ========================================================================== */
@media (min-width: 1200px) {
  .brand__img { height: 40px; }
  .footer__logo { height: 40px; }

  .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .hero__grid { grid-template-columns: 1.06fr 0.94fr; column-gap: clamp(3rem, 5vw, 5rem); }

  .mock__device { width: clamp(280px, 24vw, 330px); }

  .shots__slide { width: 262px; }
  .shots__track { padding-inline: max(2px, calc(50vw - 196px)); }

  .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   Print — legal pages should print cleanly
   ========================================================================== */
@media print {
  .nav, .drawer, .dock, .vault-field, .footer__socials, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  .legal p, .legal li { color: #222; }
}
