/* =============================================
   MODALS.CSS — Album, Canción, Noticia
   ============================================= */

/* ---- BASE OVERLAY ---- */
.modal-overlay,
#song-modal,
#news-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.open,
#song-modal.open,
#news-modal.open {
  opacity: 1;
  pointer-events: all;
}

/* ---- SONG MODAL ---- */
.song-modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
#song-modal.open .song-modal-box { transform: scale(1); }

.song-modal-top {
  position: sticky;
  top: 0;
  background: var(--bg2);
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.song-modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
}

.song-modal-body { padding: 28px; }

.song-platforms {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.song-platform-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 11px;
  color: var(--text-dim);
  transition: all 0.2s;
}
.song-platform-btn:hover { border-color: var(--red); color: var(--text); }

.song-lyrics {
  font-size: 14px;
  line-height: 2;
  color: var(--text-dim);
  white-space: pre-line;
}
.song-lyrics .chorus  { color: var(--text); font-weight: 500; }
.song-chords          { color: var(--gold); font-family: var(--font-mono); font-size: 12px; }

/* ---- NEWS MODAL ---- */
.news-modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
#news-modal.open .news-modal-box { transform: scale(1); }

.news-modal-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.news-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.news-modal-body { padding: 28px; }

.news-modal-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.news-modal-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
  max-height: 280px;
  object-fit: cover;
}

.news-modal-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}