* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #0b1520;
  color: #eef7fa;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

main, #stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 0;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ========================================================================= */
/* MINIMALIST IN-GAME PLAY HUD (TOP LEFT)                                    */
/* ========================================================================= */
.hud-panel {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: min(340px, 45vw);
}
.hud {
  color: #eef7fa;
  font-weight: 750;
  background: rgba(14, 30, 46, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  font-size: 17px;
  width: fit-content;
}
.hud small {
  font-size: 11px;
  color: #93b2c6;
  letter-spacing: 1px;
  margin-left: 2px;
}
.hud span {
  font-size: 12px;
  display: block;
  letter-spacing: 0.5px;
  margin-top: 3px;
  color: #ffca60;
  font-weight: 600;
}
.badge {
  color: #62ffd6;
  font-size: 11px;
  font-weight: 700;
  background: rgba(14, 30, 46, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 5px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.track-hud-info {
  background: rgba(14, 30, 46, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 12px;
  color: #cbd5e1;
  align-self: flex-start;
}
.track-hud-info strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.track-hud-info p {
  margin: 2px 0 0;
  color: #94a3b8;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}
#flight-status {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(14, 30, 46, 0.82);
  border: 1px solid rgba(255, 109, 0, 0.4);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: #ffb74d;
  pointer-events: none;
  align-self: flex-start;
}
#flight-status meter {
  width: 85px;
}

/* ========================================================================= */
/* TOP ACTIONS CLUSTER (RESTART ICON & PAUSE BUTTON)                         */
/* ========================================================================= */
.top-actions-cluster {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 55;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
}

.top-action-btn {
  background: rgba(14, 30, 46, 0.85);
  color: #eef7fa;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  touch-action: manipulation;
}

.top-action-btn:hover {
  background: rgba(0, 229, 255, 0.22);
  border-color: #00e5ff;
  color: #00e5ff;
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
}

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

#restart.restart-hud-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.action-icon {
  display: inline-block;
  line-height: 1;
}

.pause-btn, #pause {
  padding: 10px 18px;
  font-size: 14px;
  gap: 8px;
  height: 44px;
}
.pause-icon {
  font-size: 15px;
}
.pause-text {
  letter-spacing: 1px;
}

/* ========================================================================= */
/* TARGET INDICATORS & NOTIFICATIONS                                         */
/* ========================================================================= */
.target-indicator {
  position: absolute;
  z-index: 35;
  pointer-events: none;
  background: rgba(20, 48, 71, 0.85);
  color: #a7ffe2;
  padding: 4px 7px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}
#finish-flash {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 23px;
  border-radius: 16px;
  background: #153d32ed;
  border: 2px solid #9df6c9;
  color: #dbffec;
  font-weight: 900;
  font-size: clamp(17px, 3vw, 26px);
  letter-spacing: 1px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 0 32px #82f6bf55;
  animation: finish-pop 0.35s ease-out both;
  z-index: 55;
}
#finish-flash[hidden] {
  display: none;
}
#finish-flash span {
  display: inline-block;
  background: #92f4bf;
  color: #17392a;
  border-radius: 50%;
  padding: 0 7px;
  margin-right: 8px;
}
@keyframes finish-pop {
  from { opacity: 0; transform: translateX(-50%) scale(0.75); }
  to { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Pre-Play Level Objective & Tutorial Card */
#tutorial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 92;
  border: 1.5px solid rgba(0, 229, 255, 0.7);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(14, 30, 46, 0.96), rgba(8, 18, 28, 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px 28px;
  width: min(480px, 88vw);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 229, 255, 0.25);
  color: #eef7fa;
  text-align: center;
  animation: tutorialPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

@keyframes tutorialPop {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.tutorial-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

#tutorial strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

#tutorial p {
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 20px;
  color: #cbd5e1;
}

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

#tutorial-dismiss {
  background: linear-gradient(135deg, #00e5ff, #00b4d8);
  color: #071521;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  border-radius: 10px;
  padding: 10px 32px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#tutorial-dismiss:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.6);
}

#tutorial-dismiss:active {
  transform: translateY(1px) scale(0.98);
}

.tutorial-subhint {
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.5px;
}

#loading {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  text-align: center;
  background: #0b1520;
  color: #fff;
}
#loading[hidden], [hidden] {
  display: none !important;
  pointer-events: none !important;
}

/* ========================================================================= */
/* IN-GAME PLAY CONTROLLERS (BOTTOM OVERLAY)                                 */
/* ========================================================================= */
.play-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  pointer-events: none;
}
#aim-pad, .action-cluster {
  pointer-events: auto;
}

/* Aim-Pad (Steer & Tilt Joystick) */
#aim-pad {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.5);
  background: radial-gradient(circle at center, rgba(16, 36, 56, 0.6) 0%, rgba(8, 18, 28, 0.88) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(0, 229, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  position: relative;
  touch-action: none;
  user-select: none;
}
#aim-knob {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #72e9ff 0%, #00b0ff 55%, #01579b 100%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.7);
  pointer-events: none;
}
.joy-arrow {
  position: absolute;
  color: rgba(0, 229, 255, 0.45);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}
.joy-arrow-l { left: 8px; }
.joy-arrow-r { right: 8px; }
.joy-arrow-d { bottom: 6px; font-size: 10px; }
.joy-arrow-u { top: 6px; font-size: 10px; }

/* Action Cluster (Pedals + Abilities) */
.action-cluster {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pedal {
  min-width: 96px;
  touch-action: none;
  user-select: none;
  padding: 14px 18px;
  font-weight: 800;
  border-radius: 14px;
  background: rgba(20, 43, 60, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #eef7fa;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.08s ease, background 0.12s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pedal:hover {
  background: rgba(30, 60, 84, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}
.pedal.active {
  background: #ffcb65 !important;
  color: #142531 !important;
  transform: translateY(2px);
}
.btn-sub {
  font-size: 10px;
  letter-spacing: 0.5px;
  opacity: 0.8;
  margin-top: 2px;
}
.btn-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 2px;
}
.btn-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

/* Bigger, prominent mobile action buttons */
#jump, #boost, #roll {
  width: 84px;
  height: 84px;
  min-width: 84px;
  min-height: 84px;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
}

#jump {
  background: radial-gradient(circle at 35% 35%, rgba(40, 95, 130, 0.95), rgba(16, 42, 60, 0.95));
  color: #64e3ff;
  border: 2px solid rgba(0, 229, 255, 0.6);
}
#jump.active {
  background: #00e5ff !important;
  color: #081926 !important;
  transform: scale(0.92);
  box-shadow: 0 0 32px #00e5ff !important;
}
#boost {
  background: radial-gradient(circle at 35% 35%, rgba(140, 60, 16, 0.95), rgba(70, 25, 8, 0.95));
  color: #ffb74d;
  border: 2px solid rgba(255, 109, 0, 0.6);
}
#boost.active {
  background: #ff6d00 !important;
  color: #ffffff !important;
  transform: scale(0.92);
  box-shadow: 0 0 32px #ff6d00 !important;
}
#roll {
  background: rgba(52, 36, 77, 0.8);
  color: #d1c4e9;
  border-color: rgba(179, 136, 255, 0.45);
}
#roll.active {
  background: #b388ff !important;
  color: #12002b !important;
  box-shadow: 0 0 20px #b388ff !important;
}

/* ========================================================================= */
/* UNIFIED OVERLAY & SETTINGS MENU MODAL                                     */
/* ========================================================================= */
#overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 26, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 70;
  padding: 16px;
}
#overlay.celebration {
  background: rgba(10, 20, 32, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.card, #menu-card {
  background: linear-gradient(160deg, #162c3e, #0e1e2b);
  padding: 28px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 229, 255, 0.1);
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h2, .menu-title {
  font-size: 26px;
  font-weight: 850;
  margin: 0;
  color: #ffffff;
  letter-spacing: 1px;
}
.card p, .menu-subtitle {
  color: #94a3b8;
  margin: 0;
  font-size: 13px;
}
.menu-primary-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.menu-primary-actions button {
  flex: 1;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
}
.menu-primary-actions button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #081926;
}
.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}
.btn-checkpoint {
  width: 100%;
  background: #00e5ff;
  color: #0b1926;
  font-weight: 800;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.btn-link {
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
  margin-top: -4px;
}
.btn-link:hover {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
}

/* Menu Options within Card */
.menu-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 4px 0;
}
.menu-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-group-title {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.menu-track-details {
  background: rgba(14, 30, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
}
.menu-track-details strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.menu-track-details p {
  margin: 3px 0 0;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.4;
}
.menu-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.menu-row select, .menu-row button, .menu-group select, .menu-group button {
  background: #1a3246;
  color: #eef7fa;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.menu-row select:hover, .menu-row button:hover, .menu-group select:hover, .menu-group button:hover {
  background: #25445c;
}
select#track {
  width: 100%;
  min-width: 290px;
  background: #1a3246;
  color: #eef7fa;
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
}
.buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.buttons-grid button {
  width: 100%;
  text-align: center;
}
#vehicleName {
  color: #00e5ff;
  font-weight: 750;
  letter-spacing: 0.5px;
  background: rgba(0, 229, 255, 0.14);
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-size: 12px;
  white-space: nowrap;
}
.keys {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  text-align: center;
  line-height: 1.5;
}

/* ========================================================================= */
/* TOUCH & SMALL SCREEN ADAPTATION                                           */
/* ========================================================================= */
@media (max-width: 900px), (pointer: coarse) {
  .hud-panel {
    top: max(12px, env(safe-area-inset-top));
    left: max(14px, env(safe-area-inset-left));
    max-width: 55vw;
  }
  .top-actions-cluster {
    top: max(12px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    gap: 8px;
  }
  #restart.restart-hud-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 22px;
  }
  .pause-btn, #pause {
    padding: 8px 14px;
    font-size: 13px;
    height: 40px;
  }
  #jump, #boost, #roll {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
  }
  .play-controls {
    bottom: max(16px, env(safe-area-inset-bottom));
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
  }
  #aim-pad {
    width: 116px;
    height: 116px;
  }
  #aim-knob {
    width: 48px;
    height: 48px;
  }
  .pedal {
    min-width: 82px;
    padding: 12px 14px;
  }
}
.stars-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 6px 0 4px;
}
.star-item {
  font-size: 42px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
  user-select: none;
}
.star-item.earned {
  color: #ffd166;
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, 0.7));
  animation: starPop 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}
.star-item:nth-child(1) { animation-delay: 0.08s; }
.star-item:nth-child(2) { animation-delay: 0.22s; }
.star-item:nth-child(3) { animation-delay: 0.36s; }

@keyframes starPop {
  0% { transform: scale(0.2) rotate(-35deg); opacity: 0; }
  70% { transform: scale(1.35) rotate(12deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.time-main {
  display: block;
  font-size: 28px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.time-sub {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}
.new-record {
  color: #ffd166;
  font-weight: 700;
}
/* Desktop Adaptive Controls */
.desktop-keys-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 30, 46, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 8px 18px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 40;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.desktop-keys-hint.fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}
.key-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.key-label {
  color: #62ffd6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.key-separator {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
}

/* Hide on-screen touch pedals on fine-pointer (mouse/desktop) devices */
body.desktop-mode .play-controls {
  display: none !important;
}
body:not(.desktop-mode) .desktop-keys-hint {
  display: none !important;
}
/* Title / Splash Screen */
.title-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(14, 30, 46, 0.88) 0%, rgba(6, 14, 22, 0.96) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.title-overlay.title-fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.title-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.title-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: #00e5ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.title-logo {
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 4px 24px rgba(0, 229, 255, 0.4);
}
.title-tagline {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.title-play-btn {
  width: 100%;
  max-width: 260px;
  padding: 18px 24px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #00e5ff, #0284c7);
  color: #051624;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  animation: pulsePlay 2s infinite ease-in-out;
}
.title-play-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 12px 40px rgba(0, 229, 255, 0.6);
}
@keyframes pulsePlay {
  0%, 100% { box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4); }
  50% { box-shadow: 0 8px 45px rgba(0, 229, 255, 0.7); }
}
.play-arrow {
  font-size: 20px;
}
.title-vehicle-select {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.title-section-label {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1.5px;
}
.vehicle-picker-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.v-pick-btn {
  flex: 1;
  background: rgba(14, 30, 46, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.v-pick-btn:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(18, 38, 58, 0.85);
}
.v-pick-btn.active {
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}
.v-icon {
  font-size: 26px;
}
.v-pick-btn strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}
.v-pick-btn small {
  color: #94a3b8;
  font-size: 10px;
}
