/* ==========================================================================
   CyberX Sim Racing (/cyberracing) — Full-Page CyberX Storytelling Design
   Palette extracted directly from CyberX Moscow's real club atmosphere:
     Deep Void (#07080D), Anodized Graphite (#0E1019), Smoked Glass,
     Motorsport Crimson (#E8253A), Electric Cobalt LED (#2E6BFF), Alabaster (#F2F4F8)
   Typography: Unbounded (Cyrillic+Latin wide display) + Onest (Cyrillic+Latin UI)
   ========================================================================== */

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/foundry/unbounded-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/foundry/unbounded-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  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: "Onest";
  src: url("/fonts/foundry/onest-cyrillic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/foundry/onest-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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;
}

/* ── Root Tokens & Page Canvas ──────────────────────────────────────────── */
body.page-racing {
  --void: #07080d;
  --surface: #0e101a;
  --surface-2: #131726;
  --glass: rgba(13, 16, 27, 0.74);
  --glass-strong: rgba(16, 20, 34, 0.86);
  --crimson: #e8253a;
  --crimson-hi: #ff3a50;
  --crimson-soft: rgba(232, 37, 58, 0.22);
  --cobalt: #2e6bff;
  --cobalt-hi: #6da0ff;
  --cobalt-soft: rgba(46, 107, 255, 0.18);
  --light: #f2f4f8;
  --text-body: rgba(242, 244, 248, 0.84);
  --text-cap: rgba(242, 244, 248, 0.8);
  --text-muted: rgba(242, 244, 248, 0.58);
  --line: rgba(242, 244, 248, 0.11);
  --line-strong: rgba(242, 244, 248, 0.2);
  --line-cap: rgba(242, 244, 248, 0.36);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --u: min(calc(100vw / 1440), calc(100vh / 810));
  --s: calc(100vw / 1440);
  --mb: 0px;

  --display: "Unbounded", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;

  background: var(--void);
  color: var(--light);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: none;
  margin: 0;
}

body.page-racing,
body.page-racing * {
  box-sizing: border-box;
}

body.page-racing a {
  color: inherit;
  text-decoration: none;
}

body.page-racing main#main {
  padding-top: 0;
}

body.page-racing .ef-page {
  position: relative;
  width: 100%;
  background: var(--void);
  color: var(--light);
  overflow-x: clip;
}

.ef-page h1,
.ef-page h2,
.ef-page h3,
.ef-page h4,
.ef-page h5 {
  letter-spacing: 0.02em;
  word-spacing: 0.09em;
}

/* ── Persistent CyberX Cinematic Header (Real Official CyberX Logo) ─────── */
body.page-racing .site-header.ef-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: calc(82 * var(--u));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(32 * var(--u)) 0 calc(28 * var(--u));
  background: linear-gradient(to bottom, rgba(7, 8, 13, 0.68) 0%, rgba(7, 8, 13, 0) 100%);
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transform: translateZ(0);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

body.page-racing .site-header.ef-nav.is-scrolled {
  background: rgba(7, 8, 13, 0.84);
  border-bottom-color: rgba(242, 244, 248, 0.1);
  backdrop-filter: blur(18px);
}

body.page-racing .ef-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

body.page-racing .ef-logo:hover {
  opacity: 0.82;
}

body.page-racing .ef-logo img {
  height: max(28px, calc(32 * var(--u)));
  width: auto;
  display: block;
  object-fit: contain;
}

body.page-racing .ef-logo-tag {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(46, 107, 255, 0.38);
  background: rgba(46, 107, 255, 0.14);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cobalt-hi);
  white-space: nowrap;
}

body.page-racing .ef-nav-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

body.page-racing .ef-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: calc(44 * var(--u));
}

body.page-racing .ef-nav-links li {
  overflow: hidden;
}

body.page-racing .ef-nav-links a {
  display: inline-block;
  padding: 6px 0;
  white-space: nowrap;
  font-family: var(--body);
  font-size: max(11px, calc(12 * var(--u)));
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--light);
  opacity: 0.9;
  transition: opacity 0.25s ease, color 0.25s ease;
}

body.page-racing .ef-nav-links a:hover {
  opacity: 1;
  color: var(--cobalt-hi);
}

body.page-racing .ef-nav-links a:focus-visible,
body.page-racing .ef-logo:focus-visible,
body.page-racing .ef-menu-btn:focus-visible {
  outline: 1px solid var(--crimson);
  outline-offset: 5px;
  border-radius: 4px;
}

body.page-racing .ef-nav-right {
  display: none;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

body.page-racing .ef-nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff475b;
  white-space: nowrap;
  transition: opacity 0.25s ease, color 0.25s ease;
}

body.page-racing .ef-nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1.5px;
  background: rgba(255, 71, 91, 0.68);
  transition: background 0.25s ease;
}

body.page-racing .ef-nav-cta:hover {
  color: #ffffff;
}

body.page-racing .ef-nav-cta:hover::after {
  background: var(--crimson-hi);
}

body.page-racing.menu-open .ef-nav-cta {
  opacity: 0;
  pointer-events: none;
}

body.page-racing .menu-toggle.ef-menu-btn {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  width: 34px;
  height: 36px;
  padding: 0 2px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

body.page-racing .menu-toggle.ef-menu-btn:hover {
  opacity: 0.85;
}

body.page-racing .menu-toggle.ef-menu-btn span {
  display: block;
  width: 24px;
  height: 1.8px;
  min-height: 1.8px;
  margin: 0;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--light);
  transition: transform 0.3s var(--ease-out), width 0.26s var(--ease-out), background 0.25s ease;
}

body.page-racing .menu-toggle.ef-menu-btn span:last-child {
  width: 16px;
}

body.page-racing .menu-toggle.ef-menu-btn:hover span:last-child {
  width: 24px;
  background: var(--crimson-hi);
}

body.page-racing .menu-toggle.ef-menu-btn[aria-expanded="true"] span:first-child {
  width: 22px;
  background: #ffffff;
  transform: translateY(4.4px) rotate(45deg);
}

body.page-racing .menu-toggle.ef-menu-btn[aria-expanded="true"] span:last-child {
  width: 22px;
  background: var(--crimson-hi);
  transform: translateY(-4.4px) rotate(-45deg);
}

body.page-racing .ef-nav.pre .ef-nav-links a {
  opacity: 0;
}

/* ── Fullscreen Editorial Motorsport Navigation Sheet ───────────────────── */
body.page-racing .mobile-menu.ef-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 92px clamp(18px, 5vw, 72px) 36px;
  background:
    radial-gradient(ellipse at 14% 12%, rgba(232, 37, 58, 0.18), transparent 46%),
    radial-gradient(ellipse at 86% 86%, rgba(46, 107, 255, 0.16), transparent 48%),
    rgba(6, 7, 12, 0.96);
  backdrop-filter: blur(26px) saturate(1.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.985);
  transition: opacity 0.34s var(--ease-out), transform 0.38s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.page-racing .mobile-menu.ef-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

body.page-racing .ef-drawer-inner {
  width: min(100%, 860px);
  margin: auto 0;
  display: grid;
  gap: 22px;
}

body.page-racing .ef-drawer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

body.page-racing .ef-drawer-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--crimson-hi), var(--cobalt-hi));
}

body.page-racing .ef-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
}

body.page-racing .ef-drawer-list li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s var(--ease-out) calc(var(--i, 0) * 38ms), transform 0.45s var(--ease-out) calc(var(--i, 0) * 38ms);
}

body.page-racing .mobile-menu.ef-drawer.open .ef-drawer-list li {
  opacity: 1;
  transform: none;
}

body.page-racing .ef-drawer-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(242, 244, 248, 0.09);
  color: var(--light);
  transition: border-color 0.25s ease, color 0.25s ease, padding-left 0.28s var(--ease-out);
}

body.page-racing .ef-drawer-list a b {
  font-family: var(--display);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.2;
  color: #ffffff;
}

body.page-racing .ef-drawer-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

body.page-racing .ef-drawer-meta em {
  font-style: normal;
  font-family: var(--body);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

body.page-racing .ef-drawer-meta i {
  font-style: normal;
  font-size: 14px;
  color: var(--crimson-hi);
  transition: transform 0.25s var(--ease-out);
}

body.page-racing .ef-drawer-list a:hover {
  border-bottom-color: rgba(255, 58, 80, 0.65);
  padding-left: 8px;
}

body.page-racing .ef-drawer-list a:hover b {
  color: #ffffff;
}

body.page-racing .ef-drawer-list a:hover .ef-drawer-meta i {
  transform: translate(2px, -2px);
}

body.page-racing .ef-drawer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 6px;
}

body.page-racing .ef-drawer-actions .ef-btn {
  width: 100%;
  justify-content: space-between;
  text-align: left;
}

/* ── Desktop Storytelling Chapter Progress Rail ─────────────────────────── */
.cx-chapter-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 999px;
  background: rgba(9, 11, 19, 0.62);
  border: 1px solid rgba(242, 244, 248, 0.1);
  backdrop-filter: blur(12px);
}

.cx-rail-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.cx-rail-dot i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(242, 244, 248, 0.34);
  transition: transform 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
}

.cx-rail-dot:hover i {
  background: var(--cobalt-hi);
  transform: scale(1.4);
}

.cx-rail-dot.is-active i {
  background: var(--crimson-hi);
  transform: scale(1.55);
  box-shadow: 0 0 12px rgba(232, 37, 58, 0.75);
}

.cx-rail-num,
.cx-rail-label {
  position: absolute;
  right: 36px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

.cx-rail-num {
  display: none;
}

.cx-rail-label {
  font-style: normal;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(12, 15, 25, 0.92);
  border: 1px solid var(--line-strong);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
}

.cx-rail-dot:hover .cx-rail-label {
  opacity: 1;
  transform: none;
}

@media (max-width: 1280px) {
  .cx-chapter-rail {
    display: none;
  }
}

/* ==========================================================================
   OPENING 3-STATE CINEMATIC CYBERX THEATER (HERO -> ARENA -> SELECT HALL)
   ========================================================================== */
.ef-theater {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  background: var(--void);
  overflow: hidden;
}

.ef-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--void);
  user-select: none;
}

.ef-story-picture {
  display: contents;
}

.ef-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform-origin: center;
  pointer-events: none;
}

.ef-plate-h1 {
  z-index: 1;
}

@media (orientation: portrait) {
  .ef-plate-h1 {
    object-position: 54% center;
  }
}

.ef-plate-s2 {
  z-index: 1;
  opacity: 0;
}

.ef-stage.is-s2 .ef-plate-s2 {
  opacity: 1;
}

.ef-camera-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(46, 107, 255, 0.11) 5%, rgba(232, 37, 58, 0.06) 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
}

.ef-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 8, 13, 0.78) 0%,
    rgba(7, 8, 13, 0.24) 22%,
    rgba(7, 8, 13, 0) 38%,
    rgba(7, 8, 13, 0) 70%,
    rgba(7, 8, 13, 0.72) 100%
  );
}

/* Low-profile Forged Carbon Foreground + Giant CYBERX Word BELOW the Cockpits */
.ef-fg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: calc(810 * var(--s));
  overflow: hidden;
  pointer-events: none;
}

.ef-word {
  position: absolute;
  left: 27%;
  transform: translateX(-50%);
  top: calc(592 * var(--s));
  font-family: var(--display);
  font-weight: 700;
  font-size: calc(110 * var(--s));
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(242, 244, 248, 0.94);
  white-space: nowrap;
  z-index: 1;
  text-shadow: 0 12px 44px rgba(7, 8, 13, 0.65);
}

.ef-word > span {
  display: inline-block;
}

.ef-word i {
  display: inline-block;
  font-style: normal;
  will-change: transform, opacity;
}

.ef-mounds {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(810 * var(--s) * 0.44 + var(--mb));
  object-fit: fill;
  opacity: 0.72;
  z-index: 2;
  will-change: transform;
}

.ef-mound-l {
  clip-path: inset(0 50% 0 0);
}

.ef-mound-r {
  clip-path: inset(0 0 0 50%);
}

/* Telemetry Glyph Column */
.ef-glyphs {
  position: absolute;
  left: calc(32 * var(--u));
  top: calc(208 * var(--u));
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: calc(13.5 * var(--u));
  color: rgba(242, 244, 248, 0.72);
  pointer-events: none;
}

.ef-glyphs svg {
  width: max(11px, calc(16 * var(--u)));
  height: max(11px, calc(16 * var(--u)));
  display: block;
}

/* State 1: Hero */
.ef-h1 {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.ef-h1-title {
  position: absolute;
  left: calc(38 * var(--u));
  top: calc(90 * var(--u));
  max-width: calc(1040 * var(--u));
  margin: 0;
  overflow: hidden;
  padding-bottom: 0.08em;
  font-family: var(--display);
  font-weight: 600;
  font-size: calc(29 * var(--u));
  line-height: 1.24;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: normal;
  color: var(--light);
  pointer-events: auto;
}

.ef-h1-title > span {
  display: block;
}

.ef-h1-body {
  position: absolute;
  left: calc(1164 * var(--u));
  top: calc(96 * var(--u));
  width: calc(242 * var(--u));
  margin: 0;
  overflow: hidden;
  font-family: var(--body);
  font-size: max(11.5px, calc(12.8 * var(--u)));
  font-weight: 400;
  line-height: 1.42;
  color: var(--text-body);
  pointer-events: auto;
}

.ef-h1-body > span {
  display: block;
}

.ef-video-card {
  position: absolute;
  left: calc(90 * var(--u));
  top: calc(202 * var(--u));
  width: calc(174 * var(--u));
  height: calc(118 * var(--u));
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background-color: var(--surface);
  border: 1px solid rgba(242, 244, 248, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  cursor: pointer;
  color: var(--light);
  pointer-events: auto;
  transition: border-color 0.35s ease, transform 0.45s var(--ease-out), box-shadow 0.35s ease;
}

.ef-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(7, 8, 13, 0.62) 0%, rgba(7, 8, 13, 0.18) 100%);
  transition: opacity 0.35s ease;
}

.ef-video-card:hover {
  border-color: var(--crimson-hi);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 48px rgba(232, 37, 58, 0.26);
}

.ef-video-card:hover::before {
  opacity: 0.65;
}

.ef-play-svg {
  position: relative;
  z-index: 1;
  width: max(18px, calc(26 * var(--u)));
  height: max(18px, calc(26 * var(--u)));
  transition: transform 0.4s var(--ease-out), color 0.3s ease;
}

.ef-video-card:hover .ef-play-svg {
  transform: scale(1.14);
  color: var(--crimson-hi);
}

.ef-video-pill {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(242, 244, 248, 0.85);
}

.ef-captions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: calc(46 * var(--u)) calc(38 * var(--u)) calc(24 * var(--u));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(28 * var(--u));
  background: linear-gradient(
    to top,
    rgba(7, 8, 13, 0.97) 0%,
    rgba(7, 8, 13, 0.88) 64%,
    rgba(7, 8, 13, 0) 100%
  );
  pointer-events: none;
}

.ef-cap {
  position: static;
  overflow: hidden;
  pointer-events: auto;
}

.ef-mi {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(5 * var(--u));
}

.ef-mi::before {
  content: "";
  width: 22px;
  height: 2px;
  margin-bottom: calc(3 * var(--u));
  border-radius: 999px;
  background: var(--crimson-hi);
}

.ef-cap--cobalt .ef-mi::before {
  background: var(--cobalt-hi);
}

.ef-cap-val {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: max(18px, calc(23 * var(--u)));
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #ffffff;
}

.ef-cap-label {
  display: block;
  font-family: var(--body);
  font-size: max(12.5px, calc(13.5 * var(--u)));
  font-weight: 500;
  line-height: 1.32;
  color: rgba(226, 234, 248, 0.88);
}

/* Club selection shares the second camera position with the shifters. */
.ef-room-picker {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  align-items: center;
  padding: clamp(72px, 10vh, 132px) 0 0 6vw;
  pointer-events: none;
}

.ef-room-picker__content {
  width: min(33vw, 700px);
}

.ef-room-picker > .ef-anchor {
  position: absolute;
  inset: 0 auto auto 0;
}

.ef-room-picker__title {
  margin: 0 0 clamp(20px, 3.2vh, 48px);
  color: var(--light);
  font: 600 clamp(28px, 3.2vw, 78px)/1.12 var(--display);
  letter-spacing: -0.045em;
}

.ef-room-picker__choices {
  display: grid;
  gap: clamp(8px, 1.2vh, 18px);
}

.ef-room-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: clamp(16px, 1.5vw, 36px);
  border: 1px solid rgba(226, 233, 255, 0.26);
  border-radius: 12px;
  background: rgba(15, 17, 26, 0.84);
  color: var(--light);
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.ef-room-card.is-selected-club {
  background: rgba(35, 21, 29, 0.91);
  border-color: rgba(255, 103, 119, 0.63);
}

.ef-room-card:hover,
.ef-room-card:focus-visible {
  border-color: var(--light);
  background: #232431;
}

.ef-room-card:focus-visible {
  outline: 2px solid var(--light);
  outline-offset: 3px;
}

.ef-room-card__copy {
  display: grid;
  gap: 6px;
}

.ef-room-card__copy strong {
  font: 550 clamp(17px, 1.5vw, 37px)/1.2 var(--display);
  letter-spacing: -0.025em;
}

.ef-room-card__copy > span {
  color: #c3c6d3;
  font: 450 clamp(12px, 0.95vw, 22px)/1.4 var(--body);
}

.ef-room-card__arrow {
  display: grid;
  flex: none;
  width: clamp(27px, 2.5vw, 55px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(226, 233, 255, 0.34);
  border-radius: 50%;
}

.ef-room-card__arrow svg {
  width: 44%;
  height: 44%;
}

.ef-room-picker__title,
.ef-room-card {
  opacity: 0;
}

.ef-stage.is-s2 .ef-room-picker {
  pointer-events: auto;
}

.ef-stage.is-s2 .ef-room-picker__title,
.ef-stage.is-s2 .ef-room-card {
  opacity: 1;
}

.ef-stage.is-s2 .ef-glyphs {
  opacity: 0;
}

.ef-stage.is-s2 .ef-shade {
  background: linear-gradient(to bottom, rgba(7, 8, 13, 0.65), transparent 25%, transparent 82%, rgba(7, 8, 13, 0.28));
}

@media (orientation: portrait) {
  .ef-room-picker {
    align-items: start;
    padding: max(86px, 12svh) max(16px, 4vw) 0;
  }

  .ef-room-picker__content {
    width: min(100%, 620px);
  }

  .ef-room-picker__title {
    margin-bottom: clamp(10px, 1.8svh, 22px);
    font-size: clamp(25px, 5vw, 43px);
  }

  .ef-room-card {
    min-height: 54px;
    padding: clamp(10px, 1.3svh, 18px) clamp(12px, 2.4vw, 20px);
  }

  .ef-room-card__copy { gap: 3px; }
}

@media (max-width: 480px) and (max-height: 680px) and (orientation: portrait) {
  .ef-room-picker { padding: 69px 14px 0; }
  .ef-room-picker__title { font-size: 23px; margin-bottom: 8px; }
  .ef-room-card { padding: 8px 11px; }
  .ef-room-card__copy strong { font-size: 15px; }
  .ef-room-card__copy > span { font-size: 11.5px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .ef-room-picker { align-items: center; padding: 48px 0 0 20px; }
  .ef-room-picker__content { width: 38vw; }
  .ef-room-picker__title { margin-bottom: 10px; font-size: clamp(20px, 3vw, 30px); }
  .ef-room-card { min-height: 48px; padding: 8px 10px; }
  .ef-room-card__copy { gap: 2px; }
  .ef-room-card__copy strong { font-size: 15px; }
  .ef-room-card__copy > span { font-size: 11px; }
}

/* Opening stage visibility */
.ef-stage.pre .ef-plate-h1 {
  transform: scale(1.24);
}

.ef-stage.pre .ef-fg,
.ef-stage.pre .ef-glyphs,
.ef-stage.pre .ef-h1 {
  opacity: 0;
}

.ef-stage.is-s2 .ef-h1,
.ef-stage.is-s2 .ef-fg {
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   FULL-PAGE STORYTELLING CHAPTER SYSTEM (DESKTOP + MOBILE)
   ========================================================================== */
.ef-catalog {
  position: relative;
  z-index: 6;
  background: var(--void);
}

.cx-chapter {
  position: relative;
  padding-block: clamp(64px, 6.8vw, 112px);
  scroll-margin-top: 64px;
  border-top: 1px solid rgba(242, 244, 248, 0.08);
  overflow: clip;
  isolation: isolate;
}

.cx-chapter-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cx-chapter-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  transform: scale(1.08);
  will-change: transform;
}

.cx-chapter--clubs .cx-chapter-bg {
  opacity: 0.24;
}

.cx-chapter--hardware .cx-chapter-bg {
  opacity: 0.56;
}

.cx-chapter--atmosphere .cx-chapter-bg {
  opacity: 0.28;
}

.cx-chapter--tariffs .cx-chapter-bg {
  opacity: 0.54;
}

.cx-chapter--games .cx-chapter-bg {
  opacity: 0.34;
  object-position: center 25%;
}

.cx-chapter--booking .cx-chapter-bg {
  opacity: 0.32;
}

.cx-chapter--paddock .cx-chapter-bg,
.cx-chapter--contact .cx-chapter-bg {
  opacity: 0.44;
}

.cx-chapter-veil {
  position: absolute;
  inset: 0;
}

.cx-chapter-veil--clubs {
  background:
    radial-gradient(ellipse at 18% 12%, rgba(46, 107, 255, 0.16), transparent 52%),
    radial-gradient(ellipse at 85% 88%, rgba(232, 37, 58, 0.13), transparent 50%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.94) 0%, rgba(7, 8, 13, 0.78) 45%, rgba(7, 8, 13, 0.96) 100%);
}

.cx-chapter-veil--hardware {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(46, 107, 255, 0.18), transparent 52%),
    radial-gradient(ellipse at 78% 82%, rgba(232, 37, 58, 0.16), transparent 52%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.9) 0%, rgba(7, 8, 13, 0.62) 48%, rgba(7, 8, 13, 0.94) 100%);
}

.cx-chapter-veil--atmosphere {
  background:
    radial-gradient(ellipse at 82% 20%, rgba(46, 107, 255, 0.16), transparent 52%),
    radial-gradient(ellipse at 18% 85%, rgba(232, 37, 58, 0.15), transparent 52%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.94) 0%, rgba(7, 8, 13, 0.74) 50%, rgba(7, 8, 13, 0.94) 100%);
}

.cx-chapter-veil--tariffs {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(46, 107, 255, 0.16), transparent 55%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.9) 0%, rgba(7, 8, 13, 0.56) 50%, rgba(7, 8, 13, 0.92) 100%);
}

.cx-chapter-veil--games {
  background:
    radial-gradient(ellipse at 82% 15%, rgba(232, 37, 58, 0.14), transparent 52%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.9) 0%, rgba(7, 8, 13, 0.78) 40%, rgba(7, 8, 13, 0.95) 100%);
}

.cx-chapter-veil--booking {
  background:
    radial-gradient(ellipse at 20% 70%, rgba(46, 107, 255, 0.12), transparent 55%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.92) 0%, rgba(7, 8, 13, 0.76) 50%, rgba(7, 8, 13, 0.94) 100%);
}

.cx-chapter-veil--paddock,
.cx-chapter-veil--contact {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(232, 37, 58, 0.12), transparent 56%),
    linear-gradient(to bottom, rgba(7, 8, 13, 0.92) 0%, rgba(7, 8, 13, 0.7) 52%, rgba(7, 8, 13, 0.94) 100%);
}

.cx-chapter--faq {
  background:
    radial-gradient(ellipse at 12% 30%, rgba(46, 107, 255, 0.08), transparent 48%),
    #090b12;
}

/* Giant Kinetic Depth Watermark (Hero Word Architectural Echo) */
.cx-depth-marquee {
  position: absolute;
  top: clamp(24px, 4.2vw, 68px);
  left: 50%;
  margin-left: -65vw;
  width: 130vw;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(54px, 9.6vw, 158px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(242, 244, 248, 0.036);
  -webkit-text-stroke: 1px rgba(109, 160, 255, 0.09);
  pointer-events: none;
  user-select: none;
  will-change: transform;
  z-index: 1;
}

.cx-chapter-inner {
  position: relative;
  z-index: 2;
}

/* Cursor-Tracking Specular Glass Spotlight (Desktop Fine Pointer) */
.cx-tilt-surface {
  position: relative;
}

.cx-tilt-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    540px circle at var(--mx, 50%) var(--my, 50%),
    rgba(66, 126, 255, 0.18) 0%,
    rgba(255, 58, 80, 0.1) 34%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.42s ease;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 4;
}

.cx-tilt-surface.is-lit::before {
  opacity: 1;
}

/* Scroll Storytelling Kinetic Reveals & Cinema Shutter-Wipe Photo Unmask */
.ef-page.is-story-animated .cx-story-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.ef-page.is-story-animated .cx-story-reveal.is-inview {
  opacity: 1;
  transform: none;
}

.cx-mask-heading {
  overflow: hidden;
  padding-bottom: 0.06em;
}

.cx-mask-heading > span {
  display: block;
}

.ef-page.is-story-animated .cx-story-reveal .cx-mask-heading > span {
  transform: translateY(105%);
  transition: transform 0.95s var(--ease-out);
}

.ef-page.is-story-animated .cx-story-reveal.is-inview .cx-mask-heading > span {
  transform: none;
}

.ef-page.is-story-animated .cx-story-card {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 0.85s var(--ease-out) calc(var(--stagger, 0) * 75ms),
    transform 0.85s var(--ease-out) calc(var(--stagger, 0) * 75ms),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.ef-page.is-story-animated .cx-story-card.is-inview {
  opacity: 1;
  transform: none;
}

/* Illuminated Motorsport Garage-Shutter Unmask (Zero Lazy-Image Clip Bugs) */
.cx-shutter-media {
  position: relative;
  overflow: hidden;
}

.ef-page.is-story-animated .cx-story-card .cx-shutter-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, #07080d 0%, #0d1120 96%, rgba(46, 107, 255, 0.85) 98%, rgba(255, 58, 80, 0.95) 100%);
  transform-origin: top center;
  transform: scaleY(1);
  pointer-events: none;
  transition: transform 0.95s var(--ease-out) calc(var(--stagger, 0) * 80ms), opacity 0.4s ease calc(var(--stagger, 0) * 80ms + 0.55s);
}

.ef-page.is-story-animated .cx-story-card.is-inview .cx-shutter-media::after {
  transform: scaleY(0);
  opacity: 0;
}

.ef-page.is-story-animated .cx-story-card:not(.is-inview) .cx-shutter-media img {
  transform: scale(1.09);
}

.ef-page.is-story-animated .cx-story-card.is-inview .cx-shutter-media img {
  transform: scale(1);
  transition: transform 1.05s var(--ease-out) calc(var(--stagger, 0) * 80ms);
}

.ef-page.is-story-animated .cx-atmo-card.is-inview:hover .cx-atmo-media img,
.ef-page.is-story-animated .ef-game-tile.is-inview:hover .ef-stage-poster {
  transform: scale(1.05);
  transition: transform 0.8s var(--ease-out);
}

/* Wrapper & Editorial Typography */
.ef-wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 3.2vw, 60px);
}

.ef-anchor {
  position: relative;
  top: -92px;
  display: block;
  height: 0;
}

.ef-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  max-width: 100%;
  overflow-wrap: break-word;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt-hi);
}

.ef-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 44px;
  margin-bottom: clamp(32px, 3.6vw, 54px);
}

.ef-section-title-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.2vw, 15px);
  min-width: 0;
  max-width: 100%;
  isolation: isolate;
}

.ef-section-title-group::before {
  content: "";
  position: absolute;
  left: -26px;
  top: -16px;
  width: min(460px, 88vw);
  height: 112px;
  background: radial-gradient(
    ellipse at 22% 52%,
    rgba(232, 37, 58, 0.24) 0%,
    rgba(46, 107, 255, 0.12) 48%,
    transparent 74%
  );
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

.ef-section-title-group::after {
  content: "";
  display: block;
  width: clamp(84px, 11vw, 156px);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff3a50 0%, #e8253a 42%, #2e6bff 84%, transparent 100%);
  box-shadow: 0 0 20px rgba(232, 37, 58, 0.68), 0 0 36px rgba(46, 107, 255, 0.3);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out) 0.14s, opacity 0.6s ease 0.14s;
}

.ef-page.is-story-animated .cx-story-reveal:not(.is-inview) .ef-section-title-group::after {
  transform: scaleX(0);
  opacity: 0;
}

.ef-page.is-story-animated .cx-story-reveal.is-inview .ef-section-title-group::after {
  transform: scaleX(1);
  opacity: 1;
}

.ef-section-title-group > div {
  min-width: 0;
  max-width: 100%;
}

.ef-section-head h2,
.cx-hw-header h2,
.ef-booking-flow h2,
.ef-faq-aside h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--light);
  overflow-wrap: break-word;
}

.ef-section-title-group h2 > span {
  display: inline-block;
  background: linear-gradient(
    108deg,
    #c9d6ee 0%,
    #ffffff 28%,
    #ffffff 48%,
    #ff8b98 58%,
    #ffffff 68%,
    #c3d2ec 100%
  );
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(232, 37, 58, 0.24));
}

.cx-story-reveal.is-inview .ef-section-title-group h2 > span {
  animation: cx-title-sheen 8s ease-in-out infinite;
}

@keyframes cx-title-sheen {
  0%, 62% { background-position: 100% 0; }
  84%, 100% { background-position: 0% 0; }
}

.cx-faq-heading {
  margin-bottom: 20px;
}

.ef-section-lead {
  margin: 0;
  max-width: 540px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.56;
  color: var(--text-body);
}

/* ── Sculpted Motorsport Buttons & Interactive Controls ─────────────────── */
.ef-arrow-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.35s var(--ease-out);
}

.ef-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  max-width: 100%;
  padding: 10px 14px 10px 22px;
  border-radius: 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-out),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    color 0.25s ease;
}

.ef-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.ef-btn:hover::after {
  transform: translateX(130%);
}

.ef-btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), background 0.3s ease;
}

.ef-btn:hover .ef-btn-icon {
  transform: translate(2px, -2px);
}

.ef-btn--primary {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  border: 1px solid rgba(255, 118, 134, 0.45);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 28px rgba(232, 37, 58, 0.32);
}

.ef-btn--primary .ef-btn-icon {
  background: rgba(255, 255, 255, 0.16);
}

.ef-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 16px 36px rgba(232, 37, 58, 0.46);
}

.ef-btn--glass,
.ef-btn--outline {
  background: rgba(16, 20, 34, 0.72);
  border: 1px solid rgba(242, 244, 248, 0.2);
  backdrop-filter: blur(12px);
  color: var(--light);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ef-btn--glass .ef-btn-icon,
.ef-btn--outline .ef-btn-icon {
  background: rgba(242, 244, 248, 0.08);
  color: var(--cobalt-hi);
}

.ef-btn--glass:hover,
.ef-btn--outline:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 107, 255, 0.65);
  background: rgba(46, 107, 255, 0.16);
  box-shadow: 0 12px 28px rgba(46, 107, 255, 0.2);
}

.ef-btn--quiet {
  background: rgba(242, 244, 248, 0.04);
  border: 1px solid rgba(242, 244, 248, 0.14);
  color: var(--light);
  box-shadow: none;
}

.ef-btn--quiet .ef-btn-icon {
  background: rgba(242, 244, 248, 0.07);
  color: var(--text-body);
}

.ef-btn--quiet:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 244, 248, 0.32);
  background: rgba(242, 244, 248, 0.09);
  color: #ffffff;
}

.ef-btn--quiet:hover .ef-btn-icon {
  color: #ffffff;
}

.ef-btn--sm {
  min-height: 44px;
  padding: 7px 10px 7px 16px;
  font-size: 12px;
  border-radius: 10px;
}

.ef-btn--sm .ef-btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.ef-btn:focus-visible,
.ef-text-link:focus-visible,
.ef-tab:focus-visible,
.ef-filter-btn:focus-visible,
.ef-price-group:focus-visible {
  outline: 2px solid var(--crimson-hi);
  outline-offset: 3px;
}

.ef-action-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ef-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(109, 160, 255, 0.45);
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.ef-text-link:hover {
  color: var(--cobalt-hi);
  border-color: var(--cobalt-hi);
}

.cx-club-address {
  display: block;
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Three Large Typographic Indicators (Zero Boxes / Zero Borders) */

/* Single-Line Secondary Specs */

/* Badges kept solely for Chapter 03 atmosphere cards */
.cx-adv-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.cx-adv-badge--crimson {
  background: rgba(232, 37, 58, 0.16);
  border: 1px solid rgba(255, 58, 80, 0.48);
  color: #ff94a0;
}

.cx-adv-badge--cobalt {
  background: rgba(46, 107, 255, 0.16);
  border: 1px solid rgba(109, 160, 255, 0.48);
  color: #9ec3ff;
}

/* ── Chapter 02: Scroll-Pinned Cockpit Hardware Stage ───────────────────── */
.cx-chapter--hardware {
  padding-block: 0;
}

.cx-hw-runway {
  position: relative;
  z-index: 2;
  min-height: 245vh;
}

.cx-hw-sticky-frame {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 86px 26px;
}

.cx-hw-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.ef-tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 13, 0.76);
  backdrop-filter: blur(12px);
}

.ef-tab {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.ef-tab:hover {
  color: var(--light);
  background: rgba(242, 244, 248, 0.08);
}

.ef-tab.is-active {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(232, 37, 58, 0.32);
}

.cx-hw-stage-shell {
  position: relative;
  border-radius: 24px;
  background: rgba(9, 11, 18, 0.74);
  border: 1px solid rgba(242, 244, 248, 0.14);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 32px 84px rgba(0, 0, 0, 0.56);
  padding: clamp(28px, 3.4vw, 48px) clamp(18px, 2.2vw, 32px) clamp(20px, 2.4vw, 34px);
  overflow: clip;
  min-width: 0;
}

.cx-hw-club-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cx-hw-club-stage.is-standby-club {
  display: none;
}

/* Giant Hero-Style Animated Depth Typography Behind Scroll Stage */
.cx-hw-depth-word {
  position: absolute;
  left: 50%;
  top: clamp(-30px, -2.4vw, -12px);
  transform: translateX(-50%);
  display: inline-flex;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(54px, 11vw, 184px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(242, 244, 248, 0.068);
  -webkit-text-stroke: 1px rgba(109, 160, 255, 0.16);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cx-hw-depth-word i {
  font-style: normal;
  display: inline-block;
}

/* Scroll-Driven Two-Column Cinema + 4-Station Layout */
.cx-hw-scroll-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.96fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: start;
  min-width: 0;
}

.cx-hw-cinema {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.cx-hw-cinema-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - 280px);
  border-radius: 20px;
  overflow: hidden;
  background: #07080d;
  border: 1px solid rgba(242, 244, 248, 0.16);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.58);
}

#equipment-novokosino .cx-hw-cinema-frame {
  box-shadow: inset 0 2px 0 rgba(232, 37, 58, 0.65), 0 26px 64px rgba(0, 0, 0, 0.58);
}

#equipment-altufyevo .cx-hw-cinema-frame {
  box-shadow: inset 0 2px 0 rgba(46, 107, 255, 0.72), 0 26px 64px rgba(0, 0, 0, 0.58);
}

.cx-hw-cinema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-cinema-zoom {
  top: 14px;
  bottom: auto;
  cursor: pointer;
}

.cx-hw-cinema-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 54px 22px 18px;
  background: linear-gradient(to top, rgba(7, 8, 13, 0.95) 0%, rgba(7, 8, 13, 0.72) 58%, rgba(7, 8, 13, 0) 100%);
}

.cx-hw-cinema-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.cx-hw-cinema-head strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px, 1.45vw, 22px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--light);
}

.cx-hw-cinema-metric {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(14px, 1.25vw, 19px);
  color: var(--crimson-hi);
  white-space: nowrap;
}

#equipment-altufyevo .cx-hw-cinema-metric {
  color: var(--cobalt-hi);
}

.cx-hw-meter {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(242, 244, 248, 0.14);
  overflow: hidden;
  margin-bottom: 14px;
}

.cx-hw-meter-fill {
  display: block;
  height: 100%;
  width: var(--meter, 85%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cobalt) 0%, var(--crimson-hi) 100%);
  box-shadow: 0 0 18px rgba(232, 37, 58, 0.62);
  transform-origin: left center;
}

.cx-hw-cinema-dots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.cx-hw-dot {
  position: relative;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(242, 244, 248, 0.14);
  background: rgba(7, 8, 13, 0.66);
  color: var(--text-muted);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cx-hw-dot:hover {
  border-color: rgba(109, 160, 255, 0.5);
  color: var(--light);
}

.cx-hw-dot.is-active {
  border-color: rgba(255, 58, 80, 0.72);
  background: rgba(232, 37, 58, 0.24);
  color: #ffffff;
}

#equipment-altufyevo .cx-hw-dot.is-active {
  border-color: rgba(109, 160, 255, 0.75);
  background: rgba(46, 107, 255, 0.26);
}

.cx-hw-cinema-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.ef-gallery-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cx-hw-scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(46, 107, 255, 0.28) 44%,
    rgba(255, 58, 80, 0.65) 52%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.ef-media-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(7, 8, 13, 0.82);
  border: 1px solid rgba(242, 244, 248, 0.2);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light);
}

.ef-zoom-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(7, 8, 13, 0.82);
  border: 1px solid rgba(242, 244, 248, 0.2);
  backdrop-filter: blur(8px);
  color: var(--light);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-out);
}

.ef-gallery-link:hover .ef-zoom-badge,
.cx-cinema-zoom:hover {
  border-color: var(--crimson-hi);
  background: rgba(232, 37, 58, 0.34);
  transform: translate(2px, -2px);
}

/* All 4 Cockpit Stations Visible Together & Linked to Scroll */
.cx-hw-stations {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.cx-hw-station {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(16, 20, 34, 0.82) 0%, rgba(9, 11, 18, 0.92) 100%);
  border: 1px solid rgba(242, 244, 248, 0.1);
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.35s ease, transform 0.35s var(--ease-out);
}

.cx-hw-station::after {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--crimson-hi), var(--cobalt-hi));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cx-hw-station:hover {
  border-color: rgba(109, 160, 255, 0.38);
}

.cx-hw-station.is-active-station {
  border-color: rgba(255, 58, 80, 0.62);
  background: linear-gradient(155deg, rgba(232, 37, 58, 0.14) 0%, rgba(13, 16, 28, 0.96) 58%);
  box-shadow: 0 18px 42px rgba(232, 37, 58, 0.16);
}

#equipment-altufyevo .cx-hw-station.is-active-station {
  border-color: rgba(109, 160, 255, 0.66);
  background: linear-gradient(155deg, rgba(46, 107, 255, 0.16) 0%, rgba(13, 16, 28, 0.96) 58%);
  box-shadow: 0 18px 42px rgba(46, 107, 255, 0.18);
}

.cx-hw-station.is-active-station::after {
  opacity: 1;
}

.cx-hw-station-media {
  display: none;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #07080d;
  border-bottom: 1px solid var(--line);
}

.cx-hw-station-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-hw-station-body {
  padding: 15px 18px 15px 20px;
  min-width: 0;
}

.cx-hw-station-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.cx-hw-station.is-active-station .cx-hw-station-top {
  margin-bottom: 10px;
}

.cx-hw-station-details {
  display: block;
}

@media (min-width: 1024px) {
  .cx-hw-station:not(.is-active-station) .cx-hw-station-details {
    display: none;
  }
}

.cx-hw-station-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.cx-hw-station-title-wrap > div {
  min-width: 0;
}

.cx-hw-station-num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.25s ease;
}

.cx-hw-station.is-active-station .cx-hw-station-num {
  color: var(--crimson-hi);
}

#equipment-altufyevo .cx-hw-station.is-active-station .cx-hw-station-num {
  color: var(--cobalt-hi);
}

.cx-hw-station-cat {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cobalt-hi);
  margin-bottom: 3px;
}

.cx-hw-station-top h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--light);
  overflow-wrap: break-word;
}

.cx-hw-station-metric {
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 8, 13, 0.76);
  border: 1px solid rgba(255, 58, 80, 0.42);
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 500;
  color: #ff94a0;
  white-space: nowrap;
}

#equipment-altufyevo .cx-hw-station-metric {
  border-color: rgba(109, 160, 255, 0.48);
  color: #9ec3ff;
}

.cx-hw-station-note {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--text-body);
}

.cx-hw-mini-specs {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.cx-hw-mini-specs > div {
  min-width: 0;
}

.cx-hw-mini-specs dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.cx-hw-mini-specs dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--light);
  overflow-wrap: break-word;
}

.cx-hw-mobile-foot {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

/* ── Chapter 03: Split-Aperture Club Atmosphere Gallery ─────────────────── */
.cx-atmo-stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}

.cx-atmo-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid rgba(242, 244, 248, 0.13);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 54px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  min-width: 0;
}

.ef-page .cx-atmo-card.is-inview {
  transform: translate3d(0, var(--atmo-shift, 0px), 0);
}

.cx-atmo-card:hover {
  border-color: rgba(255, 58, 80, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 28px 64px rgba(232, 37, 58, 0.16);
}

.cx-atmo-card:nth-child(even):hover {
  border-color: rgba(109, 160, 255, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 28px 64px rgba(46, 107, 255, 0.18);
}

.cx-atmo-media,
.cx-atmo-media.ef-gallery-link {
  position: relative;
  height: auto;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #07080d;
  border-bottom: 1px solid var(--line);
}

.cx-atmo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.85s var(--ease-out);
}

.cx-atmo-card:nth-child(2) .cx-atmo-media img {
  object-position: center 68%;
}

.cx-atmo-card:hover .cx-atmo-media img {
  transform: scale(1.06);
}

.cx-atmo-index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(7, 8, 13, 0.82);
  border: 1px solid rgba(242, 244, 248, 0.18);
  backdrop-filter: blur(8px);
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: var(--light);
}

.cx-atmo-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 18px 20px 22px;
}

.cx-atmo-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--light);
}

.cx-atmo-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.54;
  color: var(--text-body);
}

/* ── Chapter 04: Dual Always-Open Smoked-Glass Pricing Cards ────────────── */
@media (min-width: 1024px) {
  .cx-chapter--tariffs {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: 76px 32px;
    scroll-margin-top: 0;
  }

  .cx-chapter--tariffs .ef-section-head {
    margin-bottom: clamp(18px, 2.2vh, 28px);
  }
}

.ef-tariff-bonus {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  margin: 0 0 clamp(18px, 2.5vw, 32px);
  padding: clamp(19px, 2vw, 34px) clamp(18px, 3vw, 48px);
  border: 1px solid rgba(255, 111, 130, 0.48);
  border-radius: 14px;
  background: linear-gradient(110deg, #391b25, #1a1923 57%, #12131b);
  color: var(--light);
}

.ef-tariff-bonus__time {
  flex: none;
  padding-right: clamp(16px, 3vw, 48px);
  border-right: 1px solid rgba(247, 158, 169, 0.38);
  font: 650 clamp(38px, 4.7vw, 80px)/1 var(--display);
  letter-spacing: -0.065em;
  color: #ff8e9c;
}

.ef-tariff-bonus__time span {
  display: block;
  margin-top: 5px;
  font: 600 clamp(13px, 1.1vw, 19px)/1.1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ef-tariff-bonus h3 {
  margin: 0;
  font: 550 clamp(17px, 2vw, 30px)/1.23 var(--display);
  letter-spacing: -0.035em;
}

.ef-tariff-bonus p {
  margin: 8px 0 0;
  max-width: 72ch;
  font: 450 clamp(14px, 1vw, 17px)/1.5 var(--body);
  color: #dae0ec;
}

@media (max-width: 600px) {
  .ef-tariff-bonus { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 14px; }
  .ef-tariff-bonus > div { display: contents; }
  .ef-tariff-bonus__time { grid-column: 1; grid-row: 1; padding-right: 14px; }
  .ef-tariff-bonus h3 { grid-column: 2; grid-row: 1; }
  .ef-tariff-bonus p { grid-column: 1 / -1; margin: 0; }
}

.ef-tariff-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 32px);
  align-items: stretch;
}

.ef-tariff-column {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 24px;
  background: var(--glass-strong);
  border: 1px solid rgba(242, 244, 248, 0.14);
  backdrop-filter: blur(20px);
  box-shadow:
    inset 0 2px 0 rgba(232, 37, 58, 0.72),
    0 26px 64px rgba(0, 0, 0, 0.5);
  min-width: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-tariff-column[data-price-club="novokosino"].is-selected-club {
  border-color: rgba(255, 58, 80, 0.52);
  box-shadow:
    inset 0 2px 0 rgba(255, 58, 80, 0.92),
    0 28px 72px rgba(232, 37, 58, 0.16);
}

.ef-tariff-column[data-price-club="altufyevo"] {
  box-shadow:
    inset 0 2px 0 rgba(46, 107, 255, 0.72),
    0 26px 64px rgba(0, 0, 0, 0.5);
}

.ef-tariff-column[data-price-club="altufyevo"].is-selected-club {
  border-color: rgba(109, 160, 255, 0.56);
  box-shadow:
    inset 0 2px 0 rgba(109, 160, 255, 0.92),
    0 28px 72px rgba(46, 107, 255, 0.18);
}

.ef-page.is-client-hydrated .server-price-snapshot {
  display: none;
}

.ef-live-prices {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.cx-price-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.ef-tariff-head {
  display: block;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.ef-tariff-head h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--light);
}

.cx-club-metro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 7px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--cobalt-hi);
}

.cx-club-metro--contact {
  margin: 0 0 12px;
}

.cx-metro-map-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(242, 244, 248, 0.34);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cx-metro-map-link:hover {
  color: var(--crimson-hi);
  border-color: var(--crimson-hi);
}

.ef-tariff-column[data-price-club="altufyevo"] .cx-metro-map-link:hover {
  color: var(--cobalt-hi);
  border-color: var(--cobalt-hi);
}

.ef-tariff-capacity {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-align: right;
  flex-shrink: 0;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(7, 8, 13, 0.62);
  border: 1px solid var(--line);
}

.ef-tariff-capacity strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
  color: var(--crimson-hi);
}

.ef-tariff-column[data-price-club="altufyevo"] .ef-tariff-capacity strong {
  color: var(--cobalt-hi);
}

.ef-tariff-capacity span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ef-price-groups {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 13, 0.74);
}

.ef-price-groups[hidden] {
  display: none;
}

.ef-price-group {
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.ef-price-group[aria-pressed="true"] {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  color: #ffffff;
}

.ef-tariff-column[data-price-club="altufyevo"] .ef-price-group[aria-pressed="true"] {
  background: linear-gradient(135deg, #3c7cff 0%, #1d53d8 100%);
}

.ef-price-list {
  min-width: 0;
}

.ef-live-prices .compact-rate-table {
  width: 100%;
  border-collapse: collapse;
}

.ef-live-prices .compact-rate-table thead th {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
}

.ef-live-prices .compact-rate-table thead th:last-child {
  text-align: right;
}

.ef-live-prices .compact-rate-table tbody th,
.ef-live-prices .compact-rate-table tbody td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.ef-live-prices .compact-rate-table tbody th {
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  color: var(--light);
}

.ef-live-prices .compact-rate-table tbody td {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 1.75vw, 26px);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  color: var(--light);
}

.ef-live-prices .compact-rate-note {
  display: block;
  margin-top: 3px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.ef-price-state,
.ef-price-status {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-body);
}

.ef-price-status[hidden] {
  display: none;
}

.ef-price-retry {
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(232, 37, 58, 0.16);
  border: 1px solid var(--crimson-hi);
  color: var(--light);
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.ef-price-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ef-tariff-actions {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

/* ── Chapter 03: Night-Highway Games Library (4 Shown + Expand All 13) ─── */
.ef-games-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(24px, 2.8vw, 38px);
}

.ef-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ef-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(15, 18, 30, 0.78);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ef-filter-btn b {
  font-weight: 600;
  color: var(--cobalt-hi);
}

.ef-filter-btn:hover {
  border-color: var(--cobalt-hi);
  color: var(--light);
  transform: translateY(-1px);
}

.ef-filter-btn.is-active {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  border-color: rgba(255, 118, 134, 0.5);
  color: #ffffff;
}

.ef-filter-btn.is-active b {
  color: rgba(255, 255, 255, 0.88);
}

.ef-games-counter {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.ef-games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.ef-game-tile {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 52px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  min-width: 0;
}

.ef-game-tile[hidden],
.ef-games-more-wrap[hidden] {
  display: none;
}

.ef-game-tile:hover {
  border-color: rgba(232, 37, 58, 0.52);
}

.ef-game-stage {
  margin: 0;
}

.ef-stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07080d;
  border-bottom: 1px solid var(--line);
}

.ef-stage-poster,
.ef-stage-frame video,
.ef-stage-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.ef-stage-poster {
  transform: scale(1);
  transition: transform 0.85s var(--ease-out);
}

.ef-game-tile:hover .ef-stage-poster {
  transform: scale(1.04);
}

.ef-rutube-start {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ef-stage-play {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 8, 13, 0.82);
  border: 1px solid rgba(242, 244, 248, 0.24);
  backdrop-filter: blur(10px);
  color: var(--light);
  font-family: var(--body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.ef-stage-play svg {
  width: 15px;
  height: 15px;
  color: var(--crimson-hi);
}

.ef-stage-play:hover {
  border-color: var(--crimson-hi);
  background: rgba(232, 37, 58, 0.26);
}

.ef-stage-caption {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 22px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.ef-stage-caption a:hover {
  color: var(--cobalt-hi);
}

.ef-game-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px clamp(18px, 2vw, 28px) clamp(20px, 2vw, 28px);
}

.ef-game-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.ef-game-num {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  color: var(--crimson-hi);
  padding-right: 12px;
  border-right: 1px solid var(--line-cap);
  flex-shrink: 0;
}

.ef-game-title-wrap {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 12px;
}

.ef-game-body h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--light);
}

.ef-game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ef-game-badges span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46, 107, 255, 0.42);
  background: rgba(46, 107, 255, 0.14);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cobalt-hi);
}

.cx-game-players {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 12.5px;
  line-height: 1.25;
}

.cx-players-icon {
  height: 15px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.cx-game-players strong {
  font-weight: 600;
  letter-spacing: 0.015em;
}

.cx-game-players span {
  font-weight: 400;
  color: var(--text-muted);
}

.cx-game-players--multi {
  background: rgba(232, 37, 58, 0.13);
  border: 1px solid rgba(255, 58, 80, 0.42);
  color: #ffffff;
}

.cx-game-players--multi .cx-players-icon {
  color: var(--crimson-hi);
}

.cx-game-players--multi span {
  color: rgba(255, 200, 208, 0.85);
}

.cx-game-players--solo {
  background: rgba(242, 244, 248, 0.05);
  border: 1px solid rgba(242, 244, 248, 0.14);
  color: var(--light);
}

.cx-game-players--solo .cx-players-icon {
  color: var(--cobalt-hi);
}

.ef-game-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.54;
  color: var(--text-body);
}

.ef-game-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.ef-game-meta {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ef-game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ef-games-more-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* ── Chapter 04: Start Grid Steps + GT3 Gift Panel ──────────────────────── */
.ef-booking-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
}

.ef-booking-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ef-steps-list {
  list-style: none;
  margin: 26px 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ef-step-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.ef-step-beacon {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--crimson-hi);
  box-shadow: 0 0 0 5px rgba(232, 37, 58, 0.18), 0 0 14px rgba(232, 37, 58, 0.72);
  flex-shrink: 0;
}

.ef-step-row:nth-child(even) .ef-step-beacon {
  background: var(--cobalt-hi);
  box-shadow: 0 0 0 5px rgba(46, 107, 255, 0.2), 0 0 14px rgba(46, 107, 255, 0.72);
}

.ef-step-copy h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.28;
  text-transform: uppercase;
  color: var(--light);
}

.ef-step-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.54;
  color: var(--text-body);
}

.ef-booking-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.ef-gift-panel {
  position: relative;
  min-height: 460px;
  scroll-margin-top: 88px;
  display: flex;
  align-items: flex-end;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(242, 244, 248, 0.16);
  background: var(--surface);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.52);
}

.ef-gift-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.9s var(--ease-out);
}

.ef-gift-panel:hover .ef-gift-bg {
  transform: scale(1.04);
}

.ef-gift-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 13, 0.95) 0%, rgba(7, 8, 13, 0.52) 52%, rgba(7, 8, 13, 0.18) 100%);
}

.ef-gift-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: clamp(24px, 3vw, 44px);
  max-width: 620px;
}

.ef-gift-copy h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16.5px, 2vw, 29px);
  line-height: 1.28;
  letter-spacing: 0.02em;
  word-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light);
}

.ef-gift-copy p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.56;
  color: var(--text-body);
}

.ef-gift-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.ef-gift-actions .ef-btn {
  width: 100%;
  justify-content: space-between;
  padding: 12px 14px;
  gap: 8px;
  font-size: 11px;
  white-space: nowrap;
  text-align: left;
}

/* ── Chapter 05: Paddock Reviews Grid ───────────────────────────────────── */
.ef-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.ef-review-cell {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 28px);
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.36);
  min-width: 0;
}

.ef-review-cell:hover {
  border-color: rgba(46, 107, 255, 0.42);
}

.ef-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.ef-review-head img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.ef-review-author {
  min-width: 0;
}

.ef-review-author h3 {
  margin: 0 0 3px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--light);
}

.ef-review-author span {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
}

.ef-review-meta {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.ef-review-meta span {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--crimson-hi);
}

.ef-review-meta b {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ef-review-cell blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--text-body);
  flex: 1;
}

.ef-review-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ef-review-facts span {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.56);
  font-size: 11.5px;
  color: var(--text-cap);
}

.ef-reviews-foot {
  margin-top: 30px;
  display: flex;
  justify-content: flex-start;
}

/* ── FAQ Sculpted Accordions ────────────────────────────────────────────── */
.ef-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.ef-faq-aside {
  position: sticky;
  top: 108px;
}

.ef-faq-aside h2 {
  margin-bottom: 22px;
}

.cx-faq-visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(46, 107, 255, 0.3);
  background: #07080d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
  aspect-ratio: 4 / 4.4;
}

.cx-faq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.ef-faq-list {
  display: grid;
  gap: 12px;
}

.ef-faq-item {
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.ef-faq-item[open],
.ef-faq-item:hover {
  border-color: rgba(46, 107, 255, 0.42);
}

.ef-faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--display);
  font-size: clamp(14.5px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.38;
  color: var(--light);
  cursor: pointer;
}

.ef-faq-item > summary::-webkit-details-marker {
  display: none;
}

.ef-faq-plus {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 8, 13, 0.55);
  display: inline-grid;
  place-items: center;
  font-style: normal;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  color: var(--crimson-hi);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), background 0.25s ease;
}

.ef-faq-item[open] .ef-faq-plus {
  transform: rotate(45deg);
  background: rgba(232, 37, 58, 0.16);
}

.ef-faq-answer {
  padding: 0 24px 22px;
}

.ef-faq-answer p {
  margin: 0 0 16px;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-body);
}

.ef-faq-answer p:last-child {
  margin-bottom: 0;
}

/* ── Chapter 06: Pit Lane Contacts & Map ────────────────────────────────── */
.ef-contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: stretch;
}

.ef-contact-list {
  display: grid;
  gap: clamp(16px, 1.8vw, 22px);
}

.ef-contact-club {
  padding: clamp(22px, 2.2vw, 32px);
  border-radius: 20px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 48px rgba(0, 0, 0, 0.44);
  min-width: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-contact-club.is-selected-club {
  border-color: rgba(255, 58, 80, 0.56);
  box-shadow: inset 0 2px 0 rgba(255, 58, 80, 0.72), 0 22px 52px rgba(232, 37, 58, 0.16);
}

.ef-contact-club[data-contact-club="altufyevo"].is-selected-club {
  border-color: rgba(109, 160, 255, 0.6);
  box-shadow: inset 0 2px 0 rgba(46, 107, 255, 0.78), 0 22px 52px rgba(46, 107, 255, 0.18);
}

.ef-contact-club h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.28;
  color: var(--light);
}

.ef-contact-desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.54;
  color: var(--text-body);
}

.ef-contact-phone {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 24px);
  color: var(--cobalt-hi);
  transition: color 0.25s ease;
}

.ef-contact-phone:hover {
  color: var(--crimson-hi);
}

.ef-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.ef-map-frame {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.cx-map-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 12px 14px;
  background: rgba(9, 11, 18, 0.94);
  border-bottom: 1px solid var(--line);
}

.cx-map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cx-map-open-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--cobalt-hi);
  padding: 4px 2px;
  border-bottom: 1px solid rgba(109, 160, 255, 0.4);
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cx-map-open-link:hover {
  color: var(--light);
  border-color: var(--light);
}

.cx-map-tab {
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 9px;
  background: rgba(242, 244, 248, 0.05);
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-body);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.cx-map-tab:hover {
  color: var(--light);
  border-color: var(--line-strong);
}

.cx-map-tab.is-active {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  color: #ffffff;
}

.cx-map-tab[data-map-view="altufyevo"].is-active {
  background: linear-gradient(135deg, #3c7cff 0%, #1d53d8 100%);
}

.cx-map-canvas {
  position: relative;
  flex: 1;
  min-height: 440px;
  overflow: hidden;
  background: #0a0d16;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.cx-map-canvas.is-dragging {
  cursor: grabbing;
}

.cx-map-tiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cx-map-tile {
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 256px;
  display: block;
  filter: invert(92%) hue-rotate(180deg) saturate(1.18) brightness(0.92) contrast(0.96);
}

.cx-map-pins {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cx-map-pin {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  margin-left: -11px;
  margin-top: -11px;
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  z-index: 2;
}

.cx-map-pin.is-active {
  z-index: 4;
}

.cx-map-pin-dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(232, 37, 58, 0.28), 0 8px 20px rgba(0, 0, 0, 0.65);
}

.cx-map-pin--crimson .cx-map-pin-dot {
  background: var(--crimson-hi);
}

.cx-map-pin--cobalt .cx-map-pin-dot {
  background: var(--cobalt);
  box-shadow: 0 0 0 6px rgba(46, 107, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.65);
}

.cx-map-pin-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(9, 11, 18, 0.92);
  border: 1px solid rgba(242, 244, 248, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.cx-map-pin--crimson.is-active .cx-map-pin-label {
  border-color: rgba(255, 58, 80, 0.72);
}

.cx-map-pin--cobalt.is-active .cx-map-pin-label {
  border-color: rgba(109, 160, 255, 0.76);
}

.cx-map-pin-label b {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--light);
}

.cx-map-pin-label em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--text-muted);
}

.cx-map-zoom {
  position: absolute;
  right: 14px;
  bottom: 34px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cx-map-zoom button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 11, 18, 0.88);
  backdrop-filter: blur(10px);
  color: var(--light);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cx-map-zoom button:hover {
  border-color: var(--crimson-hi);
  background: rgba(232, 37, 58, 0.26);
}

.cx-map-attr {
  position: absolute;
  right: 12px;
  bottom: 8px;
  z-index: 5;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(7, 8, 13, 0.72);
  font-size: 10px;
  color: var(--text-muted);
  pointer-events: none;
}

.ef-credit {
  margin-top: 34px;
  font-size: 13px;
  color: var(--text-muted);
}

.ef-credit a {
  color: var(--text-body);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.ef-credit a:hover {
  color: var(--cobalt-hi);
  border-color: var(--cobalt-hi);
}

/* ── Gallery & Film Dialogs ─────────────────────────────────────────────── */
.ef-gallery-dialog,
.ef-film-dialog {
  width: min(94vw, 1280px);
  max-width: none;
  padding: 0;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: #0a0c14;
  color: var(--light);
  overflow: hidden;
}

.ef-gallery-dialog::backdrop,
.ef-film-dialog::backdrop {
  background: rgba(5, 6, 11, 0.9);
  backdrop-filter: blur(10px);
}

.ef-gallery-dialog[open] {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  padding: 20px;
  gap: 12px;
}

.ef-gallery-dialog figure {
  margin: 0;
  text-align: center;
}

.ef-gallery-dialog figure img {
  max-width: 100%;
  max-height: 76vh;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.ef-gallery-dialog figcaption {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-body);
}

.ef-gallery-close,
.ef-gallery-prev,
.ef-gallery-next,
.ef-film-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--light);
  font-size: 22px;
  cursor: pointer;
}

.ef-gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.ef-gallery-counter {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.ef-film-shell {
  padding: 20px;
}

.ef-film-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.ef-film-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ef-film-tab {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  color: var(--text-body);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ef-film-tab.is-active {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  border-color: rgba(255, 118, 134, 0.5);
  color: #ffffff;
}

.ef-film-player {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #05060a;
  border: 1px solid var(--line);
}

.ef-film-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ef-film-status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--crimson-hi);
}

/* ── Harmonized Footer & Booking Dialog ─────────────────────────────────── */
body.page-racing .site-footer {
  background: #06070c;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
}

body.page-racing .site-footer .container {
  width: 100%;
  max-width: none;
  padding-inline: clamp(18px, 3.2vw, 60px);
}

body.page-racing .site-footer a {
  color: var(--text-body);
}

body.page-racing .site-footer a:hover {
  color: var(--cobalt-hi);
}

body.page-racing .booking-dialog {
  background: #0d101b;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  color: var(--light);
}

body.page-racing .booking-dialog .button,
body.page-racing .booking-dialog [data-booking-primary] {
  background: linear-gradient(135deg, #f32d43 0%, #c8172c 100%);
  color: #ffffff;
  border-radius: 12px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (FULL-PAGE MOBILE & TABLET STORYTELLING)
   ========================================================================== */
@media (max-width: 1180px) {
  .ef-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ef-booking-band,
  .ef-faq-layout,
  .ef-contact-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .ef-faq-aside {
    position: static;
  }

  .cx-atmo-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cx-chapter--hardware {
    padding-block: clamp(64px, 6.8vw, 112px);
  }

  .cx-hw-runway {
    min-height: 0;
  }

  .cx-hw-sticky-frame {
    position: static;
    min-height: 0;
    padding-block: 0;
    display: block;
  }

  .cx-hw-scroll-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cx-hw-cinema {
    display: none;
  }

  .cx-hw-station-media {
    display: block;
  }

  .cx-hw-station {
    cursor: default;
  }

  .cx-hw-station-top {
    margin-bottom: 10px;
  }

  .cx-hw-stations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cx-hw-mobile-foot {
    display: flex;
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .ef-tariff-split,
  .ef-games-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ef-page .cx-atmo-card.is-inview {
    transform: none;
  }
}

/* Tablet & Compact Desktop Header: prevent nav collision with CyberX logo */
@media (max-width: 1120px) {
  .cx-chapter {
    padding-top: clamp(104px, 13vw, 124px);
    scroll-margin-top: 0;
  }

  body.page-racing .site-header.ef-nav {
    height: auto;
    min-height: 0;
    padding: 14px 20px 10px;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  body.page-racing .ef-nav-wrap {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    margin-top: 0;
  }

  body.page-racing .ef-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

/* Phone & Portrait Opening Stage (<= 820px or portrait): Ultra-Light Transparent Header */
@media (max-width: 820px), (max-aspect-ratio: 1 / 1) {
  body.page-racing {
    --u: calc(100vw / 390);
    --mb: 96px;
  }

  .cx-chapter {
    padding-top: 84px;
  }

  body.page-racing .site-header.ef-nav {
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    min-height: 64px;
    padding: 0 16px;
    flex-wrap: nowrap;
    border-radius: 0;
    background: linear-gradient(to bottom, rgba(7, 8, 13, 0.56) 0%, rgba(7, 8, 13, 0) 100%);
    border: 0;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  body.page-racing .site-header.ef-nav.is-scrolled {
    background: rgba(7, 8, 13, 0.78);
    border-bottom-color: rgba(242, 244, 248, 0.07);
    backdrop-filter: blur(14px);
    box-shadow: none;
  }

  body.page-racing.menu-open .site-header.ef-nav {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  body.page-racing .ef-logo {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    min-width: 0;
  }

  body.page-racing .ef-logo img {
    height: clamp(30px, 8.8vw, 35px);
    width: auto;
  }

  body.page-racing .ef-logo-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    color: rgba(188, 212, 255, 0.9);
  }

  body.page-racing .ef-logo-tag::before {
    content: "";
    width: 12px;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--crimson-hi), var(--cobalt-hi));
    flex-shrink: 0;
  }

  body.page-racing .ef-nav-wrap {
    display: none;
  }

  body.page-racing .ef-nav-right {
    display: inline-flex;
    gap: 14px;
  }

  body.page-racing .menu-toggle.ef-menu-btn {
    display: flex;
  }

  body.page-racing .mobile-menu.ef-drawer {
    padding: 78px 20px 24px;
  }

  body.page-racing .ef-drawer-inner {
    margin: 0;
    gap: 16px;
  }

  body.page-racing .ef-drawer-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.page-racing .ef-drawer-list a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 3px 14px;
    padding: 11px 2px;
  }

  body.page-racing .ef-drawer-list a b {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
    line-height: 1.25;
  }

  body.page-racing .ef-drawer-meta {
    display: contents;
  }

  body.page-racing .ef-drawer-meta em {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.3;
    white-space: normal;
  }

  body.page-racing .ef-drawer-meta i {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 15px;
  }

  body.page-racing .ef-drawer-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 2px;
  }

  body.page-racing .ef-drawer-actions .ef-btn {
    min-height: 46px;
    padding: 11px 16px;
  }

  .ef-shade {
    background: linear-gradient(
      to bottom,
      rgba(7, 8, 13, 0.92) 0%,
      rgba(7, 8, 13, 0.62) 28%,
      rgba(7, 8, 13, 0.16) 46%,
      rgba(7, 8, 13, 0.12) 66%,
      rgba(7, 8, 13, 0.86) 100%
    );
  }

  .ef-glyphs {
    left: 16px;
    top: 74px;
    flex-direction: row;
    gap: 11px;
  }

  .ef-glyphs svg {
    width: 12px;
    height: 12px;
  }

  .ef-h1-title {
    left: 16px;
    right: 16px;
    top: 94px;
    max-width: none;
    white-space: normal;
    font-size: min(19px, 4.85vw);
    line-height: 1.28;
    letter-spacing: 0.02em;
  }

  .ef-h1-body {
    left: 16px;
    top: calc(94px + 3.2 * min(19px, 4.85vw) + 14px);
    width: min(230px, 58vw);
    font-size: 12px;
    line-height: 1.42;
  }

  .ef-video-card {
    left: auto;
    right: 16px;
    top: calc(94px + 3.2 * min(19px, 4.85vw) + 14px);
    width: min(124px, 29vw);
    height: min(86px, 20vw);
    border-radius: 12px;
  }

  .ef-fg {
    height: calc(100vw * 810 / 1440 + 196px);
  }

  .ef-mounds {
    height: calc(100vw * 810 / 1440 * 0.42 + 86px);
    opacity: 0.42;
  }

  .ef-word {
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: calc(158px + 16 * var(--s));
    font-size: calc(182 * var(--s));
    letter-spacing: 0.03em;
  }

  .ef-captions {
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    padding: 44px 16px 20px;
    background: linear-gradient(
      to top,
      rgba(7, 8, 13, 0.99) 0%,
      rgba(7, 8, 13, 0.94) 72%,
      rgba(7, 8, 13, 0) 100%
    );
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .ef-cap {
    position: static;
  }

  .ef-mi {
    gap: 4px;
  }

  .ef-mi::before {
    width: 18px;
    margin-bottom: 2px;
  }

  .ef-cap-val {
    font-size: clamp(16.5px, 4.5vw, 20px);
  }

  .ef-cap-label {
    font-size: 12.5px;
    line-height: 1.3;
  }

  /* State 3 (#equipment): Spacious Editorial Stacked Locations on Mobile & Portrait */
}

/* Tablet Portrait (>= 600px and portrait) */
@media (min-width: 600px) and (max-aspect-ratio: 1 / 1) {
  body.page-racing {
    --u: calc(100vw / 760);
    --mb: 76px;
  }

  body.page-racing .site-header.ef-nav {
    padding: 0 24px;
  }

  body.page-racing .ef-nav-links {
    justify-content: center;
    gap: 28px;
  }

  body.page-racing .ef-nav-links a {
    font-size: 12px;
  }

  .ef-h1-title {
    top: 122px;
    font-size: min(34px, 4.8vw);
  }

  .ef-h1-body {
    top: calc(122px + 2.4 * min(34px, 4.8vw) + 16px);
    width: 300px;
    font-size: 14px;
  }

  .ef-video-card {
    top: calc(122px + 2.4 * min(34px, 4.8vw) + 16px);
    width: 144px;
    height: 82px;
  }

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

@media (max-width: 480px) and (max-height: 680px) and (orientation: portrait) {
  .ef-glyphs {
    display: none;
  }

  .ef-h1-title {
    top: 72px;
  }

  .ef-word { bottom: calc(130px + 16 * var(--s)); }

  .ef-h1-body,
  .ef-video-card {
    top: calc(80px + 2.6 * min(19px, 4.85vw));
  }

  .ef-captions {
    padding: 32px 16px 14px;
    gap: 12px 14px;
  }

  .ef-mi {
    gap: 3px;
  }

  .ef-cap-val {
    font-size: 15px;
  }

  .ef-cap-label {
    font-size: 11.5px;
  }

  .ef-plate-s2 {
    top: 0;
    object-position: center;
  }
}

/* Short Landscape Phones (height <= 520px and landscape) */
@media (max-height: 520px) and (orientation: landscape) {
  body.page-racing {
    --u: calc(100vh / 470);
    --mb: 36px;
  }

  body.page-racing .ef-nav-wrap { display: none; }
  body.page-racing .site-header.ef-nav { height: 52px; min-height: 52px; flex-wrap: nowrap; padding: 0 18px; }
  body.page-racing .menu-toggle.ef-menu-btn { display: flex; }
  .ef-word { left: 18px; top: auto; bottom: 62px; transform: none; font-size: clamp(25px, 3.8vw, 42px); }

  .ef-glyphs {
    display: none;
  }

  .ef-video-card {
    left: 18px;
    right: auto;
    top: 116px;
    width: 84px;
    height: 58px;
  }

  .ef-plate-h1 {
    object-position: center 10%;
  }

  .ef-theater {
    min-height: 0;
  }

  .ef-h1-title {
    left: 18px;
    top: 60px;
    width: 58vw;
    white-space: normal;
    font-size: clamp(15px, 2.5vw, 21px);
  }

  .ef-h1-body {
    left: auto;
    right: 18px;
    top: 60px;
    width: 34vw;
    font-size: 11px;
  }

  .ef-captions {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 18px 10px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .ef-cap-val {
    font-size: 15px;
  }

  .ef-cap-label {
    font-size: 11px;
  }

  .ef-cap {
    position: static;
  }
}

/* Narrow Mobile Storytelling & Zero-Overflow Hardening */
@media (max-width: 680px) {
  .ef-kicker {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .ef-section-head h2,
  .cx-hw-header h2,
  .ef-booking-flow h2,
  .ef-faq-aside h2,
  .ef-gift-copy h2 {
    font-size: clamp(22px, 6.2vw, 30px);
    line-height: 1.14;
    overflow-wrap: break-word;
  }

  body.page-racing .ef-drawer-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ef-section-title-group {
    gap: 10px;
  }

  .ef-section-title-group::after {
    width: 92px;
    height: 3px;
  }

  .cx-depth-marquee {
    font-size: clamp(42px, 13vw, 72px);
  }

  .cx-faq-visual {
    aspect-ratio: 16 / 11;
    margin-bottom: 10px;
  }

  .cx-hw-stations,
  .cx-hw-mini-specs,
  .cx-atmo-stage-grid,
  .ef-reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cx-hw-stage-shell {
    padding: 14px;
    border-radius: 18px;
  }

  .cx-hw-depth-word {
    font-size: clamp(44px, 14vw, 76px);
    top: 4px;
  }

  .cx-hw-station-body {
    padding: 16px;
  }

  .cx-hw-station-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ef-tab-bar {
    width: 100%;
  }

  .ef-tab {
    flex: 1 1 auto;
  }

  .cx-hw-mobile-foot .ef-btn,
  .ef-reviews-foot .ef-btn,
  .ef-tariff-actions .ef-btn,
  .ef-contact-actions .ef-btn,
  .ef-action-pair .ef-btn,
  .ef-games-more-wrap .ef-btn {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .ef-game-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ef-game-actions {
    width: 100%;
  }

  .ef-game-actions .ef-btn {
    flex: 1 1 140px;
    justify-content: space-between;
  }

  .cx-map-pin-label {
    padding: 6px 10px;
  }

  .cx-map-pin-label b {
    font-size: 10px;
  }

  .cx-map-pin-label em {
    font-size: 10.5px;
  }

  .cx-map-pin[data-map-pin="novokosino"] .cx-map-pin-label {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
  }

  .ef-faq-item > summary {
    padding: 16px 18px;
  }

  .ef-gift-copy {
    padding: 24px 20px;
  }

  .ef-gift-copy h2 {
    font-size: clamp(14.5px, 3.95vw, 19px);
    letter-spacing: 0.01em;
    word-spacing: 0.03em;
  }

  .ef-faq-answer {
    padding: 0 18px 18px;
  }

  .ef-gallery-dialog[open] {
    grid-template-columns: minmax(0, 1fr);
  }

  .ef-gallery-prev,
  .ef-gallery-next {
    display: none;
  }
}

@media (max-width: 355px) {
  body.page-racing .ef-logo img {
    height: 28px;
  }

  body.page-racing .ef-logo-tag {
    font-size: 8.5px;
    letter-spacing: 0.11em;
  }

  body.page-racing .ef-nav-cta {
    padding: 0 10px;
    font-size: 10px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ef-page.is-story-animated .cx-story-reveal,
  .ef-page.is-story-animated .cx-story-card,
  .ef-page.is-story-animated .cx-story-reveal .cx-mask-heading > span,
  .ef-page.is-story-animated .cx-story-card .cx-shutter-media img,
  .ef-page .cx-atmo-card.is-inview {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ef-page.is-story-animated .cx-story-card .cx-shutter-media::after,
  .cx-tilt-surface::before {
    display: none;
  }

  .cx-hw-visual img,
  .cx-atmo-media img,
  .ef-stage-poster,
  .ef-gift-bg,
  .ef-btn::after {
    transition: none;
  }

  .ef-section-title-group h2 > span {
    animation: none;
  }
}
