/* ============================
   style.css — Beastie C Beats
   ============================ */

/* Fondo negro base */
body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* Logo fantasma de fondo */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 65%;
  background-image: url('img/raccrecc.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06; /* un poco más visible */
  filter: blur(18px); /* menos blur */
  z-index: -4;
  pointer-events: none;
}

/* Logo esquina inferior derecha */
body::after {
  content: "";
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 150px;
  height: 150px;
  background-image: url('img/raccrecc.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.22; /* más visible */
  filter: blur(6px) drop-shadow(0 0 12px rgba(255,0,255,0.28));
  pointer-events: none;
  z-index: -3;
}

/* Header */
header h1 { color: #ff00ff; }
header p  { color: #9933ff; }

/* ====================
   REPRODUCTOR CENTRAL
   ==================== */
.player-wrapper {
  position: relative;
  z-index: 8;
  max-width: 600px;
  margin: 40px auto;
  padding: 18px;
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.18);
  overflow: hidden;
}

.player-wrapper > img.player-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: auto;
  opacity: 0.12;
  filter: invert(1) blur(6px) drop-shadow(0 0 30px rgba(255,0,255,0.25)) saturate(120%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 240ms ease, filter 240ms ease;
}

.player-wrapper:hover > img.player-bg {
  opacity: 0.16;
  filter: invert(1) blur(5px) drop-shadow(0 0 40px rgba(255,0,255,0.32)) saturate(140%);
}

/* Controles prev/next */
.control-btn {
  background: #000;
  color: #ff00ff;
  border: 1px solid #ff00ff;
  width: 44px;
  height: 36px;
  border-radius: 6px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s, transform 0.08s, box-shadow 0.18s;
  box-shadow: 0 0 20px rgba(255,0,255,0.22);
}
.control-btn:hover {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,0,255,0.38);
}

/* Texto beat actual */
#current-beat {
  color: #ff00ff;
  font-size: 1.06rem;
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}

/* PADS */
.beat-pad {
  position: relative;
  z-index: 20;
  background-color: #000;
  color: #fff;
  padding: 18px 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.06);
  transition: background-color 0.18s, color 0.18s, transform 0.12s;
}
.beat-pad:hover {
  background-color: #141414;
  color: #ff00ff;
  transform: translateY(-3px);
}
.active-pad {
  outline: 2px solid rgba(255,0,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(255,0,255,0.06);
}
.beat-pad .beat-title { font-weight: 600; letter-spacing: 0.2px; }

/* BOTONES STREAMING */
.streaming-links .btn {
  margin: 0 4px;
  min-width: 120px;
  margin-bottom: 8px;
}
.btn-success { background-color: #ff00ff; border-color: #ff00ff; color: #000; }
.btn-danger  { background-color: #9933ff; border-color: #9933ff; color: #000; }
.btn-info    { background-color: #ff00ff; border-color: #ff00ff; color: #000; }
.btn-warning { background-color: #9933ff; border-color: #9933ff; color: #000; }
.btn-success:hover,
.btn-danger:hover,
.btn-info:hover,
.btn-warning:hover { opacity: 0.95; }

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 768px) {
  .player-wrapper { max-width: 95%; padding: 14px; margin: 20px auto; }
  .player-wrapper > img.player-bg { width: 220px; filter: invert(1) blur(5px) drop-shadow(0 0 22px rgba(255,0,255,0.28)); opacity: 0.12; }
  .beat-pad { padding: 14px; margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .player-wrapper > img.player-bg { width: 180px; opacity: 0.12; filter: invert(1) blur(4px) drop-shadow(0 0 18px rgba(255,0,255,0.22)); }
  .beat-pad { padding: 12px; font-size: 0.95rem; }
  .streaming-links .btn { display: block; width: 80%; margin: 6px auto; min-width: 0; }
}

/* ========================
   PERSONALIZAR BARRA DE AUDIO
   ======================== */
audio::-webkit-media-controls-panel { background: rgba(20,20,20,0.85) !important; border-radius: 12px; box-shadow: 0 0 20px rgba(255,0,255,0.25); }
audio::-webkit-media-controls-timeline { background: #333 !important; border-radius: 6px; }
audio::-webkit-media-controls-thumb { background: #ff00ff !important; border-radius: 50%; width: 14px; height: 14px; }
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-pause-button { background-color: #ff00ff !important; border-radius: 50%; }
audio::-moz-range-track { background: #333; }
audio::-moz-range-thumb { background: #ff00ff; border-radius: 50%; }
