/* ==========================================================================
   rs9 — main.css
   Global reset, layout shell, navigation, components, footer, motion.
   Mobile-first: base → @media (min-width:768px) → @media (min-width:1200px)
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  /* Hard stop on any sideways drift */
  overflow-x: hidden;
}

body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--c-obsidian);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  letter-spacing: 0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  isolation: isolate;
}

/* Ambient page field — obsidian with a deep ruby ember and gold haze.
   Fixed + inset so it can never create scroll width. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 68% at 8% -6%, rgba(224, 26, 60, .16) 0%, transparent 58%),
    radial-gradient(100% 60% at 96% 4%, rgba(231, 199, 122, .09) 0%, transparent 62%),
    radial-gradient(140% 90% at 50% 108%, rgba(142, 11, 34, .14) 0%, transparent 60%),
    var(--c-obsidian);
}

/* Fine carbon-facet texture over the whole page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-115deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 5px);
}

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

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

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

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

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: -0.022em;
  color: var(--c-text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: var(--c-ruby);
  color: var(--c-text-on-ruby);
}

/* Focus ring — visible against both ruby and obsidian */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--c-void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--c-ruby-deep), var(--c-ruby));
  border-radius: var(--r-pill);
  border: 3px solid var(--c-void);
}
::-webkit-scrollbar-thumb:hover { background: var(--c-ruby); }

/* --------------------------------------------------------------------------
   2. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: calc(var(--wrap-max) + (var(--gutter) * 2));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide { max-width: calc(var(--wrap-wide) + (var(--gutter) * 2)); }
.wrap--narrow { max-width: calc(880px + (var(--gutter) * 2)); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(44px, 5vw, 78px); }
.section--flush-top { padding-top: 0; }

/* Alternating tonal bands so long pages keep visual rhythm */
.section--band {
  background:
    linear-gradient(180deg, transparent, rgba(13, 15, 22, .72) 14%, rgba(13, 15, 22, .72) 86%, transparent);
}

.section--rule::before {
  content: '';
  position: absolute;
  inset-inline: var(--gutter);
  top: 0;
  height: 1px;
  background: var(--g-hairline);
  opacity: .55;
}

main { display: block; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -160%);
  z-index: var(--z-toast);
  background: var(--c-gold);
  color: var(--c-text-on-gold);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 10px 20px;
  border-radius: var(--r-pill);
  transition: transform var(--t-med) var(--ease-spring);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--c-text-on-gold); }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-display);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold));
}
.eyebrow--center::after {
  content: '';
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
}

.title-xl { font-size: var(--fs-display); font-weight: 800; }
.title-lg { font-size: var(--fs-h1); font-weight: 800; }
.title-md { font-size: var(--fs-h2); font-weight: 700; }
.title-sm { font-size: var(--fs-h3); font-weight: 700; }

/* Champagne-gold engraved text with a slow shimmer sweep */
.gold-text {
  background: var(--g-gold-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: goldSweep 7s linear infinite;
}

.ruby-text { color: var(--c-ruby-bright); }

.lead {
  font-size: var(--fs-lead);
  color: var(--c-text-soft);
  line-height: 1.72;
  max-width: 62ch;
}

.muted { color: var(--c-text-muted); }
.note-sm { font-size: var(--fs-sm); line-height: 1.78; }
.prose-max { max-width: var(--wrap-text); }
.text-center { text-align: center; }
.center-x { margin-inline: auto; }

/* Section heading block */
.sec-head { margin-bottom: clamp(32px, 4vw, 58px); }
.sec-head--center { text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head p { margin-top: var(--s-4); }

/* Long-form editorial copy blocks */
.prose > * + * { margin-top: var(--s-4); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--s-8); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--s-7); color: var(--c-gold-bright); }
.prose h4 { font-size: var(--fs-h4); margin-top: var(--s-6); }
.prose p { color: var(--c-text-soft); }
.prose strong { color: var(--c-text); font-weight: 650; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
/* lists work both nested inside .prose and when the list itself carries .prose */
.prose ul, .prose ol, ul.prose, ol.prose { padding-left: 0; }
.prose li {
  position: relative;
  padding-left: 26px;
  margin-top: var(--s-3);
  color: var(--c-text-soft);
}
.prose ul li::before,
ul.prose > li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .78em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--g-gold);
  box-shadow: 0 0 10px rgba(231, 199, 122, .5);
}
.prose ol, ol.prose { counter-reset: pl; }
.prose ol li, ol.prose > li { counter-increment: pl; }
.prose ol li::before,
ol.prose > li::before {
  content: counter(pl);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-gold);
}
/* first child of a list-as-prose should not carry the paragraph rhythm gap */
ul.prose > li:first-child, ol.prose > li:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-py: 14px;
  --btn-px: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.15;
  text-align: center;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out),
              background-color var(--t-med) var(--ease-out),
              color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn svg { flex: none; }

/* Light sweep across any button on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .3) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 720ms var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

/* Primary — ruby, the sitewide conversion action */
.btn--ruby {
  background: var(--g-ruby);
  color: var(--c-text-on-ruby);
  box-shadow: var(--glow-ruby-sm);
}
.btn--ruby:hover {
  color: #fff;
  box-shadow: var(--glow-ruby-lg);
}

/* Secondary — champagne gold */
.btn--gold {
  background: var(--g-gold);
  color: var(--c-text-on-gold);
  box-shadow: var(--glow-gold-sm);
}
.btn--gold:hover { color: var(--c-text-on-gold); box-shadow: var(--glow-gold-lg); }

/* Tertiary — obsidian glass with a gold hairline */
.btn--ghost {
  background: rgba(20, 23, 31, .68);
  color: var(--c-text);
  border: 1px solid var(--a-gold-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  color: var(--c-gold-bright);
  border-color: var(--c-gold);
  background: rgba(31, 27, 18, .72);
  box-shadow: var(--glow-gold-sm);
}

/* Telegram — brand-adjacent, uses the real mark */
.btn--telegram {
  background: linear-gradient(135deg, #2FB6EF 0%, #1E96D4 52%, #177EB5 100%);
  color: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(47, 182, 239, .5), 0 8px 26px rgba(30, 150, 212, .3);
}
.btn--telegram:hover {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(47, 182, 239, .8), 0 16px 46px rgba(30, 150, 212, .45);
}
.btn--telegram .tg-mark { width: 20px; height: 20px; }

.btn--lg { --btn-py: 17px; --btn-px: 36px; font-size: var(--fs-body); }
.btn--sm { --btn-py: 10px; --btn-px: 18px; font-size: var(--fs-xs); }
.btn--block { display: flex; width: 100%; }

/* Vault-pulse — slow breathing ruby aura on the money CTA */
.btn--pulse { animation: rubyPulse 2.6s var(--ease-in-out) infinite; }
.btn--pulse:hover { animation-play-state: paused; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.btn-row--center { justify-content: center; }

/* Telegram CTA + supporting note — used in the hero on home and download */
.hero__tgline {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
  flex-wrap: wrap;
}
.hero__tgline .btn { flex: 0 0 auto; }
.hero__tgnote {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 34ch;
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
  line-height: 1.55;
}

/* Inline text link with an animated gold underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-gold);
}
.link-arrow svg { transition: transform var(--t-med) var(--ease-spring); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   5. SURFACES — faceted obsidian glass
   -------------------------------------------------------------------------- */
.panel {
  position: relative;
  background: var(--g-panel);
  border: 1px solid var(--a-white-hair);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

/* Gold hairline that lights the top edge of a panel */
.panel::before {
  content: '';
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: var(--g-hairline);
  opacity: .45;
  transition: opacity var(--t-med) var(--ease-out);
}

.panel--pad { padding: clamp(22px, 3.4vw, 40px); }
.panel--soft { border-radius: var(--r-md); }
.panel--gold { border-color: var(--a-gold-hair); }
.panel--ruby { border-color: var(--a-ruby-hair); }

.panel--lift {
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.panel--lift:hover {
  transform: translateY(-5px);
  border-color: var(--a-gold-line);
  box-shadow: var(--sh-md), var(--glow-gold-sm);
}
.panel--lift:hover::before { opacity: 1; }

/* Faceted corner cut — the "vault plate" motif */
.facet {
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}

/* Chips / tags */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(231, 199, 122, .09);
  border: 1px solid var(--a-gold-hair);
  color: var(--c-gold);
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}
.chip--ruby {
  background: var(--a-ruby-wash);
  border-color: var(--a-ruby-hair);
  color: var(--c-ruby-bright);
}
.chip--live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2BD97C;
  box-shadow: 0 0 0 3px rgba(43, 217, 124, .2);
  animation: blip 1.8s var(--ease-in-out) infinite;
}

/* Divider */
.rule {
  height: 1px;
  border: 0;
  background: var(--g-hairline);
  opacity: .4;
  margin-block: var(--s-7);
}

/* --------------------------------------------------------------------------
   6. LOGO
   The supplied artwork (transparent PNG, the "Rs9" script mark) is used as-is
   — no plate, no crop, no colour filtering. Only its display size is set.
   -------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 1;
  transition: opacity var(--t-fast) var(--ease-out);
}
.logo:hover, .logo:focus-visible { opacity: .85; }

.logo__img {
  display: block;
  height: 42px;
  width: auto;
}

.logo--footer .logo__img { height: 54px; }

/* sticky/shrunk navbar */
.nav.is-stuck .logo__img { height: 34px; }

@media (max-width: 400px) {
  .logo__img { height: 36px; }
}

/* --------------------------------------------------------------------------
   7. NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(5, 6, 10, .88), rgba(5, 6, 10, .35));
  border-bottom: 1px solid transparent;
  transition: height var(--t-med) var(--ease-out),
              background-color var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
}

/* Sticky shrink + frosted vault glass after 60px */
.nav.is-stuck {
  height: var(--nav-h-shrunk);
  background: rgba(7, 8, 13, .78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--a-gold-hair);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
}

.nav__links { display: none; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.nav__cta { display: none; }
.nav__tg-mini {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(47, 182, 239, .12);
  border: 1px solid rgba(47, 182, 239, .38);
  color: #6FD0F7;
  transition: all var(--t-med) var(--ease-out);
}
.nav__tg-mini:hover {
  color: #fff;
  background: rgba(47, 182, 239, .28);
  box-shadow: 0 0 22px rgba(47, 182, 239, .4);
  transform: translateY(-2px);
}
.nav__tg-mini svg { width: 19px; height: 19px; }

/* Hamburger */
.nav__burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--a-gold-hair);
  background: rgba(20, 23, 31, .7);
}
.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-gold);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast) linear;
}
.nav__burger span + span { margin-top: 5px; }
.nav__burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: grid;
  grid-template-rows: 1fr;
  background: rgba(5, 6, 10, .96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: calc(var(--nav-h) + 28px) var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-med) var(--ease-out),
              transform var(--t-med) var(--ease-out),
              visibility var(--t-med) linear;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.drawer__list { display: grid; gap: 2px; align-content: start; }
.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-family: var(--f-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 1px solid var(--a-white-hair);
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open .drawer__link {
  animation: drawerIn 460ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}
.drawer__link:hover,
.drawer__link[aria-current='page'] { color: var(--c-gold); }
.drawer__link span { color: var(--c-text-faint); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; }
.drawer__foot { margin-top: var(--s-6); display: grid; gap: var(--s-3); }

/* Desktop nav links */
@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .drawer { display: none; }

  .nav__links {
    display: flex;
    align-items: center;
    gap: clamp(2px, 1vw, 10px);
  }
  .nav__link {
    position: relative;
    padding: 9px 13px;
    font-family: var(--f-display);
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .012em;
    color: var(--c-text-soft);
    border-radius: var(--r-sm);
    transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
  }
  .nav__link::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--g-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med) var(--ease-out);
  }
  .nav__link:hover { color: var(--c-gold-bright); background: rgba(231, 199, 122, .05); }
  .nav__link:hover::after,
  .nav__link[aria-current='page']::after { transform: scaleX(1); }
  .nav__link[aria-current='page'] { color: var(--c-gold); }

  .nav__cta { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   8. MARQUEE / TICKER
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--a-gold-hair);
  background:
    linear-gradient(90deg, rgba(224, 26, 60, .1), rgba(7, 8, 13, .9) 32%, rgba(7, 8, 13, .9) 68%, rgba(231, 199, 122, .08));
  padding-block: 13px;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 9vw, 130px);
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--c-obsidian), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--c-obsidian), transparent); }

.ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.4vw, 48px);
  padding-right: clamp(24px, 3.4vw, 48px);
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--c-text-soft);
  white-space: nowrap;
}
.ticker__item b { color: var(--c-gold); font-weight: 700; }
.ticker__item i { font-style: normal; color: var(--c-ruby-bright); font-weight: 600; }
.ticker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ruby);
  box-shadow: 0 0 12px var(--c-ruby), 0 0 0 3px var(--a-ruby-wash);
  animation: blip 2.2s var(--ease-in-out) infinite;
  flex: none;
}

/* --------------------------------------------------------------------------
   9. GAME CARD (shared by home carousel, games grid, related rail)
   -------------------------------------------------------------------------- */
.gcard {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-graphite);
  border: 1px solid var(--a-white-hair);
  transform-style: preserve-3d;
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
  will-change: transform;
}
.gcard:hover {
  border-color: var(--a-gold-line);
  box-shadow: var(--sh-md), 0 0 34px rgba(224, 26, 60, .22);
}

.gcard__media {
  position: relative;
  aspect-ratio: 211 / 260;
  overflow: hidden;
  background: linear-gradient(150deg, var(--c-slate), var(--c-onyx));
}
.gcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), filter var(--t-med) var(--ease-out);
}
.gcard:hover .gcard__img { transform: scale(1.09); filter: saturate(1.15) brightness(1.06); }

.gcard__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(5, 6, 10, .72) 72%, rgba(5, 6, 10, .96) 100%);
}
.gcard__tag {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(5, 6, 10, .78);
  border: 1px solid var(--a-gold-hair);
  color: var(--c-gold);
  font-family: var(--f-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.gcard__hot {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--g-ruby);
  color: #fff;
  font-family: var(--f-display);
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 4px 14px rgba(224, 26, 60, .5);
}

.gcard__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 13px 13px;
}
.gcard__name {
  font-family: var(--f-display);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-text);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gcard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: .72rem;
  color: var(--c-text-muted);
}
.gcard__meta b { color: var(--c-gold); font-weight: 600; }

/* Hover CTA that rises out of the card foot */
.gcard__cta {
  position: absolute;
  inset-inline: 13px;
  bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px;
  border-radius: var(--r-pill);
  background: var(--g-ruby);
  color: #fff;
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-spring);
}
.gcard:hover .gcard__cta { opacity: 1; transform: translateY(0); }
.gcard:hover .gcard__body { transform: translateY(-42px); transition: transform var(--t-med) var(--ease-out); }

/* Ruby scan-line that crosses the art on hover */
.gcard__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(255, 51, 85, .3) 50%, transparent 56%);
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
.gcard:hover .gcard__scan { animation: scanDown 1.1s var(--ease-out); }

.gcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

/* --------------------------------------------------------------------------
   10. FEATURE / INFO CARDS
   -------------------------------------------------------------------------- */
.fcard {
  position: relative;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--g-panel);
  border: 1px solid var(--a-white-hair);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  will-change: transform;
}
.fcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(224, 26, 60, .13), transparent 58%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.fcard:hover {
  border-color: var(--a-gold-line);
  box-shadow: var(--sh-md), var(--glow-gold-sm);
}
.fcard:hover::before { opacity: 1; }
.fcard > * { position: relative; }

.fcard__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: var(--s-4);
  border-radius: 15px;
  color: var(--c-gold);
  background: linear-gradient(150deg, rgba(231, 199, 122, .16), rgba(224, 26, 60, .1));
  border: 1px solid var(--a-gold-hair);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform var(--t-med) var(--ease-spring), color var(--t-med) var(--ease-out);
}
.fcard:hover .fcard__icon { transform: translateY(-3px) rotate(-6deg); color: var(--c-gold-bright); }
.fcard__icon svg { width: 26px; height: 26px; }

.fcard__title {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.fcard__text { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.72; }
.fcard__list { margin-top: var(--s-4); display: grid; gap: 9px; }
.fcard__list li {
  display: flex;
  gap: 9px;
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
  line-height: 1.6;
}
.fcard__list li::before {
  content: '';
  flex: none;
  margin-top: .48em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--c-ruby-bright);
}
.fcard__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--f-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 199, 122, .16);
  pointer-events: none;
}

.grid-2 { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-3 { display: grid; gap: clamp(16px, 2vw, 26px); }
.grid-4 { display: grid; gap: clamp(14px, 1.8vw, 22px); }

/* keep wide children (tables, rails) from stretching a track */
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   11. STATS / COUNTERS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--a-white-hair);
  border: 1px solid var(--a-gold-hair);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: clamp(20px, 2.6vw, 34px) clamp(14px, 2vw, 24px);
  background: rgba(13, 15, 22, .94);
  text-align: center;
  transition: background-color var(--t-med) var(--ease-out);
}
.stat:hover { background: rgba(29, 33, 44, .94); }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  background: var(--g-gold-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldSweep 7s linear infinite;
}
.stat__label {
  margin-top: 9px;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.stat__sub { margin-top: 6px; font-size: var(--fs-xs); color: var(--c-text-faint); line-height: 1.5; }

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

/* --------------------------------------------------------------------------
   12. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.acc { display: grid; gap: var(--s-3); }
.acc__item {
  border: 1px solid var(--a-white-hair);
  border-radius: var(--r-md);
  background: rgba(13, 15, 22, .8);
  overflow: hidden;
  transition: border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.acc__item.is-open {
  border-color: var(--a-gold-line);
  background: rgba(20, 23, 31, .9);
  box-shadow: var(--glow-gold-sm);
}
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  width: 100%;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 26px);
  text-align: left;
  font-family: var(--f-display);
  font-size: var(--fs-body);
  font-weight: 650;
  color: var(--c-text);
  transition: color var(--t-fast) var(--ease-out);
}
.acc__btn:hover { color: var(--c-gold-bright); }
.acc__item.is-open .acc__btn { color: var(--c-gold); }
.acc__sign {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--a-gold-line);
  background: rgba(231, 199, 122, .07);
}
.acc__sign::before,
.acc__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--c-gold);
  transform: translate(-50%, -50%);
  transition: transform var(--t-med) var(--ease-spring), opacity var(--t-fast) linear;
}
.acc__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__sign::after { transform: translate(-50%, -50%) rotate(0); opacity: 0; }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease-out);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; }
.acc__inner > div {
  padding: 0 clamp(16px, 2.2vw, 26px) clamp(18px, 2.2vw, 24px);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.78;
}
.acc__inner p + p { margin-top: var(--s-3); }

/* --------------------------------------------------------------------------
   13. COMMUNITY / TELEGRAM CARDS
   -------------------------------------------------------------------------- */
.tg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(47, 182, 239, .14), transparent 55%),
    var(--g-panel);
  border: 1px solid rgba(47, 182, 239, .22);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.tg-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 182, 239, .55);
  box-shadow: var(--sh-md), 0 0 42px rgba(47, 182, 239, .22);
}
.tg-card__head { display: flex; align-items: center; gap: var(--s-4); }
.tg-card__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  background: linear-gradient(140deg, #2FB6EF, #1B84BE);
  box-shadow: 0 10px 28px rgba(30, 150, 212, .38);
  color: #fff;
}
.tg-card__mark svg { width: 30px; height: 30px; }
.tg-card__title { font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 700; }
.tg-card__handle { font-size: var(--fs-xs); color: #6FD0F7; letter-spacing: .04em; }
.tg-card__text { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.75; }
.tg-card__list { display: grid; gap: 8px; }
.tg-card__list li {
  display: flex;
  gap: 9px;
  font-size: var(--fs-xs);
  color: var(--c-text-soft);
}
.tg-card__list li::before { content: '▸'; color: #6FD0F7; flex: none; }
.tg-card .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: var(--section-y);
  padding-top: clamp(48px, 5vw, 78px);
  background: linear-gradient(180deg, transparent, rgba(5, 6, 10, .96) 22%);
  border-top: 1px solid var(--a-gold-hair);
}
.footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -1px;
  height: 1px;
  background: var(--g-hairline);
}

.footer__grid {
  display: grid;
  gap: clamp(30px, 4vw, 48px);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.35fr; } }

.footer__brandtext {
  margin-top: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  line-height: 1.78;
  max-width: 44ch;
}
.footer__title {
  font-family: var(--f-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
}
.footer__list { display: grid; gap: 11px; }
.footer__list a {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  transition: color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  display: inline-block;
}
.footer__list a:hover { color: var(--c-gold-bright); transform: translateX(4px); }

.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(47, 182, 239, .1);
  border: 1px solid rgba(47, 182, 239, .3);
  color: #6FD0F7;
  transition: all var(--t-med) var(--ease-out);
}
.footer__social a:hover {
  color: #fff;
  background: rgba(47, 182, 239, .3);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(30, 150, 212, .35);
}
.footer__social svg { width: 20px; height: 20px; }

.footer__disclaimer {
  margin-top: clamp(38px, 4vw, 56px);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-md);
  background: rgba(224, 26, 60, .05);
  border: 1px solid var(--a-ruby-hair);
}
.footer__disclaimer h3 {
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ruby-bright);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  gap: 9px;
}
.footer__disclaimer p {
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  line-height: 1.8;
}
.footer__disclaimer p + p { margin-top: 10px; }
.footer__disclaimer strong { color: var(--c-text-soft); font-weight: 600; }

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.age-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-ruby);
  color: var(--c-ruby-bright);
  font-family: var(--f-display);
  font-size: .78rem;
  font-weight: 800;
  flex: none;
}

.footer__bar {
  margin-top: clamp(30px, 3.4vw, 46px);
  padding-block: var(--s-5);
  border-top: 1px solid var(--a-white-hair);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.footer__bar a { color: var(--c-text-muted); }
.footer__bar a:hover { color: var(--c-gold); }
@media (min-width: 768px) {
  .footer__bar { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* --------------------------------------------------------------------------
   15. STICKY MOBILE CTA BAR
   -------------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 8, 13, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--a-gold-hair);
  transform: translateY(110%);
  transition: transform var(--t-med) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__copy { flex: 1; min-width: 0; }
.sticky-cta__copy strong {
  display: block;
  font-family: var(--f-display);
  font-size: .9rem;
  color: var(--c-gold);
  line-height: 1.2;
}
.sticky-cta__copy span {
  display: block;
  font-size: .7rem;
  color: var(--c-text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta .btn { flex: none; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* clearance so the fixed bottom bar never sits on top of the last footer row */
@media (max-width: 1023px) {
  body { padding-bottom: 78px; }
}

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(80px, 8vw, 34px);
  z-index: var(--z-sticky);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 23, 31, .88);
  border: 1px solid var(--a-gold-line);
  color: var(--c-gold);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-med) var(--ease-out);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-gold); color: var(--c-text-on-gold); box-shadow: var(--glow-gold-sm); }
@media (min-width: 1024px) { .to-top { bottom: clamp(24px, 3vw, 40px); } }

/* --------------------------------------------------------------------------
   16. BREADCRUMB
   -------------------------------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
}
.crumbs a { color: var(--c-text-muted); }
.crumbs a:hover { color: var(--c-gold); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: '/'; color: var(--c-text-faint); opacity: .6; }
.crumbs [aria-current] { color: var(--c-gold); }

/* --------------------------------------------------------------------------
   17. PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(44px, 6vw, 88px));
  padding-bottom: clamp(40px, 5vw, 76px);
  overflow: hidden;
}
.phero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 100% at 12% 0%, rgba(224, 26, 60, .2), transparent 62%),
    radial-gradient(60% 90% at 88% 10%, rgba(231, 199, 122, .1), transparent 60%);
  animation: auroraDrift 22s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
/* Vault-plate grid lines */
.phero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(231, 199, 122, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 199, 122, .05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 0%, #000, transparent 78%);
}
.phero > * { position: relative; z-index: 1; }
.phero__title { font-size: var(--fs-h1); font-weight: 800; margin-top: var(--s-4); }
.phero__lead { margin-top: var(--s-5); }
.phero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* Concentric vault-dial ornament, right of the copy on wide screens */
.phero__dial {
  position: absolute;
  top: 50%;
  right: clamp(-40px, -2vw, 0px);
  width: 460px;
  height: 460px;
  transform: translateY(-46%);
  pointer-events: none;
  display: none;
  z-index: 0;
  opacity: .85;
}
.phero__dial span,
.phero__dial i {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid var(--a-gold-hair);
}
.phero__dial span:nth-child(1) { width: 440px; height: 440px; animation: slowSpin 60s linear infinite;
  border-style: dashed; border-color: rgba(231, 199, 122, .3); }
.phero__dial span:nth-child(2) { width: 336px; height: 336px; border-color: var(--a-ruby-line); border-width: 2px;
  animation: slowSpin 44s linear infinite reverse;
  mask-image: conic-gradient(from 0deg, #000 0 28%, transparent 28% 50%, #000 50% 78%, transparent 78%);
  -webkit-mask-image: conic-gradient(from 0deg, #000 0 28%, transparent 28% 50%, #000 50% 78%, transparent 78%); }
.phero__dial span:nth-child(3) {
  width: 240px;
  height: 240px;
  border-color: rgba(231, 199, 122, .45);
  box-shadow: 0 0 40px rgba(231, 199, 122, .12), inset 0 0 40px rgba(231, 199, 122, .06);
}
.phero__dial i {
  width: 172px;
  height: 172px;
  border: 0;
  background:
    radial-gradient(circle, rgba(224, 26, 60, .38), rgba(224, 26, 60, .08) 55%, transparent 72%);
  animation: haloBreathe 7s var(--ease-in-out) infinite;
}
@media (min-width: 1024px) {
  .phero__dial { display: block; }
  .phero .wrap > *:not(.phero__dial) { max-width: 760px; }
}

/* --------------------------------------------------------------------------
   18. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(34px, 4.6vw, 68px) clamp(22px, 4vw, 60px);
  border-radius: var(--r-xl);
  border: 1px solid var(--a-gold-hair);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(224, 26, 60, .24), transparent 58%),
    radial-gradient(80% 120% at 0% 100%, rgba(231, 199, 122, .14), transparent 55%),
    linear-gradient(150deg, rgba(29, 33, 44, .92), rgba(7, 8, 13, .96));
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(231, 199, 122, .07), transparent 42%);
  animation: slowSpin 26s linear infinite;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band .lead { margin-inline: auto; margin-top: var(--s-4); }
.cta-band .btn-row { margin-top: var(--s-6); }
.cta-band__note {
  margin-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--c-text-faint);
}

/* --------------------------------------------------------------------------
   19. DEVICE MOCKUP — used in hero + download page
   -------------------------------------------------------------------------- */
.device {
  position: relative;
  width: min(100%, 300px);
  margin-inline: auto;
  aspect-ratio: 9 / 19;
  border-radius: 42px;
  padding: 11px;
  background:
    linear-gradient(155deg, #4A4231 0%, #14171F 18%, #0A0B10 52%, #2B2418 82%, #0A0B10 100%);
  box-shadow:
    0 0 0 1px rgba(231, 199, 122, .3),
    inset 0 0 0 1px rgba(255, 255, 255, .07),
    0 40px 90px rgba(0, 0, 0, .7),
    0 0 70px rgba(224, 26, 60, .22);
  transform-style: preserve-3d;
  transition: transform 380ms var(--ease-out);
  will-change: transform;
}
.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--c-void);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .9);
}
.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.device__notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 20px;
  border-radius: var(--r-pill);
  background: #04050A;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .06);
}
/* Glass sheen that glides across the screen */
.device__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 34%, rgba(255, 255, 255, .11) 46%, transparent 58%);
  transform: translateX(-40%);
  animation: glareSlide 6.5s var(--ease-in-out) infinite;
}
.device__side {
  position: absolute;
  right: -3px;
  top: 22%;
  width: 3px;
  height: 62px;
  border-radius: 3px;
  background: linear-gradient(180deg, #6B5E42, #2A2519);
}
.device__side--b { top: 38%; height: 42px; }

/* Floating idle motion for the mockup */
.device--float { animation: deviceFloat 7s var(--ease-in-out) infinite; }

/* Halo ring behind the phone */
.device-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: clamp(16px, 3vw, 34px);
}
.device-stage::before {
  content: '';
  position: absolute;
  width: min(94%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 26, 60, .3) 0%, rgba(224, 26, 60, .07) 42%, transparent 68%);
  filter: blur(8px);
  animation: haloBreathe 6s var(--ease-in-out) infinite;
}
.device-stage::after {
  content: '';
  position: absolute;
  width: min(86%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--a-gold-hair);
  animation: slowSpin 34s linear infinite;
  mask-image: conic-gradient(from 0deg, #000 0 30%, transparent 30% 50%, #000 50% 80%, transparent 80%);
  -webkit-mask-image: conic-gradient(from 0deg, #000 0 30%, transparent 30% 50%, #000 50% 80%, transparent 80%);
}
.device-stage > * { position: relative; z-index: 1; }

/* Floating info pills orbiting the mockup */
.device-pill {
  position: absolute;
  z-index: 4;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: rgba(13, 15, 22, .9);
  border: 1px solid var(--a-gold-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  font-family: var(--f-display);
  font-size: .74rem;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.device-pill small { display: block; font-size: .62rem; font-weight: 500; color: var(--c-text-faint); letter-spacing: .06em; }
.device-pill i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--g-ruby);
  color: #fff;
  flex: none;
}
.device-pill i svg { width: 14px; height: 14px; }
.device-pill--a { top: 14%; left: -6%; animation: pillFloat 5.5s var(--ease-in-out) infinite; }
.device-pill--b { top: 46%; right: -8%; animation: pillFloat 6.4s var(--ease-in-out) .8s infinite; }
.device-pill--c { bottom: 13%; left: -4%; animation: pillFloat 6s var(--ease-in-out) 1.6s infinite; }
.device-pill--b i { background: var(--g-gold); color: var(--c-text-on-gold); }
.device-pill--c i { background: linear-gradient(135deg, #2FB6EF, #1B84BE); }

@media (min-width: 768px) {
  .device { width: min(100%, 322px); }
  .device-pill { display: inline-flex; }
}
@media (min-width: 1200px) {
  .device { width: min(100%, 348px); }
}

/* --------------------------------------------------------------------------
   20. TRUST BADGE ROW
   -------------------------------------------------------------------------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(13, 15, 22, .7);
  border: 1px solid var(--a-white-hair);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-soft);
  transition: border-color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.trust__item:hover { border-color: var(--a-gold-line); transform: translateY(-2px); }
.trust__item svg { width: 16px; height: 16px; color: var(--c-gold); flex: none; }

/* --------------------------------------------------------------------------
   21. HORIZONTAL RAIL (carousels)
   -------------------------------------------------------------------------- */
.rail {
  position: relative;
}
.rail__viewport {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 6px 18px;
  /* bleed to the gutter edge so cards feel continuous, without page overflow */
  scrollbar-width: thin;
  scrollbar-color: var(--c-ruby-deep) transparent;
}
.rail__viewport::-webkit-scrollbar { height: 6px; }
.rail__viewport::-webkit-scrollbar-thumb { border: 0; }
.rail__item {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
}
.rail__nav {
  display: none;
  gap: 8px;
}
.rail__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--a-gold-hair);
  background: rgba(20, 23, 31, .8);
  color: var(--c-gold);
  transition: all var(--t-med) var(--ease-out);
}
.rail__btn:hover:not(:disabled) {
  background: var(--c-gold);
  color: var(--c-text-on-gold);
  box-shadow: var(--glow-gold-sm);
}
.rail__btn:disabled { opacity: .32; cursor: not-allowed; }
.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
@media (min-width: 768px) {
  .rail__nav { display: flex; }
  .rail__item { width: 168px; }
}
@media (min-width: 1200px) { .rail__item { width: 182px; } }

/* --------------------------------------------------------------------------
   22. MOTION UTILITIES — scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-left { opacity: 0; transform: translateX(-30px); }
.reveal-left.is-in { opacity: 1; transform: none; transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(30px); }
.reveal-right.is-in { opacity: 1; transform: none; transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
.reveal-zoom { opacity: 0; transform: scale(.94); }
.reveal-zoom.is-in { opacity: 1; transform: none; transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-spring); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1 !important; transform: none !important; }
  .device--float, .device__glare, .device-pill,
  .cta-band::before, .phero::before, .gold-text, .stat__num { animation: none !important; }
  .ticker__track { animation-duration: 240s; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   23. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes goldSweep {
  0%   { background-position: 200% 50%; }
  100% { background-position: -60% 50%; }
}

@keyframes rubyPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--a-ruby-line), 0 8px 26px rgba(224, 26, 60, .3); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 51, 85, .8), 0 14px 46px rgba(224, 26, 60, .6); }
}

@keyframes blip {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.8); }
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes auroraDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  50%  { transform: translate3d(2%, 1.6%, 0) scale(1.07); opacity: 1; }
  100% { transform: translate3d(-1.6%, -1%, 0) scale(1.03); opacity: .9; }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-.5deg); }
}

@keyframes haloBreathe {
  0%, 100% { opacity: .6; transform: scale(.96); }
  50%      { opacity: 1; transform: scale(1.05); }
}

@keyframes glareSlide {
  0%, 62%, 100% { transform: translateX(-45%); }
  84%           { transform: translateX(45%); }
}

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

@keyframes scanDown {
  from { opacity: 1; transform: translateY(-100%); }
  to   { opacity: 0; transform: translateY(100%); }
}

@keyframes drawerIn {
  to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

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

/* --------------------------------------------------------------------------
   24. UTILITIES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.flex-gap { display: flex; flex-wrap: wrap; gap: var(--s-3); }
