:root {
  --bg-dark: #0a1628;
  --bg-card: #0f2137;
  --neon-green: #00ff88;
  --neon-red: #ff3b5c;
  --neon-blue: #00d4ff;
  --neon-yellow: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #a0b4c8;
  --accent: #e31837;
  --field-green: #1a3a2a;
  --dirt: #c4a35a;
  --glow: 0 0 20px rgba(0, 255, 136, 0.4);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated background */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(0, 100, 50, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(227, 24, 55, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0a1628 0%, #0d1f2d 50%, #0a1628 100%);
  z-index: -2;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: linear-gradient(180deg, rgba(15, 33, 55, 0.95) 0%, rgba(15, 33, 55, 0.7) 100%);
  border-bottom: 2px solid rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.baseball-icon {
  font-size: 3rem;
  animation: spin-slow 8s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

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

h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue), var(--neon-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.subtitle {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--text-secondary);
  margin-top: -2px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.timer-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  box-shadow: var(--glow);
}

.timer-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  font-weight: 600;
}

.timer {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-green);
  min-width: 2.2ch;
  text-align: center;
}

.timer-unit {
  font-size: 0.9rem;
  color: var(--neon-green);
}

.spin-btn {
  background: linear-gradient(135deg, var(--neon-green), #00c46a);
  color: #003318;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.6rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.7);
}

.spin-btn:active {
  transform: scale(0.98);
}

.spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== DODGER STADIUM STYLE SCOREBOARD LOGO ===== */
.scoreboard-logo-wrapper {
  display: flex;
  justify-content: center;
  padding: 1.1rem 1rem 0.8rem;
  background: linear-gradient(180deg, rgba(0, 30, 60, 0.45) 0%, transparent 100%);
}

.scoreboard-logo {
  background: linear-gradient(180deg, #003d7a 0%, #005A9C 45%, #00264d 100%);
  border: 4px solid #b8c4ce;
  border-radius: 5px;
  box-shadow:
    0 0 0 2px #111,
    0 0 0 6px #004a8f,
    0 10px 30px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -3px 10px rgba(0, 0, 0, 0.45);
  padding: 0.5rem 2.4rem 0.6rem;
  position: relative;
  min-width: 340px;
  text-align: center;
  overflow: hidden;
}

/* Classic scoreboard LED strips */
.scoreboard-top-bar {
  height: 5px;
  background: linear-gradient(90deg, 
    transparent 0%, #ffd700 8%, #ffffff 28%, #00ff88 50%, #ffffff 72%, #ffd700 92%, transparent 100%);
  margin: 0 -1.8rem 0.4rem;
  opacity: 0.95;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.scoreboard-bottom-bar {
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 5%, #ffd700 18%, #ffffff 50%, #ffd700 82%, transparent 95%);
  margin: 0.35rem -1.8rem 0;
  opacity: 0.75;
}

.scoreboard-text {
  font-family: 'Orbitron', 'Bebas Neue', Impact, sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 4.5px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.85),
    0 0 20px rgba(0, 160, 255, 0.55),
    0 2px 0 #001a33,
    0 3px 5px rgba(0, 0, 0, 0.55);
  line-height: 1.15;
  position: relative;
  z-index: 2;
}

/* Subtle LED / scanline effect like real scoreboards */
.scoreboard-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Status bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--neon-red);
  letter-spacing: 1px;
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--neon-red);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--neon-red);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Scoreboard grid */
.scoreboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem 2rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
  perspective: 1200px; /* for 3D rotate */
}

/* Game card */
.game-card {
  background: linear-gradient(145deg, #0f2137 0%, #0a1a2e 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 136, 0.15);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(0, 255, 136, 0.1);
}

.game-card.live {
  border-color: rgba(255, 59, 92, 0.4);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 59, 92, 0.15);
}

/* VERTICAL SPIN / WHEEL ANIMATION */
.game-card.spinning {
  animation: verticalSpin 0.4s ease-in-out infinite;
  z-index: 5;
}

@keyframes verticalSpin {
  0%   { transform: rotateX(0deg) scale(1); }
  25%  { transform: rotateX(90deg) scale(0.95); }
  50%  { transform: rotateX(180deg) scale(1.02); }
  75%  { transform: rotateX(270deg) scale(0.95); }
  100% { transform: rotateX(360deg) scale(1); }
}

.game-card.spinning-slow {
  animation: verticalSpinSlow 0.8s ease-in-out infinite;
}

@keyframes verticalSpinSlow {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.game-status {
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.game-status.live {
  background: rgba(255, 59, 92, 0.2);
  color: var(--neon-red);
  border: 1px solid rgba(255, 59, 92, 0.4);
}

.game-status.final {
  background: rgba(160, 180, 200, 0.15);
  color: var(--text-secondary);
}

.game-status.preview {
  background: rgba(0, 212, 255, 0.15);
  color: var(--neon-blue);
}

.game-status.delayed {
  background: rgba(255, 215, 0, 0.15);
  color: var(--neon-yellow);
}

.venue {
  color: var(--text-secondary);
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Teams */
.teams {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  gap: 0.8rem;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.team-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.team-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.team-info {
  flex: 1;
  min-width: 0;
}

.team-name {
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-record {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

/* Score display */
.score {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  min-width: 2.2ch;
  text-align: center;
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
  transition: all 0.1s;
  position: relative;
}

.score.scrambling {
  color: var(--neon-yellow);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  animation: scramble-glow 0.1s infinite;
}

@keyframes scramble-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}

.score.winner {
  color: var(--neon-green);
}

.score.loser {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Inning info */
.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.2rem;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

.inning-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.inning-badge {
  background: rgba(0, 255, 136, 0.15);
  color: var(--neon-green);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
}

.bases {
  display: flex;
  gap: 3px;
}

.base {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(45deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.base.occupied {
  background: var(--neon-yellow);
  box-shadow: 0 0 8px var(--neon-yellow);
  border-color: var(--neon-yellow);
}

/* Loading */
.loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  gap: 1.5rem;
  color: var(--text-secondary);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(0, 255, 136, 0.2);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Empty state */
.no-games {
  padding: 4rem 2rem;
  text-align: center;
}

.empty-state .big-ball {
  font-size: 5rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hidden {
  display: none !important;
}

/* Scramble overlay effect */
.scrambling-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.08) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: shimmer 0.6s ease;
  pointer-events: none;
  z-index: 10;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Voice announcement visual */
.voice-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.95), rgba(0, 180, 100, 0.95));
  color: #003318;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  padding: 1.5rem 3rem;
  border-radius: 20px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 60px rgba(0, 255, 136, 0.6);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  letter-spacing: 2px;
}

.voice-banner.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.voice-banner .sub {
  font-size: 1rem;
  letter-spacing: 4px;
  margin-top: 0.3rem;
  opacity: 0.8;
}

/* ===== VIN SCULLY POPUP ===== */
.vin-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
  max-width: 460px;
  animation: vinSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vin-popup.hidden {
  display: none;
}

.vin-popup.leaving {
  animation: vinSlideOut 0.6s ease forwards;
}

@keyframes vinSlideIn {
  0% { transform: translateX(120%) scale(0.8); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes vinSlideOut {
  0% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(120%) scale(0.8); opacity: 0; }
}

.vin-card {
  background: linear-gradient(145deg, #1a2740 0%, #0d1a2e 100%);
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.45);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.65),
    0 0 50px rgba(255, 215, 0, 0.28);
  display: flex;
  gap: 1.1rem;
  padding: 1.15rem;
  overflow: hidden;
  position: relative;
}

.vin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-green), var(--neon-blue));
}

.vin-photo-wrapper {
  position: relative;
  width: 110px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.55);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.35);
}

.vin-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.15s ease;
}

/* Subtle overall glow while talking */
.vin-photo-wrapper.talking {
  animation: vinTalkGlow 0.8s ease-in-out infinite alternate;
}

@keyframes vinTalkGlow {
  0%   { box-shadow: 0 0 18px rgba(255, 215, 0, 0.35); }
  100% { box-shadow: 0 0 32px rgba(255, 215, 0, 0.65); }
}

/* Mouth overlay - simple dark oval that opens/closes */
.mouth-overlay {
  position: absolute;
  bottom: 18%;
  left: 50%;
  width: 28%;
  height: 9%;
  background: rgba(40, 20, 15, 0.75);
  border-radius: 50%;
  transform: translateX(-50%) scaleY(0.35);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.vin-photo-wrapper.talking .mouth-overlay {
  opacity: 1;
  animation: mouthTalk 0.28s ease-in-out infinite alternate;
}

@keyframes mouthTalk {
  0%   { transform: translateX(-50%) scaleY(0.25) scaleX(0.9); }
  100% { transform: translateX(-50%) scaleY(1.15) scaleX(1.05); }
}

/* Extra subtle jaw/head movement on the photo itself */
.vin-photo-wrapper.talking .vin-photo {
  animation: headTalk 0.55s ease-in-out infinite alternate;
}

@keyframes headTalk {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(1.5px) scale(1.01); }
}

.vin-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.vin-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--neon-yellow);
  letter-spacing: 1px;
}

.vin-tagline {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vin-speech {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #e8eef5;
  margin-top: 0.25rem;
  max-height: 150px;
  overflow-y: auto;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

footer .tip {
  margin-top: 0.4rem;
  color: var(--neon-blue);
  font-size: 0.75rem;
}

/* Confetti */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 999;
  pointer-events: none;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

  h1 {
    font-size: 1.4rem;
  }

  .scoreboard-logo {
    min-width: 0;
    width: 92%;
    padding: 0.4rem 1rem 0.5rem;
  }
  .scoreboard-text {
    font-size: 1.15rem;
    letter-spacing: 2px;
  }

  .scoreboard {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .score {
    font-size: 2rem;
  }

  .voice-banner {
    font-size: 1.6rem;
    padding: 1rem 1.5rem;
    width: 90%;
  }

  .vin-popup {
    bottom: 15px;
    right: 15px;
    left: 15px;
    max-width: none;
  }

  .vin-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vin-photo-wrapper {
    width: 90px;
    height: 115px;
  }
}

/* ===== EXCITED JULIAN JUMPER ===== */
.julian-jumper {
  position: fixed;
  bottom: 20px;
  left: 30px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transition: opacity 0.4s;
}

.julian-jumper.hidden {
  opacity: 0;
  visibility: hidden;
}

.julian-img {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5));
  transform-origin: bottom center;
}

.julian-jumper.jumping .julian-img {
  animation: julianJump 0.55s ease-in-out infinite;
}

@keyframes julianJump {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  25% { transform: translateY(-38px) rotate(3deg) scale(1.05); }
  50% { transform: translateY(-18px) rotate(-1deg) scale(1.02); }
  75% { transform: translateY(-42px) rotate(2deg) scale(1.06); }
}

.julian-speech {
  background: linear-gradient(135deg, #005A9C, #003d7a);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 2px solid #ffd700;
  margin-top: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.julian-jumper.jumping .julian-speech {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .julian-jumper {
    bottom: 10px;
    left: 10px;
  }
  .julian-img {
    width: 110px;
  }
  .julian-speech {
    font-size: 0.8rem;
  }
}

/* ===== INTRO VIDEO OVERLAY ===== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-overlay video {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* or "cover" if you want it to fill the screen */
  background: #000;
}

.skip-intro-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(0, 0, 0, 0.65);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 0.7rem 1.4rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  z-index: 10000;
}

.skip-intro-btn:hover {
  background: rgba(0, 90, 156, 0.85);
  border-color: #ffd700;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .skip-intro-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }
}

/* ===== OLD-SCHOOL STRIKE BOARD ===== */
.strike-board-wrapper {
  display: flex;
  justify-content: center;
  padding: 0.4rem 1rem 0.6rem;
}

.strike-board {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 3px solid #555;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px #222,
    0 4px 12px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 0.35rem 1rem 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 180px;
}

.strike-board-label {
  font-family: 'Orbitron', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.strike-lights {
  display: flex;
  gap: 0.45rem;
}

.strike-light {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2a2a;
  border: 2px solid #444;
  color: #555;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}

.strike-light.active {
  background: radial-gradient(circle at 35% 35%, #ff6b6b, #cc0000);
  border-color: #ff4444;
  color: #fff;
  box-shadow:
    0 0 12px rgba(255, 50, 50, 0.8),
    0 0 24px rgba(255, 0, 0, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
  animation: strikePulse 0.6s ease;
}

.strike-light.out {
  background: radial-gradient(circle at 35% 35%, #ff2222, #880000);
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.9);
}

@keyframes strikePulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Simplified Vin card (photo + name only) */
.vin-card-simple {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  padding: 1rem 1.2rem !important;
  max-width: 200px;
}

.vin-card-simple .vin-photo-wrapper {
  width: 120px !important;
  height: 150px !important;
  margin-bottom: 0.5rem;
}

.vin-card-simple .vin-content {
  align-items: center;
}

.vin-card-simple .vin-name {
  font-size: 1rem !important;
}

.vin-card-simple .vin-tagline {
  font-size: 0.65rem !important;
}

/* ===== JULIAN POINTER NEAR SPIN BUTTON ===== */
.spin-btn-area {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.julian-pointer {
  position: absolute;
  /* Sit fully BELOW the spin button, slightly left, pointing up at it */
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  z-index: 50;
  pointer-events: none;
  animation: julianPointBounce 0.6s ease infinite alternate;
}

.julian-pointer.hidden {
  display: none;
}

.julian-pointer-img {
  width: 192px; /* 3x previous 64px */
  height: auto;
  order: 2;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
  transform: none; /* face natural; arrow points up to button */
}

.julian-pointer-arrow {
  order: 1;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: -4px;
  animation: arrowWiggle 0.4s ease infinite alternate;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
  display: inline-block;
}

@keyframes julianPointBounce {
  0%   { transform: translateY(0); }
  100% { transform: translateY(6px); }
}

@keyframes arrowWiggle {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .julian-pointer-img {
    width: 144px;
  }
  .julian-pointer-arrow {
    font-size: 1.8rem;
  }
}


/* ===== STRIKE 3 JOE WEST ===== */
.joe-west-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  animation: joeFadeIn 0.3s ease;
}
.joe-west-overlay.hidden { display: none; }
.joe-west-img {
  max-width: min(90vw, 520px); max-height: 70vh;
  border-radius: 12px; border: 4px solid #ffd700;
  box-shadow: 0 0 40px rgba(255,0,0,0.5), 0 0 80px rgba(255,215,0,0.3);
}
.joe-west-text {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.2rem, 4vw, 2.2rem); font-weight: 900;
  color: #ffd700; text-align: center;
  text-shadow: 0 0 12px #ff0000, 0 2px 0 #000;
  letter-spacing: 2px; line-height: 1.3;
}
@keyframes joeFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
