/* Campaign layer: «بخاطر یک مشت طلا». Values come from design-new/"Fistful of Gold v2.dc.html" (375px artboard).
   The absolute artboard is re-flowed: one centered 375px column that also works from 320px up, no sideways scroll.
   Deliberate deviations from the export: its 3px/1px offsets are evened out, the silver group uses the 24px gutter. */

body { background: var(--bg-2); }
.page {
  position: relative; width: 100%; max-width: 375px; margin: 0 auto; display: flex; flex-direction: column; overflow-x: clip;
  background: linear-gradient(180deg, #24150B 0%, #160C06 35%, #0A0604 100%);
}

/* ---------- Top bar (not in the design: login + score, built in its language) */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar-h); max-width: 375px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(10, 6, 4, .88), rgba(10, 6, 4, 0));
}
.topbar.is-scrolled { background: rgba(14, 8, 4, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(246, 196, 83, .12); }
/* «بازگشت به توایکس»: the score pill's look (.pill + .pill__label), icon where the pill's star is */
.pill--back { position: relative; flex: none; white-space: nowrap; text-decoration: none; }
.pill img { display: block; flex: none; }
/* Under 360px the full label does not fit beside a LOGGED-IN score pill (a guest's login button is short): «توایکس»
   is shown, while the full «بازگشت به توایکس» stays the accessible name (kept, only visually hidden; the short
   one is aria-hidden). */
.pill__short { display: none; }
@media (max-width: 359px) {
  .topbar:has([data-score-pill]:not([hidden])) .pill__long {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .topbar:has([data-score-pill]:not([hidden])) .pill__short { display: inline; }
}
.topbar__auth { display: flex; align-items: center; gap: 8px; }

/* ---------- Hero: video plays once and holds its last frame */
.hero { position: relative; margin-top: calc(-1 * var(--topbar-h)); padding: 499px 24px 52px; overflow: hidden;
  background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, #190D07 72.6%), #190F08; }
.hero__media { position: absolute; left: 0; top: 0; width: 100%; height: 614px; overflow: hidden; pointer-events: none; }
.hero__media picture, .hero__still, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__still, .hero__video { object-fit: cover; max-width: none; }
.hero__fade { position: absolute; left: 0; right: 0; top: 434px; height: 222px; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 21, 11, 0) 0%, #1A0E08 64.42%); }
.hero__body { position: relative; display: flex; flex-direction: column; }
.hero__title { margin: 0; font-size: 36px; font-weight: 900; line-height: 54px; text-align: center; white-space: nowrap; color: var(--gold); } /* same token as .h2 («سه قدم تا طلا») */
.hero__lead { margin: 13px 0 0; font-size: 16px; font-weight: 500; line-height: 28px; text-align: center; color: #EAD8B8; }
.hero__phase { margin: 10px 0 -14px; text-align: center; font-size: 14px; line-height: 22px; color: var(--warn); font-weight: 700; }
.hero__phase b { color: var(--gold-hi); font-size: 16px; unicode-bidi: isolate; direction: ltr; display: inline-block; }
.hero__cta { margin-top: 24px; }

/* ---------- Divider and headings */
.sep { margin-top: -8px; height: 22px; padding: 4px 24px; display: flex; align-items: center; gap: 10px; position: relative; }
.sep span { flex: 1; height: 1px; background: rgba(233, 180, 76, .35); }
.sep img { width: 14px; height: 14px; display: block; flex: none; }
.sep--sm { margin: 0; height: 12px; padding: 0; width: 100%; } .sep--sm img { width: 12px; height: 12px; } .sep--sm span { background: rgba(233, 180, 76, .3); }
.h2 { margin: 0; text-align: center; font-size: 22px; line-height: 34px; font-weight: 900; color: var(--gold); }
.h2--faq, .h2--rules { font-size: 20px; line-height: 32px; }

/* ---------- Steps */
.steps { margin-top: -8px; padding: 28px 24px 12px; display: flex; flex-direction: column; gap: 14px; }
.card { border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .1), 0 10px 24px rgba(0, 0, 0, .5); }
.card--steps { list-style: none; margin: 0; padding: 16px; background: linear-gradient(180deg, #2A190D, #150C06); }
.step { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.step__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.step__k { line-height: 1; font-size: 11px; font-weight: 700; color: var(--gold-2); }
.step__v { line-height: 24px; font-size: 15px; font-weight: 900; color: var(--text); }
.step__line { width: 2px; height: 18px; margin-right: 23px; background: linear-gradient(180deg, rgba(246, 196, 83, .7), rgba(246, 196, 83, .15)); }

/* ---------- XAUT */
.xaut { margin-top: -8px; padding: 28px 24px 12px; }
.card--tether { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #33210F, #150C06); }
.tether__head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.tether__coin { width: 44px; height: 44px; flex: none; perspective: 200px; }
.tether__coin img { display: block; width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(246, 166, 60, .5)); animation: coin 7s linear infinite; }
@keyframes coin { to { transform: rotateY(360deg); } }
.tether__head h3 { flex: 1; margin: 0; line-height: 32px; font-size: 20px; font-weight: 900; color: var(--gold); }
.tether__text { margin: 0; line-height: 26px; font-size: 14px; color: var(--text-2); text-wrap: pretty; }
.tether__warn { min-height: 62px; border-radius: 12px; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.tether__warn img { width: 18px; height: 18px; flex: none; display: block; }
.tether__warn span { flex: 1; line-height: 20px; font-size: 12px; font-weight: 500; color: var(--warn); }

/* ---------- Missions block */
.gold { margin-top: -8px; padding: 28px 24px 42px; display: flex; flex-direction: column; }
.flow { margin-top: 53px; min-height: 100px; border-radius: 18px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .15); display: flex; align-items: stretch; gap: 4px; padding: 14px 10px; }
.flow__item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.flow__item > span:last-child { align-self: stretch; line-height: 18px; font-size: 11px; font-weight: 700; text-align: center; color: var(--text-2); }
.flow__arrow { width: 18px; height: 18px; flex: none; align-self: flex-start; margin-top: 13px; display: flex; align-items: center; justify-content: center; }
.flow__arrow img { display: block; width: 12px; height: 11px; animation: nudge 1.2s ease-in-out infinite; }
.flow__arrow + .flow__item + .flow__arrow img { animation-delay: .3s; }
@keyframes nudge { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(-4px); opacity: 1; } }
.btn--go { margin-top: 53px; }

.missions { display: flex; flex-direction: column; outline: none; }
.missions__notice { margin: 24px 0 -29px; padding: 10px 12px; border-radius: 12px; background: rgba(245, 158, 11, .1); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); color: var(--warn); font-size: 13px; text-align: center; }
.missions__error { margin-top: 32px; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(255, 138, 122, .4); background: rgba(80, 20, 10, .3); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.missions.is-failed .panel { display: none; }

/* Panels: inset ring + drop shadow (design v2) */
.panel { position: relative; margin-top: 53px; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #22160C, #120A05); }
.panel__head { position: relative; flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.panel__medal { flex: none; display: block; object-fit: cover; }
.panel__titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.panel__title { margin: 0; line-height: 28px; font-size: 18px; font-weight: 900; }
.panel__sub { line-height: 1; font-size: 12px; font-weight: 500; color: var(--muted); }
.panel__rows { display: flex; flex-direction: column; padding: 4px 16px; }

.panel--bronze { box-shadow: inset 0 0 0 1px rgba(227, 154, 90, .25), 0 10px 24px rgba(0, 0, 0, .5); }
.panel--bronze .panel__head { height: 87px; background: linear-gradient(180deg, rgba(227, 154, 90, .13), rgba(227, 154, 90, .03)); border-bottom: 1px solid rgba(227, 154, 90, .28); }
.panel--bronze .panel__medal { width: 59px; height: 59px; filter: drop-shadow(0 1px 1.15px #000) drop-shadow(0 3px 11px #734319); }
.panel--bronze .panel__title { color: #E39A5A; }
.panel--bronze .ibox--46 { box-shadow: inset 0 0 0 1px rgba(255, 216, 121, .8), inset 0 2px 4px rgba(255, 226, 154, .25); }

.panel--gold { margin-top: 70px; box-shadow: inset 0 0 0 1.5px rgba(246, 196, 83, .7), 0 0 30px rgba(246, 166, 60, .3); }
.panel--gold .panel__head { height: 80px; margin: 1.5px 1.5px 0; border-radius: 18.5px 18.5px 0 0; background: linear-gradient(180deg, rgba(246, 196, 83, .2), rgba(246, 196, 83, .03)); border-bottom: 1px solid rgba(246, 196, 83, .28); }
.panel--gold .panel__medal { width: 53px; height: 52px; object-fit: contain; filter: drop-shadow(0 4px 7px rgba(246, 196, 83, .35)); }
.panel--gold .panel__title { line-height: 32px; color: var(--gold); }
.panel--gold .panel__rows { min-height: 99px; justify-content: center; padding: 0 16px 1.5px; }
.panel__badge { position: absolute; left: 4.5px; top: .5px; width: 112px; height: 66px; }

.panel--silver { margin-top: 23px; box-shadow: inset 0 0 0 1px rgba(214, 219, 227, .25), 0 10px 24px rgba(0, 0, 0, .5); }
.panel--silver .panel__head { height: 91px; gap: 0; padding: 0 15px; background: linear-gradient(180deg, rgba(214, 219, 227, .13), rgba(214, 219, 227, .03)); border-bottom: 1px solid rgba(214, 219, 227, .28); }
.panel--silver .panel__medal { width: 60px; height: 60px; filter: drop-shadow(0 1px 1.15px #000) drop-shadow(0 9px 18.8px #727272); }
.panel--silver .panel__title { color: #D6DBE3; }

/* Mission row */
.m-row { display: flex; align-items: center; gap: 12px; min-height: 70px; padding: 12px 0; }
.m-row + .m-row { border-top: 1px solid rgba(246, 196, 83, .1); margin-top: 2px; }
.m-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; color: var(--text); text-align: right; background: none; border: 0; padding: 0; cursor: pointer; }
.m-main:hover { color: var(--text); }
.m-main[aria-disabled="true"] { cursor: default; }
.m-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.m-title { line-height: 24px; font-size: 15px; font-weight: 900; color: var(--text); }
.m-sub { line-height: 20px; font-size: 12px; color: var(--muted); }
.m-progress { font-size: 12px; color: var(--gold-2); }
.m-end { flex: none; display: flex; align-items: center; }
.m-end:empty { display: none; }
.m-pill { flex: none; width: 74px; height: 25px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #FFE38E 0%, #EBB03A 55%, #B9771B 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 191, .7), 0 4px 10px rgba(255, 154, 60, .35);
  font-size: 11px; font-weight: 900; color: var(--ink); white-space: nowrap; }
.m-main[aria-disabled="true"] .m-pill { filter: grayscale(.85) brightness(.7); box-shadow: none; }
.m-main[aria-disabled="true"] .m-pill::before { display: none; }
.m-badge { display: inline-flex; align-items: center; height: 25px; padding: 0 10px; border-radius: 8px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.m-badge--points { color: var(--gold-hi); background: rgba(246, 196, 83, .12); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .35); }
.m-badge--done { color: var(--ok); background: rgba(123, 216, 143, .1); box-shadow: inset 0 0 0 1px rgba(123, 216, 143, .35); }
.m-badge--muted { color: var(--muted); background: rgba(168, 146, 114, .08); box-shadow: inset 0 0 0 1px rgba(168, 146, 114, .25); }
.m-claim { height: 25px; min-width: 74px; font-size: 11px; border-radius: 8px; padding: 0 10px; box-shadow: inset 0 0 0 1px rgba(255, 241, 191, .7), 0 4px 10px rgba(255, 154, 60, .35); }
.m-claim::before { left: -50px; width: 26px; animation-name: shine-sm; }
.m-row[data-state="done"] .m-title { color: var(--text-2); }
.m-row[data-state="unconfigured"], .m-row[data-state="locked"] { opacity: .75; }
.m-row--skeleton .m-title { width: 140px; height: 18px; }
.m-row--skeleton .m-end { width: 74px; height: 25px; }

/* ---------- Russian roulette = presentation of the random-mission chest (logic untouched in chest.js) */
.roulette { position: relative; display: flex; flex-direction: column; padding-top: 282.4px; }
/* 400px video centered on the column and clipped to it; black is dropped with `lighten`, the radial mask is the
   fallback for engines that do not blend video (iOS Safari is not verified). */
.roulette__stage { position: absolute; top: -38px; left: -24px; right: -24px; height: 400px; overflow: clip; pointer-events: none; }
.roulette__gun { position: absolute; top: 0; left: calc(50% - 200px); width: 400px; height: 400px; transform-origin: 70% 40%;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.roulette__video { display: block; width: 400px; height: 400px; max-width: none; }
.roulette__title { position: relative; margin: 0; line-height: 30px; text-align: center; font-size: 22px; font-weight: 900; color: var(--text); }
.roulette__lead { position: relative; margin: 8px 0 0; line-height: 22px; text-align: center; font-size: 14px; color: #F9E6B3; }
.roulette__cta { margin: 13.6px 9px 0; height: 53px; }
.roulette__note { position: relative; margin: 8px 0 0; min-height: 22px; text-align: center; font-size: 13px; line-height: 22px; color: var(--muted); }
.roulette__note:empty { display: none; }
/* Empty cylinder: the title and lead give way to «خشابت خالی شد!» */
.roulette__empty { display: none; position: relative; text-align: center; }
.roulette[data-mode="empty"] .roulette__title, .roulette[data-mode="empty"] .roulette__lead { display: none; }
.roulette[data-mode="empty"] .roulette__empty { display: block; }
.roulette__empty-title { margin: 0; font-size: 22px; font-weight: 900; line-height: 30px; color: var(--text); }
.roulette__empty-body { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: #F9E6B3; text-wrap: pretty; }

/* Motion is keyed to chest.js state: `busy` while waiting for the server, `fire`/`click` only after its answer. */
.roulette[data-mode="busy"] .roulette__gun { animation: aim .45s ease-in-out infinite alternate; }
.roulette[data-anim="fire"] .roulette__gun { animation: recoil .42s cubic-bezier(.2, .9, .3, 1); }
.roulette[data-anim="click"] .roulette__gun { animation: dry .35s ease-out; }
.roulette[data-mode="empty"] .roulette__video, .roulette[data-mode="soon"] .roulette__video { filter: saturate(.6) brightness(.8); }
@keyframes aim { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes recoil { 0%, 100% { transform: none; } 22% { transform: translate(10px, -6px) rotate(-10deg); } }
@keyframes dry { 0%, 100% { transform: none; } 40% { transform: rotate(-3deg); } }

.btn--all { margin-top: 30px; }

/* ---------- Dialog contents */
.modal { text-align: center; }
.modal__art { display: block; margin: -8px auto 4px; width: 140px; height: 140px; border-radius: 50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.modal__body { text-align: right; margin-top: 8px; padding: 0 12px; border-radius: 14px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .15); }
.modal__desc { margin: 12px 0 0; color: var(--text-2); font-size: 14px; line-height: 24px; }

body:has([data-dialog="referral"]:not([hidden])) .toasts { top: calc(var(--topbar-h) + 8px); bottom: auto; } /* never over the sheet's buttons */
/* Referral sheet: the shared sheet look (.sheet, .sheet__head, .btn, .form__input); a bottom sheet up to 480px, a 405px modal above. */
.refsheet { width: 100%; max-height: 100dvh; }
.refsheet__grip { position: absolute; top: 8px; left: 50%; width: 60px; height: 4px; margin-left: -30px; border-radius: 100px; background: var(--muted); }
.refsheet__art { display: block; width: 160px; height: 160px; margin: 8px auto; object-fit: contain; }
.refsheet .sheet__head { padding-inline-end: 44px; } /* clear of the close button */
.refsheet__desc { text-align: center; }
.refsheet__code { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.refsheet__field { display: flex; align-items: center; gap: 4px; }
.refsheet__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--gold); }
.refsheet__copy { flex: none; display: flex; padding: 6px; margin: -6px; border: 0; background: none; color: var(--gold); cursor: pointer; }
.refsheet__actions { display: flex; flex-direction: column; gap: 10px; }
.refsheet__glyph { flex: none; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--glyph) center / contain no-repeat; mask: var(--glyph) center / contain no-repeat; }
.refsheet__glyph--copy { --glyph: url("/assets/campaign/icons/ref-copy.svg"); }
.refsheet__glyph--share { --glyph: url("/assets/campaign/icons/ref-share.svg"); }
@media (min-width: 481px) {
  [data-dialog="referral"] { align-items: center; padding: 16px; }
  .refsheet { width: 405px; max-height: calc(100dvh - 32px); border-radius: var(--radius-lg); }
  .refsheet__grip { display: none; }
}

/* ---------- FAQ */
.faq-wrap { padding: 34px 24px 0; } /* the gap to the footer is the footer's own top padding, where its background fades in */
.faq { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 12px; background: #1E120A; box-shadow: inset 0 0 0 1px rgba(233, 180, 76, .15); padding: 14px; }
.faq summary { min-height: 24px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; line-height: 24px; color: #F1E2C6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span:first-child { flex: 1; }
.faq__chev { width: 20px; height: 20px; flex: none; display: flex; align-items: center; justify-content: center; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.faq__chev img { display: block; width: 12px; height: 7px; }
.faq details[open] .faq__chev { transform: rotate(180deg); }
.faq p { margin: 8px 0 0; font-size: 12px; line-height: 20px; color: var(--muted); }

/* ---------- Rules (hidden until dates/rules exist) */
.rules { margin: 40px 24px 0; padding: 18px; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .15); background: rgba(0, 0, 0, .25); }
.rules__dates { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 14px; }
.rules__dates dt { color: var(--muted); }
.rules__dates dd { margin: 0; color: var(--text); font-weight: 700; }
.rules__text { margin: 14px 0 0; font-size: 13px; line-height: 22px; color: var(--muted); }

/* ---------- Footer */
.footer { position: relative; margin-top: 0; min-height: 314px; display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding: var(--section-gap) 24px calc(124px + env(safe-area-inset-bottom));
  background: radial-gradient(208.333px 142.727px at 50% calc(var(--section-gap) + 6px), rgba(255, 154, 60, .45) 0%, rgba(194, 86, 26, .18) 50%, rgba(194, 86, 26, 0) 100%), linear-gradient(180deg, rgba(26, 15, 8, 0), rgba(58, 30, 12, .9));
  /* the glow reaches above the footer's top: fade it in over the empty padding so there is no edge */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--section-gap)); mask-image: linear-gradient(180deg, transparent, #000 var(--section-gap)); }
.footer__logo { width: 154px; height: 32.7px; margin: -3px 0; display: block; flex: none; }
.footer__follow { margin: 0; line-height: 1; font-size: 12px; font-weight: 500; color: var(--muted); }
.footer__social { display: flex; gap: 8px; flex: none; }
.footer__social a { display: block; width: 31px; height: 31px; }
.footer__social > :last-child { margin-left: 4px; }
.footer__social img { width: 31px; height: 31px; display: block; }

/* ---------- Tab bar (sticky at the bottom of the column) */
body.kb-open .tabbar { display: none; } /* never above the on-screen keyboard */
.tabbar { position: sticky; bottom: 0; z-index: 40; margin: calc(-92px - env(safe-area-inset-bottom)) auto 0; width: 100%; max-width: 375px; height: calc(92px + env(safe-area-inset-bottom));
  padding: 7px 0 calc(7px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 4px;
  background: #1E120A; box-shadow: inset 0 1px 0 rgba(233, 180, 76, .15), 0 -8px 24px rgba(0, 0, 0, .45); }
.tabbar__tab { width: 77px; height: 76px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); }
.tabbar__tab:hover { color: #C9B38E; }
.tabbar__tab svg { display: block; flex: none; }
.tabbar__tab span { font-size: 11px; font-weight: 500; line-height: 1; }
.tabbar__tab[aria-current="page"] { color: var(--gold); background: linear-gradient(180deg, rgba(246, 196, 83, .22), rgba(246, 196, 83, .06)); box-shadow: inset 0 0 0 1px rgba(246, 196, 83, .35); }
.tabbar__tab[aria-current="page"] span { font-weight: 900; }
.tabbar__tab[aria-current="page"]:hover { color: var(--gold); }
.toasts { top: auto; bottom: calc(100px + env(safe-area-inset-bottom)); }

/* ---------- Scroll reveal (design `reveal`): only when JS runs and motion is allowed (media.js sets .motion) */
.motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(16px); }
.motion [data-reveal] { transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Reduced motion: hero shows the last frame as a still; revolver stays on its poster */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .tether__coin img, .flow__arrow img { animation: none; }
}

/* ---------- Small screens */
@media (max-width: 359px) {
  .hero, .steps, .xaut, .gold, .faq-wrap { padding-left: 16px; padding-right: 16px; }
  .sep { padding-left: 16px; padding-right: 16px; }
  .roulette__stage { left: -16px; right: -16px; }
  .hero__title { font-size: 31px; }
  .tabbar__tab { width: 72px; }
}
