/* ==========================================================================
   1jj Game — MIDNIGHT VAULT — Main stylesheet
   Vanilla CSS. BEM-lite. Mobile-first. No frameworks.
   ========================================================================== */

/* ---------- Reset & base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  background-image:
    radial-gradient(1200px 600px at 80% -5%, rgba(26,33,71,0.9) 0%, rgba(10,14,39,0) 60%),
    radial-gradient(900px 500px at 0% 15%, rgba(212,175,55,0.06) 0%, rgba(10,14,39,0) 55%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

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

.tabular { font-variant-numeric: tabular-nums; font-family: var(--font-num); }

/* ---------- Skip link ---------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--color-gold-primary);
  color: #14100a;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  z-index: var(--z-modal);
  transition: top var(--t-med) var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-pad-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--grad-surface); }
.section--deep { background: var(--color-bg-deep); }

/* ---------- Typography helpers ------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-gold-primary);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--grad-gold);
}
.eyebrow--center::after {
  content: "";
  width: 22px; height: 1px;
  background: var(--grad-gold);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: 0.005em;
}
.h-heading {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xl);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 0.7rem;
}
.section__title .gold { color: var(--color-gold-primary); }
.section__lead {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: 1.7;
}
.text-muted { color: var(--color-text-muted); }
.text-gold { color: var(--color-gold-primary); }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Gold shimmer sweep across text (hero headline) */
.shimmer-text {
  background: linear-gradient(
    100deg,
    var(--color-gold-primary) 0%,
    var(--color-gold-primary) 35%,
    #fff6da 50%,
    var(--color-gold-bright) 58%,
    var(--color-gold-primary) 75%,
    var(--color-gold-primary) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerSweep 6s var(--ease-in-out) infinite;
}
@keyframes shimmerSweep {
  0%, 100% { background-position: 130% 0; }
  50% { background-position: -30% 0; }
}

/* ---------- Divider (gold hairline + gem) ------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.divider::before, .divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 260px;
  background: linear-gradient(90deg, transparent, var(--color-gold-deep), transparent);
}
.divider__gem {
  width: 14px; height: 14px;
  transform: rotate(45deg);
  background: var(--grad-gold);
  box-shadow: 0 0 14px var(--color-glow-shadow);
  border-radius: 2px;
  flex: none;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --_pad-y: 0.85rem;
  --_pad-x: 1.7rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--_pad-y) var(--_pad-x);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              background var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn__icon { width: 1.1em; height: 1.1em; flex: none; }

.btn--primary {
  background: var(--grad-gold-diag);
  color: #17130a;
  box-shadow: 0 8px 26px rgba(212,175,55,0.32);
}
.btn--primary::after {
  /* shimmer streak */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
  z-index: 1;
}
.btn--primary:hover {
  box-shadow: 0 12px 40px rgba(212,175,55,0.5);
  transform: translateY(-2px);
}
.btn--primary:hover::after { transform: translateX(120%); }
.btn--primary > * { position: relative; z-index: 2; }

.btn--ghost {
  background: rgba(212,175,55,0.06);
  color: var(--color-text-primary);
  border: 1px solid var(--color-hairline);
}
.btn--ghost:hover {
  border-color: var(--color-gold-primary);
  background: rgba(212,175,55,0.12);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--telegram {
  background: linear-gradient(135deg, #229ED9 0%, #2AABEE 100%);
  color: #fff;
  box-shadow: 0 8px 26px rgba(42,171,238,0.35);
}
.btn--telegram:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(42,171,238,0.5); }

.btn--lg { --_pad-y: 1.1rem; --_pad-x: 2.4rem; font-size: var(--fs-md); }
.btn--sm { --_pad-y: 0.55rem; --_pad-x: 1.1rem; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

/* soft breathing glow ring for the primary hero CTA */
.btn--pulse {
  animation: ctaBreathe 2.5s var(--ease-in-out) infinite;
}
@keyframes ctaBreathe {
  0%, 100% { box-shadow: 0 8px 26px rgba(212,175,55,0.3), 0 0 0 0 rgba(212,175,55,0.45); }
  50% { box-shadow: 0 12px 38px rgba(212,175,55,0.5), 0 0 0 12px rgba(212,175,55,0); }
}

/* ---------- Pills / badges ---------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-hairline);
  background: rgba(212,175,55,0.06);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 8px var(--color-success); }

/* ---------- Header / Nav ------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              backdrop-filter var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(18, 24, 55, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--color-hairline-soft);
  box-shadow: var(--shadow-md);
}
.nav {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo lockup — uses the provided PNG as-is, framed as a premium badge.
   object-fit: cover in a wide box crops the image's empty top/bottom padding
   so the "1JJ.com" wordmark renders large, readable and best-fit. */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  padding: 5px 12px 5px 6px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(26,33,71,0.6), rgba(10,14,39,0.4));
  border: 1px solid var(--color-hairline-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: border-color var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.brand:hover { border-color: var(--color-hairline); box-shadow: 0 0 24px rgba(212,175,55,0.18); }
.brand__logo {
  height: 54px;
  width: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.5));
  transition: transform var(--t-med) var(--ease-spring);
}
.brand:hover .brand__logo { transform: scale(1.03); }
@media (max-width: 560px) {
  .brand { padding: 4px 9px 4px 5px; }
  .brand__logo { height: 44px; width: 116px; }
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--color-text-primary); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-gold-bright); }

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

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-hairline);
  background: rgba(212,175,55,0.05);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 20px; height: 2px;
  background: var(--color-gold-primary);
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero -------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  max-width: 130%;
  background: var(--grad-radial-glow);
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__content { max-width: 620px; }
.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 0;
}
.hero__title .serif {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.04em;
}
.hero__subtitle {
  margin-top: 1.4rem;
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 34em;
}
.hero__bonus {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
  padding: 0.75rem 1.4rem 0.75rem 0.85rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(212,175,55,0.16), rgba(26,33,71,0.4));
  border: 1px solid var(--color-hairline);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero__bonus-badge {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-gold-diag);
  color: #17130a;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 0 20px var(--color-glow-shadow);
  flex: none;
}
.hero__bonus-text { line-height: 1.25; }
.hero__bonus-label {
  font-size: var(--fs-3xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-muted);
}
.hero__bonus-amount {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-gold-bright);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero__meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta-item svg { width: 16px; height: 16px; color: var(--color-gold-primary); flex: none; }

/* ---------- Phone mockup (CSS device frame + screenshot) ---------------- */
.mockup {
  position: relative;
  justify-self: center;
  perspective: 1400px;
}
.mockup--hero { animation: floatY 6s var(--ease-in-out) infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(2deg); }
  50% { transform: translateY(-16px) rotateY(-4deg) rotateX(0deg); }
}
.phone {
  position: relative;
  width: clamp(230px, 26vw, 310px);
  aspect-ratio: 300 / 620;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(160deg, #2b3260 0%, #0d1230 60%, #05070f 100%);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.6),
    0 0 0 1px rgba(212,175,55,0.5),
    0 0 46px rgba(212,175,55,0.28),
    inset 0 0 0 2px rgba(255,255,255,0.04);
}
.phone::before {
  /* notch */
  content: "";
  position: absolute;
  top: 15px; left: 50%;
  transform: translateX(-50%);
  width: 42%; height: 22px;
  background: #05070f;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0b1024;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.phone__screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone__glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 32%);
  pointer-events: none;
  z-index: 2;
}
/* floating gold chips around hero phone */
.mockup__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(18,24,55,0.9);
  border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  backdrop-filter: blur(6px);
  z-index: 4;
}
.mockup__chip svg { width: 15px; height: 15px; color: var(--color-gold-bright); }
.mockup__chip--tl { top: 8%; left: -14%; animation: floatChip 5s var(--ease-in-out) infinite; }
.mockup__chip--br { bottom: 12%; right: -12%; animation: floatChip 5.5s var(--ease-in-out) infinite 0.6s; }
.mockup__chip--ml { top: 46%; left: -20%; animation: floatChip 6s var(--ease-in-out) infinite 1.1s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mockup__ring {
  position: absolute;
  inset: -8% -10%;
  border-radius: 50%;
  border: 1px dashed rgba(212,175,55,0.25);
  z-index: 0;
  animation: spinSlow 40s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- Trust strip / stats ----------------------------------------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-hairline-soft);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust__item {
  background: var(--color-bg-surface);
  padding: clamp(1.3rem, 3vw, 2rem) 1rem;
  text-align: center;
}
.trust__num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust__label {
  margin-top: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Vault ring game cards --------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
}
.games-grid--home {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.game-card {
  position: relative;
  display: block;
  text-align: center;
  transition: transform var(--t-med) var(--ease-out);
  will-change: transform;
}
.game-card:hover { transform: translateY(-8px); }
.game-card__frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  padding: 6px;
  background:
    linear-gradient(160deg, rgba(212,175,55,0.5), rgba(156,122,31,0.15));
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  transition: box-shadow var(--t-med) var(--ease-out);
}
.game-card:hover .game-card__frame {
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 30px var(--color-glow-shadow);
}
.game-card__frame::after {
  /* thin inner gold hairline ring */
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 3;
}
.game-card__media {
  position: relative;
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  overflow: hidden;
  background: var(--color-bg-elevated);
}
.game-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.game-card:hover .game-card__media img { transform: scale(1.07); }
.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.9rem;
  background: linear-gradient(to top, rgba(7,10,28,0.92) 0%, rgba(7,10,28,0.1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
  z-index: 2;
}
.game-card:hover .game-card__overlay,
.game-card:focus-visible .game-card__overlay { opacity: 1; }
.game-card__play {
  transform: translateY(14px);
  transition: transform var(--t-med) var(--ease-spring);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--grad-gold-diag);
  color: #17130a;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-2xs);
  box-shadow: 0 6px 18px rgba(212,175,55,0.4);
}
.game-card:hover .game-card__play { transform: translateY(0); }
.game-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 4;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(7,10,28,0.75);
  border: 1px solid var(--color-hairline);
  font-size: var(--fs-3xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold-bright);
  backdrop-filter: blur(4px);
}
.game-card__title {
  margin-top: 0.8rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--color-text-primary);
}
.game-card__cat {
  font-size: var(--fs-3xs);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Feature cards ----------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.feature-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  border: 1px solid var(--color-border-cool);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-hairline);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212,175,55,0.12);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  margin-bottom: 1.1rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--color-hairline);
  color: var(--color-gold-bright);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  margin-bottom: 0.5rem;
}
.feature-card__text { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* Hexagon / aperture variant for "vault" feel */
.feature-card__icon--hex {
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  border-radius: 0;
}

/* ---------- Steps -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}
.steps::before {
  /* connecting gold path */
  content: "";
  position: absolute;
  top: 34px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-gold-deep) 0 8px, transparent 8px 16px);
  opacity: 0.5;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}
.step__num {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-gold-bright);
  background: radial-gradient(circle at 30% 25%, #1c244f, #0c1130);
  border: 1px solid var(--color-hairline);
  box-shadow: 0 0 0 6px rgba(10,14,39,1), 0 8px 24px rgba(0,0,0,0.5), inset 0 0 18px rgba(212,175,55,0.14);
}
.step__title {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-md);
  margin-bottom: 0.45rem;
}
.step__text { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ---------- Split / content blocks -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.prose > * + * { margin-top: 1.05rem; }
.prose p { color: var(--color-text-muted); }
.prose h3 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  color: var(--color-text-primary);
  margin-top: 1.6rem;
}
.prose strong { color: var(--color-text-primary); font-weight: var(--fw-semibold); }

/* check list */
.checklist { display: grid; gap: 0.85rem; margin-top: 1.4rem; }
.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(46,204,113,0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ECC71' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid rgba(46,204,113,0.3);
}
.checklist li strong { color: var(--color-text-primary); }

/* ---------- OG Banner showcase ------------------------------------------ */
.og-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(0.5rem, 1.5vw, 0.8rem);
  background: linear-gradient(135deg, rgba(212,175,55,0.5), rgba(26,33,71,0.4));
  box-shadow: var(--shadow-lg), 0 0 50px rgba(212,175,55,0.15);
}
.og-showcase__inner {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.og-showcase__inner img { width: 100%; height: auto; display: block; }
.og-showcase__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
}
.og-showcase__cta {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
}
@media (max-width: 640px) {
  .og-showcase__cta { position: static; margin-top: 1rem; display: flex; }
}

/* ---------- FAQ accordion ------------------------------------------------ */
.faq { max-width: 840px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq__item {
  border: 1px solid var(--color-border-cool);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease-out);
}
.faq__item.is-open { border-color: var(--color-hairline); box-shadow: var(--shadow-gold); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: var(--fs-md);
  color: var(--color-text-primary);
}
.faq__icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 2px;
  background: var(--color-gold-primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--t-med) var(--ease-out);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease-out);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* ---------- CTA banner --------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212,175,55,0.18), transparent 70%),
    var(--grad-base);
  border: 1px solid var(--color-hairline);
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(212,175,55,0.4), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(212,175,55,0.3), transparent),
    radial-gradient(1.5px 1.5px at 85% 25%, rgba(244,209,96,0.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(212,175,55,0.3), transparent);
  pointer-events: none;
}
.cta-banner__title {
  position: relative;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xl);
  letter-spacing: -0.015em;
}
.cta-banner__text { position: relative; margin: 0.9rem auto 0; max-width: 46em; color: var(--color-text-muted); }
.cta-banner__actions {
  position: relative;
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Telegram community band ------------------------------------- */
.tg-band {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(34,158,217,0.14), rgba(18,24,55,0.5));
  border: 1px solid rgba(42,171,238,0.28);
}
.tg-band__icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #2AABEE);
  box-shadow: 0 8px 24px rgba(42,171,238,0.4);
}
.tg-band__icon svg { width: 32px; height: 32px; color: #fff; }
.tg-band__body { flex: 1 1 260px; }
.tg-band__title { font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: var(--fs-lg); }
.tg-band__text { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: 0.25rem; }

/* ---------- Category filter --------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  align-items: center;
}
.filter-search {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}
.filter-search input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-cool);
  color: var(--color-text-primary);
  transition: border-color var(--t-fast);
}
.filter-search input:focus { outline: none; border-color: var(--color-gold-primary); }
.filter-search svg {
  position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--color-text-muted);
}
.chip-filter {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-cool);
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  transition: all var(--t-fast) var(--ease-out);
}
.chip-filter:hover { color: var(--color-text-primary); border-color: var(--color-hairline); }
.chip-filter.is-active {
  color: #17130a;
  background: var(--grad-gold-diag);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}
.games-empty { text-align: center; color: var(--color-text-muted); padding: 3rem 1rem; display: none; }
.games-empty.is-visible { display: block; }

/* ---------- Forms -------------------------------------------------------- */
.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border-cool);
  color: var(--color-text-primary);
  transition: border-color var(--t-fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--color-gold-primary);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.field__error { color: var(--color-danger); font-size: var(--fs-xs); min-height: 1em; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--color-danger); }
.field.is-invalid .field__error { display: block; }
.form__status { font-size: var(--fs-sm); min-height: 1.4em; }
.form__status.is-success { color: var(--color-success); }

/* ---------- Info / stat cards, misc ------------------------------------- */
.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--grad-surface);
  border: 1px solid var(--color-border-cool);
}
.card--gold { border-color: var(--color-hairline); box-shadow: 0 0 30px rgba(212,175,55,0.1); }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-cool);
  font-size: var(--fs-sm);
}
.badge svg { width: 20px; height: 20px; color: var(--color-gold-bright); flex: none; }

.stat-line { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.stat-line__item { }
.stat-line__num {
  font-family: var(--font-num); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: var(--fs-xl);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-line__label { color: var(--color-text-muted); font-size: var(--fs-xs); }

/* QR block */
.qr-card {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
}
.qr-frame {
  flex: none;
  width: 150px; height: 150px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-gold);
}
.qr-frame svg { width: 100%; height: 100%; }

/* Related games carousel */
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem;
  scrollbar-width: thin;
}
.carousel > * { scroll-snap-align: start; }

/* Breadcrumb */
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  font-size: var(--fs-xs); color: var(--color-text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--color-gold-bright); }
.breadcrumb span { opacity: 0.5; }

/* Page hero (interior) */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  overflow: hidden;
}
.page-hero__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; max-width: 130%;
  background: var(--grad-radial-glow); pointer-events: none;
}
.page-hero__title {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-4xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 0.8rem;
}
.page-hero__lead {
  position: relative;
  max-width: 640px; margin: 1.1rem auto 0;
  color: var(--color-text-muted);
  font-size: var(--fs-md);
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-hairline-soft);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}
.footer__brandcol { max-width: 340px; }
.footer__logo {
  height: 66px; width: 170px;
  object-fit: cover; object-position: center;
  border-radius: 12px;
  margin-bottom: 1.1rem;
  border: 1px solid var(--color-hairline-soft);
  background: rgba(10,14,39,0.4);
}
.footer__about { color: var(--color-text-muted); font-size: var(--fs-sm); }
.footer__socials { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer__social {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--color-border-cool);
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
  transition: all var(--t-fast) var(--ease-out);
}
.footer__social:hover { color: var(--color-gold-bright); border-color: var(--color-hairline); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.footer__social svg { width: 20px; height: 20px; }
.footer__coltitle {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 1.1rem;
}
.footer__links { display: grid; gap: 0.7rem; }
.footer__links a { color: var(--color-text-muted); font-size: var(--fs-sm); transition: color var(--t-fast), padding var(--t-fast); }
.footer__links a:hover { color: var(--color-gold-bright); padding-left: 5px; }
.footer__disclaimer {
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  padding: 1.5rem clamp(1.1rem, 4vw, 2.2rem);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.footer__age {
  flex: none;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-primary);
  color: var(--color-gold-bright);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  box-shadow: inset 0 0 14px rgba(212,175,55,0.18);
}
.footer__disclaimer p { color: var(--color-text-muted); font-size: var(--fs-xs); line-height: 1.65; }
.footer__disclaimer strong { color: var(--color-text-primary); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-block: 1.6rem;
  color: var(--color-text-dim);
  font-size: var(--fs-xs);
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__bottom-links a:hover { color: var(--color-gold-bright); }

/* ---------- Floating Telegram FAB --------------------------------------- */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-fab);
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #229ED9, #2AABEE);
  box-shadow: 0 10px 30px rgba(42,171,238,0.45);
  transition: transform var(--t-med) var(--ease-spring);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; color: #fff; position: relative; z-index: 2; }
.fab::before, .fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(42,171,238,0.6);
  animation: pulseRing 4s var(--ease-out) infinite;
}
.fab::after { animation-delay: 2s; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  background: var(--color-bg-elevated);
  color: var(--color-text-primary);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-hairline);
  font-size: var(--fs-xs);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-med), transform var(--t-med);
}
.fab:hover .fab__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- Mobile bottom bar ------------------------------------------- */
.mobilebar { display: none; }

/* ---------- Age modal ---------------------------------------------------- */
.age-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(5,7,15,0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.age-modal.is-open { opacity: 1; visibility: visible; }
.age-modal__box {
  max-width: 460px;
  width: 100%;
  text-align: center;
  padding: clamp(1.8rem, 5vw, 2.8rem);
  border-radius: var(--radius-xl);
  background: var(--grad-base);
  border: 1px solid var(--color-hairline);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(212,175,55,0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-med) var(--ease-spring);
}
.age-modal.is-open .age-modal__box { transform: none; }
.age-modal__seal {
  width: 76px; height: 76px; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 2px solid var(--color-gold-primary);
  color: var(--color-gold-bright);
  font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg);
  box-shadow: inset 0 0 20px rgba(212,175,55,0.2), 0 0 24px rgba(212,175,55,0.2);
}
.age-modal__title { font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: var(--fs-xl); margin-bottom: 0.7rem; }
.age-modal__text { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 1.6rem; }
.age-modal__actions { display: grid; gap: 0.7rem; }
.age-modal__decline { color: var(--color-text-muted); font-size: var(--fs-xs); }
.age-modal__decline:hover { color: var(--color-text-primary); }

/* ---------- Scroll reveal ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.48s; }
.reveal[data-reveal-delay="7"] { transition-delay: 0.56s; }

/* utility */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem,2.5vw,1.6rem); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(1rem,2.5vw,1.6rem); }
.flex-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hide-mobile { }
.only-mobile { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { max-width: 640px; margin-inline: auto; }
  .hero__meta, .hero__cta { justify-content: center; }
  .eyebrow { justify-content: center; }
  .mockup--hero { animation: floatYflat 6s var(--ease-in-out) infinite; }
  @keyframes floatYflat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px);} }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1.1rem, 4vw, 2.2rem) 1.6rem;
    background: rgba(12,16,40,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-hairline-soft);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform var(--t-med) var(--ease-out);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__menu.is-open { transform: none; }
  .nav__link { padding: 0.95rem 0.4rem; font-size: var(--fs-md); border-bottom: 1px solid var(--color-hairline-soft); }
  .nav__link::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .steps .step { padding: 1.3rem 0; border-bottom: 1px dashed var(--color-hairline-soft); }
  .steps .step:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  body { padding-bottom: 68px; } /* room for mobile bar */
  .mobilebar {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-mobilebar);
    height: 64px;
    background: rgba(12,16,40,0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--color-hairline-soft);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.4);
  }
  .mobilebar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: relative;
    color: var(--color-text-muted);
    font-size: var(--fs-3xs);
    font-weight: var(--fw-medium);
    letter-spacing: 0.02em;
    transition: color var(--t-fast);
  }
  .mobilebar__item svg { width: 22px; height: 22px; }
  .mobilebar__item::after {
    content: "";
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%) scaleX(0);
    width: 26px; height: 3px; border-radius: 3px;
    background: var(--grad-gold);
    transition: transform var(--t-med) var(--ease-spring);
  }
  .mobilebar__item[aria-current="page"] { color: var(--color-gold-bright); }
  .mobilebar__item[aria-current="page"]::after { transform: translateX(-50%) scaleX(1); }
  .mobilebar__item--cta svg { color: var(--color-gold-bright); }
  .fab { bottom: calc(64px + 1rem); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .games-grid, .games-grid--home { grid-template-columns: repeat(2, 1fr); }
  .hero__bonus { width: 100%; justify-content: center; }
  .btn--block-mobile { display: flex; width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .phone { width: min(72vw, 280px); }
  .mockup__chip--tl { left: -4%; }
  .mockup__chip--br { right: -2%; }
  .mockup__chip--ml { left: -6%; }
}

@media (min-width: 1201px) {
  .games-grid--home { grid-template-columns: repeat(4, 1fr); }
}
