/* ==========================================================================
   IVEY TAKAHASHI #77 (アイヴィー 高橋) - IMMERSIVE SUPERBIKE MOTORSPORT WEB EXPERIENCE
   Blonde Japanese Superbike Prodigy | Pink, Purple & Obsidian Carbon Design System
   FIM WorldSBK Superbike World Championship & Suzuka 8 Hours Legend
   ========================================================================== */

:root {
  --bg-primary: #06040a;
  --bg-secondary: #0b0713;
  --bg-card: rgba(18, 11, 26, 0.76);
  --bg-card-border: rgba(255, 42, 133, 0.22);
  
  /* Pink, Purple & Black Design System */
  --neon-volt: #ff2a85;       /* Electric Cyber Pink */
  --neon-volt-glow: rgba(255, 42, 133, 0.55);
  --neon-pink: #ff2a85;
  --neon-pink-glow: rgba(255, 42, 133, 0.55);
  --neon-pink-bright: #ff529f;
  
  --neon-cyan: #9d00ff;       /* Ultraviolet Electric Purple */
  --neon-cyan-glow: rgba(157, 0, 255, 0.5);
  --neon-purple: #9d00ff;
  --neon-purple-glow: rgba(157, 0, 255, 0.5);
  --neon-purple-deep: #7000ff;
  --neon-lilac: #f0abfc;

  --racing-red: #ff1493;
  --racing-orange: #d946ef;
  
  --text-main: #fcf8ff;
  --text-muted: #c2afd6;
  --text-dim: #735d8a;

  /* Typography */
  --font-race: 'Chakra Petch', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-jp: 'Noto Sans JP', sans-serif;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-heading);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  overflow-x: clip; /* clip keeps position: sticky working (hidden breaks it) */
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.text-neon {
  color: var(--neon-volt) !important;
}

/* ==========================================================================
   HIGH-OCTANE MOTION & IMMERSION UPGRADE
   Screen Shake, Tire Smoke/Sparks Canvas, Holographic HUD, Ambient Lights
   ========================================================================== */

/* Screen Shake removed to keep video and UI perfectly steady and smooth */
body.screen-revving {
  /* No trembling / screen shake */
}

/* Speed Lines Canvas Overlay */
.speed-canvas-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99990;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.speed-active .speed-canvas-overlay {
  opacity: 1;
}

/* Redline Warning Flash Overlay */
.redline-warning-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99995;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(255, 42, 75, 0.28) 100%);
  opacity: 0;
  transition: opacity 0.08s ease;
}

body.in-redline .redline-warning-flash {
  opacity: 1;
  animation: redline-pulse 0.12s infinite alternate;
}

@keyframes redline-pulse {
  0% { opacity: 0.2; }
  100% { opacity: 0.75; }
}

/* Section Header Racing Badges with Glitch / Pulse */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 42, 133, 0.08);
  border: 1px solid rgba(255, 42, 133, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-volt);
  box-shadow: 0 0 8px var(--neon-volt);
  animation: pulse-dot 1s infinite alternate;
}

/* Enhanced 3D Perspective for comparison section */
.quick-overview-section {
  position: relative;
  padding: 7rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(15, 23, 34, 0.7) 0%, #05070b 80%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
  perspective: 1400px;
}

/* Floating interactive telemetry HUD in background */
.cockpit-hud-dashboard {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

body.screen-revving .cockpit-hud-dashboard {
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.9), 
    0 0 45px rgba(255, 42, 133, 0.25), 
    inset 0 0 40px rgba(255, 42, 133, 0.08);
}

/* Exhaust Flame / Turbo Spool Glow on the Rev Pedal */
.rev-pedal-btn {
  position: relative;
  overflow: hidden;
}

.rev-pedal-btn::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.6), transparent 30%);
  animation: rotate-conic 2.5s linear infinite;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.rev-pedal-btn:hover::after,
body.screen-revving .rev-pedal-btn::after {
  opacity: 1;
}

@keyframes rotate-conic {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Timeline, Stats and Cards Scroll Reveal Transitions */
.stat-counter-card,
.timeline-item,
.race-round-card,
.sponsor-brand-box {
  opacity: 0;
  transform: translateY(35px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stat-counter-card.revealed,
.timeline-item.revealed,
.race-round-card.revealed,
.sponsor-brand-box.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for grid items */
.career-stats-counter-grid .stat-counter-card:nth-child(1) { transition-delay: 0.05s; }
.career-stats-counter-grid .stat-counter-card:nth-child(2) { transition-delay: 0.15s; }
.career-stats-counter-grid .stat-counter-card:nth-child(3) { transition-delay: 0.25s; }
.career-stats-counter-grid .stat-counter-card:nth-child(4) { transition-delay: 0.35s; }

.calendar-cards-grid .race-round-card:nth-child(1) { transition-delay: 0.05s; }
.calendar-cards-grid .race-round-card:nth-child(2) { transition-delay: 0.12s; }
.calendar-cards-grid .race-round-card:nth-child(3) { transition-delay: 0.19s; }
.calendar-cards-grid .race-round-card:nth-child(4) { transition-delay: 0.26s; }
.calendar-cards-grid .race-round-card:nth-child(5) { transition-delay: 0.33s; }

/* Interactive Cursor Spark Trail effect */
.cursor-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 99997;
  mix-blend-mode: screen;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Custom Racing Steering Wheel Cursor */
.racing-wheel-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 58px;
  height: 34px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%) rotate(0deg);
  will-change: transform;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 10px var(--neon-volt-glow));
  transition: width 0.2s ease, height 0.2s ease, filter 0.2s ease;
}

.racing-wheel-cursor .wheel-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.cursor-hover .racing-wheel-cursor {
  transform: translate(-50%, -50%) scale(1.18);
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px var(--neon-volt));
}

.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  border: 1px dashed rgba(255, 42, 133, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s, width 0.2s, height 0.2s;
  box-shadow: 0 0 14px rgba(255, 42, 133, 0.2);
}

.cursor-hover .custom-cursor-follower {
  width: 72px;
  height: 72px;
  border-color: #fff;
  border-style: solid;
  background: rgba(255, 42, 133, 0.08);
}

/* Ambient Radial Glow */
.ambient-glow {
  position: fixed;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 85vh;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.race-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.5) 80%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1700px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Badge */
.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-race);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.brand-monogram {
  color: #fff;
  letter-spacing: 0.05em;
}

.brand-number {
  color: var(--neon-volt);
  background: rgba(255, 42, 133, 0.12);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--neon-volt);
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--neon-volt-glow);
}

.brand-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--neon-volt);
  box-shadow: 0 0 8px var(--neon-volt);
  animation: pulse-dot 1.8s infinite;
  margin-left: 0.2rem;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-race);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item .nav-num {
  color: var(--neon-volt);
  font-size: 0.65rem;
  margin-right: 0.25rem;
  font-family: var(--font-mono);
}

.nav-item:hover,
.nav-item.active {
  color: #fff;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-volt);
  box-shadow: 0 0 10px var(--neon-volt);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(20, 26, 36, 0.85);
  border: 1px solid rgba(255, 42, 133, 0.3);
  padding: 2px 6px;
  border-radius: 20px;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 6px;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--neon-volt);
  color: #000;
  box-shadow: 0 0 10px var(--neon-volt-glow);
}

.lang-divider {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* Camera Switcher */
.camera-switch-pill {
  display: flex;
  background: rgba(20, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px;
  border-radius: 30px;
}

.cam-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cam-btn.active {
  background: #fff;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Sound Button */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.sound-toggle-btn:hover {
  border-color: var(--neon-volt);
  color: var(--neon-volt);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-bars .bar {
  width: 2px;
  background: var(--text-muted);
  height: 4px;
  border-radius: 1px;
  transition: height 0.2s ease, background 0.2s ease;
}

.sound-toggle-btn.sound-on .sound-bars .bar {
  background: var(--neon-volt);
  animation: sound-eq 0.8s ease-in-out infinite alternate;
}

.sound-toggle-btn.sound-on .sound-bars .bar:nth-child(1) { animation-delay: 0.1s; }
.sound-toggle-btn.sound-on .sound-bars .bar:nth-child(2) { animation-delay: 0.3s; }
.sound-toggle-btn.sound-on .sound-bars .bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes sound-eq {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ==========================================================================
   IMMERSIVE HERO SECTION
   ========================================================================== */
.hero-scroll-track {
  position: relative;
  height: 260vh;
}

.hero-section {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 75px;
  padding-bottom: 44px;
}

/* B&W Cinematic Moving Race Background */
.hero-bg-bw-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Background Race Video in Motion */
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 110%;
  min-height: 110%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.04);
  object-fit: cover;
  filter: grayscale(100%) contrast(1.45) brightness(0.48);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.bw-race-layer {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: url('assets/race-bw-1.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: grayscale(100%) contrast(1.48) brightness(0.48);
  animation: bg-pan-slow 22s ease-in-out infinite alternate;
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
  z-index: 2;
  opacity: 0.82;
}

@keyframes bg-pan-slow {
  0% { transform: scale(1) translate(0%, 0%); }
  50% { transform: scale(1.05) translate(-1.2%, 0.8%); }
  100% { transform: scale(1.02) translate(1.2%, -0.8%); }
}

/* Mouse-following cinematic spotlight */
.bg-spotlight {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 520px at var(--mx, 50%) var(--my, 45%), rgba(255, 255, 255, 0.16) 0%, rgba(255, 42, 133, 0.06) 35%, transparent 70%);
  mix-blend-mode: screen;
  transition: background 0.1s linear;
}

/* Volumetric light rays behind the rider (GPU Optimized) */
.light-rays {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.04) 0deg 4deg,
    transparent 4deg 13deg,
    rgba(255, 42, 133, 0.03) 13deg 15deg,
    transparent 15deg 26deg
  );
  mask-image: radial-gradient(circle, black 0%, rgba(0, 0, 0, 0.4) 22%, transparent 48%);
  -webkit-mask-image: radial-gradient(circle, black 0%, rgba(0, 0, 0, 0.4) 22%, transparent 48%);
  animation: rays-spin 90s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

@keyframes rays-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Horizontal racing light beam (GPU Optimized) */
.light-beam {
  position: absolute;
  top: -20%;
  left: -40%;
  width: 35%;
  height: 140%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 42, 133, 0.05) 60%, transparent 100%);
  transform: skewX(-18deg);
  mix-blend-mode: screen;
  animation: beam-pass 9s cubic-bezier(0.6, 0, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes beam-pass {
  0% { left: -40%; opacity: 0; }
  15% { opacity: 1; }
  60% { left: 110%; opacity: 1; }
  61%, 100% { left: 110%; opacity: 0; }
}

.bw-vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(6, 4, 10, 0.2) 0%, rgba(6, 4, 10, 0.45) 40%, rgba(6, 4, 10, 0.90) 72%, #06040a 100%),
    radial-gradient(ellipse at 50% 50%, rgba(5, 6, 8, 0.15) 0%, rgba(5, 6, 8, 0.82) 75%, #06040a 100%),
    linear-gradient(180deg, rgba(5,6,8,0.7) 0%, transparent 20%, transparent 70%, #06040a 100%);
}

.hero-bokeh-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ==========================================================================
   PROFESSIONAL EDITORIAL HERO TYPOGRAPHY & IDENTITY (RIGHT SIDE)
   ========================================================================== */
.hero-editorial-content {
  position: absolute;
  top: 48%;
  right: 4vw;
  transform: translateY(-50%);
  width: 50vw;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
  pointer-events: auto;
}

/* Athlete Category Pill */
.athlete-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 42, 133, 0.08);
  border: 1px solid rgba(255, 42, 133, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--neon-pink);
  margin-bottom: 1.1rem;
  backdrop-filter: blur(8px);
}

.category-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.category-sep {
  color: rgba(255, 255, 255, 0.25);
}

.category-num {
  color: #fff;
  font-weight: 700;
}

/* ==========================================================================
   KINETIC NEON GLOWING ATHLETE NAME (SCROLLS SIDEWAYS WITH VIBRANT NEON)
   ========================================================================== */
.athlete-name-kinetic {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
  width: 100%;
}

.name-kinetic-row {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transition: transform 0.08s ease-out;
}

.row-first {
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.row-last {
  align-items: flex-start;
}

.kinetic-kanji-sub {
  font-family: var(--font-jp);
  font-size: clamp(0.92rem, 1.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--neon-pink);
  text-shadow: 0 0 10px rgba(255, 42, 133, 0.85), 0 0 25px rgba(255, 42, 133, 0.6);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.kinetic-kanji-sub.kanji-bottom {
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: clamp(0.85rem, 1.2vw, 1.05rem);
  letter-spacing: 0.2em;
  color: #ff5ea8;
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.8), 0 0 20px rgba(157, 0, 255, 0.5);
}

/* Translucent Glowing Neon Box for IVEY (from user screenshot) */
.name-box-glow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1.6rem;
  background: rgba(255, 42, 133, 0.16);
  border: 1.5px solid rgba(255, 42, 133, 0.75);
  box-shadow: 
    0 0 25px rgba(255, 42, 133, 0.55),
    0 0 50px rgba(255, 42, 133, 0.3),
    inset 0 0 18px rgba(255, 42, 133, 0.25);
  backdrop-filter: blur(4px);
  transform: skewX(-8deg);
  border-radius: 2px;
}

.name-box-glow .kinetic-text {
  font-family: var(--font-race);
  font-size: clamp(4.2rem, 8.8vw, 8.6rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 
    0 0 12px #ff2a85,
    0 0 28px #ff2a85,
    0 0 55px rgba(255, 42, 133, 0.9),
    0 0 90px rgba(255, 42, 133, 0.6);
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.95);
  animation: neon-text-oscillate 3s ease-in-out infinite alternate;
}

/* Corner Accents on IVEY Box */
.box-corner {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: #ffffff;
  border-style: solid;
}
.box-corner.c-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.box-corner.c-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.box-corner.c-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.box-corner.c-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

/* Giant Glowing TAKAHASHI */
.name-text-glow {
  display: block;
  transform: skewX(-8deg);
}

.name-text-glow .kinetic-text {
  font-family: var(--font-race);
  font-size: clamp(4.4rem, 9.2vw, 9.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 
    0 0 14px #ff2a85,
    0 0 32px #ff2a85,
    0 0 65px rgba(255, 42, 133, 0.9),
    0 0 110px rgba(255, 42, 133, 0.65);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.95);
  animation: neon-text-oscillate 3s ease-in-out 0.8s infinite alternate;
}

@keyframes neon-text-oscillate {
  0% {
    text-shadow: 
      0 0 10px #ff2a85,
      0 0 24px #ff2a85,
      0 0 50px rgba(255, 42, 133, 0.8),
      0 0 80px rgba(255, 42, 133, 0.5);
  }
  50% {
    text-shadow: 
      0 0 16px #ff2a85,
      0 0 38px #ff2a85,
      0 0 75px rgba(255, 42, 133, 1),
      0 0 120px rgba(157, 0, 255, 0.75);
  }
  100% {
    text-shadow: 
      0 0 12px #9d00ff,
      0 0 30px #ff2a85,
      0 0 60px rgba(157, 0, 255, 0.9),
      0 0 95px rgba(255, 42, 133, 0.6);
  }
}

.athlete-bio-lead {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.18vw, 1.12rem);
  line-height: 1.6;
  color: #c2afd6;
  max-width: 580px;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

/* Telemetry Micro-Metrics Row */
.athlete-metrics-grid {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
  padding: 0.9rem 1.4rem;
  background: rgba(14, 10, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--neon-pink);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.metric-box {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-race);
  font-size: 1.7rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  line-height: 1;
}

.metric-val .unit {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-style: normal;
  color: var(--neon-pink);
  margin-left: 3px;
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Athlete CTA Actions */
.athlete-cta-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.btn-race-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--neon-pink);
  color: #000;
  font-family: var(--font-race);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-race-primary:hover {
  background: #ff4797;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 42, 133, 0.45);
}

.btn-race-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-race-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-race-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-race);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-race-outline:hover {
  border-color: var(--neon-purple);
  background: rgba(157, 0, 255, 0.12);
  color: #fff;
}

.btn-race-video {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 42, 133, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 42, 133, 0.45);
  font-family: var(--font-race);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(255, 42, 133, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-race-video:hover {
  background: rgba(255, 42, 133, 0.28);
  border-color: var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.5), inset 0 0 12px rgba(255, 42, 133, 0.25);
  transform: translateY(-2px);
  color: #fff;
}

.video-play-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--neon-pink);
  color: #fff;
  font-size: 0.65rem;
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.8);
  padding-left: 2px;
}

/* ==========================================================================
   ENLARGED NUMBER #77 WITH OSCILLATING NEON EFFECT (BEHIND TYPOGRAPHY)
   ========================================================================== */
.hero-number-watermark {
  position: absolute;
  top: 50%;
  right: -2vw;
  transform: translateY(-50%);
  width: min(72vw, 1280px);
  aspect-ratio: 16 / 10;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  opacity: 0.28;
  mix-blend-mode: screen;
  will-change: transform;
}

.number-watermark-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.num-neon-group {
  transform: skewX(-10deg);
  transform-origin: 600px 460px;
}

.num-neon-fill {
  font-family: var(--font-race);
  font-size: 820px;
  font-weight: 900;
  font-style: italic;
  fill: url(#neonFillGrad);
  letter-spacing: -24px;
}

.num-neon-glow {
  font-family: var(--font-race);
  font-size: 820px;
  font-weight: 900;
  font-style: italic;
  fill: none;
  stroke: url(#neonNumGrad);
  stroke-width: 3.5px;
  letter-spacing: -24px;
  animation: neon-num-oscillate 3.2s ease-in-out infinite alternate;
}

.num-neon-core {
  font-family: var(--font-race);
  font-size: 820px;
  font-weight: 900;
  font-style: italic;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.4px;
  letter-spacing: -24px;
  opacity: 0.65;
  animation: neon-core-pulse 3.2s ease-in-out infinite alternate;
}

@keyframes neon-num-oscillate {
  0% {
    filter: drop-shadow(0 0 16px rgba(255, 42, 133, 0.7)) drop-shadow(0 0 35px rgba(255, 42, 133, 0.4));
    stroke: #ff2a85;
    opacity: 0.75;
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255, 42, 133, 0.9)) drop-shadow(0 0 65px rgba(157, 0, 255, 0.8));
    stroke: #ff60ad;
    opacity: 0.95;
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(157, 0, 255, 0.8)) drop-shadow(0 0 50px rgba(157, 0, 255, 0.5));
    stroke: #9d00ff;
    opacity: 0.8;
  }
}

@keyframes neon-core-pulse {
  0% { opacity: 0.55; }
  50% { opacity: 0.85; stroke-width: 2px; }
  100% { opacity: 0.65; stroke-width: 1.2px; }
}

/* ==========================================================================
   PILOT STAGE: POSITIONED ON THE LEFT SIDE (CLEAN & SEAMLESS)
   ========================================================================== */
.hero-center-driver-stage {
  position: absolute;
  bottom: 0px;
  left: 4vw;
  right: auto;
  transform: none;
  width: 42vw;
  max-width: 700px;
  height: calc(100vh - 42px);
  max-height: 1020px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 4;
  pointer-events: none;
}

.driver-figure-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: auto;
  transform-origin: center bottom;
  will-change: transform;
}

.driver-backdrop-glow {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(255, 42, 133, 0.12) 0%, rgba(157, 0, 255, 0.05) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.driver-ground-shadow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 55px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.driver-img-shell {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  /* Soft, feathered fade at the bottom into the dark ground - ZERO hard edge */
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 8%, #000 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 8%, #000 100%);
  z-index: 2;
  will-change: transform;
  transform: none !important;
  animation: pilot-enter 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pilot-enter {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.driver-cutout-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  /* Natural, crisp studio contrast and authentic depth */
  filter: contrast(1.06) brightness(1.04) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.85));
  user-select: none;
  display: block;
  pointer-events: none;
  transform: none !important;
}

.driver-face {
  position: relative;
  opacity: var(--face-opacity, 1);
  transition: opacity 0.12s ease-out;
  will-change: opacity;
  transform: none !important;
}

.driver-helmet {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  opacity: var(--helmet-opacity, 0);
  filter: contrast(1.06) brightness(1.04)
         drop-shadow(0 18px 40px rgba(0, 0, 0, 0.85))
         drop-shadow(0 0 calc(var(--helmet-glow, 0) * 20px) rgba(0, 240, 255, calc(var(--helmet-glow, 0) * 0.9)))
         drop-shadow(0 0 calc(var(--helmet-glow, 0) * 35px) rgba(255, 42, 133, calc(var(--helmet-glow, 0) * 0.65)));
  transition: opacity 0.12s ease-out;
  will-change: opacity, filter;
  transform: none !important;
}

/* ==========================================================================
   FUTURISTIC HELMET TRANSITION FX (SCAN BEAM, HUD BRACKETS, VISOR SHEEN)
   ========================================================================== */
.helmet-transition-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

/* 1. Holographic Scanning Laser Beam (Moves smoothly down the head) */
.helmet-scan-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(54%, 310px);
  height: 4px;
  top: var(--scan-top, 28%);
  opacity: var(--scan-opacity, 0);
  pointer-events: none;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.12s ease-out;
}

.scan-beam-glow {
  position: absolute;
  width: 100%;
  height: 22px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.85) 0%, rgba(255, 42, 133, 0.5) 45%, transparent 75%);
  filter: blur(5px);
}

.scan-beam-core {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 42, 133, 0.2) 15%, 
    #ff2a85 30%, 
    #ffffff 50%, 
    #00f0ff 70%, 
    rgba(0, 240, 255, 0.2) 85%, 
    transparent 100%
  );
  box-shadow: 
    0 0 8px #ffffff,
    0 0 16px #00f0ff,
    0 0 32px #ff2a85;
}

.scan-node-left,
.scan-node-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
}

.scan-node-left {
  left: 6%;
}

.scan-node-right {
  right: 6%;
}

/* 2. Cyberpunk HUD Target Brackets around Helmet */
.helmet-hud-lock {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(56%, 320px);
  height: min(29%, 295px);
  pointer-events: none;
  opacity: var(--hud-opacity, 0);
  transition: opacity 0.2s ease-out;
  z-index: 11;
}

.hud-bracket-tl,
.hud-bracket-tr,
.hud-bracket-bl,
.hud-bracket-br {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #00f0ff;
  border-style: solid;
  opacity: 0.85;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hud-bracket-tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.hud-bracket-tr {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.hud-bracket-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.hud-bracket-br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.hud-telemetry-chip {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8, 6, 15, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

.hud-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: dot-pulse 0.9s infinite alternate;
}

.hud-chip-text {
  font-family: var(--font-race);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #00f0ff;
}

/* When Helmet is Locked (Race Ready State) */
.helmet-hud-lock.locked .hud-bracket-tl,
.helmet-hud-lock.locked .hud-bracket-tr,
.helmet-hud-lock.locked .hud-bracket-bl,
.helmet-hud-lock.locked .hud-bracket-br {
  border-color: #00ff66;
  box-shadow: 0 0 12px #00ff66;
}

.helmet-hud-lock.locked .hud-telemetry-chip {
  border-color: rgba(0, 255, 102, 0.6);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.35);
}

.helmet-hud-lock.locked .hud-chip-dot {
  background: #00ff66;
  box-shadow: 0 0 10px #00ff66;
}

.helmet-hud-lock.locked .hud-chip-text {
  color: #00ff66;
}

/* 3. Visor Reflective Glint Flare (Streaks across visor on seal) */
.helmet-visor-sheen {
  position: absolute;
  left: 50%;
  top: 41.5%;
  transform: translate(-50%, -50%);
  width: min(44%, 250px);
  height: 65px;
  overflow: hidden;
  pointer-events: none;
  z-index: 14;
}

.helmet-visor-sheen::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(0, 240, 255, 0.8) 50%,
    #ffffff 55%,
    rgba(255, 42, 133, 0.8) 65%,
    transparent 100%
  );
  filter: blur(3px);
  transform: skewX(-28deg);
  opacity: 0;
}

.helmet-visor-sheen.flash::after {
  animation: visor-glare-sweep 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes visor-glare-sweep {
  0% {
    left: -120%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.9;
  }
  100% {
    left: 220%;
    opacity: 0;
  }
}

/* ==========================================================================
   MODE HUD + SCROLL HINT
   ========================================================================== */
.hero-mode-hud {
  position: absolute;
  top: 105px;
  left: 2.5rem;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text-main);
  background: rgba(5, 6, 8, 0.55);
  border: 1px solid rgba(255, 42, 133, 0.25);
  padding: 0.5rem 0.9rem;
  border-radius: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mode-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--racing-orange);
  box-shadow: 0 0 8px var(--racing-orange);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hero-mode-hud.race-ready .mode-dot {
  background: var(--neon-volt);
  box-shadow: 0 0 10px var(--neon-volt);
  animation: pulse-dot 1s infinite;
}

.mode-bar {
  width: 70px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.mode-bar-fill {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--neon-volt);
  box-shadow: 0 0 8px var(--neon-volt);
}

.scroll-hint {
  position: absolute;
  right: 2.5rem;
  bottom: 80px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  opacity: calc(1 - var(--p, 0) * 4);
  pointer-events: none;
}

.scroll-hint-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--neon-volt);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.3);
}

.scroll-hint-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--neon-volt);
  animation: wheel-scroll 1.6s ease-in-out infinite;
}

@keyframes wheel-scroll {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   RACING TICKER / MARQUEE
   ========================================================================== */
/* ==========================================================================
   BROADCAST RACE TELEMETRY TICKER RIBBON (CLEAN & HORIZONTAL)
   ========================================================================== */
.racing-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 6, 12, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 42, 133, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 42px;
  z-index: 25;
  pointer-events: auto;
}

.ticker-badge {
  background: var(--neon-pink);
  color: #000;
  font-family: var(--font-race);
  font-weight: 900;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  padding: 0 1.5rem 0 1.2rem;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.6);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  animation: marquee-anim 32s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #e0d5ec;
  font-weight: 500;
  text-transform: uppercase;
}

.ticker-content .separator {
  color: var(--neon-pink);
  font-weight: 700;
  opacity: 0.8;
}

@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   GLOBAL CYBER & MOTORSPORT SECTION UTILITIES
   ========================================================================== */
.paddock-weapons-section,
.cockpit-telemetry-console-section,
.career-hall-section,
.worldsbk-calendar-section,
.partners-alliances-section {
  position: relative;
  padding: 8rem 0;
  background-color: #06040a;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 42, 133, 0.15);
}

/* Subtle holographic cyber-grid background overlay */
.cyber-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 42, 133, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(157, 0, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Atmospheric Ambient Spotlights */
.ambient-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  opacity: 0.18;
  z-index: 1;
}

.ambient-glow.glow-pink {
  background: radial-gradient(circle, #ff2a85 0%, transparent 70%);
  top: 10%;
  left: -10%;
}

.ambient-glow.glow-purple {
  background: radial-gradient(circle, #9d00ff 0%, transparent 70%);
  bottom: 5%;
  right: -10%;
}

.section-container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 5rem auto;
}

/* Cyber Category Pill Badge */
.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(18, 12, 28, 0.75);
  border: 1px solid rgba(255, 42, 133, 0.35);
  box-shadow: 0 0 16px rgba(255, 42, 133, 0.2);
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

.badge-dot.pulse {
  animation: badge-pulse-anim 1.8s ease-in-out infinite;
}

.badge-dot.pulse-neon {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: badge-pulse-anim 1.8s ease-in-out infinite;
}

@keyframes badge-pulse-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--neon-pink);
  background: rgba(255, 42, 133, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.section-title-cyber {
  font-family: var(--font-race);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.neon-highlight {
  background: linear-gradient(135deg, #ff2a85 0%, #ff7ec8 50%, #9d00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 16px rgba(255, 42, 133, 0.4));
}

.section-subtitle-cyber {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #a39ab3;
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   SECTION 02: THE WEAPONS // HERITAGE & MACHINES (600cc EVO & 1000cc PROTO)
   ========================================================================== */
.paddock-bays-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.paddock-machine-card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(18, 14, 28, 0.85) 0%, rgba(9, 6, 16, 0.95) 100%);
  border: 1px solid rgba(255, 42, 133, 0.25);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.paddock-machine-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 42, 133, 0.65);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 42, 133, 0.22);
}

.paddock-machine-card.flagship-featured {
  border-color: rgba(255, 42, 133, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 42, 133, 0.15);
}

.machine-card-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Status Strip */
.machine-status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: rgba(6, 4, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.status-class-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c9bede;
}

.status-class-tag.tag-flagship {
  color: var(--neon-pink);
  text-shadow: 0 0 8px rgba(255, 42, 133, 0.6);
}

.status-spec-flag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.status-spec-flag.flag-power {
  background: rgba(255, 42, 133, 0.22);
  border: 1px solid rgba(255, 42, 133, 0.45);
  color: #fff;
}

/* Viewport with HUD Overlay */
.machine-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.machine-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: contrast(1.05) brightness(0.95);
}

.paddock-machine-card:hover .machine-photo {
  transform: scale(1.05);
  filter: contrast(1.1) brightness(1.02);
}

.viewport-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 4, 10, 0.2) 0%, transparent 40%, rgba(6, 4, 10, 0.7) 100%);
}

.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 42, 133, 0.85);
  border-style: solid;
}

.hud-corner.c-top-left { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.hud-corner.c-top-right { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.hud-corner.c-bottom-left { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.hud-corner.c-bottom-right { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.hud-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hud-crosshair.active-crosshair {
  border-color: rgba(255, 42, 133, 0.6);
  box-shadow: 0 0 12px rgba(255, 42, 133, 0.4);
}

.hud-telemetry-tag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(6, 4, 10, 0.85);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Machine Info Deck */
.machine-info-deck {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machine-heading-block {
  margin-bottom: 1rem;
}

.machine-index-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--neon-purple);
  margin-bottom: 0.35rem;
}

.machine-index-tag.tag-flagship-sub {
  color: var(--neon-pink);
}

.machine-model-title {
  font-family: var(--font-race);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
}

.text-neon-glow {
  text-shadow: 0 0 15px rgba(255, 42, 133, 0.4);
}

.machine-lead-description {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b5a9c8;
  margin-bottom: 1.8rem;
}

/* Spec Matrix */
.machine-spec-matrix {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.spec-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.spec-metric-name {
  color: #a39ab3;
  letter-spacing: 0.08em;
}

.spec-metric-value {
  color: #ffffff;
  letter-spacing: 0.06em;
}

.spec-meter-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.spec-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.spec-meter-fill.fill-magenta {
  background: linear-gradient(90deg, #ff2a85, #ff6ba8);
  box-shadow: 0 0 8px #ff2a85;
}

.spec-meter-fill.fill-cyan {
  background: linear-gradient(90deg, #00f0ff, #7ef5ff);
  box-shadow: 0 0 8px #00f0ff;
}

.spec-meter-fill.fill-purple {
  background: linear-gradient(90deg, #9d00ff, #cf7eff);
  box-shadow: 0 0 8px #9d00ff;
}

.spec-meter-fill.fill-neon-pink {
  background: linear-gradient(90deg, #ff2a85, #9d00ff);
  box-shadow: 0 0 10px #ff2a85;
}

/* Technical Tags Cloud */
.machine-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #c9bede;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.tech-chip.chip-highlight {
  color: var(--neon-pink);
  border-color: rgba(255, 42, 133, 0.4);
  background: rgba(255, 42, 133, 0.08);
}

/* ==========================================================================
   SECTION 03: MISSION CONTROL // COCKPIT & LIVE TELEMETRY
   ========================================================================== */
.cockpit-master-deck {
  background: linear-gradient(175deg, rgba(16, 11, 26, 0.9) 0%, rgba(8, 5, 14, 0.98) 100%);
  border: 1px solid rgba(255, 42, 133, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 42, 133, 0.15);
  padding: 2.2rem;
  backdrop-filter: blur(14px);
}

/* Live Feed Ribbon */
.cockpit-live-feed-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(6, 4, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.feed-col {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.feed-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: badge-pulse-anim 1.2s infinite;
}

.feed-label {
  color: #8f82a5;
  font-weight: 500;
}

.feed-val {
  color: #fff;
  font-weight: 700;
}

.text-neon-pink { color: var(--neon-pink); }
.text-cyan { color: #00f0ff; }
.text-green { color: #00ff88; }
.clock-font { letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }

/* Shift Lights LED Bar */
.shift-lights-cockpit-bar {
  margin-bottom: 2.5rem;
  padding: 0.9rem 1.4rem;
  background: rgba(5, 3, 8, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.tach-lights-track {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  height: 18px;
}

.tach-led {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.08s ease, box-shadow 0.08s ease;
}

.tach-led.lit-green {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
}

.tach-led.lit-yellow {
  background: #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
}

.tach-led.lit-red {
  background: #ff2a85;
  box-shadow: 0 0 12px #ff2a85;
}

.tach-led.lit-purple {
  background: #9d00ff;
  box-shadow: 0 0 14px #9d00ff;
}

.tach-led.strobe-redline {
  background: #ffffff !important;
  box-shadow: 0 0 20px #ff2a85, 0 0 35px #ffffff !important;
  animation: redline-flash 0.1s linear infinite;
}

@keyframes redline-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Instruments Grid */
.cockpit-instruments-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.instrument-pod {
  background: rgba(8, 5, 14, 0.85);
  border: 1px solid rgba(255, 42, 133, 0.22);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.6);
}

.pod-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.pod-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #a39ab3;
}

.pod-unit-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.pod-unit-badge.badge-blipper {
  background: rgba(255, 42, 133, 0.2);
  color: var(--neon-pink);
  border: 1px solid rgba(255, 42, 133, 0.4);
}

.pod-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 1rem 0;
}

/* Speed Pod */
.speed-numeric-core {
  font-family: var(--font-race);
  font-size: clamp(4.5rem, 6.5vw, 6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 25px rgba(255, 42, 133, 0.35);
  margin-bottom: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.speed-peak-ribbon {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #c9bede;
  background: rgba(255, 42, 133, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 42, 133, 0.25);
}

.peak-icon {
  color: var(--neon-pink);
  margin-right: 4px;
}

.pod-footer-data {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #796c91;
}

/* Center Gear Pod */
.gear-bezel-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.5), inset 0 0 15px rgba(255, 42, 133, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: rgba(6, 4, 10, 0.95);
}

.gear-numeric-core {
  font-family: var(--font-race);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 42, 133, 0.8);
}

.rpm-numeric-core {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1.6rem;
  font-variant-numeric: tabular-nums;
}

/* Twist-Throttle Handlebar Button */
.twist-throttle-box {
  width: 100%;
}

.throttle-twist-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff2a85 0%, #d10065 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1.1rem 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-race);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.55);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  user-select: none;
}

.throttle-twist-btn:active,
.throttle-twist-btn.active {
  transform: scale(0.97);
  box-shadow: 0 0 40px rgba(255, 42, 133, 0.9);
}

.btn-bolt {
  margin-right: 6px;
}

.throttle-meter-rail {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.throttle-meter-glow {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #00f0ff, #ff2a85);
  box-shadow: 0 0 10px #ff2a85;
  border-radius: 999px;
  transition: width 0.08s ease-out;
}

/* IMU Gyro Pod */
.imu-gyro-bezel {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 42, 133, 0.4);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gyro-ring.ring-inner {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.gyro-axis-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.gyro-axis-v {
  position: absolute;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.gyro-apex-marker {
  position: absolute;
  top: 6px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--neon-pink);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.gyro-ball-target {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff2a85;
  box-shadow: 0 0 12px #ff2a85, 0 0 20px rgba(255, 42, 133, 0.8);
  transition: transform 0.12s ease-out;
}

.gyro-telemetry-readout {
  display: flex;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.gyro-col .lbl {
  color: #8f82a5;
  margin-right: 4px;
}

/* Sensors Matrix */
.cockpit-sensors-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.sensor-capsule {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(6, 4, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
}

.capsule-icon {
  font-size: 1.3rem;
}

.capsule-data {
  display: flex;
  flex-direction: column;
}

.capsule-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #8f82a5;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.capsule-value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-neon-cyan { color: #00f0ff; }
.text-neon-purple { color: #cf7eff; }

/* ==========================================================================
   SECTION 04: CAREER RECORD BOOK & SPEED MILESTONES
   ========================================================================== */
.career-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-bottom: 5rem;
}

.pillar-stat-card {
  background: linear-gradient(165deg, rgba(16, 11, 26, 0.8) 0%, rgba(8, 5, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 133, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 42, 133, 0.15);
}

.pillar-stat-card.highlight-pillar {
  border-color: rgba(255, 42, 133, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 42, 133, 0.15);
}

.pillar-stat-card.highlight-purple {
  border-color: rgba(157, 0, 255, 0.45);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(157, 0, 255, 0.15);
}

.pillar-header-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #a39ab3;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a39ab3;
}

.chip-pink { color: var(--neon-pink); }
.chip-pink .chip-dot { background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }

.chip-purple { color: #cf7eff; }
.chip-purple .chip-dot { background: #9d00ff; box-shadow: 0 0 6px #9d00ff; }

.pillar-huge-num {
  font-family: var(--font-race);
  font-size: clamp(3.2rem, 4.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.pillar-label-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pillar-sub-meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #796c91;
  letter-spacing: 0.08em;
}

/* Velocity Timeline Stream */
.velocity-timeline-stream {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline-fiber-axis {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 11px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-pink) 0%, var(--neon-purple) 60%, rgba(255, 42, 133, 0.1) 100%);
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.5);
}

.velocity-node {
  position: relative;
  margin-bottom: 3rem;
}

.velocity-node:last-child {
  margin-bottom: 0;
}

.node-marker {
  position: absolute;
  left: -2.5rem;
  top: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #ff2a85;
}

.active-node .marker-glow {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 14px var(--neon-pink);
  animation: badge-pulse-anim 1.8s infinite;
}

.node-year-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 42, 133, 0.2);
  border: 1px solid rgba(255, 42, 133, 0.45);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.node-card-body {
  background: linear-gradient(165deg, rgba(16, 11, 26, 0.8) 0%, rgba(8, 5, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.velocity-node:hover .node-card-body {
  border-color: rgba(255, 42, 133, 0.4);
  transform: translateX(6px);
}

.node-category-strip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.node-milestone-title {
  font-family: var(--font-race);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.6rem;
}

.node-milestone-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b5a9c8;
  margin-bottom: 1.2rem;
}

.node-telemetry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mini-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #c9bede;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   SECTION 05: 2026 WORLDSBK CALENDAR & MANIFEST
   ========================================================================== */
.calendar-manifest-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}

.calendar-round-tile {
  background: linear-gradient(165deg, rgba(16, 11, 26, 0.85) 0%, rgba(8, 5, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.calendar-round-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 42, 133, 0.4);
}

.calendar-round-tile.completed-round {
  border-color: rgba(0, 255, 136, 0.25);
}

.calendar-round-tile.featured-next-round {
  border-color: rgba(255, 42, 133, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 42, 133, 0.25);
  background: linear-gradient(165deg, rgba(28, 14, 38, 0.95) 0%, rgba(12, 6, 18, 0.98) 100%);
}

.calendar-round-tile.finale-round {
  border-color: rgba(157, 0, 255, 0.4);
}

.tile-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.round-id-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #8f82a5;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.round-id-pill.pill-next {
  color: #fff;
  background: var(--neon-pink);
  box-shadow: 0 0 8px var(--neon-pink);
}

.round-id-pill.pill-finale {
  color: #fff;
  background: var(--neon-purple);
}

.status-result-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.badge-p1 { color: #00ff88; }
.badge-live-confirmed { color: var(--neon-pink); }
.badge-scheduled { color: #796c91; }

.tile-circuit-info {
  margin-bottom: 1.4rem;
}

.circuit-name {
  font-family: var(--font-race);
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.circuit-country {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a39ab3;
}

.tile-specs-row {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.tile-specs-row .spec-col {
  display: flex;
  justify-content: space-between;
}

.tile-specs-row .lbl { color: #796c91; }
.tile-specs-row .val { color: #fff; font-weight: 700; }

.featured-telemetry-beacon {
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 42, 133, 0.4);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--neon-pink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.beacon-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 6px var(--neon-pink);
  animation: badge-pulse-anim 1s infinite;
}

/* ==========================================================================
   SECTION 06: PARTNERS & SPONSORSHIP PORTAL
   ========================================================================== */
.sponsors-matrix-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.sponsor-capsule-card {
  position: relative;
  background: linear-gradient(165deg, rgba(16, 11, 26, 0.8) 0%, rgba(8, 5, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.sponsor-capsule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 42, 133, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 42, 133, 0.15);
}

.sponsor-capsule-card.flagship-partner {
  border-color: rgba(255, 42, 133, 0.4);
  background: linear-gradient(165deg, rgba(25, 12, 32, 0.9) 0%, rgba(10, 5, 16, 0.95) 100%);
}

.sponsor-brand-name {
  font-family: var(--font-race);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.sponsor-tech-discipline {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #8f82a5;
  text-transform: uppercase;
}

/* VIP Sponsorship Action Deck */
.vip-sponsorship-deck {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 14, 36, 0.95) 0%, rgba(10, 6, 18, 0.98) 100%);
  border: 1px solid rgba(255, 42, 133, 0.4);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 42, 133, 0.15);
}

.deck-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--neon-pink);
  margin-bottom: 0.6rem;
}

.deck-title {
  font-family: var(--font-race);
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.deck-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #b5a9c8;
  max-width: 650px;
}

.vip-contact-btn {
  background: linear-gradient(135deg, #ff2a85 0%, #9d00ff 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-race);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  padding: 1.2rem 2.2rem;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(255, 42, 133, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vip-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255, 42, 133, 0.85);
}

.btn-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.vip-contact-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   AUDIO NOTICE TOAST
   ========================================================================== */
.audio-notice {
  position: fixed;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 8, 20, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 42, 133, 0.4);
  color: #fff;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 42, 133, 0.2);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.audio-notice.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
}

.notice-icon {
  font-size: 1rem;
}

.notice-close {
  background: none;
  border: none;
  color: #a39ab3;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2rem;
  transition: color 0.2s ease;
}

.notice-close:hover {
  color: #fff;
}

/* ==========================================================================
   MOTORSPORT FOOTER
   ========================================================================== */
.race-footer {
  background: #030205;
  border-top: 1px solid rgba(255, 42, 133, 0.15);
  padding: 3.5rem 0;
  color: #8f82a5;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.footer-brand-deck {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-monogram {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-pilot-name {
  font-family: var(--font-race);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.footer-number-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-pink);
  background: rgba(255, 42, 133, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 42, 133, 0.3);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #796c91;
}

.footer-telemetry-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #00ff88;
  background: rgba(0, 255, 136, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: badge-pulse-anim 1.5s infinite;
}

.footer-social-links {
  display: flex;
  gap: 0.8rem;
}

.footer-link-pill {
  color: #a39ab3;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.footer-link-pill:hover {
  color: #fff;
  border-color: rgba(255, 42, 133, 0.4);
  background: rgba(255, 42, 133, 0.1);
}

.footer-link-pill.pill-neon {
  color: var(--neon-pink);
  border-color: rgba(255, 42, 133, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN (HERO PRESERVED + REDESIGNED LOWER SECTIONS)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-editorial-content {
    width: 52vw;
    right: 2vw;
  }
  .hero-center-driver-stage {
    width: 45vw;
    left: 2vw;
  }
  .calendar-manifest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sponsors-matrix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .hero-section {
    min-height: 640px;
  }
  .hero-editorial-content {
    top: 15%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 92vw;
    align-items: center;
    text-align: center;
  }
  .athlete-category-pill {
    margin-bottom: 0.8rem;
  }
  .athlete-name-kinetic {
    align-items: center;
  }
  .name-kinetic-row {
    align-items: center;
  }
  .name-box-glow {
    padding: 0.2rem 1.2rem;
  }
  .name-box-glow .kinetic-text {
    font-size: clamp(3rem, 10vw, 4.8rem);
  }
  .name-text-glow .kinetic-text {
    font-size: clamp(3.2rem, 10.5vw, 5rem);
  }
  .athlete-bio-lead {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
  }
  .athlete-metrics-grid {
    margin: 0 auto 1.4rem auto;
  }
  .athlete-cta-actions {
    justify-content: center;
  }
  .hero-center-driver-stage {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 92vw;
    height: 52vh;
    bottom: 0;
  }
  .hero-number-watermark {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 95vw;
    opacity: 0.75;
  }

  /* Lower Sections Responsive Layouts */
  .paddock-bays-grid {
    grid-template-columns: 1fr;
  }
  .cockpit-live-feed-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .cockpit-instruments-grid {
    grid-template-columns: 1fr;
  }
  .cockpit-sensors-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .career-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calendar-manifest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vip-sponsorship-deck {
    flex-direction: column;
    text-align: center;
    padding: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-container {
    padding: 0 1.25rem;
  }
  .camera-switch-pill {
    display: none;
  }
  .hero-center-driver-stage {
    height: 48vh;
  }
  .hero-mode-hud {
    left: 1rem;
    top: 85px;
  }
  .scroll-hint {
    right: 50%;
    transform: translateX(50%);
  }
  .scroll-hint > span:first-child {
    display: none;
  }
  .racing-ticker {
    bottom: 0;
    height: 38px;
    width: 100%;
    left: 0;
    transform: none;
  }
  .ticker-badge {
    font-size: 0.68rem;
    padding: 0 1rem;
    margin-left: 0;
  }
  .ticker-content {
    font-size: 0.72rem;
    gap: 1.2rem;
  }

  /* Lower Sections Mobile */
  .cockpit-master-deck {
    padding: 1.4rem;
  }
  .cockpit-live-feed-ribbon {
    grid-template-columns: 1fr;
  }
  .cockpit-sensors-matrix {
    grid-template-columns: 1fr;
  }
  .career-pillars-grid {
    grid-template-columns: 1fr;
  }
  .calendar-manifest-grid {
    grid-template-columns: 1fr;
  }
  .sponsors-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-monogram {
    justify-content: center;
  }
  .footer-social-links {
    justify-content: center;
  }
}

/* ==========================================================================
   VIDEO SHOWCASE LIGHTBOX MODAL (1350x1080 REEL)
   ========================================================================== */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 3, 10, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-dialog {
  position: relative;
  width: min(92vw, 1000px);
  background: #08060f;
  border: 1px solid rgba(255, 42, 133, 0.4);
  border-radius: 8px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(255, 42, 133, 0.25),
    0 0 70px rgba(157, 0, 255, 0.2);
  overflow: hidden;
  transform: scale(0.94) translateY(15px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal-backdrop.active .video-modal-dialog {
  transform: scale(1) translateY(0);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.video-modal-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-race);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff85be;
}

.video-modal-close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0d0f0;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 42, 133, 0.25);
  border-color: var(--neon-pink);
  color: #fff;
  transform: scale(1.05);
}

.video-modal-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1350 / 1080;
  max-height: 68vh;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-body video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  outline: none;
}

.video-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.video-format-pill {
  font-family: var(--font-race);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 3px;
  background: rgba(255, 42, 133, 0.12);
  color: #ff9ec9;
  border: 1px solid rgba(255, 42, 133, 0.3);
}

.video-format-pill.pill-purple {
  background: rgba(157, 0, 255, 0.15);
  color: #d4a5ff;
  border-color: rgba(157, 0, 255, 0.35);
}

.video-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-race);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 42, 133, 0.8), rgba(157, 0, 255, 0.8));
  border: none;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255, 42, 133, 0.3);
  transition: all 0.2s ease;
}

.video-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 42, 133, 0.6);
  color: #fff;
}
