/* ============================================================
   Tira — Cyber Club
   Design system: "TUF Industrial"
   Official TUF campaign language: black technical canvas, graphite
   surfaces and a single signal accent — TUF Amber (#ff9e1b).
   ============================================================ */

/* ----------------------------------------------------------------
   1. Design Tokens
   ---------------------------------------------------------------- */
:root {
  /* Colors */
  --color-ember-orange: #ff9e1b;
  --color-ember-dim: #d47d00;
  --color-void-black: #000000;
  --color-obsidian: #212121;
  --color-charcoal: #313131;
  --color-graphite: #34383c;
  --color-steel: #454545;
  --color-fog: #8e8e8e;
  --color-ash: #a5a5a5;
  --color-silver: #bcbcbc;
  --color-pure-white: #ffffff;
  --color-bone: #faf9f8;
  --color-armor-gray: #454545;
  --color-stealth-black: #000000;
  --color-amber: #ff9e1b;
  --color-tuf-accent: #ff9e1b;

  /* Semantic roles */
  --bg-canvas: var(--color-void-black);
  --bg-card: var(--color-obsidian);
  --bg-panel: var(--color-charcoal);
  --border-structural: var(--color-graphite);
  --border-hairline: rgba(212, 214, 216, 0.14);
  --text-primary: var(--color-pure-white);
  --text-default: var(--color-silver);
  --text-muted: var(--color-ash);
  --text-faint: var(--color-fog);

  /* Typography */
  --font-sans: "Segoe UI", Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
  --font-condensed: "Bahnschrift Condensed", Bahnschrift, "Arial Narrow",
    "Roboto Condensed", sans-serif;
  --font-weight-bold: 700;

  --text-body: 14px;
  --text-body-lg: 16px;
  --text-subheading: 20px;
  --text-heading-sm: 24px;
  --text-heading: 46px;
  --text-display: 68px;

  /* Spacing (4px base) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-60: 60px;
  --space-76: 76px;
  --space-100: 100px;
  --space-120: 120px;
  --space-128: 128px;

  /* Layout */
  --page-max-width: 1200px;
  --section-gap: 100px;
  --card-padding: 20px;
  --element-gap: 20px;

  /* Border radius */
  --radius-badge: 2px;
  --radius-button: 2px;
  --radius-card: 3px;
  --radius-card-lg: 4px;
  --radius-input: 2px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 180ms;
  --font-display: var(--font-condensed);

  /* Glow system */
  --glow-sm: none;
  --glow-md: none;
  --glow-lg: none;
  --border-ember: rgba(255, 158, 27, 0.72);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px; /* offset for the sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--text-body-lg);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-default);
  background-color: var(--bg-canvas);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* Strong UI elements keep the signature weight without flattening hierarchy. */
h1, h2, h3, h4, h5, h6,
.btn, .nav__link, .brand, .badge, .eyebrow,
.stat__value, .price-card__amount, .price-card__name {
  font-family: var(--font-condensed);
  font-weight: var(--font-weight-bold);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-ember-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--color-ember-orange);
  color: var(--color-void-black);
}

/* ----------------------------------------------------------------
   3. Layout primitives
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: 24px;
  min-width: 0;
}

.section {
  padding-block: clamp(56px, 9vw, var(--section-gap));
}

.section--tight {
  padding-block: clamp(40px, 6vw, 64px);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-48);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--element-gap);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-ember-orange);
  margin-bottom: var(--space-16);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-ember-orange);
}

/* ----------------------------------------------------------------
   4. Typography utilities
   ---------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(40px, 8.5vw, var(--text-display));
  line-height: 1;
  letter-spacing: -0.056em;
  color: var(--text-primary);
}

.heading {
  font-size: clamp(32px, 5.5vw, var(--text-heading));
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.heading-sm {
  font-size: var(--text-heading-sm);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.body {
  font-size: var(--text-body-lg);
  line-height: 1.5;
  color: var(--text-default);
}

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

.accent {
  color: var(--color-ember-orange);
}

/* ----------------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 12px 22px;
  font-size: var(--text-body-lg);
  letter-spacing: -0.015em;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
  white-space: nowrap;
}

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

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* Primary — the only chromatic button */
.btn--primary {
  background: var(--color-ember-orange);
  /* Void-black, not white: WCAG AA needs 4.5:1 for 16px/700 text and
     white-on-ember-orange only reaches 3.47:1. */
  color: var(--color-void-black);
}

.btn--primary:hover {
  background: #ffb13d;
  box-shadow: var(--glow-md);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--glow-sm);
}

/* Ghost — transparent with hairline border */
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-structural);
}

.btn--ghost:hover {
  border-color: rgba(255, 158, 27, 0.5);
  color: var(--color-ember-orange);
  box-shadow: inset 0 0 0 1px rgba(255, 158, 27, 0.15);
}

.btn--lg {
  padding: 15px 28px;
  font-size: 17px;
}

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

/* ----------------------------------------------------------------
   6. Badges & pills
   ---------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-badge);
  background: var(--color-pure-white);
  color: var(--color-void-black);
}

.badge--outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-structural);
}

/* Status pill: ember dot + label + helper */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--text-body);
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-ember-orange);
  flex-shrink: 0;
  animation: ember-pulse 2.2s ease-in-out infinite;
}

@keyframes ember-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 158, 27, 0.7); }
  50% { box-shadow: 0 0 0 5px rgba(255, 158, 27, 0); }
}

.status--off .status__dot {
  background: var(--color-steel);
}

.status__label {
  color: var(--text-primary);
  white-space: nowrap;
}

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

/* ----------------------------------------------------------------
   7. Cards
   ---------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.card:hover,
.card:focus-visible {
  border-color: var(--border-ember);
  box-shadow: var(--glow-sm), 0 6px 28px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.card--pad-lg {
  padding: 28px;
}

.card--link {
  transition: border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.card--link:hover,
.card--link:focus-visible {
  border-color: var(--border-ember);
  box-shadow: var(--glow-md), 0 12px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(-5px);
  outline: none;
}

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 158, 27, 0.12);
  color: var(--color-ember-orange);
  margin-bottom: var(--space-20);
}

.card:hover .card__icon {
  background: rgba(255, 158, 27, 0.2);
  box-shadow: 0 0 14px rgba(255, 158, 27, 0.25);
}

.card__title {
  font-size: var(--text-subheading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.card__text {
  font-size: var(--text-body-lg);
  line-height: 1.45;
  color: var(--text-muted);
}

/* Generic responsive grid */
.grid {
  display: grid;
  gap: var(--element-gap);
}

.grid > *,
.hero__grid > *,
.booking-layout > *,
.form-grid > * {
  min-width: 0;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ----------------------------------------------------------------
   8. Header / Navigation
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand__name {
  font-size: 21px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.brand__tagline {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-amber);
  font-family: var(--font-condensed);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}


.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  display: block;
  padding: 8px 11px;
  font-size: var(--text-body);
  color: var(--text-muted);
  border-radius: var(--radius-button);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.nav__link:hover {
  color: var(--color-ember-orange);
  background: rgba(255, 158, 27, 0.08);
}

.nav__link[aria-current="page"] {
  color: var(--text-primary);
  background: var(--color-obsidian);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-structural);
  color: var(--text-primary);
  place-items: center;
}

.nav__toggle svg { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Language switcher */
.lang-switch {
  position: relative;
  display: none;
  align-items: center;
  gap: 0;
  min-height: 40px;
  padding: 3px 6px;
  border: 1px solid #454545;
  border-radius: 0;
  background: #0b0b0b;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.nav__actions > .lang-switch,
.nav__links.is-open .nav__lang-mobile .lang-switch {
  display: inline-flex;
}

.lang-switch__btn {
  position: relative;
  min-width: 34px;
  padding: 9px 7px 8px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
  color: #8e8e8e;
  border-left: 1px solid rgba(69, 69, 69, 0.55);
  border-radius: 0;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.lang-switch__btn:first-of-type { border-left: 0; }

.lang-switch__btn:hover {
  color: var(--color-pure-white);
  background: #212121;
}

.lang-switch__btn.is-active {
  color: var(--color-amber);
  background: transparent;
}

.lang-switch__btn.is-active::before,
.lang-switch__btn.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--color-amber);
}

.lang-switch__btn.is-active::before { top: 2px; }
.lang-switch__btn.is-active::after { bottom: 2px; }

/* Mobile lang switcher lives inside the drawer */
.nav__links > li.nav__lang-mobile {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* ----------------------------------------------------------------
   9. Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 10vw, 120px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--space-48);
}

.hero__content { max-width: 620px; }

.hero__title { margin-bottom: var(--space-24); }

.hero__sub {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: var(--space-32);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-bottom: var(--space-32);
}

.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.hero__visual svg { width: 100%; height: 100%; }

.hero__art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__visual > svg {
  display: none;
}

/* Subtle scanline texture on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.045) 3px,
    rgba(0, 0, 0, 0.045) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Page hero (inner pages) */
.page-hero {
  padding-block: clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--border-hairline);
}

.page-hero__title { margin-bottom: var(--space-20); }

.page-hero__sub {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 620px;
}

/* ----------------------------------------------------------------
   10. Stats strip
   ---------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.stat {
  background: var(--bg-card);
  padding: 28px 24px;
}

.stat__value {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.stat__value .accent { color: var(--color-ember-orange); }

.stat__label {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.stat {
  transition: background-color var(--dur) var(--ease);
  cursor: default;
}

.stat:hover {
  background: var(--color-charcoal);
}

/* ----------------------------------------------------------------
   11. Pricing
   ---------------------------------------------------------------- */
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card--featured {
  border-color: var(--color-ember-orange);
}

.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.price-card__name {
  font-size: var(--text-subheading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-20);
}

.price-card__amount {
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.price-card__unit {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
  flex: 1;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: var(--text-body-lg);
  color: var(--text-default);
  line-height: 1.35;
}

.feature-row__tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--color-ember-orange);
}

/* ----------------------------------------------------------------
   12. Specs & Games
   ---------------------------------------------------------------- */
.spec-list {
  display: flex;
  flex-direction: column;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: var(--text-body-lg);
}

.spec-row:last-child { border-bottom: none; }

.spec-row__key { color: var(--text-muted); }
.spec-row__val {
  color: var(--text-primary);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* ----------------------------------------------------------------
   12a. Equipment rows + advantages
   ---------------------------------------------------------------- */
.equipment-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--space-48);
}

.equipment-row + .equipment-row {
  margin-top: var(--space-32);
}

.equipment-row__media img {
  width: 100%;
  /* The img's width/height attributes (for CLS) would otherwise win over
     aspect-ratio here, since nothing else sets a CSS height. */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-structural);
}

@media (max-width: 900px) {
  .equipment-row { grid-template-columns: 1fr; }
  .equipment-row__media { order: -1; }
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--space-48);
}

.advantages__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-structural);
}

.advantages__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

@media (max-width: 900px) {
  .advantages { grid-template-columns: 1fr; }
  .advantages__media { order: -1; }
}

/* ----------------------------------------------------------------
   12b. Game Cards (large banner cards)
   ---------------------------------------------------------------- */
.game-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-20);
}

.game-card {
  cursor: pointer;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-structural);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--border-ember);
  box-shadow: var(--glow-md), 0 16px 48px rgba(0, 0, 0, 0.55);
  outline: none;
}

.game-card__banner {
  position: relative;
  height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 78% 18%, hsl(var(--game-hue) 70% 35% / 0.55), transparent 58%),
    linear-gradient(145deg, hsl(var(--game-hue) 45% 12%), #080808);
}

.game-card__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.82), rgba(17,17,17,0.08) 70%);
  pointer-events: none;
}

.game-card__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.game-card__abbr {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 90px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

.game-card__genre-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-badge);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  z-index: 2;
}

.game-card:hover .game-card__genre-badge {
  color: var(--color-ember-orange);
  border-color: var(--border-ember);
}

.game-card__info {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--border-hairline);
}

.game-card__name {
  font-size: var(--text-subheading);
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color var(--dur) var(--ease);
}

.game-card:hover .game-card__name {
  color: var(--color-ember-orange);
}

@media (max-width: 720px) {
  .game-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .game-card {
    min-width: 0;
    border-color: var(--border-structural);
    background: var(--bg-card);
  }
  .game-card__banner { height: 120px; }
  .game-card__info { padding: 14px; }
  .game-card__name {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .game-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card__banner { height: 104px; }
  .game-card__genre-badge {
    top: 7px;
    right: 7px;
    padding: 3px 7px;
    font-size: 9px;
  }
}

/* ----------------------------------------------------------------
   13. Tournaments
   ---------------------------------------------------------------- */
.tour-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-24);
}

.tour-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: var(--radius-button);
  background: var(--color-void-black);
  border: 1px solid var(--border-structural);
  flex-shrink: 0;
}

.tour-date__day {
  font-size: 26px;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.tour-date__month {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.tour-card__body { min-width: 0; }

.tour-card__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: 6px;
}

.tour-card__game-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-button);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-void-black);
}

.tour-card__title {
  font-size: var(--text-subheading);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tour-card__title-row .tour-card__title { margin-bottom: 0; }

.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  font-size: var(--text-body);
  color: var(--text-muted);
}

.tour-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tour-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-12);
  flex-shrink: 0;
}

.tour-prize {
  font-size: var(--text-subheading);
  color: var(--color-ember-orange);
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------------
   14. Forms / Booking
   ---------------------------------------------------------------- */
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: var(--space-32);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-20);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.field--full { grid-column: 1 / -1; }

.field__label {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.field__label .req { color: var(--color-ember-orange); }

.form-consent {
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

.form-consent a {
  color: var(--text-default);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-consent a:hover {
  color: var(--color-ember-orange);
}

.privacy-content {
  max-width: 780px;
}

.privacy-content h2 {
  margin-top: var(--space-32);
  margin-bottom: var(--space-8);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: var(--text-default);
  font-weight: 500;
  line-height: 1.65;
}

.privacy-content a {
  color: var(--color-ember-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.input,
.select,
.textarea {
  width: 100%;
  background: var(--color-void-black);
  border: 1px solid var(--border-structural);
  color: var(--text-primary);
  font-size: var(--text-body-lg);
  padding: 13px 18px;
  border-radius: var(--radius-input);
  transition: border-color var(--dur) var(--ease);
}

.textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 110px;
  line-height: 1.4;
}

.input::placeholder,
.textarea::placeholder { color: var(--color-steel); }

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--color-steel); }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--color-ember-orange);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238d8d8d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.select option { background: var(--color-obsidian); }

/* Validation */
.field[data-invalid="true"] .input,
.field[data-invalid="true"] .select,
.field[data-invalid="true"] .textarea {
  border-color: var(--color-ember-orange);
}

.field__error {
  font-size: 12px;
  color: var(--color-ember-orange);
  min-height: 14px;
  display: none;
}

.field[data-invalid="true"] .field__error { display: block; }

/* Submit feedback */
.form-status {
  display: none;
  align-items: flex-start;
  gap: var(--space-12);
  padding: 16px 20px;
  border-radius: var(--radius-card);
  background: var(--color-void-black);
  border: 1px solid var(--color-ember-orange);
}

.form-status.is-visible { display: flex; }

/* Error state reuses the panel but drops the success checkmark */
.form-status.is-error .form-status__icon { display: none; }

.form-status__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-ember-orange);
}

.form-status__title { color: var(--text-primary); margin-bottom: 2px; }
.form-status__text { font-size: var(--text-body); color: var(--text-muted); }

.aside-card { display: flex; flex-direction: column; gap: var(--space-16); }

.info-row {
  display: flex;
  gap: var(--space-12);
  align-items: flex-start;
}

.info-row__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-ember-orange);
  margin-top: 2px;
}

.info-row__label { font-size: 12px; color: var(--text-faint); margin-bottom: 2px; }
.info-row__value { font-size: var(--text-body-lg); color: var(--text-primary); }

/* ----------------------------------------------------------------
   15. CTA band
   ---------------------------------------------------------------- */
.cta-band {
  background: var(--bg-card);
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-card-lg);
  padding: clamp(32px, 6vw, 60px);
  text-align: center;
}

.cta-band__title { margin-bottom: var(--space-16); }
.cta-band__sub {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-32);
  line-height: 1.4;
}
.cta-band__actions {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band {
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.cta-band:hover {
  border-color: rgba(255, 158, 27, 0.3);
  box-shadow: 0 0 40px rgba(255, 158, 27, 0.06);
}

/* ----------------------------------------------------------------
   16. Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-hairline);
  margin-top: var(--space-40);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-40);
  padding-block: var(--space-56);
}

.footer-brand__text {
  color: var(--text-muted);
  font-size: var(--text-body);
  line-height: 1.5;
  margin-top: var(--space-16);
  max-width: 280px;
}

.footer-col__title {
  font-size: var(--text-body);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-16);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-col__links a,
.footer-col__links span {
  font-size: var(--text-body-lg);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}

.footer-col__links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding-block: var(--space-24);
  border-top: 1px solid var(--border-hairline);
  font-size: var(--text-body);
  color: var(--text-faint);
}

.socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-8);
  margin-top: var(--space-20);
}

.socials__row {
  display: grid;
  grid-template-columns: repeat(3, 38px);
  gap: var(--space-8);
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-structural);
  color: var(--color-pure-white);
  background: #212121;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.socials a:hover { color: var(--color-amber); border-color: var(--color-amber); box-shadow: var(--glow-sm); }
.socials svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.socials svg path { fill: currentColor; }

/* ----------------------------------------------------------------
   17. Responsive
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; margin-inline: auto; }
  .booking-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-32); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Navigation collapses to a drawer below the desktop width so it never overflows */
@media (max-width: 1100px) {
  .nav__links,
  .nav__actions .btn,
  .nav__actions .lang-switch { display: none; }

  .nav__toggle { display: grid; }

  /* Mobile drawer */
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-obsidian);
    border-bottom: 1px solid var(--border-structural);
    padding: var(--space-16) 24px var(--space-24);
    gap: var(--space-8);
  }

  .nav__links.is-open .nav__link {
    width: 100%;
    font-size: var(--text-body-lg);
    padding: 12px 14px;
  }

  .nav__links.is-open > .nav__lang-mobile {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    pointer-events: auto !important;
    margin-top: var(--space-12);
  }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }

  .hero {
    padding-block: 48px 56px;
  }

  .hero__meta,
  .hero__meta .status {
    width: 100%;
  }

  .hero__meta .status {
    align-items: flex-start;
  }

  .hero__meta .status__dot {
    margin-top: 5px;
  }

  .hero__meta .status__help {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero__grid {
    gap: var(--space-32);
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    width: min(100%, 260px);
    margin-inline: auto;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .stats,
  .form-grid { grid-template-columns: 1fr; }

  .stats { border-radius: var(--radius-card); }

  .stat::after { display: none; }

  .tour-card { grid-template-columns: auto 1fr; }
  .tour-card__side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-16);
    border-top: 1px solid var(--border-hairline);
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .card--pad-lg {
    padding: 22px;
  }
}

/* Very small phones: stack CTA buttons full-width and let long labels wrap */
@media (max-width: 480px) {
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; white-space: normal; }
  .hero__cta .btn { white-space: normal; }

  .platform-switch { gap: 4px; }
  .platform-switch__btn {
    padding: 10px 6px;
    font-size: var(--text-body);
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .spec-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .spec-row__val {
    text-align: left;
  }
}

/* ----------------------------------------------------------------
   18. Hero — lightweight 3D (no dependencies)
   ---------------------------------------------------------------- */
.hero__visual {
  perspective: 1100px;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero__visual svg {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
  will-change: transform;
}

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

/* ----------------------------------------------------------------
   19. Gallery (About page)
   ---------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--element-gap);
}

.gallery__item {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-structural);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  font-size: var(--text-body);
  color: var(--color-pure-white);
  background: linear-gradient(to top, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0));
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   20. Motion preferences
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero__visual { animation: none; }
  .hero__visual svg { transform: none !important; }
}

/* ----------------------------------------------------------------
   21. Genre filter
   ---------------------------------------------------------------- */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
  margin-bottom: var(--space-32);
}

.catalog-search {
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}

.catalog-search__input {
  padding-left: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238d8d8d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 18px center;
}

.game-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-48) var(--space-16);
}

.game-empty__title {
  font-size: var(--text-subheading);
  color: var(--text-primary);
  margin-bottom: var(--space-8);
}

.game-empty__hint {
  color: var(--text-muted);
  margin-bottom: var(--space-20);
}

.platform-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
  align-self: center;
  padding: 5px;
  border: 1px solid var(--border-structural);
  border-radius: var(--radius-button);
  background: var(--bg-card);
}

.platform-switch__btn {
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 11px;
  color: var(--text-muted);
  font-size: var(--text-body-lg);
  font-weight: 700;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.platform-switch__btn:hover {
  color: var(--text-primary);
}

.platform-switch__btn.is-active {
  color: var(--color-void-black);
  background: var(--color-ember-orange);
  box-shadow: var(--glow-sm);
}

.genre-filter {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-bottom: 0;
}
.genre-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-structural);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.genre-btn:hover {
  color: var(--color-ember-orange);
  border-color: var(--color-ember-orange);
  transform: translateY(-1px);
}
.genre-btn:focus-visible {
  outline: 2px solid var(--color-ember-orange);
  outline-offset: 3px;
}
.genre-btn.is-active {
  background: var(--color-ember-orange);
  border-color: var(--color-ember-orange);
  color: var(--color-void-black);
  box-shadow: var(--glow-sm);
}
@media (max-width: 640px) {
  .genre-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .genre-filter::-webkit-scrollbar { display: none; }
}

/* ----------------------------------------------------------------
   22. Hero title ember flicker
   ---------------------------------------------------------------- */
@keyframes ember-flicker {
  0%, 78%, 100% { text-shadow: none; }
  80% { text-shadow: 0 0 24px rgba(255,158,27,0.5), 0 0 60px rgba(255,158,27,0.2); }
  81% { text-shadow: none; }
  83% { text-shadow: 0 0 48px rgba(255,158,27,0.9), 0 0 100px rgba(255,158,27,0.4); }
  85% { text-shadow: 0 0 12px rgba(255,158,27,0.3); }
  86% { text-shadow: none; }
}
.hero__title {
  animation: ember-flicker 10s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   23. Animated section-head scan divider
   ---------------------------------------------------------------- */
@keyframes scan-sweep {
  from { left: -30%; }
  to   { left: 130%; }
}
.section-head {
  position: relative;
  overflow: hidden;
  padding-bottom: 2px;
}
.section-head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -30%;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-ember-orange), transparent);
  animation: scan-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   24. Game card entrance animation
   ---------------------------------------------------------------- */
@keyframes card-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.game-card-grid .game-card {
  animation: card-rise 0.4s ease both;
}
.game-card-grid .game-card:nth-child(1)  { animation-delay: 0.03s; }
.game-card-grid .game-card:nth-child(2)  { animation-delay: 0.06s; }
.game-card-grid .game-card:nth-child(3)  { animation-delay: 0.09s; }
.game-card-grid .game-card:nth-child(4)  { animation-delay: 0.12s; }
.game-card-grid .game-card:nth-child(5)  { animation-delay: 0.15s; }
.game-card-grid .game-card:nth-child(6)  { animation-delay: 0.18s; }
.game-card-grid .game-card:nth-child(7)  { animation-delay: 0.21s; }
.game-card-grid .game-card:nth-child(8)  { animation-delay: 0.24s; }
.game-card-grid .game-card:nth-child(9)  { animation-delay: 0.27s; }
.game-card-grid .game-card:nth-child(10) { animation-delay: 0.30s; }
.game-card-grid .game-card:nth-child(11) { animation-delay: 0.33s; }
.game-card-grid .game-card:nth-child(12) { animation-delay: 0.36s; }

/* ----------------------------------------------------------------
   25. Hero background video
   Muted ambient loop behind the hero content; sits below the
   existing scanline overlay (z-index 1) and container (z-index 2).
   Hidden on touch/small viewports and reduced-motion to save data.
   ---------------------------------------------------------------- */
.hero__bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.25) 0%, rgba(17,17,17,0.55) 55%, #111 100%);
  z-index: 0;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   26. Hero ember particles — rising sparks, pure CSS
   ---------------------------------------------------------------- */
.hero__embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero__embers span {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-ember-orange);
  box-shadow: 0 0 6px 1px rgba(255, 158, 27, 0.75);
  opacity: 0;
  animation: ember-rise linear infinite;
}

@keyframes ember-rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.35; }
  100% { transform: translate(var(--drift, 20px), -440px); opacity: 0; }
}

.hero__embers span:nth-child(1)  { left: 4%;  width: 3px; height: 3px; animation-duration: 9s;  animation-delay: 0s;    --drift: 18px; }
.hero__embers span:nth-child(2)  { left: 11%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 1.4s;  --drift: -26px; }
.hero__embers span:nth-child(3)  { left: 19%; width: 2px; height: 2px; animation-duration: 8s;  animation-delay: 3.1s;  --drift: 12px; }
.hero__embers span:nth-child(4)  { left: 27%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 0.6s;  --drift: -16px; }
.hero__embers span:nth-child(5)  { left: 35%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 4.2s;  --drift: 22px; }
.hero__embers span:nth-child(6)  { left: 43%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 2.3s;  --drift: -20px; }
.hero__embers span:nth-child(7)  { left: 52%; width: 2px; height: 2px; animation-duration: 9s;  animation-delay: 5.5s;  --drift: 14px; }
.hero__embers span:nth-child(8)  { left: 60%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 1.1s;  --drift: -18px; }
.hero__embers span:nth-child(9)  { left: 68%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 3.8s;  --drift: 24px; }
.hero__embers span:nth-child(10) { left: 76%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 0.2s;  --drift: -14px; }
.hero__embers span:nth-child(11) { left: 84%; width: 2px; height: 2px; animation-duration: 8s;  animation-delay: 2.9s;  --drift: 16px; }
.hero__embers span:nth-child(12) { left: 92%; width: 4px; height: 4px; animation-duration: 11s; animation-delay: 4.7s;  --drift: -22px; }

@media (prefers-reduced-motion: reduce) {
  .hero__embers { display: none; }
}

/* ----------------------------------------------------------------
   27. TUF Industrial visual language
   ---------------------------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 158, 27, 0.025) 48% 52%, transparent 52%) 0 0 / 220px 220px,
    radial-gradient(circle at 82% 8%, rgba(69, 69, 69, 0.18), transparent 32%);
}

.display,
.heading,
.heading-sm,
.card__title,
.price-card__name,
.price-card__amount,
.stat__value,
.btn,
.nav__link,
.eyebrow {
  font-stretch: condensed;
  text-transform: uppercase;
}

.display,
.heading {
  letter-spacing: -0.025em;
}

.display {
  line-height: 0.9;
  text-wrap: balance;
}

.eyebrow {
  color: var(--color-amber);
  letter-spacing: 0.14em;
}

.eyebrow::before {
  width: 18px;
  height: 3px;
  border-radius: 0;
  background: var(--color-amber);
  transform: skewX(-30deg);
}

.accent {
  color: var(--color-amber);
}

::selection {
  background: var(--color-amber);
  color: var(--color-stealth-black);
}

:focus-visible {
  outline-color: var(--color-amber);
  border-radius: 0;
}

.site-header {
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px dashed rgba(255, 158, 27, 0.72);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(34vw, 420px);
  height: 2px;
  background: var(--color-amber);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.nav {
  height: 76px;
}

.site-header .brand__mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(3px 0 0 rgba(255, 158, 27, 0.28));
}

.site-header .brand__name {
  font-size: 25px;
  letter-spacing: 0.16em;
}

.nav__link,
.lang-switch__btn {
  letter-spacing: 0.055em;
}

.nav__link {
  border-bottom: 2px solid transparent;
}

.nav__link:hover {
  color: var(--color-amber);
  background: rgba(69, 69, 69, 0.12);
  border-bottom-color: var(--color-amber);
}

.nav__link[aria-current="page"] {
  color: var(--color-pure-white);
  background: rgba(69, 69, 69, 0.22);
  border-bottom-color: var(--color-tuf-accent);
}

.lang-switch {
  transform: none;
}

.lang-switch__btn {
  border-radius: 0;
}

.lang-switch__btn.is-active {
  color: var(--color-amber);
  background: transparent;
}

.btn {
  position: relative;
  min-height: 46px;
  border-radius: 2px;
  letter-spacing: 0.055em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--primary {
  background: var(--color-tuf-accent);
  color: var(--color-stealth-black);
}

.btn--primary:hover {
  background: #ffb13d;
  color: var(--color-stealth-black);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  background: rgba(69, 69, 69, 0.12);
  border-color: var(--color-armor-gray);
}

.btn--ghost:hover {
  color: var(--color-amber);
  border-color: var(--color-amber);
  background: rgba(255, 158, 27, 0.06);
  box-shadow: none;
}

.hero {
  min-height: min(780px, calc(100vh - 72px));
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(255, 158, 27, 0.28);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(0, 0, 0, 0.76) 0 28%, rgba(0, 0, 0, 0.52) 56%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(90deg, transparent 49.7%, rgba(255, 158, 27, 0.08) 50%, transparent 50.3%);
}

.hero::after {
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, 0.035) 5px 6px),
    linear-gradient(135deg, transparent 0 70%, rgba(255, 158, 27, 0.045) 70% 70.5%, transparent 70.5%);
}

.hero__bg-fade {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), #000 100%);
}

.hero__content {
  position: relative;
  padding-left: clamp(18px, 3vw, 36px);
  border-left: 3px solid var(--color-tuf-accent);
}

.hero__content::before,
.hero__content::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 3px;
  background: var(--color-amber);
}

.hero__content::before {
  top: 28%;
  height: 14px;
}

.hero__content::after {
  top: calc(28% + 22px);
  height: 5px;
}

.hero__title {
  animation: none;
  text-shadow: 6px 6px 0 rgba(69, 69, 69, 0.32);
}

.hero__sub {
  max-width: 570px;
  color: var(--color-silver);
}

.hero__visual {
  animation: heroFloat 9s ease-in-out infinite;
  filter: none;
}

.hero__visual::before {
  content: "TIRA // PERFORMANCE UNIT";
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 2;
  padding: 7px 12px;
  color: var(--color-stealth-black);
  background: var(--color-amber);
  font: 700 10px/1 var(--font-sans);
  letter-spacing: 0.12em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.hero__embers {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(69, 69, 69, 0.28), transparent 46%),
    var(--color-stealth-black);
  border-bottom-color: rgba(255, 158, 27, 0.3);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: max(24px, calc((100vw - var(--page-max-width)) / 2));
  width: clamp(96px, 15vw, 170px);
  aspect-ratio: 1;
  background: url("../assets/logo.svg") center / contain no-repeat;
  opacity: 0.09;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-hero::after {
  content: "TIRA // TUF PERFORMANCE";
  position: absolute;
  right: max(24px, calc((100vw - var(--page-max-width)) / 2));
  bottom: 16px;
  color: rgba(255, 158, 27, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.card,
.game-card,
.gallery__item,
.equipment-row__media img,
.advantages__media img,
.cta-band,
.stats,
.form-status {
  border-radius: var(--radius-card);
}

.card,
.game-card,
.cta-band {
  position: relative;
  background:
    linear-gradient(135deg, rgba(69, 69, 69, 0.18), transparent 35%),
    var(--bg-card);
  border-color: rgba(69, 69, 69, 0.9);
  clip-path: polygon(0 0, calc(100% - 17px) 0, 100% 17px, 100% 100%, 17px 100%, 0 calc(100% - 17px));
}

.card::after,
.game-card::after,
.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 17px;
  width: 42px;
  height: 3px;
  background: var(--color-amber);
  pointer-events: none;
}

.card:hover,
.card:focus-visible,
.card--link:hover,
.card--link:focus-visible,
.game-card:hover,
.game-card:focus-visible {
  border-color: var(--color-amber);
  box-shadow: 8px 8px 0 rgba(69, 69, 69, 0.16);
  transform: translate(-2px, -2px);
}

.card__icon {
  border-radius: 2px;
  background: var(--color-armor-gray);
  color: var(--color-amber);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}

.card:hover .card__icon {
  background: var(--color-amber);
  color: var(--color-stealth-black);
  box-shadow: none;
}

.stats {
  background: var(--color-armor-gray);
  border-color: var(--color-armor-gray);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.stat {
  position: relative;
  background: var(--color-charcoal);
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--color-amber);
}

.stat:hover {
  background: #34393e;
}

.stat__value .accent,
.price-card--featured .price-card__amount {
  color: var(--color-amber);
}

.price-card--featured {
  border-color: var(--color-tuf-accent);
}

.badge {
  border-radius: 1px;
  background: var(--color-amber);
  color: var(--color-stealth-black);
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}

.badge--outline {
  background: transparent;
  color: var(--color-amber);
  border-color: var(--color-armor-gray);
}

.status__dot {
  border-radius: 1px;
  background: var(--color-amber);
  animation: none;
  transform: rotate(45deg);
}

.section-head {
  padding-left: 18px;
  border-left: 2px solid var(--color-armor-gray);
}

.section-head::after {
  left: 18px;
  width: 88px;
  height: 2px;
  animation: none;
  background: var(--color-amber);
}

.input,
.select,
.textarea,
.platform-switch,
.genre-btn,
.nav__toggle,
.socials a {
  border-radius: 2px;
}

.input,
.select,
.textarea {
  background: #171717;
  border-color: var(--color-armor-gray);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--color-amber);
  box-shadow: inset 4px 0 0 var(--color-amber);
}

.platform-switch__btn,
.genre-btn {
  border-radius: 1px;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.platform-switch__btn.is-active,
.genre-btn.is-active {
  color: var(--color-stealth-black);
  background: var(--color-amber);
  border-color: var(--color-amber);
  box-shadow: none;
}

.genre-btn:hover {
  color: var(--color-amber);
  border-color: var(--color-amber);
}

.cta-band {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(69, 69, 69, 0.3), transparent 50%),
    var(--bg-card);
}

.cta-band::before {
  content: "";
  position: absolute;
  left: -28px;
  bottom: -34px;
  width: 150px;
  height: 90px;
  background: repeating-linear-gradient(135deg, var(--color-amber) 0 8px, transparent 8px 16px);
  opacity: 0.13;
}

.cta-band:hover {
  border-color: var(--color-amber);
  box-shadow: none;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(69, 69, 69, 0.18), transparent 38%),
    #212121;
  border-top: 2px solid var(--color-armor-gray);
}

.footer-col__title {
  color: var(--color-amber);
  letter-spacing: 0.12em;
}

.socials a:hover {
  color: var(--color-amber);
  background: #000;
  border-color: var(--color-amber);
  box-shadow: none;
}

@media (max-width: 1100px) {
  body {
    padding-top: 72px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000;
    isolation: isolate;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Covers the rubber-band area Safari can expose above a fixed header. */
  .site-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: max(100px, env(safe-area-inset-top));
    background: #000;
    pointer-events: none;
  }

  .nav__links.is-open {
    top: 100%;
    background:
      linear-gradient(135deg, rgba(69, 69, 69, 0.16), transparent 50%),
      var(--color-obsidian);
    border-bottom-color: var(--color-amber);
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.98));
  }

  .hero__content {
    width: calc(100% - 44px);
    padding-left: 18px;
    padding-right: 20px;
  }

  .hero__visual::before,
  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .display {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 52px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .hero__content {
    padding-left: 14px;
  }

  .hero__sub,
  .status__help {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__title {
    letter-spacing: -0.035em;
  }

  .hero__meta .status {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
  }

  .hero__meta .status__help {
    grid-column: 2;
  }
}

/* ================================================================
   32. Motion & live interface system
   ================================================================ */
.scroll-progress{position:fixed;inset:0 0 auto;z-index:120;height:3px;background:var(--color-amber);transform:scaleX(0);transform-origin:left center;pointer-events:none;box-shadow:0 0 12px rgba(255,158,27,.45)}
.motion-reveal{opacity:0;transform:translateY(24px);transition:opacity .65s var(--ease) var(--reveal-delay,0ms),transform .65s var(--ease) var(--reveal-delay,0ms)}
.motion-reveal.is-revealed{opacity:1;transform:translateY(0)}
.page-transition{position:fixed;inset:0;z-index:200;display:grid;place-items:center;overflow:hidden;background:#000;pointer-events:none;opacity:1;transition:opacity .32s var(--ease)}
.page-ready .page-transition{opacity:0}.page-transition__line{width:100%;height:2px;background:var(--color-amber);transform:translateX(-105%);box-shadow:0 0 20px rgba(255,158,27,.8);animation:transition-scan .55s var(--ease) both}
.is-leaving .page-transition{opacity:1;pointer-events:auto;transition-duration:.18s}.is-leaving .page-transition__line{animation:transition-scan .24s linear both}
@keyframes transition-scan{to{transform:translateX(105%)}}
.card-scan{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none;clip-path:inherit}.card-scan::before{content:"";position:absolute;top:-20%;bottom:-20%;left:-35%;width:24%;background:linear-gradient(90deg,transparent,rgba(255,158,27,.2),transparent);transform:skewX(-16deg);transition:left .65s var(--ease)}
.card:hover .card-scan::before,.game-card:hover .card-scan::before{left:115%}
.card::before,.game-card::before{content:"SYS-" var(--card-index,"00");position:absolute;right:10px;bottom:7px;z-index:4;color:rgba(255,158,27,.38);font:700 9px/1 var(--font-sans);letter-spacing:.12em;pointer-events:none}
.game-card__banner img{transition:transform .6s var(--ease),filter .35s var(--ease)}.game-card:hover .game-card__banner img{transform:scale(1.055);filter:saturate(1.08) contrast(1.04)}
.stat{position:relative;overflow:hidden}.stat::after{content:"";position:absolute;left:12%;right:100%;bottom:0;height:2px;background:var(--color-amber);transition:right .75s var(--ease)}.stat.is-counted::after{right:12%}
.hero__art{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transform-style:preserve-3d;transition:transform .28s var(--ease);will-change:transform}
.hero-telemetry{position:absolute;top:8%;right:2%;z-index:4;display:grid;gap:5px;min-width:132px;padding:10px 12px;color:#bcbcbc;border:1px solid rgba(255,158,27,.48);background:rgba(0,0,0,.76);backdrop-filter:blur(7px);font:700 10px/1.2 var(--font-sans);letter-spacing:.1em;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.hero-telemetry span{display:flex;justify-content:space-between;gap:16px}.hero-telemetry .hero-telemetry__value{display:inline-flex;justify-content:flex-end;gap:4px;white-space:nowrap}.hero-telemetry b{color:var(--color-amber);font-variant-numeric:tabular-nums}.hero-telemetry::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 0 42%,rgba(255,158,27,.12) 50%,transparent 58%);animation:hud-scan 3.2s linear infinite;pointer-events:none}
@keyframes hud-scan{from{transform:translateY(-100%)}to{transform:translateY(100%)}}
/* ----------------------------------------------------------------
   Grand Opening Countdown — full-panel statement section
   ---------------------------------------------------------------- */
.opening-countdown {
  position: relative;
  z-index: 4;
  padding: 88px 0 76px;
  background: #010101;
  overflow: hidden;
  text-align: center;
}

/* Glowing amber top line */
.opening-countdown::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--color-ember-orange) 25%, var(--color-ember-orange) 75%, transparent 100%);
  box-shadow: 0 0 32px rgba(255, 158, 27, 0.7), 0 0 80px rgba(255, 158, 27, 0.25);
  z-index: 2;
}

/* Faint bottom border */
.opening-countdown::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 158, 27, 0.18) 30%, rgba(255, 158, 27, 0.18) 70%, transparent);
  z-index: 2;
}

.opening-countdown__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Radial amber corona */
.opening-countdown__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1100px, 130vw);
  height: min(620px, 100%);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(255, 158, 27, 0.14) 0%,
    rgba(255, 158, 27, 0.06) 35%,
    transparent 65%
  );
  animation: oc-pulse 4.5s ease-in-out infinite;
}

@keyframes oc-pulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.13); }
}

/* Fine grid lines */
.opening-countdown__grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255, 158, 27, 0.026) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg,  rgba(255, 158, 27, 0.026) 0 1px, transparent 1px 80px);
}

/* Scanline texture */
.opening-countdown__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.09) 3px 6px);
}

.opening-countdown .container { position: relative; z-index: 2; }

.opening-countdown__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Angular badge */
.opening-countdown__badge {
  display: inline-block;
  font: 700 10px/1 var(--font-sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-ember-orange);
  border: 1px solid rgba(255, 158, 27, 0.32);
  padding: 9px 24px;
  clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
  margin-bottom: 26px;
}

.opening-countdown__title {
  font: 700 clamp(28px, 4.4vw, 52px)/1.1 var(--font-condensed);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 52px;
}

/* The clock row */
.opening-countdown__clock {
  display: flex;
  align-items: flex-start;
  margin: 0 0 32px;
}

.opening-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 48px 32px;
  position: relative;
  background: rgba(255, 158, 27, 0.022);
  border: 1px solid rgba(255, 158, 27, 0.1);
  border-right: none;
}

.opening-unit:last-child { border-right: 1px solid rgba(255, 158, 27, 0.1); }

/* Days unit: glowing top accent */
.opening-unit:first-child {
  border-top: 2px solid var(--color-ember-orange);
  box-shadow: 0 -8px 40px rgba(255, 158, 27, 0.28);
}

/* The big number */
.opening-unit b {
  display: block;
  font: 900 clamp(64px, 9.5vw, 120px)/1 var(--font-condensed);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--color-ember-orange);
  text-shadow:
    0 0 28px rgba(255, 158, 27, 0.5),
    0 0 80px rgba(255, 158, 27, 0.18);
  min-width: 1.55ch;
  text-align: center;
}

/* The label */
.opening-unit span {
  font: 700 9px/1 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.24);
}

/* Blinking colon separator */
.opening-countdown__sep {
  font: 700 clamp(48px, 6.5vw, 88px)/1 var(--font-condensed);
  color: rgba(255, 158, 27, 0.22);
  padding-top: 40px;
  flex-shrink: 0;
  animation: oc-blink 1s step-end infinite;
  user-select: none;
}

@keyframes oc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.06; }
}

/* Date below clock */
.opening-countdown__date {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  margin: 0 0 40px;
}

/* CTA button */
.opening-countdown__cta {
  padding: 15px 56px;
  font-size: 15px;
  letter-spacing: 0.09em;
}

@media (max-width: 820px) {
  .opening-unit { padding: 28px 28px 22px; gap: 12px; }
  .opening-countdown__sep { padding-top: 28px; }
}

@media (max-width: 580px) {
  .opening-countdown { padding: 56px 0 52px; }
  .opening-countdown__title { margin-bottom: 32px; }
  .opening-unit { padding: 18px 14px 16px; gap: 10px; }
  .opening-countdown__sep { padding-top: 18px; }
}
.live-strip{position:relative;z-index:5;border-block:1px solid rgba(255,158,27,.25);background:#080808}.live-strip__grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);min-height:98px}
.live-strip__lead,.live-metric{display:flex;align-items:center;gap:14px;padding:20px 24px;border-right:1px solid rgba(69,69,69,.8)}.live-metric:last-child{border-right:0}
.live-strip__lead b,.live-strip__lead span,.live-metric span,.live-metric strong{display:block}.live-strip__lead b{color:var(--color-amber);font:700 11px/1 var(--font-sans);letter-spacing:.13em}
.live-strip__lead div>span,.live-metric>span{margin-top:6px;color:var(--text-faint);font-size:13px;line-height:1.25}.live-metric{justify-content:space-between}.live-metric strong{color:var(--text-primary);font:700 clamp(28px,2.8vw,34px)/.92 var(--font-condensed);text-align:right;letter-spacing:0}.live-metric strong small{color:var(--text-faint);font:600 14px/1 var(--font-sans)}.live-metric--muted strong{color:var(--color-amber);font-size:clamp(22px,2.2vw,28px);font-variant-numeric:tabular-nums}
.live-dot{display:inline-block;width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--color-amber);box-shadow:0 0 0 0 rgba(255,158,27,.55);animation:live-pulse 1.8s ease-out infinite}
@keyframes live-pulse{70%{box-shadow:0 0 0 9px rgba(255,158,27,0)}100%{box-shadow:0 0 0 0 rgba(255,158,27,0)}}
.game-ticker{overflow:hidden;border-block:1px solid rgba(69,69,69,.55);background:linear-gradient(90deg,#000,transparent 15% 85%,#000),#0a0a0a}.game-ticker__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:18px}.game-ticker__head .eyebrow{margin-bottom:0}.game-ticker__viewport{overflow:hidden;padding-bottom:24px}
.game-ticker__track{display:flex;width:max-content;gap:12px;animation:ticker-run 34s linear infinite;will-change:transform}.game-ticker__viewport:hover .game-ticker__track{animation-play-state:paused}
.game-ticker__item{position:relative;width:230px;height:108px;flex:0 0 auto;overflow:hidden;border:1px solid #34383c;background:#111;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));cursor:pointer;padding:0;color:inherit;font:inherit;text-align:left}
.game-ticker__item img{width:100%;height:100%;object-fit:cover;opacity:.72;transition:opacity .25s,transform .45s var(--ease)}.game-ticker__item span{position:absolute;inset:auto 0 0;padding:20px 12px 10px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.92));font:700 14px/1.1 var(--font-condensed);letter-spacing:.04em;text-transform:uppercase}
.game-ticker__item:hover{border-color:var(--color-amber)}.game-ticker__item:hover img{opacity:1;transform:scale(1.045)}
@keyframes ticker-run{to{transform:translateX(calc(-50% - 6px))}}
.zone-console{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);min-height:490px;overflow:hidden;border:1px solid rgba(69,69,69,.95);background:#111;clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px))}
.zone-console__tabs{position:absolute;z-index:4;display:flex;gap:4px;margin:18px;padding:4px;background:rgba(0,0,0,.82);border:1px solid #454545}.zone-console__tab{min-width:96px;padding:10px 14px;color:#8e8e8e;font:700 12px/1 var(--font-sans);letter-spacing:.08em}.zone-console__tab:hover,.zone-console__tab.is-active{color:#000;background:var(--color-amber)}
.zone-console__media{position:relative;min-height:490px;overflow:hidden}.zone-console__media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 45%,#111 100%);pointer-events:none}.zone-console__media img{width:100%;height:100%;object-fit:cover;transition:opacity .18s,transform .6s var(--ease)}
.zone-console__body{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,60px);transition:opacity .16s,transform .16s}.zone-console.is-switching .zone-console__body,.zone-console.is-switching .zone-console__media img{opacity:.15;transform:translateX(8px)}
.zone-console__code{margin-bottom:16px;color:var(--color-amber);font:700 11px/1 var(--font-sans);letter-spacing:.14em}.zone-console__body h3{max-width:360px;margin-bottom:16px;color:#fff;font:700 clamp(32px,4vw,50px)/.95 var(--font-condensed)}.zone-console__body p{color:#a5a5a5;line-height:1.55}
.zone-console__specs{display:flex;flex-wrap:wrap;gap:8px;margin-block:24px 32px}.zone-console__specs span{padding:7px 9px;color:#bcbcbc;border:1px solid #454545;font:700 10px/1 var(--font-sans);letter-spacing:.08em}.zone-console__foot{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto}.zone-console__foot strong{color:var(--color-amber);font:700 clamp(42px,5.4vw,58px)/.9 var(--font-condensed)}.zone-console__foot small{color:#8e8e8e;font:600 13px/1 var(--font-sans)}
.event-console__panel{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:36px;padding:24px 28px;border:1px solid rgba(255,158,27,.4);background:linear-gradient(115deg,rgba(255,158,27,.08),transparent 42%),#0c0c0c;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px))}
.event-console__copy .eyebrow{margin-bottom:8px}.event-console__copy h2{color:#fff;font:700 28px/1 var(--font-condensed)}.event-console__copy p{display:flex;align-items:center;gap:9px;margin-top:9px;color:#8e8e8e;font-size:13px}
.event-console__countdown{display:flex;gap:5px}.event-console__countdown>span{display:grid;min-width:62px;padding:10px;text-align:center;border:1px solid #34383c;background:#000}.event-console__countdown b{color:var(--color-amber);font:700 24px/1 var(--font-condensed);font-variant-numeric:tabular-nums}.event-console__countdown small{margin-top:5px;color:#8e8e8e;font-size:9px;text-transform:uppercase}
@media(max-width:900px){.live-strip__grid{grid-template-columns:1fr 1fr}.live-strip__lead,.live-metric{border-bottom:1px solid rgba(69,69,69,.8)}.zone-console{grid-template-columns:1fr}.zone-console__media{min-height:340px}.zone-console__media::after{background:linear-gradient(180deg,transparent 55%,#111 100%)}.zone-console__body{min-height:390px}.event-console__panel{grid-template-columns:1fr}.event-console__panel>.btn{justify-self:start}}
@media(max-width:720px){.motion-reveal{opacity:1;transform:none;transition:none}.hero-telemetry{display:none}.game-ticker__track{animation-duration:42s}.game-ticker__viewport{overflow:hidden}.card-scan{display:none}.stat::after{transition-duration:.35s}}
@media(max-width:600px){.live-strip__grid{grid-template-columns:1fr}.live-strip__lead,.live-metric{border-right:0}.live-metric{align-items:flex-start;flex-direction:column;gap:4px}.live-metric strong{text-align:left}.game-ticker__head{display:block}.game-ticker__head .eyebrow{margin-bottom:8px}.game-ticker__item{width:190px;height:90px}.zone-console__tabs{margin:10px}.zone-console__media{min-height:260px}.zone-console__body{min-height:370px;padding:28px 20px}.zone-console__foot{align-items:flex-start;flex-direction:column}.event-console__panel{padding:22px 18px;gap:22px}.event-console__countdown{width:100%}.event-console__countdown>span{min-width:0;flex:1;padding:9px 5px}}
@media(prefers-reduced-motion:reduce){.motion-reveal{opacity:1;transform:none;transition:none}.game-ticker__track,.hero-telemetry::after,.live-dot,.page-transition__line{animation:none!important}.game-ticker__viewport{overflow-x:auto}.page-transition{display:none}.hero__art{transform:none!important}}

/* ----------------------------------------------------------------
   33. Game popup modal
   ---------------------------------------------------------------- */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: gm-fade-in 0.18s ease both;
}
.game-modal[hidden] { display: none; }

@keyframes gm-fade-in { from { opacity: 0; } to { opacity: 1; } }

.game-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.game-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(860px, 100%);
  max-height: min(90svh, 90vh);
  background: var(--color-obsidian);
  border: 1px solid var(--color-steel);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  animation: gm-panel-in 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gm-panel-in {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* Media section — 16:9, max 320px tall */
.game-modal__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  background: #000;
  overflow: hidden;
}

/* Top amber accent line */
.game-modal__media::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-ember-orange) 0%, transparent 55%);
  z-index: 4;
  pointer-events: none;
}

/* Bottom vignette on media */
.game-modal__media::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  z-index: 3;
  pointer-events: none;
}

/* Fallback abbr — shown when no image */
.game-modal__cover-abbr {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-condensed);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.09);
  background: hsl(var(--gm-hue, 220) 40% 8%);
  z-index: 0;
}

/* Main image / video container */
.game-modal__media-main {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.game-modal__media-main img,
.game-modal__media-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-modal__media-main video { object-fit: contain; background: #000; }

/* Thumbnail + trailer bar */
.game-modal__media-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 7px 12px;
  background: #080808;
  border-top: 1px solid rgba(69,69,69,0.55);
  scrollbar-width: thin;
  scrollbar-color: var(--color-steel) transparent;
}

.game-modal__media-bar:empty { display: none; }
.game-modal__media-bar::-webkit-scrollbar { height: 3px; }
.game-modal__media-bar::-webkit-scrollbar-thumb { background: var(--color-steel); }

.game-modal__thumb {
  flex-shrink: 0;
  width: 114px;
  height: 64px;
  object-fit: cover;
  border: 1px solid rgba(69,69,69,0.7);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s;
  display: block;
}

.game-modal__thumb:hover { opacity: 0.9; }

.game-modal__thumb.is-active {
  opacity: 1;
  border-color: var(--color-ember-orange);
  box-shadow: 0 0 0 1px var(--color-ember-orange);
}

.game-modal__trailer-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  height: 64px;
  background: rgba(255, 158, 27, 0.07);
  border: 1px solid rgba(255, 158, 27, 0.35);
  color: var(--color-ember-orange);
  font: 700 10px/1 var(--font-condensed);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.game-modal__trailer-btn:hover {
  background: rgba(255, 158, 27, 0.14);
  border-color: var(--color-ember-orange);
}

.game-modal__trailer-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.game-modal__trailer-btn.is-active {
  background: rgba(255, 158, 27, 0.18);
  border-color: var(--color-ember-orange);
}

/* Content body */
.game-modal__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 24px 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-steel) transparent;
}

.game-modal__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.game-modal__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-condensed);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--color-steel);
  color: var(--text-muted);
  line-height: 1;
}

.game-modal__tag svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-modal__tag--genre {
  color: var(--color-ember-orange);
  border-color: rgba(255, 158, 27, 0.4);
  background: rgba(255, 158, 27, 0.06);
}

.game-modal__title {
  font-family: var(--font-condensed);
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.05;
  margin: 0;
}

.game-modal__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-modal__desc:empty { display: none; }

.game-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 2px;
  margin-top: auto;
}

/* Close button */
.game-modal__close {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--color-steel);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.game-modal__close:hover,
.game-modal__close:focus-visible {
  color: var(--text-primary);
  border-color: var(--color-ember-orange);
  outline: none;
}

.game-modal__close svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

/* Mobile — bottom sheet */
@media (max-width: 580px) {
  .game-modal { padding: 0; align-items: flex-end; }
  .game-modal__panel {
    width: 100%;
    max-height: 94svh;
    clip-path: none;
    border-bottom: 0;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    animation: gm-sheet-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes gm-sheet-in {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: none; }
  }
  .game-modal__media { max-height: 210px; }
  .game-modal__body { padding: 14px 16px 28px; }
  .game-modal__thumb { width: 90px; height: 50px; }
  .game-modal__trailer-btn { height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .game-modal, .game-modal__panel { animation: none; }
}

/* ---- Game modal YouTube embed ---- */
.game-modal__youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Hero background video ---- */
.hero__video, .page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.hero__video.is-ready { opacity: 0.58; }
.page-hero__video.is-ready { opacity: 0.26; }

@media (prefers-reduced-motion: reduce) {
  .hero__video, .page-hero__video { display: none; }
}
