/* ==========================================================================
   BODYRUSH 3D — IN-APP ARCADE CONSOLE & HUD DESIGN SYSTEM
   Modeled directly on SuperHotGameView.swift & LevelSelectModalOverlayView
   ========================================================================== */

:root {
  --bg-obsidian: #070811;
  --bg-cabinet: #0B0D1B;
  --bg-panel: #13162B;
  --bg-panel-hover: #1A1E3A;
  --bg-card-dark: #0E1021;

  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.16);
  --ruby: #FF2E52;
  --ruby-dim: rgba(255, 46, 82, 0.18);
  --gold: #FFD600;
  --gold-dim: rgba(255, 214, 0, 0.16);
  --orange: #FF8C1A;
  --emerald: #26E07A;
  --emerald-dim: rgba(38, 224, 122, 0.16);
  --purple: #B859FF;

  --text-white: #FFFFFF;
  --text-light: #DBE2F8;
  --text-muted: #939EC4;

  --font-display: 'Chakra Petch', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-console: 24px;
  --radius-card: 16px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-obsidian);
  background-image:
    linear-gradient(180deg, rgba(19, 22, 43, 0.85) 0%, rgba(7, 8, 17, 1) 520px),
    repeating-linear-gradient(
      90deg,
      rgba(0, 229, 255, 0.03) 0px,
      rgba(0, 229, 255, 0.03) 1px,
      transparent 1px,
      transparent 64px
    );
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

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

.lobby-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ==========================================================================
   TOP IN-APP HUD HEADER BAR
   ========================================================================== */

.hud-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 21, 0.96);
  border-bottom: 2px solid rgba(0, 229, 255, 0.45);
}

.hud-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 2px solid var(--cyan);
  object-fit: cover;
}

.app-brand-titles {
  display: flex;
  flex-direction: column;
}

.app-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.app-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

/* Live In-Game Telemetry Pill */
.hud-telemetry-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 5px;
  background: #05060D;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
}

.combo-ring-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid #FF40D9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #FF40D9;
}

.hud-Streak-badge {
  background: var(--gold);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.hud-kcal-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--orange);
}

.hud-fps-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  padding-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-nav-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.hud-nav-btn:hover,
.hud-nav-btn.active {
  background: var(--cyan);
  color: #000;
  border-color: #FFF;
}

.hud-nav-pro {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #000;
  border-color: #FFF;
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
}

.hud-lang-btn:hover {
  border-color: var(--cyan);
}

.hud-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--ruby);
  color: #FFF;
  border: 2px solid #FFF;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 3px 0 #7A091D;
  transition: transform 0.12s ease;
}

.hud-store-btn:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO: INTERACTIVE ARCADE LOBBY & COCKPIT
   ========================================================================== */

.arcade-lobby-section {
  padding: 24px 0 48px;
}

.lobby-hero-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 20px;
  background: var(--bg-panel);
  border: 2px solid rgba(0, 229, 255, 0.45);
  border-radius: 20px;
  box-shadow: 0 6px 0 #05060D;
}

.lobby-hero-copy {
  max-width: 820px;
}

.game-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.status-green {
  background: var(--emerald);
  color: #000;
}

.status-cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.status-gold {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.game-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--text-white);
}

.game-main-lead {
  font-size: 0.98rem;
  color: var(--text-light);
  max-width: 68ch;
}

.lobby-hero-stickers {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hero-sticker-runner {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

.hero-sticker-glove {
  transform: rotate(-10deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.65));
}

/* SPLIT COCKPIT GRID */
.cockpit-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: stretch;
}

/* ==========================================================================
   LEFT COLUMN: THE IN-APP 3-STEP MENU CONSOLE (LevelSelectModalOverlayView)
   ========================================================================== */

.app-menu-console {
  background: #0A0B17;
  border: 2.5px solid var(--cyan);
  border-radius: var(--radius-console);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 0 #04050B, 0 0 28px rgba(0, 229, 255, 0.16);
}

.console-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.console-window-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
}

.console-handsfree-hint {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}

/* 1-Tap Tutorial Banner (Matches step1WorldSelectionView) */
.tuto-callout-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 214, 0, 0.14);
  border: 2px solid var(--gold);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.tuto-callout-banner:hover {
  background: rgba(255, 214, 0, 0.22);
  transform: translateY(-1px);
}

.tuto-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(255, 214, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.tuto-copy-box {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tuto-copy-box strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
}

.tuto-copy-box span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.tuto-pill-cta {
  background: var(--gold);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* 3-Step Beat Saber Navigation Bar */
.console-step-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1.5px solid rgba(0, 229, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-light);
  transition: all 0.14s ease;
}

.step-tab .step-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.step-tab.active {
  background: var(--cyan);
  color: #000;
  border: 2px solid #FFF;
  box-shadow: 0 3px 0 #007B8A;
}

.step-tab.active .step-check {
  background: #000;
  color: var(--cyan);
}

/* Step Panes */
.console-step-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.console-step-pane.active {
  display: flex;
}

.pane-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.pane-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
}

.pane-sub-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* STEP 1: 6 Worlds Grid */
.worlds-console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.world-console-card {
  text-align: left;
  padding: 11px;
  border-radius: 16px;
  background: var(--bg-panel);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.12s ease, border-color 0.12s ease, background-color 0.12s ease;
}

.world-console-card:hover {
  transform: translateY(-2px);
  border-color: var(--world-accent, var(--cyan));
}

.world-console-card.selected {
  background: color-mix(in srgb, var(--world-accent, var(--cyan)) 24%, #13162B);
  border: 2.5px solid var(--world-accent, var(--cyan));
  box-shadow: 0 4px 0 #05060D;
}

.wc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-emoji {
  font-size: 1.5rem;
}

.wc-sprite {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.55));
}

.wc-badge-free {
  background: var(--emerald);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}

.wc-badge-pro {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}

.wc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
}

.wc-sub {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.3;
}

.wc-music-pill {
  margin-top: auto;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.48);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* STEP 2: 8 Levels Grid */
.levels-console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.level-console-card {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 13px;
  background: var(--bg-panel);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.level-console-card:hover {
  transform: translateY(-1px);
  border-color: var(--lvl-color, var(--cyan));
}

.level-console-card.selected {
  background: color-mix(in srgb, var(--lvl-color, var(--cyan)) 22%, #13162B);
  border: 2px solid var(--lvl-color, var(--cyan));
}

.lvl-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.lvl-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lvl-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--lvl-color, var(--cyan));
}

.lvl-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFF;
}

.lvl-music {
  font-size: 0.71rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* STEP 3: 4 Difficulties + Party Mode */
.diff-console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.diff-console-card {
  text-align: left;
  padding: 12px;
  border-radius: 15px;
  background: var(--bg-panel);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.diff-console-card:hover {
  transform: translateY(-1px);
  border-color: var(--diff-color, var(--cyan));
}

.diff-console-card.selected {
  background: color-mix(in srgb, var(--diff-color, var(--cyan)) 24%, #13162B);
  border: 2.5px solid var(--diff-color, var(--cyan));
}

.dc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFF;
}

.dc-free-tag {
  background: var(--emerald);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.dc-pro-tag {
  background: var(--gold);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.dc-count {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--diff-color, var(--cyan));
}

.dc-desc {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.35;
}

/* Party Mode Pills */
.party-selector-box {
  padding: 10px 12px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 214, 0, 0.35);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.party-selector-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold);
}

.party-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.party-pill {
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: #FFF;
  text-align: center;
}

.party-pill.active {
  background: var(--cyan);
  color: #000;
  border-color: #FFF;
}

/* Pinned Bottom Action Bar */
.console-bottom-bar {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.console-selection-recap {
  display: flex;
  flex-direction: column;
}

.recap-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.recap-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
}

.console-bottom-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-console-next {
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1.5px solid var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cyan);
}

.btn-console-next:hover {
  background: var(--cyan-dim);
}

.btn-console-launch {
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--emerald);
  color: #000;
  border: 2px solid #FFF;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 3px 0 #0E7A40;
}

/* ==========================================================================
   RIGHT COLUMN: LIVE IN-GAME 3D VIEWPORT & SCREENSHOTS SWITCHER
   ========================================================================== */

.game-viewport-column {
  display: flex;
  flex-direction: column;
}

.arcade-viewport-frame {
  background: #0A0B17;
  border: 2.5px solid var(--ruby);
  border-radius: var(--radius-console);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  box-shadow: 0 8px 0 #04050B, 0 0 28px rgba(255, 46, 82, 0.16);
}

.vp-hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #05060D;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.vp-multiplier-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--emerald);
}

.vp-score-col {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.vp-score-col small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
}

.vp-score-col strong {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #FFF;
}

.vp-kcal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--orange);
}

.vp-world-indicator {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255, 214, 0, 0.12);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.vp-hearts {
  font-size: 0.82rem;
  letter-spacing: 1px;
}

/* Viewport Media Stage */
.vp-stage {
  position: relative;
  flex: 1;
  min-height: 410px;
  border-radius: 16px;
  overflow: hidden;
  background: #04050A;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.vp-media-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.vp-media-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vp-video {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.vp-capture-img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #05060D;
}

/* Dynamic World Preview Strip inside Video Stage */
.vp-world-overlay-card {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(8, 10, 22, 0.92);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.vp-world-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid #FFF;
  flex-shrink: 0;
}

.vp-world-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.vp-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--cyan);
}

.vp-meta-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-meta-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-world-monster {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.vp-audio-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(5, 6, 13, 0.88);
  border: 1.5px solid var(--gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
}

.vp-switcher-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.vp-switch-btn {
  padding: 8px 4px;
  border-radius: 10px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-light);
  text-align: center;
}

.vp-switch-btn.active,
.vp-switch-btn:hover {
  background: var(--ruby);
  color: #FFF;
  border-color: #FFF;
}

/* ==========================================================================
   SECTION HEADERS & GAMEPLAY DECK (SECTION 2)
   ========================================================================== */

.gameplay-deck-section,
.captures-wall-section,
.tv-salon-section,
.pro-pass-section {
  padding: 48px 0;
  border-top: 2px solid rgba(255, 255, 255, 0.08);
}

.arcade-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.arcade-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 4px;
}

.arcade-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFF;
}

.arcade-header-desc {
  max-width: 54ch;
  font-size: 0.94rem;
  color: var(--text-light);
}

/* 4 Specialty Cards */
.specialty-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.specialty-card {
  background: var(--bg-panel);
  border: 2px solid var(--spec-accent, var(--cyan));
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 6px 0 #05060D;
}

.spec-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.45);
  color: var(--spec-accent, var(--cyan));
  border: 1px solid var(--spec-accent, var(--cyan));
}

.spec-Floating-sticker {
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}

.spec-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFF;
}

.spec-text {
  font-size: 0.9rem;
  color: var(--text-light);
  max-width: 65ch;
}

.spec-mechanic-pills {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
}

.spec-mechanic-pills span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 10px;
  background: #0A0B17;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* 10 Postures Showcase Panel */
.postures-showcase-panel {
  background: #0A0B17;
  border: 2px solid var(--cyan);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 0 #05060D;
}

.postures-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.postures-sub {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-top: 2px;
}

.auto-glide-badge {
  background: var(--emerald);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.postures-pills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.pose-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-panel);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}

.pose-chip.pose-tier-easy {
  border-color: var(--emerald);
}

.pose-chip.pose-tier-normal {
  border-color: var(--cyan);
}

.pose-chip.pose-tier-hard {
  border-color: var(--gold);
}

.pose-emoji {
  font-size: 1.5rem;
}

.pose-chip div {
  display: flex;
  flex-direction: column;
}

.pose-chip strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #FFF;
}

.pose-chip small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 3: REAL IN-GAME CAPTURES WALL
   ========================================================================== */

.captures-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.game-capture-card {
  background: var(--bg-panel);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 0 #05060D;
}

.game-capture-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}

.game-capture-card figcaption {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.game-capture-card figcaption strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--gold);
}

.game-capture-card figcaption span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   SECTION 4: AIRPLAY 16:9 TV + PARTY TOURNAMENT
   ========================================================================== */

.tv-salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.arcade-hardware-panel,
.arcade-party-panel {
  background: var(--bg-panel);
  border: 2px solid var(--cyan);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 0 #05060D;
}

.arcade-party-panel {
  border-color: var(--gold);
}

.hardware-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 62ch;
}

.dual-screen-diagram {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 12px;
  margin-top: auto;
}

.diagram-tv-box,
.diagram-phone-box {
  background: #090B16;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diagram-tv-header,
.diagram-phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan);
}

.diagram-tag-green {
  background: var(--emerald);
  color: #000;
  padding: 2px 6px;
  border-radius: 6px;
}

.diagram-tv-screen {
  position: relative;
  height: 132px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
}

.diagram-tv-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagram-tv-boss {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
}

.diagram-tv-fist {
  position: absolute;
  right: 14px;
  bottom: 6px;
}

.diagram-phone-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin: auto 0;
}

.diagram-phone-body strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--emerald);
}

.diagram-phone-body span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.party-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.party-step-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #090B16;
  border: 1px solid rgba(255, 214, 0, 0.28);
}

.ps-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.party-step-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.party-step-row strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #FFF;
}

.party-step-row span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   SECTION 5: PRO PASS & PRIVACY / FAQ
   ========================================================================== */

.pro-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.pro-tier-card {
  background: var(--bg-panel);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 0 #05060D;
}

.pro-tier-featured {
  background: #171A36;
  border: 2.5px solid var(--gold);
  box-shadow: 0 8px 0 #05060D, 0 0 28px rgba(255, 214, 0, 0.16);
}

.pt-ribbon {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.pt-art-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pt-iap-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  border: 2px solid #FFF;
  object-fit: cover;
  flex-shrink: 0;
}

.pt-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--cyan);
}

.pt-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.pt-price {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFF;
}

.pt-price small {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pt-sub-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

.pt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.pt-yes {
  color: var(--text-white);
}

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

.pt-btn {
  margin-top: auto;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  border: 2px solid #FFF;
}

.pt-btn-cyan {
  background: var(--cyan);
  color: #000;
}

.pt-btn-gold {
  background: linear-gradient(90deg, var(--gold), var(--orange));
  color: #000;
}

.pt-btn-ruby {
  background: var(--ruby);
  color: #FFF;
}

/* Privacy & FAQ Strip */
.privacy-faq-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.privacy-arcade-box,
.faq-arcade-box {
  background: #0A0B17;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.priv-badge {
  align-self: flex-start;
  background: var(--emerald-dim);
  color: var(--emerald);
  border: 1px solid var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.privacy-arcade-box h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.privacy-arcade-box p {
  font-size: 0.88rem;
  color: var(--text-light);
}

.priv-link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cyan);
  text-decoration: underline;
}

.arcade-faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 11px 14px;
}

.arcade-faq-item summary {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.arcade-faq-item p {
  margin-top: 8px;
  font-size: 0.83rem;
  color: var(--text-light);
}

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

.arcade-footer {
  padding: 28px 0 40px;
  border-top: 2px solid rgba(0, 229, 255, 0.3);
  background: #05060D;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-light);
}

.footer-links-row a:hover {
  color: var(--cyan);
}

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

@media (max-width: 1080px) {
  .cockpit-grid {
    grid-template-columns: 1fr;
  }
  .postures-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .captures-4-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tv-salon-grid,
  .pro-tiers-grid,
  .privacy-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hud-nav {
    display: none;
  }
  .lobby-hero-stickers {
    display: none;
  }
  .worlds-console-grid,
  .levels-console-grid,
  .diff-console-grid,
  .specialty-cards-grid {
    grid-template-columns: 1fr;
  }
  .party-pills-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dual-screen-diagram {
    grid-template-columns: 1fr;
  }
  .captures-4-grid,
  .postures-pills-grid {
    grid-template-columns: 1fr;
  }
  .vp-switcher-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}
