@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;0,900;1,900&family=Oswald:wght@500;700&display=swap');

:root {
  --bg-color: #f4f4f4;
  --text-color: #111111;
  --card-bg: #ffffff;
  --border-color: #111111;
  --accent-color: #ff5000; /* Nike Orange */
  --accent-yellow: #ffea00;
  --accent-neon: #00ff66;
  --accent-pink: #ff0055;
  --shadow-offset: 6px 6px 0px #111111;
  --shadow-offset-hover: 10px 10px 0px #111111;
}

[data-theme="dark"] {
  --bg-color: #0d0d0d;
  --text-color: #f4f4f4;
  --card-bg: #1a1a1a;
  --border-color: #ffffff;
  --shadow-offset: 6px 6px 0px #ff5000;
  --shadow-offset-hover: 10px 10px 0px #ffea00;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.font-nike {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card Flat Style */
.card-nike {
  background-color: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 0 !important;
  box-shadow: var(--shadow-offset);
  transition: all 0.2s ease-in-out;
}

.card-nike:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-offset-hover);
}

.btn-nike {
  font-family: 'Oswald', sans-serif;
  border: 3px solid var(--border-color) !important;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-offset);
  transition: all 0.15s ease;
}

.btn-nike:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-offset-hover);
}

.btn-nike-orange {
  background-color: var(--accent-color);
  color: #fff;
}

.btn-nike-black {
  background-color: #111;
  color: #fff;
}

[data-theme="dark"] .btn-nike-black {
  background-color: #fff;
  color: #111;
}

/* Contenedor 100vh para módulos de juego (Sin Scrollbar) */
.module-container {
  height: calc(100vh - 65px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Animación de Cuenta Regresiva */
.countdown-number {
  font-family: 'Oswald', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: var(--accent-color);
  animation: popIn 0.8s ease-in-out infinite;
}

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Modo Karaoke Just Dance */
.karaoke-body {
  background: radial-gradient(circle at center, #1a0033 0%, #050010 100%);
  color: #ffffff;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.justdance-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  background: linear-gradient(45deg, #ff007f, #00f0ff, #ffea00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 0, 127, 0.6);
  animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
  from { filter: drop-shadow(0 0 10px #ff007f); }
  to { filter: drop-shadow(0 0 25px #00f0ff); }
}

.lyric-line {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.lyric-active {
  color: #ffea00;
  font-size: 2.6rem;
  text-shadow: 0 0 15px #ffea00, 0 0 30px #ff5000;
  transform: scale(1.05);
  animation: bounceLyric 0.4s ease;
}

@keyframes bounceLyric {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1.05); }
}

.combo-badge {
  background: #ff0055;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  padding: 5px 15px;
  border: 3px solid #fff;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-5deg);
  display: inline-block;
  animation: pulseCombo 0.6s infinite alternate;
}

@keyframes pulseCombo {
  from { transform: rotate(-5deg) scale(1); }
  to { transform: rotate(-3deg) scale(1.1); }
}

/* Canvas de dibujo */
.draw-canvas {
  background-color: #ffffff;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-offset);
  cursor: crosshair;
  touch-action: none;
}