/* =========================================================
   Radio Moda Mix Digital — estilos públicos
   Paleta tomada del logotipo: dorado, azul, verde y negro
   ========================================================= */
:root {
    --gold: #ffc21a;
    --gold-d: #e39a00;
    --gold-l: #ffe07a;
    --blue: #1268e6;
    --blue-d: #0a3fa8;
    --blue-l: #39a6ff;
    --green: #2cc53b;
    --green-d: #149228;
    --ink: #0b0b12;
    --ink-2: #1c1d29;
    --paper: #f4f6fb;
    --white: #fff;
    --muted: #5f6478;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(10, 20, 60, .14);
    --shadow-sm: 0 4px 14px rgba(10, 20, 60, .10);
    --font-d: "Russo One", "Arial Black", system-ui, sans-serif;
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --player-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
    line-height: 1.6; font-size: 15px; overflow-x: hidden;
    padding-bottom: var(--player-h);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 10px; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }

/* ---------- Tipografía ---------- */
.h1, .h2 { font-family: var(--font-d); font-weight: 400; line-height: 1.1; margin: 0 0 14px; letter-spacing: .5px; text-transform: uppercase; }
.h1 { font-size: clamp(30px, 5vw, 56px); }
.h2 { font-size: clamp(26px, 3.4vw, 40px); }
.h2.light { color: #fff; }
.tag {
    display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-d); font-size: 11px; letter-spacing: 1px;
    padding: 4px 10px; border-radius: 4px; text-transform: uppercase; line-height: 1.4; font-weight: 400; margin: 0 0 10px;
}
.tag-dark { background: var(--ink); color: #fff; }
.tag-gold { background: var(--gold); color: var(--ink); }
.tag-green { background: var(--green); color: #fff; }
.tag-live { background: #e3262f; color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 40px;
    padding: 11px 24px; font-weight: 600; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-blue { background: linear-gradient(135deg, var(--blue-l), var(--blue)); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: var(--ink); }
.btn-outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn .i-pause, [data-play] .i-pause { display: none; }
body.is-playing [data-play] .i-play { display: none; }
body.is-playing [data-play] .i-pause { display: inline-block; }

/* ---------- Header ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 18, .92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-bottom: 3px solid var(--gold);
}
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-d); }
.brand-txt b { font-size: 18px; font-weight: 400; background: linear-gradient(90deg, var(--blue-l), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-txt small { font-size: 12px; color: var(--gold); letter-spacing: 3px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; border-radius: 30px; transition: background .2s, color .2s; }
.nav a:hover { color: var(--gold); }
.nav a.active { background: var(--gold); color: var(--ink); }
.btn-live {
    display: inline-flex; align-items: center; gap: 8px; background: #e3262f; color: #fff; border: 0; border-radius: 30px;
    padding: 8px 16px; font-family: var(--font-d); font-size: 12px; letter-spacing: 1px; margin-left: 6px;
}
.topbar-social { display: flex; gap: 6px; }
.soc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: #fff; transition: transform .2s; }
.soc:hover { transform: translateY(-2px) scale(1.06); }
.soc-facebook { background: var(--blue); }
.soc-instagram { background: linear-gradient(45deg, #f9a825, #e1306c, #833ab4); }
.soc-youtube { background: #e3262f; }
.soc-tiktok { background: #111; box-shadow: inset 0 0 0 1px #444; }
.soc-x { background: #222; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 28px; padding: 6px; }

/* ---------- Decorativos ---------- */
.dash { position: absolute; pointer-events: none; z-index: 1; }
.dash path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-dasharray: 14 12; stroke-linecap: round; opacity: .8; }

/* ---------- Placeholders de imagen ---------- */
.img { width: 100%; height: 100%; object-fit: cover; }
.ph {
    display: grid; place-items: center; position: relative; color: rgba(255, 255, 255, .9);
    background: radial-gradient(circle at 30% 25%, var(--blue-l), var(--blue) 45%, var(--blue-d)); overflow: hidden;
}
.ph::after { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: var(--gold); border-radius: 50%; opacity: .9; }
.ph-ic { width: 34%; height: 34%; max-width: 90px; position: relative; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .3)); }
.member .ph::after, .show-card:nth-child(3n+2) .ph::after { background: var(--green); }
.show-card:nth-child(3n) .ph { background: radial-gradient(circle at 30% 25%, #59e365, var(--green) 45%, var(--green-d)); }
.show-card:nth-child(3n) .ph::after { background: var(--blue); }

/* ================= HERO ================= */
.hero { position: relative; padding: 50px 0 40px; overflow: hidden; background: var(--paper); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.dash-hero { width: 520px; right: 2%; top: 40%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 28px; align-items: center; }
.np-card, .last-played {
    background: rgba(255, 255, 255, .96); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); max-width: 300px;
}
.np-card { justify-self: start; text-align: left; }
.np-art-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--ink); margin-bottom: 12px; }
.np-art-wrap img { width: 100%; height: 100%; object-fit: cover; }
.np-play {
    position: absolute; right: 10px; bottom: 10px; width: 50px; height: 50px; border-radius: 50%; border: 0;
    background: var(--gold); color: var(--ink); font-size: 20px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
.np-song { display: block; font-size: 16px; line-height: 1.25; }
.np-artist { color: var(--muted); }
.hero-center { position: relative; display: grid; place-items: center; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; }
.vinyl {
    position: absolute; inset: 0; border-radius: 50%;
    background: repeating-radial-gradient(circle, #15151f 0 2px, #0b0b12 2px 5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .15);
    animation: spin 14s linear infinite; animation-play-state: paused;
}
.vinyl span { position: absolute; inset: 37%; border-radius: 50%; background: conic-gradient(var(--gold), var(--green), var(--blue), var(--gold)); }
body.is-playing .vinyl { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { position: relative; width: 80%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--gold), 0 0 40px rgba(255, 194, 26, .45); }
img[width][height] { height: auto; }
.hero-right { justify-self: end; }
.last-played ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.last-played li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: var(--paper); }
.last-played li img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.last-played li div { min-width: 0; flex: 1; line-height: 1.25; }
.last-played li b, .last-played li small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.last-played li b { font-size: 13px; }
.last-played li small { font-size: 12px; color: var(--muted); }
.last-played li .ic { color: var(--blue); font-size: 18px; }
.hero-bottom { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 26px; margin-top: 24px; max-width: 900px; }
.big-play {
    grid-row: span 2; position: relative; width: 96px; height: 96px; border-radius: 50%; border: 0; font-size: 40px;
    background: linear-gradient(135deg, var(--blue-l), var(--blue)); color: #fff; display: grid; place-items: center;
    box-shadow: 0 14px 30px rgba(18, 104, 230, .45);
}
.big-play .ring { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--blue); animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.big-play .i-play { margin-left: 6px; }
.hero-title { font-family: var(--font-d); font-weight: 400; font-size: clamp(26px, 4vw, 46px); line-height: 1.05; margin: 0; text-transform: uppercase; color: var(--ink); }
.hero-sub { margin: 0; color: var(--ink-2); font-weight: 500; }
.spinner { display: none; position: absolute; inset: 6px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
body.is-loading [data-play] .spinner { display: block; }

/* ================= SECCIONES ================= */
.sec { position: relative; padding: 80px 0; }
.sec-intro p { color: var(--muted); max-width: 320px; }

/* Podcasts */
.sec-podcasts { background: var(--gold); padding: 70px 0 110px; overflow: hidden; }
.sec-podcasts::after {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 90px; background: var(--paper);
    clip-path: ellipse(60% 70% at 50% 100%);
}
.sec-podcasts { margin-top: -1px; }
.sec-podcasts .sec-intro p { color: var(--ink-2); }
.pod-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.pod-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pod-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .25s; }
.pod-card:hover { transform: translateY(-6px) rotate(-1deg); }
.pod-card > .img { aspect-ratio: 4/5; height: auto; }
.pod-play { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.pod-title { display: block; padding: 10px 12px; font-family: var(--font-d); font-size: 13px; line-height: 1.25; text-transform: uppercase; }
.pod-title small { display: block; font-family: var(--font); font-size: 11px; color: var(--muted); text-transform: none; }
.dash-pod { width: 300px; right: -40px; bottom: 20px; }

/* Programación */
.sec-shows { background: var(--paper); }
.shows-grid { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.days { display: flex; gap: 4px; background: #fff; border-radius: 40px; padding: 5px; box-shadow: var(--shadow-sm); margin: 8px 0 22px; overflow-x: auto; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: 1; border: 0; background: transparent; padding: 9px 12px; border-radius: 30px; font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.day.active { background: var(--blue); color: #fff; }
.d-short { display: none; }
.day-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.day-panel.active { display: grid; animation: fade .35s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.show-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); background: var(--ink); }
.show-card.is-live { outline: 4px solid #e3262f; outline-offset: -4px; }
.show-card > .img { position: absolute; inset: 0; transition: transform .4s; }
.show-card:hover > .img { transform: scale(1.06); }
.show-over, .on-air-over, .news-over {
    position: absolute; inset: auto 0 0 0; padding: 14px; color: #fff;
    background: linear-gradient(transparent, rgba(5, 6, 14, .88) 55%);
}
.show-over h3, .on-air-over h3 { font-family: var(--font-d); font-weight: 400; font-size: 17px; line-height: 1.15; margin: 0 0 2px; text-transform: uppercase; }
.show-over small, .on-air-over small { font-size: 12px; opacity: .9; }
.show-over .tag, .on-air-over .tag { margin-bottom: 6px; }
.empty { grid-column: 1/-1; text-align: center; padding: 40px; background: #fff; border-radius: var(--radius); color: var(--muted); }
.on-air { position: sticky; top: 90px; }
.on-air-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow); background: var(--ink); margin-bottom: 18px; }
.on-air-card > .img { position: absolute; inset: 0; }
.on-air-play { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 18px; display: grid; place-items: center; }
.clock { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.clock-time { font-family: var(--font-d); font-size: 40px; line-height: 1; letter-spacing: 1px; }
.clock-ampm { font-family: var(--font-d); font-size: 18px; color: var(--blue); }
.clock small { font-size: 11px; color: var(--muted); line-height: 1.2; text-transform: uppercase; }
.next-list, .feat-shows, .news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.next-list li, .feat-shows li {
    display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow-sm);
}
.next-list .img, .feat-shows .img { width: 64px; height: 52px; border-radius: 8px; flex: none; }
.next-list b, .feat-shows b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 14px; line-height: 1.2; text-transform: uppercase; }
.next-list small, .feat-shows small { font-size: 12px; color: var(--muted); }

/* Equipo */
.sec-team { padding: 0 0 90px; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0 40%, var(--blue-l) 40%); }
.team-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.team-blob { position: relative; z-index: 2; width: min(560px, 92%); margin: 0 0 30px auto; margin-right: max(20px, calc((100% - 1180px) / 2)); aspect-ratio: 2/1; }
.team-blob svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 16px 30px rgba(10, 30, 90, .3)); }
.team-blob-txt { position: relative; padding: 13% 14% 0; text-align: center; color: #fff; }
.team-blob-txt p { margin: 0; font-size: 14px; opacity: .95; }
.dash-team { width: 220px; left: 2%; top: 40px; }
.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px; }
.car-track::-webkit-scrollbar { display: none; }
.member { scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; background: var(--ink); aspect-ratio: 3/4.2; box-shadow: var(--shadow); border: 4px solid #fff; }
.member > .img { position: absolute; inset: 0; transition: transform .4s; }
.member:hover > .img { transform: scale(1.05); }
.member-info { position: absolute; inset: auto 0 0; padding: 16px; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(5, 6, 14, .9) 50%); }
.member-info h3 { font-family: var(--font-d); font-weight: 400; margin: 0 0 8px; font-size: 18px; text-transform: uppercase; }
.member-soc { display: flex; justify-content: center; gap: 6px; }
.member-soc a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 14px; }
.car-btn { position: absolute; top: 45%; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; display: grid; place-items: center; box-shadow: var(--shadow); }
.car-btn.prev { left: -20px; }
.car-btn.next { right: -20px; }

/* Locutor destacado */
.sec-featured { background: var(--blue-l); padding: 40px 0 120px; overflow: hidden; }
.sec-featured::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--blue-l), var(--green) 140%); }
.sec-featured::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--paper);
    clip-path: polygon(0 60%, 10% 40%, 22% 55%, 36% 30%, 50% 50%, 64% 25%, 78% 45%, 90% 20%, 100% 40%, 100% 100%, 0 100%);
}
.feat-grid { display: grid; grid-template-columns: 420px 1fr; gap: 50px; align-items: center; background: rgba(255, 255, 255, .95); border-radius: 30px; padding: 36px; box-shadow: var(--shadow); }
.feat-photo { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.feat-blob { position: absolute; inset: 0; width: 100%; height: 100%; animation: wobble 10s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(8deg) scale(1.03); } }
.feat-ring { position: absolute; inset: -4%; width: 108%; height: 108%; animation: spin 26s linear infinite; z-index: 2; pointer-events: none; }
.feat-ring text { font-family: var(--font-d); font-size: 19px; letter-spacing: 3px; fill: var(--blue); }
.feat-img { position: relative; width: 74% !important; height: 74% !important; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); z-index: 1; }
.feat-info p { color: var(--muted); }
.feat-info .btn { margin: 4px 0 22px; }
.feat-info .tag-green { display: flex; width: max-content; }

/* Ranking */
.sec-chart { background: var(--paper); overflow: hidden; }
.chart-bg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; z-index: 0; }
.dash-chart { width: 200px; right: 1%; top: 30px; }
.chart-grid { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: start; }
.chart-cover { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
.chart-art {
    position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg, var(--blue) 0 50%, var(--green) 50%);
}
.chart-art::before { content: ""; position: absolute; left: -10%; top: -10%; width: 70%; height: 70%; background: var(--gold); border-radius: 40% 60% 55% 45%; }
.cn { position: absolute; font-size: 56px; color: var(--ink); line-height: 1; }
.cn.n1 { left: 10%; top: 12%; } .cn.n2 { left: 34%; top: 30%; color: #fff; } .cn.n3 { left: 8%; bottom: 14%; color: var(--gold); } .cn.n4 { right: 40%; bottom: 8%; color: #fff; }
.chart-word { position: absolute; right: 8%; top: 10%; font-family: var(--font-d); font-size: 38px; line-height: 1; color: var(--gold); text-align: right; transform: rotate(18deg); text-shadow: 3px 3px 0 var(--ink); }
.chart-disc { position: absolute; right: -14%; bottom: -14%; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0 12%, var(--ink) 12% 30%, #fff 30% 34%, var(--ink) 34%); animation: spin 8s linear infinite; animation-play-state: paused; }
body.is-playing .chart-disc { animation-play-state: running; }
.chart-cap { padding: 14px 4px 0; }
.chart-cap b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 18px; text-transform: uppercase; }
.chart-cap small { color: var(--muted); }
.chart-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.song { display: grid; grid-template-columns: 56px 26px 56px 1fr auto; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 8px 14px 8px 8px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.song:hover { transform: translateX(6px); }
.song-pos { font-family: var(--font-d); font-size: 26px; text-align: center; background: var(--ink); color: var(--gold); border-radius: 10px; height: 56px; display: grid; place-items: center; }
.song:nth-child(1) .song-pos { background: var(--gold); color: var(--ink); }
.song:nth-child(2) .song-pos { background: var(--blue); color: #fff; }
.song:nth-child(3) .song-pos { background: var(--green); color: #fff; }
.trend { display: grid; place-items: center; font-size: 18px; }
.trend-up { color: var(--green); } .trend-down { color: #e3262f; } .trend-same { color: #a5a9b8; }
.trend em { font-style: normal; font-size: 9px; font-weight: 700; background: var(--blue); color: #fff; padding: 2px 4px; border-radius: 4px; }
.song-cover { width: 56px !important; height: 56px !important; border-radius: 10px; }
.song-meta { min-width: 0; line-height: 1.25; }
.song-meta b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-meta small { color: var(--muted); }
.song-link { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.song-star { color: var(--gold); font-size: 22px; }

/* Noticias */
.sec-news { background: var(--paper); }
.center-head { text-align: center; margin-bottom: 20px; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.chip { border: 2px solid var(--ink); background: #fff; padding: 7px 18px; border-radius: 30px; font-size: 13px; font-weight: 600; transition: .2s; }
.chip.active, .chip:hover { background: var(--ink); color: var(--gold); }
.news-grid { display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 460px; margin-bottom: 16px; }
.news-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-sm); display: block; }
.news-card > .img { position: absolute; inset: 0; transition: transform .5s; }
.news-card:hover > .img { transform: scale(1.06); }
.news-big { grid-row: span 2; }
.news-over h3 { font-family: var(--font-d); font-weight: 400; margin: 0 0 4px; font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.news-big .news-over h3 { font-size: clamp(20px, 2.4vw, 28px); }
.news-over small { opacity: .85; font-size: 12px; }
.news-row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 16px; }
.news-tall { min-height: 340px; }
.news-aside { display: flex; flex-direction: column; gap: 14px; }
.news-list a { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow-sm); transition: transform .2s; }
.news-list a:hover { transform: translateX(4px); }
.news-list .img { width: 72px; height: 56px; border-radius: 8px; flex: none; }
.news-list b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.3; }
.news-list small { color: var(--muted); font-size: 11px; }
.news-aside .btn { align-self: flex-start; }
.sponsors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sponsors a { aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; overflow: hidden; padding: 10px; text-align: center; font-size: 10px; font-weight: 700; color: var(--blue-d); border: 3px solid var(--gold); }
.sponsors img { width: 100%; height: 100%; object-fit: contain; }
.is-hidden { display: none !important; }

/* Contacto */
.sec-contact { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 90px 0 120px; overflow: hidden; }
.sec-contact::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 104, 230, .45), transparent 70%); left: -160px; top: -120px; }
.sec-contact::after { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(44, 197, 59, .35), transparent 70%); right: -120px; bottom: -160px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.sec-contact .tag-dark { background: var(--gold); color: var(--ink); }
.contact-info p { color: #c9cbe0; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li > a, .contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; color: #a9acc4; font-size: 12px; }
.contact-list b { font-size: 15px; word-break: break-word; }
.ci { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex: none; }
.ci-green { background: var(--green); } .ci-blue { background: var(--blue); } .ci-gold { background: var(--gold); color: var(--ink); }
.contact-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); border-top: 6px solid var(--gold); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: block; margin-bottom: 14px; }
.f > span { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.f input, .f textarea {
    width: 100%; border: 2px solid #e2e5ef; border-radius: 10px; padding: 11px 13px; font: inherit; background: var(--paper); transition: border .2s;
}
.f input:focus, .f textarea:focus { outline: 0; border-color: var(--blue); background: #fff; }
.f em { display: block; color: #d0202a; font-style: normal; font-size: 12px; margin-top: 4px; }
.f-captcha { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: end; }
.f-captcha img { border-radius: 10px; border: 2px solid #e2e5ef; height: 64px; width: 200px; margin-bottom: 14px; }
.cap-refresh { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); font-size: 18px; margin-bottom: 25px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; font-size: 14px; }
.alert-ok { background: #e3f8e6; color: #0f6b1d; border: 1px solid #b7e8bf; }
.alert-err { background: #fde8e9; color: #9b111a; border: 1px solid #f5bcc0; }

/* Cabecera de páginas internas */
.page-head { position: relative; padding: 70px 0 90px; overflow: hidden; color: #fff; background: var(--blue-d); }
.page-head-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-head p { max-width: 640px; font-size: 16px; margin: 0; opacity: .95; }
.page-head .h1 { text-shadow: 0 4px 0 rgba(0, 0, 0, .2); max-width: 900px; }

/* Listado de noticias */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { position: relative; aspect-ratio: 16/10; display: block; overflow: hidden; }
.post-thumb .tag { position: absolute; left: 12px; top: 12px; }
.post-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post-body small { color: var(--muted); font-size: 12px; }
.post-body h2 { font-family: var(--font-d); font-weight: 400; font-size: 18px; line-height: 1.2; margin: 6px 0 8px; text-transform: uppercase; }
.post-body h2 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: 14px; margin: 0 0 12px; flex: 1; }
.more { color: var(--blue); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pg { min-width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; padding: 0 10px; }
.pg.active { background: var(--blue); color: #fff; }
.pg.disabled { opacity: .45; }

/* Noticia */
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.article-main { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); min-width: 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--blue); }
.article-meta { display: flex; gap: 18px; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; }
.article-img { border-radius: 14px; aspect-ratio: 16/9; height: auto; margin-bottom: 20px; }
.lead { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.prose { font-size: 16px; line-height: 1.8; overflow-wrap: break-word; }
.prose h2, .prose h3 { font-family: var(--font-d); font-weight: 400; text-transform: uppercase; line-height: 1.2; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: 12px; height: auto; margin: 16px 0; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 5px solid var(--gold); background: var(--paper); border-radius: 0 10px 10px 0; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #e8eaf2; font-weight: 600; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 18px; }
.share a:hover { background: var(--blue); }
.article-side { position: sticky; top: 90px; display: grid; gap: 20px; }
.side-box { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.side-live img { border-radius: 50%; margin: 6px auto 14px; width: 70%; }
.side-live .btn { width: 100%; }

/* ================= FOOTER ================= */
.footer { position: relative; margin-top: -110px; z-index: 3; pointer-events: none; }
.footer > * { pointer-events: auto; }
#app-main > section:last-child, #app-main > article:last-child { padding-bottom: 160px; }
.footer-wave { display: block; width: 100%; height: 120px; }
.footer-main { background: var(--blue); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr 1.1fr; gap: 30px; padding: 20px 0 40px; }
.footer-brand img { width: 130px; height: 130px; object-fit: contain; margin-bottom: 10px; }
.footer-brand p { font-family: var(--font-d); font-size: 18px; line-height: 1.25; margin: 0; text-transform: uppercase; }
.footer .tag { background: var(--gold); color: var(--ink); }
.footer-list, .footer-links { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.footer-list li { display: flex; gap: 8px; align-items: center; }
.footer-list .ic { color: var(--gold); }
.footer-links a:hover, .footer-list a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: 16px; transition: .2s; }
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.mini-np { display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.mini-np img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-np div { flex: 1; min-width: 0; line-height: 1.25; }
.mini-np b, .mini-np small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-np b { font-size: 14px; }
.mini-np small { color: var(--muted); font-size: 12px; }
.play-sm { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 16px; flex: none; }
.footer-bottom { background: var(--ink); font-size: 13px; color: #b9bcd3; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 10px; padding: 16px 0; flex-wrap: wrap; }
.heart { color: #e3262f; }

/* ================= REPRODUCTOR FIJO ================= */
.player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--player-h);
    background: rgba(11, 11, 18, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #fff; border-top: 3px solid; border-image: linear-gradient(90deg, var(--gold), var(--green), var(--blue)) 1;
    padding-bottom: env(safe-area-inset-bottom);
}
.player-in { height: 100%; display: flex; align-items: center; gap: 14px; width: min(1180px, 100% - 24px); margin: auto; }
.player-btn { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0; flex: none; background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: var(--ink); font-size: 20px; display: grid; place-items: center; }
.player-btn .spinner { inset: -4px; border-color: rgba(255, 194, 26, .3); border-top-color: var(--gold); }
.player-art { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.player-meta { min-width: 0; flex: 1; line-height: 1.25; }
.player-meta b, .player-meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-meta b { font-size: 14px; }
.player-meta small { font-size: 12px; color: #b9bcd3; }
.player-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-family: var(--font-d); color: #ff4d55; letter-spacing: 1px; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.eq i { width: 4px; height: 6px; border-radius: 2px; background: var(--green); }
.eq i:nth-child(2) { background: var(--gold); } .eq i:nth-child(4) { background: var(--blue-l); }
body.is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: .2s !important; } .eq i:nth-child(3) { animation-delay: .4s !important; } .eq i:nth-child(4) { animation-delay: .1s !important; } .eq i:nth-child(5) { animation-delay: .3s !important; }
@keyframes eq { to { height: 26px; } }
.player-vol { display: flex; align-items: center; gap: 8px; }
.vol-btn { background: none; border: 0; color: #fff; font-size: 20px; padding: 4px; }
.vol-btn .i-mute { display: none; }
body.is-muted .vol-btn .i-mute { display: inline-block; }
body.is-muted .vol-btn .i-vol { display: none; }
.player-vol input { width: 110px; accent-color: var(--gold); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .topbar-social { display: none; }
    .hero-grid { grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; }
    .pod-grid { grid-template-columns: 1fr; }
    .sec-intro p { max-width: 560px; }
    .feat-grid { grid-template-columns: 340px 1fr; gap: 30px; }
    .chart-grid { grid-template-columns: 340px 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .car-btn.prev { left: 4px; } .car-btn.next { right: 4px; }
}

@media (max-width: 920px) {
    .burger { display: block; }
    .nav {
        position: fixed; top: 71px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); padding: 10px 20px 20px; transform: translateY(-120%); transition: transform .3s; z-index: -1;
        max-height: calc(100vh - 71px); overflow: auto; border-bottom: 3px solid var(--gold);
    }
    .nav.open { transform: none; }
    .nav a { padding: 14px 10px; border-bottom: 1px solid #23243a; border-radius: 0; }
    .nav a.active { border-radius: 8px; }
    .btn-live { margin: 14px 0 0; justify-content: center; padding: 12px; }

    .hero { padding-top: 30px; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-center { grid-column: 1 / -1; order: -1; max-width: 420px; margin: auto; width: 100%; }
    .np-card, .last-played { max-width: none; width: 100%; }
    .hero-left, .hero-right { justify-self: stretch; }
    .np-card { display: grid; grid-template-columns: 110px 1fr; gap: 0 14px; align-items: center; }
    .np-card .tag { grid-column: 1 / -1; justify-self: start; }
    .np-art-wrap { margin: 0; grid-row: span 2; }
    .np-play { width: 40px; height: 40px; font-size: 16px; right: 6px; bottom: 6px; }
    .shows-grid, .chart-grid, .article-grid, .contact-grid { grid-template-columns: 1fr; }
    .on-air, .article-side { position: static; }
    .on-air { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
    .on-air > .tag { grid-column: 1 / -1; justify-self: start; }
    .on-air-card { grid-row: span 3; }
    .on-air .next-list { grid-column: 2; }
    .day-panel { grid-template-columns: repeat(2, 1fr); }
    .car-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
    .team-blob { margin: 0 auto 20px; }
    .feat-grid { grid-template-columns: 1fr; text-align: center; padding: 26px; }
    .feat-photo { max-width: 340px; margin: auto; width: 100%; }
    .feat-info .tag-green { margin-inline: auto; }
    .feat-shows { text-align: left; }
    .chart-cover { max-width: 420px; width: 100%; margin: auto; }
    .news-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 220px; height: auto; }
    .news-big { grid-column: 1 / -1; grid-row: auto; }
    .news-row { grid-template-columns: 1fr 1fr; }
    .news-aside { grid-column: 1 / -1; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .eq { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .wrap { width: calc(100% - 28px); }
    .sec { padding: 56px 0; }
    .brand img { width: 44px; height: 44px; }
    .brand-txt b { font-size: 16px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-bottom { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .big-play { grid-row: auto; width: 84px; height: 84px; font-size: 34px; }
    .dash-hero, .dash-team, .dash-chart, .dash-pod { display: none; }
    .pod-cards { grid-template-columns: repeat(2, 1fr); }
    .d-long { display: none; } .d-short { display: inline; }
    .day { padding: 9px 8px; }
    .day-panel { grid-template-columns: 1fr 1fr; gap: 10px; }
    .show-over h3 { font-size: 14px; }
    .show-over { padding: 10px; }
    .on-air { grid-template-columns: 1fr; }
    .on-air-card { grid-row: auto; }
    .on-air .next-list { grid-column: auto; }
    .car-track { grid-auto-columns: 78%; }
    .team-blob { width: 100%; aspect-ratio: 1.5/1; }
    .team-blob-txt { padding: 14% 12% 0; }
    .team-blob-txt p { font-size: 13px; }
    .song { grid-template-columns: 44px 18px 46px 1fr; gap: 8px; padding-right: 10px; }
    .song-pos { height: 44px; font-size: 20px; }
    .song-cover { width: 46px !important; height: 46px !important; }
    .song-link, .song-star { display: none; }
    .news-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .news-grid .news-card { min-height: 230px; }
    .news-big { min-height: 300px !important; }
    .news-row { grid-template-columns: 1fr; }
    .news-tall { min-height: 280px; }
    .post-grid { grid-template-columns: 1fr; }
    .f-row { grid-template-columns: 1fr; gap: 0; }
    .f-captcha { grid-template-columns: auto auto; }
    .f-captcha .f { grid-column: 1 / -1; }
    .contact-form { padding: 20px; }
    .article-main { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand img { margin-inline: auto; }
    .footer-list li { justify-content: center; }
    .footer-social { justify-content: center; }
    .footer-bottom .wrap { justify-content: center; text-align: center; }
    .player-vol input { display: none; }
    .player-in { gap: 10px; }
    .sponsors { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
