/* ============================================================
   Tema "Minimal" — portada splash (logo grande con ondas, redes,
   botón de escuchar) + skin limpio, aireado y elegante.
   Se carga después de app.css.
   ============================================================ */

/* ---------- HERO splash ---------- */
.mnl-hero {
  position: relative; overflow: hidden;
  min-height: min(82vh, 760px);
  display: grid; place-items: center; text-align: center;
  padding: 70px 20px 60px; margin-bottom: 10px;
}
.mnl-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 16px; }

.mnl-live { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: rgb(var(--accent)); }
.mnl-live .live-dot { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--accent)); animation: mnlPulse 1.4s ease-in-out infinite; }
@keyframes mnlPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.mnl-logo-wrap { position: relative; width: 168px; height: 168px; display: grid; place-items: center; margin: 6px 0; }
.mnl-logo { width: 156px; height: 156px; border-radius: 50%; object-fit: cover; position: relative; z-index: 2;
  border: 3px solid rgb(var(--accent) / .5); box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.mnl-logo-ph { display: grid; place-items: center; font-size: 56px; font-weight: 900; color: rgb(var(--accent)); background: rgb(var(--surface-2)); }
.mnl-wave { position: absolute; inset: 6px; border-radius: 50%; border: 2px solid rgb(var(--accent) / .55); animation: mnlWave 3s ease-out infinite; }
.mnl-wave:nth-child(2) { animation-delay: 1s; }
.mnl-wave:nth-child(3) { animation-delay: 2s; }
@keyframes mnlWave { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }

.mnl-name { font-size: clamp(30px, 6vw, 54px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.mnl-tag { color: rgb(var(--muted)); max-width: 460px; font-size: 16px; }
.mnl-play { margin-top: 4px; padding: 14px 32px; border-radius: 999px; font-size: 16px; font-weight: 700; }
.mnl-socials { display: flex; gap: 12px; margin-top: 8px; }
.mnl-socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(var(--border));
  display: grid; place-items: center; color: rgb(var(--text)); transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.mnl-socials a:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); transform: translateY(-3px); }

/* Ecualizador de fondo */
.mnl-eq { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 120px;
  display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 0 10px; opacity: .15; pointer-events: none; }
.mnl-eq span { flex: 0 0 auto; width: 5px; height: 12px; border-radius: 3px 3px 0 0; background: rgb(var(--accent));
  animation: mnlEq 1.1s ease-in-out infinite; will-change: height; }
@keyframes mnlEq { 0%,100% { height: 10px; } 50% { height: var(--h, 50px); } }
@media (prefers-reduced-motion: reduce) { .mnl-wave, .mnl-eq span, .mnl-live .live-dot { animation: none; } }

/* ---------- Skin minimalista para el resto ---------- */
.section { padding-top: 40px; padding-bottom: 40px; }
.section-head { margin-bottom: 22px; }
.section-head .title h2 { font-weight: 700; letter-spacing: -.02em; }
.section-head .title p { color: rgb(var(--muted)); }

/* Tarjetas planas y aireadas: sin sombras fuertes, bordes finos */
.news-feat, .news-card, .news-item, .event-card, .dir-card, .host-card, .pod-card, .short-card, .top-row, .prog-slot {
  box-shadow: none !important;
}
.news-card, .event-card, .dir-card, .host-card, .pod-card { border: 1px solid rgb(var(--border)); border-radius: 14px; }
.news-card:hover, .event-card:hover, .dir-card:hover, .host-card:hover { transform: translateY(-3px); border-color: rgb(var(--accent) / .5); }

/* Botones tipo "pill" para el look elegante */
.btn, .btn-primary, .btn-ghost { border-radius: 999px; }

/* Separadores finos entre secciones (menos "cajas", más aire) */
.section.container + .section.container { border-top: 1px solid rgb(var(--border) / .5); }

/* ---------- Player integrado en la portada (no flotante) ---------- */
.mnl-player-inline { width: 100%; max-width: 540px; margin: 10px auto 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mnl-player-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgb(var(--muted)); }
.mnl-player-inline .player {
  position: static; transform: none; left: auto; bottom: auto; z-index: auto;
  width: 100%; max-width: 540px; margin: 0;
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border));
  box-shadow: 0 20px 50px -24px rgba(0,0,0,.5);
}

/* ---------- Redes + Apps (resaltadas) en la portada ---------- */
.mnl-connect { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 2px; }
.mnl-apps { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mnl-apps .app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  background: rgb(var(--accent)); color: #04121f; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 12px 28px -12px rgb(var(--accent) / .65); }
.mnl-apps .app-badge:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgb(var(--accent) / .8); }
.mnl-apps .app-badge svg { width: 20px; height: 20px; fill: currentColor; }
.mnl-apps .app-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.mnl-apps .app-badge span small { font-size: 10px; font-weight: 500; opacity: .85; }
.mnl-apps .app-badge.disabled { background: rgb(var(--surface-2)); color: rgb(var(--muted)); box-shadow: none; cursor: default; }

/* ---------- Fondo de la portada (imagen que envía la API) ---------- */
.mnl-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.mnl-hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(var(--bg) / .78), rgb(var(--bg) / .92)); }

/* ---------- Botón modo día/noche (flotante, este tema no tiene header) ---------- */
.mnl-theme-toggle { position: fixed; top: 18px; right: 18px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgb(var(--surface) / .85); border: 1px solid rgb(var(--border));
  backdrop-filter: blur(10px); box-shadow: 0 10px 26px -12px rgba(0,0,0,.45);
  transition: border-color .2s ease, transform .2s ease; }
.mnl-theme-toggle:hover { border-color: rgb(var(--accent)); transform: translateY(-2px); }
.mnl-theme-toggle .material-symbols-outlined { font-size: 22px; }

/* ---------- Player: integrado arriba, flotante al hacer scroll ---------- */
/* Reserva el espacio para que la portada no "salte" cuando el player flota */
.mnl-player-inline { min-height: 108px; }
.mnl-player-inline .player { transition: box-shadow .25s ease, border-radius .25s ease; }

.mnl-player-inline.is-floating .mnl-player-label { visibility: hidden; }
.mnl-player-inline.is-floating .player {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 60; width: 95%; max-width: 900px;
  border-radius: 999px;
  background: rgb(var(--surface) / .92); backdrop-filter: blur(12px);
  box-shadow: 0 22px 54px -20px rgba(0,0,0,.65);
  animation: mnlDock .3s ease;
}
@keyframes mnlDock { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
