/* ==============================================================
   DROPHIT DJ CONSOLE SIMULATOR — INTERACTIVE SHOWCASE
   Renderizado táctil de cabina DJ de doble deck y pantalla HDMI
   ============================================================== */

.console-showcase-wrapper {
  margin: 40px auto 60px;
  max-width: 1080px;
  position: relative;
}

.console-container {
  background: #090a12;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
  padding: 24px;
  overflow: hidden;
  position: relative;
}

.console-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.console-status-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-online);
  box-shadow: var(--green-glow);
  animation: pulse-green 2s infinite ease-in-out;
}

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

.console-decks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.deck-card {
  background: rgba(18, 21, 33, 0.7);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.deck-master {
  border-top: 3px solid var(--cyan-primary);
}

.deck-cue {
  border-top: 3px solid var(--magenta-accent);
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.deck-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deck-video-preview {
  height: 160px;
  background: #020204;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}

.wave-bar {
  width: 4px;
  background: var(--cyan-primary);
  border-radius: 2px;
  height: 20%;
  transition: height 0.1s ease;
}

.deck-cue .wave-bar {
  background: var(--magenta-accent);
}

.deck-track-info {
  margin: 14px 0;
}

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

.track-artist {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ─── CONTROLES DE PITCH Y TRANSPORTE ─────────────────────────── */
.pitch-control-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pitch-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.pitch-value {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--cyan-primary);
  font-size: 1rem;
}

.deck-cue .pitch-value {
  color: var(--magenta-accent);
}

.pitch-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pitch {
  flex: 1;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-pitch:hover {
  background: var(--cyan-primary);
  color: #000;
}

.deck-cue .btn-pitch:hover {
  background: var(--magenta-accent);
  color: #fff;
}

.deck-transport {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-transport {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-play-master {
  background: var(--cyan-primary);
  color: #030814;
}

.btn-play-master:hover {
  background: #33f3ff;
  box-shadow: var(--cyan-glow);
}

.btn-send-to-master {
  background: var(--magenta-accent);
  color: #ffffff;
}

.btn-send-to-master:hover {
  background: #ff2a73;
  box-shadow: var(--magenta-glow);
}

/* ─── PANTALLA HDMI & QR INVITADOS BAR ─────────────────────────── */
.console-bottom-dock {
  background: rgba(10, 12, 18, 0.85);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stage-monitor-preview {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hdmi-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #88ff88;
}

.stage-info-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.qr-feature-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr-mini-icon {
  background: #fff;
  color: #000;
  padding: 6px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-text-callout {
  font-size: 0.85rem;
  color: var(--text-white);
  line-height: 1.3;
}

.qr-text-callout span {
  color: var(--cyan-primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .console-decks-grid {
    grid-template-columns: 1fr;
  }
  .console-bottom-dock {
    flex-direction: column;
    align-items: flex-start;
  }
}
