/* ==========================================================================
   IN7 GAME — Global stylesheet
   Base • Layout • Header • Footer • Buttons • Cards • Shared components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  /* Hard guarantee: the document never scrolls sideways */
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-bg);
  background-image: var(--grad-canvas);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

/* Icons dropped inline into headings, list items and copy size to the text.
   Component-level rules (.card-icon svg, .btn > svg, …) always win over this. */
h1 > svg, h2 > svg, h3 > svg, h4 > svg, h5 > svg,
p > svg, li > svg, span > svg, a > svg, td > svg, th > svg, label > svg {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.16em;
  flex: none;
}

img {
  height: auto;
}

a {
  color: var(--color-crimson);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--color-crimson-deep);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-black);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  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); }

p {
  margin: 0 0 var(--sp-4);
  max-width: 74ch;
}

ul, ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25em;
}

li {
  margin-bottom: var(--sp-2);
}

strong { font-weight: 650; color: var(--color-black); }

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: var(--sp-7) 0;
}

::selection {
  background: var(--color-gold-light);
  color: var(--color-black);
}

/* Focus states — visible gold outline everywhere */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--color-black);
  color: var(--color-text-inverse);
  padding: 12px 22px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: 0;
  color: var(--color-text-inverse);
}

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

/* --------------------------------------------------------------------------
   2. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - (var(--gutter) * 2), var(--container-wide));
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), var(--container-narrow));
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--lg { padding-block: var(--section-y-lg); }
.section--tight { padding-block: clamp(40px, 4.4vw, 72px); }
.section--alt { background: var(--color-surface-alt); }
.section--sunken { background: var(--color-surface-sunken); }
.section--paper { background: var(--color-surface); }

.section--dark {
  background: var(--grad-black);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-text-inverse); }

.section--dark p { color: var(--color-text-inverse-muted); }

/* Inline links need to survive on the dark surfaces too */
.section--dark a:not(.btn):not(.tg-card):not(.game-card__link),
.cta-band a:not(.btn),
.og-showcase a:not(.btn) {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section--dark a:not(.btn):not(.tg-card):not(.game-card__link):hover,
.cta-band a:not(.btn):hover,
.og-showcase a:not(.btn):hover { color: #fff; }

/* Hairline gold divider between stacked sections */
.section--ruled { border-top: 1px solid var(--color-border-soft); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(266px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); }

/* Asymmetric two-column split that collapses cleanly on tablet and below */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.split--wide { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.split--reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--center { align-items: center; }

@media (max-width: 940px) {
  .split,
  .split--wide,
  .split--reverse { grid-template-columns: minmax(0, 1fr); }
}

.stack > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   3. Section headers & typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-crimson);
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.section--dark .eyebrow { color: var(--color-gold-light); }

.section-head {
  max-width: 760px;
  margin-bottom: var(--sp-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }

.section-head p {
  color: var(--color-text-muted);
  font-size: var(--fs-lead);
  margin-bottom: 0;
}

.section-head--center p { margin-inline: auto; }

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

.gold-word {
  color: var(--color-gold);
  position: relative;
}

.crimson-word { color: var(--color-crimson); }

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

.text-center { text-align: center; }

.prose p { margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-6); }
.prose h4 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose ul { padding-left: 1.15em; }
.prose li { color: var(--color-text-muted); }
.prose li strong { color: var(--color-text-primary); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--grad-crimson);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.15;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  text-align: center;
  box-shadow: var(--shadow-crimson-glow);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-fast) var(--ease-out);
}

/* gold rim */
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: var(--grad-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: -1;
  opacity: 0.95;
}

.btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(193, 26, 50, 0.34), var(--shadow-gold-glow);
}

.btn:active { transform: translateY(-1px); }

.btn--lg {
  padding: 19px 40px;
  font-size: 1.06rem;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 0.85rem;
}

.btn--block { display: flex; width: 100%; }

.btn--ghost {
  --btn-bg: var(--color-surface);
  color: var(--color-black);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-gold-light);
}

.btn--ghost::before { opacity: 0; }
.btn--ghost:hover {
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(203, 159, 42, 0.24);
}

.btn--outline-gold {
  --btn-bg: transparent;
  color: var(--color-black);
  box-shadow: none;
  border: 2px solid var(--color-gold);
}

.btn--outline-gold::before { opacity: 0; }
.btn--outline-gold:hover {
  color: var(--color-black);
  background: var(--color-gold-tint);
  box-shadow: var(--shadow-gold-glow);
}

.btn--dark {
  --btn-bg: var(--grad-black);
  box-shadow: 0 12px 30px rgba(11, 10, 11, 0.24);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.06);
  color: var(--color-text-inverse);
  border: 1px solid rgba(238, 222, 159, 0.42);
  box-shadow: none;
}

.btn--on-dark::before { opacity: 0; }
.btn--on-dark:hover {
  color: var(--color-black);
  background: var(--grad-gold);
  border-color: transparent;
}

/* Telegram buttons — real brand icon, two distinct channels */
.btn--telegram {
  --btn-bg: linear-gradient(135deg, #35ADE2 0%, #229ED9 55%, #1B84B5 100%);
  box-shadow: 0 12px 30px rgba(34, 158, 217, 0.3);
}

.btn--telegram::before { opacity: 0; }

.btn--telegram:hover {
  box-shadow: 0 16px 38px rgba(34, 158, 217, 0.38);
}

.btn--telegram-ghost {
  --btn-bg: #fff;
  color: #1B84B5;
  border: 1px solid #BFE5F6;
  box-shadow: var(--shadow-soft);
}

.btn--telegram-ghost::before { opacity: 0; }
.btn--telegram-ghost:hover { color: #12719D; border-color: #229ED9; }

/* Every inline icon dropped into a button gets a fixed box */
.btn > svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn--lg > svg { width: 21px; height: 21px; }
.btn--sm > svg { width: 16px; height: 16px; }

/* Pulsing halo on the hero's primary action */
.btn--pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--color-gold);
  opacity: 0;
  z-index: -2;
  animation: btnPulse 2.8s var(--ease-out) infinite;
}

@keyframes btnPulse {
  0%   { opacity: 0.55; transform: scale(1); }
  70%  { opacity: 0;    transform: scale(1.16); }
  100% { opacity: 0;    transform: scale(1.16); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.btn-row--center { justify-content: center; }

/* --------------------------------------------------------------------------
   5. Badges, pills, chips
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.badge--gold {
  background: var(--grad-gold);
  color: #3A2C05;
  box-shadow: var(--shadow-gold-glow);
}

.badge--crimson { background: var(--color-crimson-soft); color: var(--color-crimson-deep); }
.badge--dark { background: var(--color-black); color: var(--color-gold-light); }
.badge--outline { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted); }
.badge--live { background: rgba(31, 122, 77, 0.1); color: var(--color-success); }

.badge--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: livePulse 1.9s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--color-gold-tint);
  border: 1px solid var(--color-gold-light);
  color: #6B540F;
  font-size: var(--fs-xs);
  font-weight: 600;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chip-row li { margin: 0; }

/* Keyword cloud used for on-page semantic coverage */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.keyword-cloud li {
  margin: 0;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  transition: all var(--dur-fast) var(--ease-out);
}

.keyword-cloud li:hover {
  border-color: var(--color-gold);
  color: var(--color-black);
  background: var(--color-gold-tint);
  transform: translateY(-2px);
}

.section--dark .keyword-cloud li {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(238, 222, 159, 0.2);
  color: var(--color-text-inverse-muted);
}

/* --------------------------------------------------------------------------
   6. Cards
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-gold-light);
}

.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }
.card p + p { margin-top: var(--sp-3); }

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-soft); }

.card--gold {
  background: linear-gradient(180deg, #FFFDF5 0%, var(--color-surface) 100%);
  border-color: var(--color-gold-light);
}

.card--dark {
  background: var(--grad-black);
  border-color: rgba(238, 222, 159, 0.16);
  color: var(--color-text-inverse);
}

.card--dark h3 { color: var(--color-text-inverse); }
.card--dark p { color: var(--color-text-inverse-muted); }

/* Top gold hairline that grows on hover */
.card--accent::after {
  content: "";
  position: absolute;
  left: var(--sp-6);
  top: 0;
  height: 3px;
  width: 34px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-gold);
  transition: width var(--dur-base) var(--ease-out);
}

.card--accent:hover::after { width: 78px; }

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--color-gold-tint);
  border: 1px solid var(--color-gold-light);
  margin-bottom: var(--sp-4);
  color: var(--color-crimson);
}

.card-icon svg { width: 26px; height: 26px; }

.card--dark .card-icon {
  background: rgba(203, 159, 42, 0.14);
  border-color: rgba(203, 159, 42, 0.3);
  color: var(--color-gold-light);
}

.card-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-gold-light);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   7. Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  /* Own stacking context so the blur layer below stays inside the header */
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

/* The frosted backdrop lives on a pseudo-element, not on .site-header itself:
   an element with backdrop-filter becomes the containing block for its
   position:fixed descendants, which would break the mobile drawer. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 247, 239, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: background var(--dur-base) var(--ease-out);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

.site-header.is-stuck {
  box-shadow: 0 8px 30px rgba(11, 10, 11, 0.09);
  border-bottom-color: var(--color-border-soft);
}

.site-header.is-stuck::before { background: rgba(255, 253, 247, 0.95); }

.site-header.is-stuck::after { transform: scaleX(1); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 78px;
  padding-block: 12px;
}

/* --- Brand lockup: the supplied logo, unaltered, on a dark plate so the
       white mark reads clearly against the light canvas --- */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-right: auto;
  border-radius: 14px;
  transition: transform var(--dur-base) var(--ease-spring);
}

.brand:hover { transform: translateY(-1px); }

.brand__plate {
  display: grid;
  place-items: center;
  padding: 11px 20px;
  border-radius: 14px;
  background: var(--grad-black);
  border: 1px solid rgba(203, 159, 42, 0.34);
  box-shadow: 0 6px 18px rgba(11, 10, 11, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.brand:hover .brand__plate {
  border-color: var(--color-gold);
  box-shadow: 0 8px 24px rgba(11, 10, 11, 0.24), var(--shadow-gold-glow);
}

/* Native 3:1 aspect ratio preserved — no recolour, no filters, no overlays */
.brand__logo {
  width: 148px;
  height: auto;
  aspect-ratio: 2172 / 724;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links li { margin: 0; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 15px;
  border-radius: var(--r-sm);
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__link:hover { color: var(--color-crimson); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--color-crimson); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav__tg {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #CFE9F7;
  color: #229ED9;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base) var(--ease-out);
}

.nav__tg svg { width: 21px; height: 21px; }
.nav__tg:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.3);
  color: #1B84B5;
}

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: var(--color-surface);
  cursor: pointer;
  place-items: center;
  flex: none;
}

.nav__toggle span {
  display: block;
  width: 19px; height: 2px;
  border-radius: 2px;
  background: var(--color-black);
  position: relative;
  transition: background var(--dur-fast) linear;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  border-radius: 2px;
  background: var(--color-black);
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Announcement ribbon above the nav */
.topbar {
  background: var(--grad-black);
  color: var(--color-text-inverse-muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  text-align: center;
  padding-block: 7px;
}

.topbar strong { color: var(--color-gold-light); font-weight: 700; }
.topbar a { color: var(--color-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.topbar a:hover { color: #fff; }
.topbar__spark {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 12px var(--color-gold);
  flex: none;
  animation: livePulse 2.2s ease-in-out infinite;
}

/* Mobile drawer */
@media (max-width: 1023px) {
  .nav__toggle { display: grid; }

  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 360px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 104px var(--sp-5) var(--sp-6);
    background: var(--color-surface);
    border-left: 1px solid var(--color-gold-light);
    box-shadow: -18px 0 50px rgba(11, 10, 11, 0.16);
    transform: translateX(102%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: var(--z-drawer);
    overflow-y: auto;
  }

  .nav__links.is-open { transform: translateX(0); }

  .nav__link {
    padding: 15px 12px;
    font-size: 1.06rem;
    border-bottom: 1px solid var(--color-border-soft);
    border-radius: 0;
  }

  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--color-crimson); }

  .nav__drawer-cta { margin-top: var(--sp-5); display: grid; gap: 10px; }

  .nav__scrim {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 11, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
    z-index: 85;
  }

  .nav__scrim.is-open { opacity: 1; visibility: visible; }

  .nav__actions .btn--nav-cta { display: none; }
}

@media (min-width: 1024px) {
  .nav__drawer-cta { display: none; }
  .nav__scrim { display: none; }
}

@media (max-width: 560px) {
  .brand__logo { width: 122px; }
  .brand__plate { padding: 9px 15px; }
  .nav { min-height: 68px; }
  .nav__tg { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   8. Footer — "download complete"
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  background: var(--grad-black);
  color: var(--color-text-inverse-muted);
  padding-top: var(--sp-9);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(203, 159, 42, 0.12), transparent 62%),
    radial-gradient(700px 340px at 92% 8%, rgba(193, 26, 50, 0.16), transparent 66%);
  pointer-events: none;
}

.site-footer > * { position: relative; }

/* Gold checkmark that draws itself across the footer's top border */
.footer-check {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 46px;
  overflow: hidden;
  pointer-events: none;
}

.footer-check svg { width: 100%; height: 46px; }

.footer-check__line,
.footer-check__tick {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-check__line { opacity: 0.42; }

.footer-check__line,
.footer-check__tick {
  stroke-dasharray: var(--dash, 1400);
  stroke-dashoffset: var(--dash, 1400);
}

.footer-check.is-drawn .footer-check__line { animation: drawPath 1.5s var(--ease-out) forwards; }
.footer-check.is-drawn .footer-check__tick { animation: drawPath 0.9s var(--ease-out) 0.75s forwards; }

@keyframes drawPath { to { stroke-dashoffset: 0; } }

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: var(--sp-7) var(--sp-6);
  padding-bottom: var(--sp-7);
}

.footer-brand .brand__plate {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(238, 222, 159, 0.28);
}

.footer-brand .brand__logo { width: 172px; }

.footer-brand p {
  margin-top: var(--sp-4);
  color: var(--color-text-inverse-muted);
  font-size: var(--fs-sm);
  max-width: 42ch;
}

/* Emphasis inside the dark footer must not fall back to near-black */
.site-footer strong,
.section--dark strong,
.cta-band strong { color: var(--color-gold-light); }

.footer-disclaimer strong { color: #fff; }

.footer-col h4 {
  color: var(--color-gold-light);
  font-size: 0.83rem;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 11px; }

.footer-col a {
  color: var(--color-text-inverse-muted);
  font-size: var(--fs-sm);
  position: relative;
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.footer-col a:hover { color: var(--color-gold-light); padding-left: 7px; }

.footer-col a::before {
  content: "";
  position: absolute;
  left: -8px; top: 50%;
  width: 4px; height: 1px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.footer-col a:hover::before { opacity: 1; }

/* Telegram cards in the footer — support vs community, clearly separated */
.footer-tg {
  display: grid;
  gap: 12px;
  margin-top: var(--sp-5);
}

.tg-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--color-text-inverse);
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}

.tg-card:hover {
  color: var(--color-text-inverse);
  border-color: rgba(34, 158, 217, 0.6);
  background: rgba(34, 158, 217, 0.1);
  transform: translateX(4px);
}

.tg-card__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #35ADE2, #1B84B5);
  color: #fff;
}

.tg-card__icon svg { width: 21px; height: 21px; }

.tg-card__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.tg-card__label { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; }
.tg-card__meta { font-size: var(--fs-xs); color: var(--color-text-inverse-muted); }

/* Compliance / disclaimer strip */
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: var(--sp-6);
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: auto 1fr;
  align-items: start;
}

.footer-disclaimer__badge {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid var(--color-crimson);
  color: #fff;
  background: rgba(193, 26, 50, 0.16);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  flex: none;
}

.footer-disclaimer p {
  font-size: var(--fs-xs);
  line-height: 1.85;
  color: var(--color-text-inverse-muted);
  margin-bottom: 10px;
  max-width: 100ch;
}

.footer-disclaimer p:last-child { margin-bottom: 0; }
.footer-disclaimer strong { color: #fff; }
.footer-disclaimer a { color: var(--color-gold-light); text-decoration: underline; text-underline-offset: 3px; }

.footer-restricted {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.footer-restricted li {
  margin: 0;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(193, 26, 50, 0.5);
  background: rgba(193, 26, 50, 0.1);
  color: #F0B9C2;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-block: var(--sp-5) var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-bottom a { color: var(--color-text-inverse-muted); }
.footer-bottom a:hover { color: var(--color-gold-light); }

.footer-seo {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: var(--sp-6);
}

.footer-seo h4 {
  color: var(--color-gold-light);
  font-size: 0.83rem;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer-seo p {
  font-size: var(--fs-xs);
  color: var(--color-text-inverse-muted);
  line-height: 1.9;
  max-width: none;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-disclaimer { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   9. Shared components
   -------------------------------------------------------------------------- */

/* --- Trust strip --- */
.trust-strip {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border-soft);
  padding-block: var(--sp-5);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4) var(--sp-5);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
}

.trust-item__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-gold-tint);
  border: 1px solid var(--color-gold-light);
  color: var(--color-crimson);
}

.trust-item__icon svg { width: 21px; height: 21px; }
.trust-item__text { line-height: 1.35; min-width: 0; }
.trust-item__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.93rem; color: var(--color-black); }
.trust-item__meta { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); }

/* --- Stat tiles --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
}

.stat {
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(238, 222, 159, 0.18);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-xs);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
}

.stat-grid--light .stat {
  background: var(--color-surface);
  border-color: var(--color-border);
  box-shadow: var(--shadow-soft);
}

.stat-grid--light .stat__label { color: var(--color-text-muted); }

/* --- Accordion (FAQ) --- */
.accordion { display: grid; gap: 12px; }

.acc {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

.acc.is-open {
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-card);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 20px 22px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 650;
  color: var(--color-black);
  line-height: 1.45;
}

.acc__btn:hover { color: var(--color-crimson); }

.acc__icon {
  margin-left: auto;
  flex: none;
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-crimson);
  transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}

.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.acc__icon::after { transform: rotate(90deg); transition: transform var(--dur-base) var(--ease-out); }
.acc__icon { position: relative; }

.acc.is-open .acc__icon { background: var(--grad-gold); border-color: transparent; color: #3A2C05; }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}

.acc.is-open .acc__panel { grid-template-rows: 1fr; }

.acc__inner { overflow: hidden; }
.acc__inner > div { padding: 0 22px 22px; }
.acc__inner p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 12px; }
.acc__inner p:last-child { margin-bottom: 0; }
.acc__inner ul { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* --- Data tables --- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}

table.data {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

table.data caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 0;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

table.data th,
table.data td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-soft);
  vertical-align: top;
}

table.data thead th {
  background: var(--color-surface-alt);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-black);
  white-space: nowrap;
}

table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--color-gold-tint); }
table.data td strong { color: var(--color-black); }

/* --- Numbered steps (vertical stepper) --- */
.stepper {
  display: grid;
  gap: 0;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stepper li {
  position: relative;
  margin: 0;
  padding: 0 0 var(--sp-6) 74px;
}

.stepper li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-gold);
  color: var(--color-crimson);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.stepper li::after {
  content: "";
  position: absolute;
  left: 26px; top: 52px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold-light), transparent);
}

.stepper li:last-child { padding-bottom: 0; }
.stepper li:last-child::after { display: none; }

.stepper h3 { margin-bottom: 6px; font-size: var(--fs-h4); }
.stepper p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }

/* --- Pull quote / callout --- */
.callout {
  position: relative;
  padding: var(--sp-6) var(--sp-6) var(--sp-6) calc(var(--sp-6) + 8px);
  border-radius: var(--r-md);
  background: var(--color-gold-tint);
  border: 1px solid var(--color-gold-light);
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--grad-gold);
}

.callout p:last-child { margin-bottom: 0; }
.callout h4 { margin-bottom: 8px; }

.callout--crimson {
  background: var(--color-crimson-soft);
  border-color: rgba(193, 26, 50, 0.25);
}

.callout--crimson::before { background: var(--grad-crimson); }

.callout--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(238, 222, 159, 0.22);
}

/* --- Marquee ticker --- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--color-border-soft);
  background: var(--color-surface);
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: tickerScroll 42s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.ticker__item b { color: var(--color-black); font-weight: 650; }
.ticker__item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-gold); flex: none; }

/* --- CTA band --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-black);
  color: var(--color-text-inverse);
  padding-block: var(--section-y);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 340px at 18% 12%, rgba(193, 26, 50, 0.32), transparent 64%),
    radial-gradient(640px 320px at 84% 88%, rgba(203, 159, 42, 0.24), transparent 62%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}

.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: var(--color-text-inverse-muted); margin-bottom: 0; }

.cta-band__actions { display: grid; gap: 12px; justify-items: stretch; }

.cta-band__note {
  font-size: var(--fs-xs);
  color: var(--color-text-inverse-muted);
  text-align: center;
  margin: 0;
}

@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr; }
}

/* --- Game card (used on catalogue + related strips) --- */
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-gold);
}

.game-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-alt);
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.game-card:hover .game-card__media img { transform: scale(1.07); }

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(11, 10, 11, 0) 30%, rgba(11, 10, 11, 0.78) 100%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.game-card:hover .game-card__overlay,
.game-card:focus-within .game-card__overlay { opacity: 1; }

.game-card__play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  background: var(--grad-gold);
  color: #3A2C05;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  transform: translateY(10px);
  transition: transform var(--dur-base) var(--ease-spring);
}

.game-card:hover .game-card__play { transform: translateY(0); }

.game-card__cat {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 10, 11, 0.74);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-card__rtp {
  position: absolute;
  top: 10px; right: 10px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(203, 159, 42, 0.92);
  color: #2E2405;
  font-size: 0.68rem;
  font-weight: 800;
}

.game-card__body {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.35;
}

.game-card__title a {
  color: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}

.game-card:hover .game-card__title a { color: var(--color-crimson); }

.game-card__meta {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.game-card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--color-border); }

.game-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

/* --- Breadcrumbs --- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "›"; color: var(--color-gold); }
.crumbs a { color: var(--color-text-muted); }
.crumbs a:hover { color: var(--color-crimson); }
.crumbs [aria-current] { color: var(--color-black); font-weight: 600; }

/* --- Page hero (inner pages) --- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(52px, 6vw, 96px) clamp(44px, 5vw, 78px);
  background:
    radial-gradient(760px 320px at 88% -20%, rgba(203, 159, 42, 0.18), transparent 62%),
    radial-gradient(680px 300px at -8% 6%, rgba(193, 26, 50, 0.12), transparent 60%),
    var(--color-surface);
  border-bottom: 1px solid var(--color-border-soft);
}

.page-hero__inner { position: relative; max-width: 830px; }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.page-hero .lead { margin-bottom: 0; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-5);
}

/* --------------------------------------------------------------------------
   10. Scroll reveal + shared keyframes
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="scale"] { transform: scale(0.94); }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Uses the independent `translate` property, not `transform`, so elements that
   already carry a 3D rotation (the phone mockups) keep it while they float. */
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

@keyframes shimmerSweep {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

@keyframes coinRise {
  0% { opacity: 0; transform: translate(0, 12px) scale(0.6); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--cx, 0), -96px) scale(1.05); }
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   11. Reduced motion
   -------------------------------------------------------------------------- */

@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;
    scroll-behavior: auto !important;
  }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
  .footer-check__line,
  .footer-check__tick { stroke-dashoffset: 0 !important; }
}
