/* ============================================
   Zam Traveler — Coming Soon CSS v1
   ============================================ */

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

:root {
  --bg-primary: #0a0e1a;
  --text-primary: #f0f4ff;
  --text-secondary: #8892b0;
  --text-muted: #5a6380;
  --accent-amber: #f59e0b;
  --accent-warm: #ef4444;
  --accent-gradient: linear-gradient(135deg, #f59e0b, #ef4444);
  --border-subtle: rgba(255, 255, 255, 0.06);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(245, 158, 11, 0.3);
  color: var(--text-primary);
}

/* ============================================
   INTRO ANIMATION (site visible from start)
   ============================================ */

/* Chaos container — scattered letters + floating "Zam" texts */
.chaos-container {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
}

/* Individual scattered letters of "Zam Traveler" */
.chaos-letter {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  will-change: transform;
  animation: letterChaos var(--dur) ease-in-out infinite alternate;
}

.chaos-letter.c-amber {
  color: #f59e0b;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.7), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.chaos-letter.c-white {
  color: #f0f4ff;
  text-shadow: 0 0 20px rgba(240, 244, 255, 0.4), 0 4px 20px rgba(0, 0, 0, 0.8);
}

@keyframes letterChaos {
  0%   { transform: translate(calc(-50% + var(--tx0)), calc(-50% + var(--ty0))) rotate(var(--r0)) scale(var(--s0)); }
  33%  { transform: translate(calc(-50% + var(--tx1)), calc(-50% + var(--ty1))) rotate(var(--r1)) scale(var(--s1)); }
  66%  { transform: translate(calc(-50% + var(--tx2)), calc(-50% + var(--ty2))) rotate(var(--r2)) scale(var(--s2)); }
  100% { transform: translate(calc(-50% + var(--tx3)), calc(-50% + var(--ty3))) rotate(var(--r3)) scale(var(--s3)); }
}

/* Floating chaos "Zam" texts */
.chaos-zam {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: var(--size);
  opacity: var(--opa);
  will-change: transform, opacity;
  animation: zamDrift var(--dur) ease-in-out infinite alternate;
}

.chaos-zam.z-amber  { color: #f59e0b; text-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
.chaos-zam.z-red    { color: #ef4444; text-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }
.chaos-zam.z-gold   { color: #fbbf24; text-shadow: 0 0 15px rgba(251, 191, 36, 0.4); }
.chaos-zam.z-orange { color: #f97316; text-shadow: 0 0 15px rgba(249, 115, 22, 0.4); }

@keyframes zamDrift {
  from {
    transform: translate(calc(-50% + var(--zx0)), calc(-50% + var(--zy0))) rotate(0deg) scale(1);
  }
  to {
    transform: translate(calc(-50% + var(--zx1)), calc(-50% + var(--zy1))) rotate(var(--zr)) scale(var(--zs));
  }
}

/* Badge dances during intro */
.traveler-badge.badge-dance {
  animation: badgeDance 1s ease-in-out infinite;
}

@keyframes badgeDance {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-10px) rotate(-4deg) scale(1.08); }
  50% { transform: translateY(5px) rotate(3deg) scale(0.95); }
  75% { transform: translateY(-6px) rotate(-2deg) scale(1.04); }
}

/* Black overlay — appears AFTER glass breaks */
.black-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.black-overlay.visible {
  opacity: 1;
}

.black-overlay.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.black-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
}

/* Second slam on black */
.black-title.slam2 {
  animation: blackSlam 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes blackSlam {
  0% { transform: scale(1); }
  25% { transform: scale(1.8); }
  50% { transform: scale(0.85); }
  75% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Screen flash */
.intro-flash {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  z-index: 2000;
  pointer-events: none;
}

.intro-flash.fire {
  animation: screenFlash 0.4s ease-out forwards;
}

@keyframes screenFlash {
  0% { opacity: 0.85; }
  100% { opacity: 0; }
}

/* Glass shards — fall over the site */
.intro-shards {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  perspective: 800px;
}

.intro-shard {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(10, 14, 26, 0.92),
    rgba(20, 25, 45, 0.88)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
}

/* Shards appear and fall when triggered */
.intro-shards.active .intro-shard {
  opacity: 1;
  animation: shardFall var(--fall-dur, 1.2s) cubic-bezier(0.55, 0, 1, 0.45) var(--fall-delay, 0s) forwards;
}

@keyframes shardFall {
  0% {
    transform: translateY(0) translateX(0) rotateX(0) rotateZ(0);
    opacity: 1;
  }
  15% {
    transform: translateY(10px) translateX(0) rotateX(5deg) rotateZ(2deg);
    opacity: 1;
  }
  100% {
    transform:
      translateY(calc(100vh + 200px))
      translateX(var(--drift-x, 0px))
      rotateX(var(--rot-x, 60deg))
      rotateZ(var(--rot-z, 30deg));
    opacity: 0;
  }
}

/* ============================================
   BACKGROUND
   ============================================ */
.traveler-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('/photos/Zamtraverler.jpg') center center / cover no-repeat;
}

.traveler-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(10, 14, 26, 0.65);
}

/* ============================================
   CONTAINER
   ============================================ */
.traveler-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: center;
  text-align: center;
}

/* ============================================
   BACK LINK
   ============================================ */
.back-link {
  position: fixed;
  top: 24px;
  left: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  z-index: 10;
}

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

/* ============================================
   HERO
   ============================================ */
.traveler-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.traveler-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
  animation: badgePulse 2.5s ease-in-out infinite;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
}

.traveler-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.traveler-title .amber-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.traveler-title .white-text {
  color: var(--text-primary);
}

.traveler-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ============================================
   MOUNTAIN SVG
   ============================================ */
.traveler-visual {
  width: 100%;
  max-width: 400px;
  margin: 8px 0;
}

.traveler-visual svg {
  width: 100%;
  height: auto;
}

/* ============================================
   FEATURE PILLS
   ============================================ */
.traveler-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.feature-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.15);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.feature-pill:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
}

/* ============================================
   PLAYER STAGE (side effects wrapper)
   ============================================ */
.player-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Side ember containers */
.side-embers {
  position: absolute;
  top: -40px;
  bottom: -20px;
  width: 50px;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.player-stage.active .side-embers {
  opacity: 1;
}

.side-embers.side-left {
  left: -30px;
}

.side-embers.side-right {
  right: -30px;
}

.side-embers .ember {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  animation: emberFloat 3s ease-out infinite;
}

.player-stage.active .side-embers .ember {
  opacity: 1;
}

@keyframes emberFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) translateX(var(--drift, 8px)) scale(0);
    opacity: 0;
  }
}

.side-embers.side-left .ember:nth-child(odd) { --drift: -12px; }
.side-embers.side-left .ember:nth-child(even) { --drift: 8px; }
.side-embers.side-right .ember:nth-child(odd) { --drift: 12px; }
.side-embers.side-right .ember:nth-child(even) { --drift: -8px; }

/* Flame wisps — animated fire streaks */
.flame-wisp {
  position: absolute;
  width: 3px;
  height: 60px;
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.player-stage.active .flame-wisp {
  opacity: 1;
}

.wisp-left {
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to top, transparent, #f59e0b, #ef4444, transparent);
  animation: wispDance 2.5s ease-in-out infinite;
}

.wisp-right {
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to top, transparent, #ef4444, #f59e0b, transparent);
  animation: wispDance 2.5s ease-in-out infinite 0.8s;
}

@keyframes wispDance {
  0%, 100% {
    height: 40px;
    opacity: 0.4;
    filter: blur(1px);
  }
  25% {
    height: 70px;
    opacity: 0.9;
    filter: blur(0px);
  }
  50% {
    height: 50px;
    opacity: 0.6;
    filter: blur(2px);
  }
  75% {
    height: 65px;
    opacity: 0.8;
    filter: blur(0px);
  }
}

/* Side glow orbs */
.side-glow {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: blur(30px);
  top: 50%;
  transform: translateY(-50%);
}

.player-stage.active .side-glow {
  opacity: 1;
}

.glow-left {
  left: -50px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
  animation: glowPulse 3s ease-in-out infinite;
}

.glow-right {
  right: -50px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.35), transparent 70%);
  animation: glowPulse 3s ease-in-out infinite 1.5s;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translateY(-50%) scale(0.8);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 0.7;
  }
}

/* ============================================
   MUSIC PLAYER
   ============================================ */
.music-player {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.music-player:hover {
  transform: translateY(-2px);
}

.music-player.playing {
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.25),
              0 0 60px rgba(245, 158, 11, 0.08);
}

.player-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f59e0b, #ef4444, #f59e0b, #ef4444);
  background-size: 300% 300%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  animation: glowShift 4s ease infinite;
}

.music-player.playing .player-glow {
  opacity: 1;
}

@keyframes glowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.player-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Play button */
.play-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent-gradient);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(245, 158, 11, 0.45);
}

.play-btn:active {
  transform: scale(0.95);
}

.play-icon, .pause-icon {
  width: 22px;
  height: 22px;
}

/* Player info */
.player-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.player-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* Progress bar */
.player-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  transition: height 0.2s ease;
}

.player-bar:hover {
  height: 8px;
}

.player-progress {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 3px;
  transition: width 0.1s linear;
  position: relative;
}

.player-progress::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  opacity: 0;
  transition: opacity 0.2s;
}

.player-bar:hover .player-progress::after {
  opacity: 1;
}

/* Times */
.player-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-variant-numeric: tabular-nums;
}

/* Visualizer */
.player-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  padding-left: 6px;
}

.player-visualizer span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: var(--accent-amber);
  height: 6px;
  transition: height 0.15s ease;
  opacity: 0.3;
}

.player-visualizer.active span {
  opacity: 1;
  animation: vizBounce 0.6s ease-in-out infinite alternate;
}

.player-visualizer.active span:nth-child(1) {
  animation-delay: 0s;
}
.player-visualizer.active span:nth-child(2) {
  animation-delay: 0.12s;
}
.player-visualizer.active span:nth-child(3) {
  animation-delay: 0.24s;
}
.player-visualizer.active span:nth-child(4) {
  animation-delay: 0.36s;
}
.player-visualizer.active span:nth-child(5) {
  animation-delay: 0.48s;
}

@keyframes vizBounce {
  0% { height: 6px; background: var(--accent-amber); }
  50% { height: 26px; background: #ef4444; }
  100% { height: 14px; background: var(--accent-amber); }
}

/* ============================================
   CTA TEXT
   ============================================ */
.traveler-cta {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* ============================================
   LED COUNTDOWN
   ============================================ */
.countdown-section {
  width: 100%;
  max-width: 600px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.countdown-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--accent-amber);
  text-shadow:
    0 0 10px rgba(245, 158, 11, 0.6),
    0 0 30px rgba(245, 158, 11, 0.3);
  animation: labelFlicker 4s ease-in-out infinite;
}

@keyframes labelFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.4; }
  94% { opacity: 1; }
  96% { opacity: 0.6; }
  97% { opacity: 1; }
}

.countdown-display {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding: 20px 24px;
  background: rgba(5, 5, 15, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow:
    inset 0 2px 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(245, 158, 11, 0.08),
    0 0 80px rgba(245, 158, 11, 0.04);
  position: relative;
  overflow: hidden;
}

/* Scanline overlay for retro LED feel */
.countdown-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 2;
}

/* Inner top highlight */
.countdown-display::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.3), transparent);
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cd-digits {
  display: flex;
  gap: 2px;
}

.cd-digit {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #f59e0b;
  text-shadow:
    0 0 8px rgba(245, 158, 11, 0.9),
    0 0 20px rgba(245, 158, 11, 0.5),
    0 0 40px rgba(245, 158, 11, 0.3),
    0 0 80px rgba(239, 68, 68, 0.15);
  width: 38px;
  display: inline-block;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, rgba(245, 158, 11, 0.01) 100%);
  border-radius: 4px;
  padding: 4px 0;
}

.cd-digit-ms {
  font-size: 2rem;
  width: 26px;
  color: #ef4444;
  text-shadow:
    0 0 6px rgba(239, 68, 68, 0.9),
    0 0 16px rgba(239, 68, 68, 0.5),
    0 0 32px rgba(239, 68, 68, 0.3);
}

.cd-sep {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-amber);
  text-shadow:
    0 0 8px rgba(245, 158, 11, 0.8),
    0 0 20px rgba(245, 158, 11, 0.4);
  line-height: 1;
  padding-top: 6px;
  animation: sepBlink 1s step-end infinite;
}

.cd-sep-dot {
  font-size: 2rem;
  color: #ef4444;
  text-shadow:
    0 0 8px rgba(239, 68, 68, 0.8),
    0 0 20px rgba(239, 68, 68, 0.4);
  animation: none;
  padding-top: 10px;
}

@keyframes sepBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.2; }
}

.cd-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(245, 158, 11, 0.4);
  text-transform: uppercase;
}

.cd-unit-ms .cd-name {
  color: rgba(239, 68, 68, 0.4);
}

.countdown-date {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================
   FIRE IMAGE + FERRARI START BUTTON
   ============================================ */
.fire-start-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
  width: 220px;
  height: 300px;
}

/* Fire rises up from button */
.fire-img {
  position: absolute;
  bottom: 30px;
  width: 180px;
  height: auto;
  pointer-events: none;
  filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 120, 0, 0.5));
  animation: fireBreath 2.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes fireBreath {
  0%, 100% {
    transform: scaleX(1) scaleY(1) translateY(0);
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 120, 0, 0.5));
  }
  30% {
    transform: scaleX(1.03) scaleY(1.06) translateY(-6px);
    filter: brightness(1.3) drop-shadow(0 0 35px rgba(255, 80, 0, 0.8));
  }
  60% {
    transform: scaleX(0.97) scaleY(0.98) translateY(-2px);
    filter: brightness(1.05) drop-shadow(0 0 20px rgba(255, 100, 0, 0.6));
  }
}

/* Ferrari START button — sits at bottom, fire rises above */
.ferrari-btn {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-bottom: 4px;
  /* 3D push effect */
  transform: translateY(0);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

/* Outer chrome ring */
.ferrari-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #555 0deg, #ccc 40deg, #888 80deg, #ddd 120deg,
    #666 160deg, #bbb 200deg, #777 240deg, #ccc 280deg,
    #555 320deg, #aaa 360deg
  );
  z-index: -1;
  box-shadow:
    0 0 15px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 60, 0, 0.15);
}

/* Red glow pulse behind */
.ferrari-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.5), transparent 70%);
  z-index: -2;
  animation: ferrariGlow 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ferrariGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

/* The red button face */
.ferrari-face {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 35% 35%, #ff5555, #dc2626 40%, #991b1b 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 4px 0 #7f1d1d,
    0 6px 15px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.1s ease;
}

.ferrari-btn:hover .ferrari-face {
  background:
    radial-gradient(circle at 35% 35%, #ff6666, #ef4444 40%, #b91c1c 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 5px 0 #7f1d1d,
    0 8px 20px rgba(220, 38, 38, 0.5);
}

.ferrari-btn:active .ferrari-face {
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.4),
    inset 0 -1px 2px rgba(255, 255, 255, 0.15),
    0 1px 0 #7f1d1d,
    0 2px 6px rgba(0, 0, 0, 0.3);
}

.ferrari-btn:active {
  transform: translateY(3px);
}

/* START text */
.ferrari-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(255, 100, 100, 0.5);
}

/* Hover makes fire brighter */
.fire-start-wrap:hover .fire-img {
  filter: brightness(1.4) drop-shadow(0 0 40px rgba(255, 80, 0, 0.9));
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .traveler-title {
    font-size: 2.5rem;
  }

  .traveler-subtitle {
    font-size: 1rem;
  }

  .back-link {
    top: 16px;
    left: 16px;
    font-size: 0.85rem;
  }

  .traveler-visual {
    max-width: 300px;
  }

  .player-inner {
    padding: 12px 14px;
    gap: 10px;
  }

  .play-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .play-icon, .pause-icon {
    width: 18px;
    height: 18px;
  }

  .player-title {
    font-size: 0.75rem;
  }

  .side-embers.side-left { left: -20px; }
  .side-embers.side-right { right: -20px; }
  .wisp-left { left: -10px; }
  .wisp-right { right: -10px; }
  .glow-left { left: -35px; width: 60px; height: 60px; }
  .glow-right { right: -35px; width: 60px; height: 60px; }

  .countdown-display {
    padding: 16px 14px;
    gap: 2px;
  }

  .cd-digit {
    font-size: 2rem;
    width: 28px;
    padding: 3px 0;
  }

  .cd-digit-ms {
    font-size: 1.4rem;
    width: 20px;
  }

  .cd-sep {
    font-size: 1.8rem;
    padding-top: 4px;
  }

  .cd-sep-dot {
    font-size: 1.4rem;
    padding-top: 6px;
  }

  .cd-name {
    font-size: 0.45rem;
  }

  .countdown-label {
    font-size: 0.75rem;
    letter-spacing: 4px;
  }

  .fire-start-wrap {
    width: 180px;
    height: 250px;
  }

  .ferrari-btn { width: 64px; height: 64px; }
  .ferrari-face { width: 64px; height: 64px; }
  .ferrari-ring { inset: -5px; }
  .ferrari-label { font-size: 0.6rem; }
}

@media (max-width: 380px) {
  .traveler-title {
    font-size: 2rem;
  }

  .traveler-container {
    padding: 32px 20px;
  }

  .cd-digit {
    font-size: 1.6rem;
    width: 24px;
  }

  .cd-digit-ms {
    font-size: 1.1rem;
    width: 17px;
  }

  .cd-sep {
    font-size: 1.4rem;
  }

  .countdown-display {
    padding: 12px 10px;
  }
}
