/* ============================================================
   VENTA PLAY — ARENA LANDING
   Broadcast / tactical HUD direction. Scoped to .ar-body.
   ============================================================ */

@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ar-body {
  --ar-ink: #07080b;
  --ar-ink-2: #0a0c11;
  --ar-surface: #0f1218;
  --ar-panel: #11141b;
  --ar-paper: #f4f1e9;
  --ar-dim: #8d93a1;
  --ar-dim-2: #666c78;
  --ar-line: rgba(255, 255, 255, 0.09);
  --ar-line-soft: rgba(255, 255, 255, 0.055);
  --ar-orange: var(--accent, #ff6a1a);
  --ar-amber: var(--accent2, #ffb45c);
  --ar-acid: #c8ff7a;
  --ar-display: 'Unbounded', 'Arial Black', Impact, sans-serif;
  --ar-ui: 'Manrope', Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ar-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: var(--ar-paper);
  font-family: var(--ar-ui);
  background:
    radial-gradient(1100px 720px at 86% -12%, rgba(255, 106, 26, 0.17), transparent 62%),
    radial-gradient(900px 620px at -8% 28%, rgba(200, 255, 122, 0.035), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 106, 26, 0.06), transparent 60%),
    linear-gradient(180deg, #07080b 0%, #08090d 48%, #06070a 100%);
}
.ar-body:has(.dock:not(.hidden)) {
  padding-bottom: 124px;
}

.ar-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 26, 0.1), transparent 62%);
}

.ar-body ::selection {
  background: rgba(255, 106, 26, 0.55);
  color: #fff;
}

.ar-shell {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.ar-shell::before,
.ar-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06) 12%, rgba(255, 255, 255, 0.06) 88%, transparent);
  pointer-events: none;
}
.ar-shell::before { left: 0; }
.ar-shell::after { right: 0; }

/* ============================ HEADER ============================ */

.ar-top {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: calc(22px + env(safe-area-inset-top, 0px)) 0 20px;
  border-bottom: 1px solid var(--ar-line);
}
.ar-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, var(--ar-orange), transparent);
}

.ar-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}
.ar-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 0;
  background: linear-gradient(145deg, #ffc072, var(--ar-orange) 62%, #e04c06);
  color: #150802;
  font-family: var(--ar-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 0 1px rgba(255, 140, 40, 0.4), 0 10px 34px rgba(255, 106, 26, 0.26);
}
.ar-logo::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 5px;
  height: 5px;
  background: rgba(21, 8, 2, 0.55);
}
.ar-logo.has-img {
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 140, 40, 0.3);
}
.ar-logo.has-img::after { display: none; }

.ar-brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ar-brand__text b {
  display: block;
  font-family: var(--ar-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-brand__text small {
  display: block;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim);
  white-space: nowrap;
}

.ar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Переключатель игр в шапке использует общие стили .game-switch,
   чтобы логотипы SO2/CF выглядели одинаково на всех страницах. */

.ar-icon-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ar-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ar-dim);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ar-icon-btn:hover {
  color: var(--ar-amber);
  border-color: rgba(255, 140, 40, 0.4);
  background: rgba(255, 106, 26, 0.08);
  transform: none;
  box-shadow: none;
}
.ar-icon-btn svg { width: 16px; height: 16px; }
.ar-icon-btn .badge {
  top: -5px;
  right: -5px;
  border-radius: 0;
  background: var(--ar-orange);
  color: #180902;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 700;
}

.ar-note .notes-pop {
  top: 44px;
  border-radius: 0;
  border-color: var(--ar-line);
  background: #0c0e13;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

/* ============================ BUTTONS ============================ */

.ar-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ar-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--ar-paper);
  font-family: var(--ar-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.ar-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}
.ar-btn:hover { transform: translateY(-2px); }
.ar-btn:active { transform: translateY(0); }
.ar-btn:focus-visible {
  outline: 2px solid var(--ar-amber);
  outline-offset: 3px;
}
.ar-btn--sm {
  height: 34px;
  padding: 0 12px;
  font-size: 11px;
  border-radius: 10px;
}
.ar-btn--lg {
  height: 54px;
  padding: 0 26px;
  font-size: 14px;
  border-radius: 14px;
}
.ar-btn--primary,
.ar-btn--solid {
  border-color: rgba(255, 154, 60, 0.55);
  background: linear-gradient(135deg, #ffc072 0%, var(--ar-orange) 58%, #ed5a0b 100%);
  color: #180902;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 24px rgba(255, 106, 26, 0.24);
}
.ar-btn--primary:hover,
.ar-btn--solid:hover {
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 34px rgba(255, 106, 26, 0.4);
}
.ar-btn--primary:hover svg { transform: translateX(3px); }
.ar-btn--line {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ar-paper);
}
.ar-btn--line:hover {
  border-color: rgba(255, 140, 40, 0.55);
  color: var(--ar-amber);
  background: rgba(255, 106, 26, 0.045);
}
.ar-btn--ghost {
  height: 34px;
  padding: 0 8px;
  border-color: transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ar-dim);
}
.ar-btn--ghost:hover { color: var(--ar-paper); background: transparent; }
.ar-btn__idx {
  margin-left: 2px;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ar-dim-2);
}
.ar-btn--line:hover .ar-btn__idx { color: var(--ar-orange); }

/* ============================ HERO ============================ */

.ar-hero {
  position: relative;
  padding: 72px 0 118px;
  overflow: hidden;
}
.ar-hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -18%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.13), transparent 64%);
  pointer-events: none;
}
.ar-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  align-items: center;
  min-height: 650px;
}

.ar-hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.ar-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-eyebrow__line {
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: linear-gradient(90deg, var(--ar-orange), rgba(255, 106, 26, 0.1));
}
.ar-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid rgba(200, 255, 122, 0.25);
  color: var(--ar-acid);
  font-size: 8px;
  letter-spacing: 0.14em;
}
.ar-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ar-acid);
  box-shadow: 0 0 7px rgba(200, 255, 122, 0.9);
}

.ar-title {
  margin: 24px 0 0;
  font-family: var(--ar-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}
.ar-title__main {
  display: block;
  color: var(--ar-paper);
  text-shadow: 0 0 70px rgba(255, 106, 26, 0.14);
  overflow-wrap: anywhere;
}

.ar-hero__sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 0;
  font-family: var(--ar-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-slash { color: var(--ar-orange); }

.ar-slogan {
  margin: 22px 0 0;
  font-family: var(--ar-display);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #ddd8ce;
}
.ar-slogan em {
  font-style: normal;
  color: var(--ar-amber);
}

.ar-lead {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--ar-dim);
  font-size: 13px;
  line-height: 1.65;
}

.ar-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.ar-hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-family: var(--ar-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--ar-dim-2);
}
.ar-hero__notes span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ar-hero__notes svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--ar-acid);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================ STAGE / PHONE ============================ */

.ar-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 650px;
  isolation: isolate;
}
.ar-stage::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 26, 0.16), transparent 62%);
  filter: blur(26px);
  pointer-events: none;
}
.ar-stage__rings {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255, 140, 40, 0.22);
  box-shadow: inset 0 0 90px rgba(255, 106, 26, 0.05), 0 0 60px rgba(255, 106, 26, 0.06);
  pointer-events: none;
  /* Прицельная сетка: перекрестие + риски по краям */
  background:
    radial-gradient(circle 5px at 50% 0, rgba(255, 140, 40, 0.55), transparent 6px),
    radial-gradient(circle 5px at 50% 100%, rgba(255, 140, 40, 0.55), transparent 6px),
    radial-gradient(circle 5px at 0 50%, rgba(255, 140, 40, 0.55), transparent 6px),
    radial-gradient(circle 5px at 100% 50%, rgba(255, 140, 40, 0.55), transparent 6px),
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(255, 140, 40, 0.28) calc(50% - 0.5px), rgba(255, 140, 40, 0.28) calc(50% + 0.5px), transparent calc(50% + 0.5px)),
    linear-gradient(to bottom, transparent calc(50% - 0.5px), rgba(255, 140, 40, 0.28) calc(50% - 0.5px), rgba(255, 140, 40, 0.28) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.ar-stage__rings::before,
.ar-stage__rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ar-stage__rings::before {
  inset: 44px;
  border: 1px dashed rgba(255, 140, 40, 0.2);
  animation: arRingSpin 60s linear infinite;
}
.ar-stage__rings::after {
  inset: 96px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
@keyframes arRingSpin {
  to { transform: rotate(360deg); }
}
.ar-stage__plus {
  position: absolute;
  width: 15px;
  height: 15px;
  opacity: 0.4;
  pointer-events: none;
}
.ar-stage__plus::before,
.ar-stage__plus::after {
  content: "";
  position: absolute;
  background: var(--ar-amber);
}
.ar-stage__plus::before { left: 7px; top: 0; width: 1px; height: 15px; }
.ar-stage__plus::after { top: 7px; left: 0; height: 1px; width: 15px; }
.ar-stage__plus--a { top: 15%; left: 9%; }
.ar-stage__plus--b { bottom: 18%; right: 7%; }
.ar-stage__coord {
  position: absolute;
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}
.ar-stage__coord--tl { top: 11%; left: 2%; }
.ar-stage__coord--br { bottom: 10%; right: 2%; }
.ar-stage__side {
  position: absolute;
  right: -34px;
  top: 50%;
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

/* --- phone --- */

.ar-body .phone {
  position: relative;
  z-index: 3;
  width: 268px;
  animation: arPhoneFloat 7s ease-in-out infinite;
}
@keyframes arPhoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-11px) rotate(-1deg); }
}
.ar-body .phone__frame {
  position: relative;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #23262f 0%, #0b0c10 42%, #040508 100%);
  border: 1px solid rgba(255, 140, 40, 0.46);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 34px 90px rgba(0, 0, 0, 0.72),
    0 0 64px rgba(255, 106, 26, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.ar-body .phone__frame::before {
  content: "";
  position: absolute;
  right: -3px;
  top: 112px;
  width: 3px;
  height: 56px;
  background: linear-gradient(180deg, #363a45, #101218);
  border-radius: 0 2px 2px 0;
}
.ar-body .phone__frame::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 94px;
  width: 3px;
  height: 34px;
  background: linear-gradient(180deg, #2b2e37, #0d0f14);
  border-radius: 2px 0 0 2px;
}
.ar-body .phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 106, 26, 0.22), transparent 56%),
    radial-gradient(90% 60% at 100% 100%, rgba(200, 255, 122, 0.04), transparent 55%),
    linear-gradient(180deg, #12151d 0%, #0a0c11 48%, #05060a 100%);
}
.ar-phone__scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px);
  opacity: 0.4;
  mix-blend-mode: overlay;
}
.ar-body .phone__notch {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 66px;
  height: 15px;
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.ar-body .phone__bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 15px 7px;
  font-family: var(--ar-mono);
  font-size: 10px;
  font-weight: 700;
}
.ar-phone__brand {
  font-family: var(--ar-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-body .gold-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 140, 40, 0.45);
  border-radius: 0;
  color: var(--ar-amber);
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  background: rgba(255, 106, 26, 0.08);
}
.ar-body .gold-chip img {
  width: 11px;
  height: 11px;
  object-fit: contain;
}
.ar-body .gold-chip .gold-chip__ico {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ar-phone__status {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-phone__rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ar-acid);
}
.ar-phone__rec i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ar-acid);
  box-shadow: 0 0 6px rgba(200, 255, 122, 0.8);
}
.ar-phone__status #heroHudMap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ar-body .phone__match {
  position: relative;
  z-index: 3;
  margin: 11px 12px;
  padding: 13px;
  border: 1px solid rgba(255, 140, 40, 0.22);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255, 106, 26, 0.07), transparent 46%),
    rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.ar-body .phone__match::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 30px;
  background: var(--ar-orange);
}
.ar-phone__matchtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ar-body .phone__map {
  font-family: var(--ar-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-phone__stake {
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-amber);
}
.ar-body .phone__vs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 14px 0 0;
  font-family: var(--ar-display);
  font-size: 15px;
  line-height: 1;
}
.ar-phone__player {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ar-paper);
  font-family: var(--ar-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.ar-phone__player i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid rgba(255, 140, 40, 0.4);
  background: rgba(255, 106, 26, 0.1);
  color: var(--ar-amber);
  font-family: var(--ar-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}
.ar-phone__player b { font-weight: 600; }
.ar-phone__player--hidden { color: var(--ar-dim); }
.ar-phone__player--hidden i {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ar-dim);
}
.ar-phone__vs {
  font-family: var(--ar-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ar-orange);
}
.ar-phone__ranks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-body .phone__meta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-body .phone__barline {
  height: 3px;
  margin-top: 9px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.ar-body .phone__barline i {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--ar-orange), var(--ar-amber));
  animation: arLoad 2.8s ease-in-out infinite;
}
@keyframes arLoad {
  0%, 100% { width: 44%; opacity: 0.7; }
  50% { width: 82%; opacity: 1; }
}
.ar-phone__objective {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 15px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-phone__objective span:first-child {
  color: var(--ar-orange);
  font-size: 8px;
  letter-spacing: 0.1em;
}
.ar-body .phone__btn {
  position: relative;
  z-index: 3;
  margin: 13px 15px 0;
  padding: 11px 8px;
  border: 1px solid transparent;
  border-radius: 0;
  background: linear-gradient(135deg, var(--ar-amber), var(--ar-orange));
  color: #180902;
  font-family: var(--ar-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  box-shadow: 0 8px 22px rgba(255, 106, 26, 0.2);
}
.ar-phone__foot {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 11px 15px 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-phone__ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ar-acid);
}
.ar-phone__ready i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ar-acid);
  box-shadow: 0 0 6px rgba(200, 255, 122, 0.8);
}
.ar-phone__rec-label { color: var(--ar-orange); }

.ar-phone__recent {
  position: relative;
  z-index: 3;
  margin: 11px 15px 0;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}
.ar-phone__recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--ar-mono);
  font-size: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-phone__recent-head span:last-child { color: var(--ar-acid); }
.ar-phone__recent-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}
.ar-phone__recent-row b {
  font-family: var(--ar-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ar-paper);
}
.ar-phone__recent-row span {
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: var(--ar-amber);
}
.ar-phone__mini {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 8px 15px 0;
  background: rgba(255, 255, 255, 0.06);
}
.ar-phone__mini > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 8px;
  background: #090b10;
}
.ar-phone__mini span {
  font-family: var(--ar-mono);
  font-size: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-phone__mini b {
  font-family: var(--ar-mono);
  font-size: 8px;
  font-weight: 600;
  color: var(--ar-paper);
}

/* CF variant */
.ar-body .phone.phone--cf .phone__frame {
  border-color: rgba(255, 90, 70, 0.5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.85),
    0 34px 90px rgba(0, 0, 0, 0.72),
    0 0 64px rgba(255, 77, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.ar-body .phone.phone--cf .phone__screen {
  background:
    radial-gradient(120% 46% at 50% 0%, rgba(255, 77, 58, 0.24), transparent 56%),
    radial-gradient(90% 60% at 100% 100%, rgba(200, 255, 122, 0.04), transparent 55%),
    linear-gradient(180deg, #1a1010 0%, #0a0c11 48%, #05060a 100%);
}
.ar-body .phone.phone--cf .gold-chip { border-color: rgba(255, 77, 58, 0.45); color: #ffb4a8; }
.ar-body .phone.phone--cf .phone__btn { background: linear-gradient(135deg, #ff9a8c, #ff4d3a); color: #1a0704; }
.ar-body .phone.phone--cf .phone__match::before { background: #ff4d3a; }
.ar-body .phone.phone--cf .ar-phone__stake,
.ar-body .phone.phone--cf .ar-phone__vs,
.ar-body .phone.phone--cf .ar-phone__rec-label { color: #ff9a8c; }

/* --- floating chips --- */

.ar-body .ncard {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 205px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 2px solid var(--ar-orange);
  border-radius: 0;
  background: rgba(8, 10, 14, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  animation: arChipFloat 6s ease-in-out infinite alternate;
}
@keyframes arChipFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}
.ar-body .ar-chip--found {
  top: 58px;
  left: -2px;
  --rot: -3deg;
  border-left-color: var(--ar-acid);
  animation-delay: 0.2s;
}
.ar-body .ar-chip--win {
  top: 232px;
  right: -8px;
  --rot: 2.5deg;
  border-left-color: var(--ar-orange);
  animation-delay: 1.1s;
}
.ar-body .ar-chip--arb {
  bottom: 8px;
  left: 4px;
  --rot: -1.5deg;
  border-left-color: #ff8c66;
  animation-delay: 2s;
}
.ar-body .ncard__dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--ar-orange);
}
.ar-body .ar-chip--found .ncard__dot {
  background: var(--ar-acid);
  box-shadow: 0 0 8px rgba(200, 255, 122, 0.8);
}
.ar-body .ar-chip--win .ncard__dot {
  background: var(--ar-orange);
  box-shadow: 0 0 8px rgba(255, 106, 26, 0.8);
}
.ar-body .ar-chip--arb .ncard__dot {
  background: #ff8c66;
  box-shadow: 0 0 8px rgba(255, 140, 102, 0.6);
}
.ar-chip__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ar-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-body .ncard b {
  display: block;
  font-family: var(--ar-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ar-paper);
}
.ar-body .ncard p {
  margin: 3px 0 0;
  font-family: var(--ar-mono);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ar-dim-2);
}

/* ============================ TICKER ============================ */

.ar-ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-top: 1px solid var(--ar-line);
  border-bottom: 1px solid var(--ar-line);
  background: rgba(255, 255, 255, 0.012);
}
.ar-ticker__track {
  display: flex;
  width: max-content;
  animation: arTicker 46s linear infinite;
}
.ar-ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.ar-ticker__group span {
  padding: 12px 0;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ar-dim-2);
  white-space: nowrap;
}
.ar-ticker__group i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  margin: 0 28px;
  background: var(--ar-orange);
  transform: rotate(45deg);
}
@keyframes arTicker {
  to { transform: translateX(-50%); }
}

/* ============================ STATS ============================ */

.ar-stats {
  position: relative;
  z-index: 6;
  margin-top: -64px;
  border: 1px solid var(--ar-line);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255, 106, 26, 0.07), transparent 55%),
    linear-gradient(180deg, #101218 0%, #0a0c11 100%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.58);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.ar-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, var(--ar-orange), rgba(255, 106, 26, 0));
}
.ar-stats__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--ar-line-soft);
}
.ar-stats__top h2 {
  margin: 9px 0 0;
  font-family: var(--ar-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-stats__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
  white-space: nowrap;
}
.ar-stats__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ar-acid);
  box-shadow: 0 0 7px rgba(200, 255, 122, 0.7);
  animation: pulseDot 2.4s infinite;
}
.ar-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ar-stat {
  position: relative;
  min-width: 0;
  padding: 26px 26px 28px;
  border-right: 1px solid var(--ar-line-soft);
  overflow: hidden;
  transition: background 0.2s ease;
}
.ar-stat:last-child { border-right: 0; }
.ar-stat:hover {
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 106, 26, 0.07), transparent 65%);
}
.ar-stat::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 16px;
  width: 26px;
  height: 2px;
  background: var(--ar-orange);
  opacity: 0.35;
  transition: width 0.2s ease, opacity 0.2s ease;
}
.ar-stat:hover::after { width: 54px; opacity: 1; }
.ar-stat__idx {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.22);
}
.ar-stat__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 140, 40, 0.3);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 106, 26, 0.13), rgba(255, 106, 26, 0.04));
  color: var(--ar-amber);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ar-stat__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ar-stat__icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}
.ar-stat__val {
  font-family: var(--ar-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ar-paper);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ar-stat__val--gold {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 7px;
}
.ar-stat__unit {
  font-family: var(--ar-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ar-amber);
}
.ar-stat__label {
  margin-top: 11px;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim);
}
.ar-stat__mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(255, 140, 40, 0.4);
  border-right: 1px solid rgba(255, 140, 40, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ar-stat:hover .ar-stat__mark { opacity: 1; }

/* ============================ SECTION HEADS ============================ */

.ar-section {
  position: relative;
  padding-top: 104px;
}
.ar-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ar-mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ar-amber);
}
.ar-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: 0 0 22px;
  background: linear-gradient(90deg, var(--ar-orange), rgba(255, 106, 26, 0.15));
}
.ar-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}
.ar-sec-head h2 {
  margin: 12px 0 0;
  font-family: var(--ar-display);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ar-paper);
  text-wrap: balance;
}
.ar-sec-head p {
  margin: 0 0 3px;
  max-width: 46ch;
  color: var(--ar-dim);
  font-size: 13px;
  line-height: 1.65;
}

/* ============================ STEPS ============================ */

.ar-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ar-steps::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.3), rgba(255, 255, 255, 0.05) 55%, transparent);
  pointer-events: none;
}
.ar-step {
  position: relative;
  min-height: 238px;
  padding: 26px 22px 40px;
  border: 1px solid var(--ar-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.ar-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 42px;
  background: var(--ar-orange);
  opacity: 0.65;
  transition: height 0.2s ease, opacity 0.2s ease;
}
.ar-step:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 40, 0.32);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 106, 26, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}
.ar-step:hover::before { height: 100%; opacity: 1; }
.ar-step__num {
  position: absolute;
  top: 8px;
  right: 14px;
  font-family: var(--ar-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.2s ease;
}
.ar-step:hover .ar-step__num { -webkit-text-stroke-color: rgba(255, 140, 40, 0.28); }
.ar-step__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 140, 40, 0.28);
  background: rgba(255, 106, 26, 0.07);
  color: var(--ar-amber);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.ar-step__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ar-step h3 {
  margin: 0 0 8px;
  font-family: var(--ar-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-step p {
  margin: 0;
  color: var(--ar-dim);
  font-size: 12px;
  line-height: 1.55;
}
.ar-step__tag {
  position: absolute;
  left: 22px;
  bottom: 18px;
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
}

/* ============================ FAIR PLAY ============================ */

.ar-fair {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 16px;
  align-items: stretch;
}
.ar-fair__copy {
  position: relative;
  padding: 38px 36px 34px;
  border: 1px solid var(--ar-line);
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 106, 26, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.006));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  overflow: hidden;
}
.ar-fair__copy::after {
  content: "FAIR";
  position: absolute;
  right: -8px;
  bottom: -18px;
  font-family: var(--ar-display);
  font-size: 132px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.ar-fair__copy h2 {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-family: var(--ar-display);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--ar-paper);
  text-wrap: balance;
}
.ar-fair__copy .ar-lead {
  position: relative;
  z-index: 1;
  max-width: 44ch;
  margin-top: 16px;
  font-size: 13px;
}
.ar-fair__seal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-fair__seal b {
  font-weight: 500;
  color: var(--ar-amber);
}
.ar-fair__seal i {
  width: 5px;
  height: 5px;
  margin-left: auto;
  background: var(--ar-acid);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(200, 255, 122, 0.6);
}

.ar-terminal {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ar-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 30%),
    #080a0e;
  box-shadow: inset 0 0 80px rgba(255, 106, 26, 0.025);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.ar-terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-terminal__dots {
  display: inline-flex;
  gap: 4px;
}
.ar-terminal__dots i {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.ar-terminal__dots i:first-child { background: var(--ar-orange); }
.ar-terminal__dots i:nth-child(2) { background: var(--ar-amber); }
.ar-terminal__dots i:nth-child(3) { background: var(--ar-acid); }
.ar-terminal__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ar-acid);
}
.ar-terminal__status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ar-acid);
  box-shadow: 0 0 7px rgba(200, 255, 122, 0.7);
}
.ar-terminal__rows {
  flex: 1;
  padding: 4px 0;
}
.ar-terminal__row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 19px 20px;
  border-bottom: 1px solid var(--ar-line-soft);
}
.ar-terminal__row:last-child { border-bottom: 0; }
.ar-terminal__idx {
  font-family: var(--ar-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ar-orange);
}
.ar-terminal__row b {
  display: block;
  font-family: var(--ar-mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-terminal__row p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ar-dim-2);
}
.ar-terminal__ok {
  padding: 4px 7px;
  border: 1px solid rgba(200, 255, 122, 0.22);
  font-family: var(--ar-mono);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-acid);
  white-space: nowrap;
}
.ar-terminal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--ar-line);
  font-family: var(--ar-mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--ar-dim-2);
}
.ar-terminal__cursor {
  color: var(--ar-amber);
  animation: arBlink 1.1s steps(1) infinite;
}
@keyframes arBlink { 50% { opacity: 0; } }

/* ============================ FINAL CTA ============================ */

.ar-final {
  position: relative;
  margin-top: 112px;
  padding: 78px 40px 74px;
  border: 1px solid rgba(255, 140, 40, 0.24);
  background:
    radial-gradient(80% 130% at 50% 0%, rgba(255, 106, 26, 0.14), transparent 62%),
    linear-gradient(180deg, #0b0d12, #080a0e);
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.ar-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 19px, rgba(255, 255, 255, 0.022) 19px 20px);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  pointer-events: none;
}
.ar-final__ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: var(--ar-display);
  font-size: clamp(150px, 22vw, 300px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}
.ar-final .ar-kicker { position: relative; z-index: 1; }
.ar-final h2 {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-family: var(--ar-display);
  font-size: clamp(20px, 2.7vw, 30px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--ar-paper);
}
.ar-final p {
  position: relative;
  z-index: 1;
  margin: 14px auto 0;
  max-width: 44ch;
  color: var(--ar-dim);
  font-size: 13px;
  line-height: 1.6;
}
.ar-final .ar-cta {
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-top: 30px;
}

/* ============================ FOOTER ============================ */

.ar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding: 30px 0 36px;
  border-top: 1px solid var(--ar-line);
}
.ar-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ar-footer__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 140, 40, 0.32);
  color: var(--ar-amber);
  font-family: var(--ar-display);
  font-size: 10px;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.ar-footer__brand b {
  display: block;
  font-family: var(--ar-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ar-footer__brand small {
  display: block;
  margin-top: 3px;
  font-family: var(--ar-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}
.ar-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ar-footer nav a {
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-dim);
  text-decoration: none;
  transition: color 0.18s ease;
}
.ar-footer nav a:hover { color: var(--ar-amber); }
.ar-footer__meta {
  font-family: var(--ar-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ar-dim-2);
}

/* ============================ ПЕРСОНАЖИ ============================ */

.ar-char {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

/* В hero — крупный персонаж слева от телефона, у нижнего края сцены */
.ar-char--hero {
  left: -44px;
  bottom: 0;
  height: 94%;
  max-width: 54%;
  object-fit: contain;
  object-position: left bottom;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%);
  filter: drop-shadow(0 0 34px rgba(255, 106, 26, 0.24));
  animation: arCharFloat 9s ease-in-out infinite;
}
@keyframes arCharFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* В финальном CTA — за текстом, приглушённо */
.ar-char--final {
  right: 0;
  bottom: 0;
  height: 105%;
  max-width: 42%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  filter: grayscale(30%) drop-shadow(0 0 40px rgba(255, 106, 26, 0.18));
}

/* Режим Counter Flame — красное свечение персонажей */
html[data-game="cf"] .ar-char--hero {
  filter: brightness(0.88) saturate(1.1) drop-shadow(0 0 34px rgba(255, 77, 58, 0.32));
}
html[data-game="cf"] .ar-char--final {
  filter: grayscale(30%) brightness(0.82) drop-shadow(0 0 40px rgba(255, 77, 58, 0.22));
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1100px) {
  .ar-hero__grid { gap: 20px; }
  .ar-body .phone { width: 250px; }
  .ar-stage { min-height: 610px; }
  .ar-body .ar-chip--found { left: 0; }
  .ar-body .ar-chip--win { right: 0; }
  .ar-stat { padding-left: 20px; padding-right: 20px; }
  .ar-stat::after { left: 20px; }
}

@media (max-width: 960px) {
  .ar-hero { padding: 56px 0 100px; }
  .ar-hero__grid {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }
  .ar-char--hero { left: -18px; height: 84%; }
  .ar-char--final { max-width: 50%; }
  .ar-hero__copy { max-width: 760px; }
  .ar-stage {
    min-height: 640px;
    margin-top: 6px;
  }
  .ar-stats { margin-top: -40px; }
  .ar-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-stat:nth-child(2) { border-right: 0; }
  .ar-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--ar-line-soft); }
  .ar-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-sec-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ar-fair { grid-template-columns: 1fr; }
  .ar-fair__copy { padding: 32px 30px; }
}

@media (max-width: 760px) {
  .ar-shell { padding: 0 20px; }
  .ar-char--hero { left: -8px; height: 68%; opacity: .92; }
  .ar-char--final { display: none; }
  .ar-top { padding: calc(16px + env(safe-area-inset-top, 0px)) 0 16px; gap: 12px; }
  .ar-brand { gap: 10px; }
  .ar-logo { width: 40px; height: 40px; flex-basis: 40px; font-size: 11px; }
  .ar-brand__text b { font-size: 11px; }
  .ar-brand__text small { display: none; }
  .ar-actions { gap: 5px; }
  .ar-actions .game-switch { margin-right: 0; }
  .ar-icon-btn { width: 32px; height: 32px; }
  .ar-top__enter { display: none; }
  .ar-btn--ghost { padding: 0 5px; }

  .ar-hero { padding: 44px 0 86px; }
  .ar-title { font-size: clamp(26px, 6.5vw, 38px); }
  .ar-slogan { font-size: 15px; }
  .ar-lead { font-size: 13px; }
  .ar-cta { gap: 8px; }
  .ar-cta .ar-btn--lg { width: 100%; }
  .ar-hero__notes { flex-direction: column; gap: 8px; }

  .ar-stage { min-height: 590px; }
  .ar-body .phone { width: 238px; }
  .ar-stage__rings { width: 440px; height: 440px; }
  .ar-stage__rings::before { inset: 38px; }
  .ar-stage__rings::after { inset: 82px; }
  .ar-body .ncard { width: 180px; }
  .ar-body .ar-chip--found { top: 38px; left: 0; }
  .ar-body .ar-chip--win { top: 210px; right: 0; }
  .ar-body .ar-chip--arb { bottom: 4px; left: 0; }
  .ar-stage__side { display: none; }
  .ar-stage__coord--tl { left: 0; }
  .ar-stage__coord--br { right: 0; }

  .ar-stats { margin-top: -24px; }
  .ar-stats__top { padding: 18px 20px 15px; }
  .ar-stat { padding: 20px 20px 24px; }
  .ar-stat::after { left: 20px; bottom: 13px; }
  .ar-stat__val { font-size: 20px; }

  .ar-section { padding-top: 78px; }
  .ar-sec-head h2 { font-size: clamp(16px, 4.6vw, 20px); }
  .ar-steps { grid-template-columns: 1fr; gap: 10px; }
  .ar-step { min-height: 0; padding: 22px 20px 38px; }
  .ar-step__icon { margin-bottom: 20px; }
  .ar-step__num { font-size: 48px; }

  .ar-fair__copy { padding: 26px 22px; }
  .ar-fair__copy h2 { font-size: clamp(15px, 4.2vw, 18px); }
  .ar-fair__seal { margin-top: 24px; }
  .ar-terminal__row { padding: 16px 16px; }
  .ar-terminal__bar { padding: 12px 16px; }
  .ar-terminal__foot { padding: 12px 16px; }

  .ar-final { margin-top: 78px; padding: 54px 20px 50px; }
  .ar-final h2 { font-size: clamp(19px, 5.6vw, 26px); }
  .ar-final .ar-cta { flex-direction: column; }
  .ar-final .ar-cta .ar-btn { width: 100%; }

  .ar-footer { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px 0 30px; }
  .ar-footer nav { gap: 18px; }
}

@media (max-width: 560px) {
  .ar-shell { padding: 0 16px; }
  .ar-char--hero { height: 56%; }
  .ar-title { font-size: clamp(22px, 8vw, 32px); }
  .ar-hero__sub { font-size: 8px; gap: 6px; }
  .ar-hero { padding-bottom: 74px; }
  .ar-stage { min-height: 540px; }
  .ar-body .phone { width: 220px; }
  .ar-stage__rings { width: 380px; height: 380px; }
  .ar-stage__rings::before { inset: 32px; }
  .ar-stage__rings::after { inset: 70px; }
  .ar-body .ncard { width: 166px; padding: 9px 10px; }
  .ar-body .ncard b { font-size: 12px; }
  .ar-body .ncard p { font-size: 7px; }
  .ar-body .ar-chip--found { top: 16px; left: 0; }
  .ar-body .ar-chip--win,
  .ar-body .ar-chip--arb { display: none; }
  .ar-stage__coord { font-size: 7px; }
  .ar-stage__coord--tl { top: 4%; }
  .ar-stage__coord--br { bottom: 4%; }

  .ar-stats { margin-top: -14px; }
  .ar-stats__top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ar-stats__top h2 { font-size: 14px; }
  .ar-stat { padding: 16px 14px 22px; }
  .ar-stat::after { left: 14px; bottom: 11px; width: 20px; }
  .ar-stat__val { font-size: 17px; }
  .ar-stat__icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .ar-stat__icon svg { width: 18px; height: 18px; }
  .ar-stat__icon img { width: 18px; height: 18px; }
  .ar-stat__label { margin-top: 8px; font-size: 8px; letter-spacing: 0.1em; }
  .ar-stat__idx { display: none; }
  .ar-stat__unit { font-size: 8px; }

  .ar-section { padding-top: 66px; }
  .ar-sec-head { margin-bottom: 26px; }
  .ar-sec-head p { font-size: 13px; }
  .ar-step { padding: 20px 18px 36px; }
  .ar-step__tag { left: 18px; }
  .ar-step__num { font-size: 42px; right: 12px; }

  .ar-fair__copy { padding: 24px 18px; }
  .ar-fair__copy::after { font-size: 100px; }
  .ar-fair__seal { flex-wrap: wrap; gap: 6px 10px; }
  .ar-fair__seal i { margin-left: 0; }
  .ar-terminal__row { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .ar-terminal__ok { grid-column: 2; justify-self: start; }
  .ar-terminal__row b { font-size: 9px; }
  .ar-terminal__row p { font-size: 10px; }
  .ar-terminal__foot { font-size: 7px; }

  .ar-final { padding: 44px 16px 42px; }
  .ar-final p { font-size: 13px; }
  .ar-footer nav { flex-wrap: wrap; gap: 12px 18px; }
}

@media (max-width: 400px) {
  .ar-brand__text b { font-size: 10px; }
  .ar-logo { width: 36px; height: 36px; flex-basis: 36px; font-size: 10px; }
  .ar-title { font-size: clamp(20px, 8.5vw, 28px); }
  .ar-body .phone { width: 204px; }
  .ar-body .ncard { width: 148px; }
  .ar-body .ar-chip--found { top: 8px; }
  .ar-body .ar-chip--win { top: 160px; }
  .ar-stat__val { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ar-body .phone,
  .ar-body .ncard,
  .ar-ticker__track,
  .ar-phone__barline i,
  .ar-terminal__cursor,
  .ar-live i,
  .ar-online i,
  .ar-stats__live i,
  .ar-stage__rings::before,
  .ar-char--hero {
    animation: none !important;
  }
}

/* ============================================================
   ОКНО ВЫБОРА ИГРЫ (главная страница)
   ============================================================ */
.game-pick {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.game-pick.hidden { display: none; }
.game-pick__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 9, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: gpFade 0.22s ease;
}
.game-pick__card {
  position: relative;
  width: min(680px, 100%);
  padding: 30px 28px 28px;
  border-radius: 26px;
  border: 1px solid rgba(255, 140, 40, 0.22);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 106, 26, 0.12), transparent 55%),
    linear-gradient(180deg, #13161f, #0b0d13);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: gpUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--ar-paper);
}
.game-pick__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ar-dim);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.game-pick__close:hover { color: var(--ar-paper); border-color: rgba(255, 140, 40, 0.45); }
.game-pick__close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.game-pick__head { text-align: center; margin-bottom: 22px; }
.game-pick__kicker {
  display: inline-block;
  font-family: var(--ar-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ar-amber);
  padding: 5px 10px;
  border: 1px solid rgba(255, 140, 40, 0.3);
  border-radius: 999px;
  background: rgba(255, 106, 26, 0.08);
}
.game-pick__head h2 {
  margin: 14px 0 6px;
  font-family: var(--ar-display);
  font-size: clamp(20px, 3.4vw, 30px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.game-pick__sub {
  margin: 0 auto;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ar-dim);
}
.game-pick__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.game-pick__option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ar-paper);
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.game-pick__option:hover { transform: translateY(-3px); }
.game-pick__option--so2:hover, .game-pick__option--so2.on { border-color: rgba(255, 140, 40, 0.65); box-shadow: 0 16px 40px rgba(255, 106, 26, 0.22); }
.game-pick__option--cf:hover, .game-pick__option--cf.on { border-color: rgba(255, 77, 58, 0.65); box-shadow: 0 16px 40px rgba(255, 77, 58, 0.22); }
.game-pick__option.on .game-pick__cta {
  background: linear-gradient(180deg, var(--ar-amber), var(--ar-orange));
  color: #1a0b04;
}
.game-pick__option--cf.on .game-pick__cta {
  background: linear-gradient(180deg, #ff8a7a, #ff4d3a);
  color: #220702;
}
.game-pick__glow {
  position: absolute;
  top: -46%;
  right: -20%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
}
.game-pick__option--so2 .game-pick__glow { background: rgba(255, 106, 26, 0.55); }
.game-pick__option--cf .game-pick__glow { background: rgba(255, 77, 58, 0.55); }
.game-pick__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 9px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 140, 40, 0.22);
  background: radial-gradient(circle at 30% 20%, rgba(255, 140, 40, 0.18), rgba(8, 10, 14, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.game-pick__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.game-pick__logo--cf { border-color: rgba(255, 77, 58, 0.3); background: radial-gradient(circle at 30% 20%, rgba(255, 77, 58, 0.2), rgba(8, 10, 14, 0.92)); }
.game-pick__name { position: relative; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.game-pick__desc { position: relative; font-size: 12px; line-height: 1.45; color: var(--ar-dim); }
.game-pick__cta {
  position: relative;
  margin-top: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 40, 0.4);
  font-size: 12px;
  font-weight: 700;
  color: var(--ar-amber);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.game-pick__option--cf .game-pick__cta { border-color: rgba(255, 77, 58, 0.45); color: #ffb4a8; }

@keyframes gpFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpUp { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .game-pick { padding: 14px; align-items: flex-end; }
  .game-pick__card { padding: 24px 16px 20px; border-radius: 22px; }
  .game-pick__grid { grid-template-columns: 1fr; gap: 10px; }
  .game-pick__option { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .game-pick__logo { width: 48px; height: 48px; border-radius: 13px; flex: 0 0 48px; }
  .game-pick__desc { display: none; }
  .game-pick__cta { margin-top: 0; margin-left: auto; }
  .game-pick__name { flex: 1; }
}
