/* ============================================================
   RÁDIO DJs — O Som que Move o Mundo
   Brief de adaptação do player. Mobile-first.
   Paleta centralizada em :root.
   ============================================================ */

:root {
  /* ========================================
     GUIA DE CORES E ESTILO VISUAL
     ======================================== */

  /* ========================================
     PALETA DE REFERÊNCIA — RÁDIO DJs
     Fonte única de verdade. Nenhum componente
     deve usar um vermelho/tonalidade própria.
     ======================================== */
  --radio-red: #E62044;            /* título, destaques, AO VIVO, glow */
  --radio-red-play: #C12139;       /* botão play / gradiente principal */
  --radio-red-border: #F52B2B;     /* bordas / detalhes vermelhos */
  --radio-bg: #0B0B0D;             /* fundo principal */
  --radio-panel: #101012;          /* painéis / cards */
  --radio-white: #FFFFFF;          /* texto principal */
  --radio-muted: #A0A0A0;          /* texto secundário */
  --radio-red-hi: #F26C80;         /* tom mais claro (links) */

  /* derivadas em rgba — mesma família do vermelho principal */
  --radio-red-08: rgba(230, 32, 68, 0.08);
  --radio-red-10: rgba(230, 32, 68, 0.1);
  --radio-red-12: rgba(230, 32, 68, 0.12);
  --radio-red-16: rgba(230, 32, 68, 0.16);
  --radio-red-25: rgba(230, 32, 68, 0.25);
  --radio-red-40: rgba(230, 32, 68, 0.4);
  --radio-red-45: rgba(230, 32, 68, 0.45);
  --radio-red-50: rgba(230, 32, 68, 0.5);
  --radio-red-60: rgba(230, 32, 68, 0.6);
  --radio-red-70: rgba(230, 32, 68, 0.7);
  --radio-red-75: rgba(230, 32, 68, 0.75);

  /* glows */
  --radio-glow: 0 0 15px rgba(230, 32, 68, 0.5);
  --radio-glow-strong: 0 0 24px rgba(230, 32, 68, 0.7);
  --radio-glow-soft: 0 0 8px rgba(230, 32, 68, 0.4);
  --radio-glow-soft-max: 0 0 20px rgba(230, 32, 68, 0.75);
  --radio-glow-dot: 0 0 8px rgba(230, 32, 68, 0.9);

  /* FUNDO */
  --bg: var(--radio-bg);
  --header: var(--radio-bg);

  /* CARDS / CONTAINERS */
  --panel: var(--radio-panel);
  --panel2: #141417;
  --inner: #161618;

  /* BORDAS */
  --border: #222226;
  --border-light: #2A2A30;

  /* DESTAQUE — vermelho Rádio DJs (paleta de referência centralizada) */
  --orange: var(--radio-red);
  --orange-hi: var(--radio-red-hi);
  --orange-lo: var(--radio-red-play);
  --grad: linear-gradient(135deg, var(--radio-red) 0%, var(--radio-red-play) 100%);
  --glow: var(--radio-glow);

  /* TEXTO */
  --text: var(--radio-white);
  --muted: var(--radio-muted);
  --dim: var(--radio-muted);

  /* STATUS */
  --live: var(--radio-red);

  /* TAGS DE STATUS */
  --tag-bg: #1E1E22;
  --tag-border: #2A2A30;

  /* TRILHOS DE PROGRESSO / VOLUME */
  --track: #2B2B30;

  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 60px;

  /* equalizador — vermelho Audi / gradiente de destaque */
  --c1: var(--radio-red);
  --c2: #f26c80;
  --c3: var(--radio-red);
  --c4: #f8a9b5;
  --c5: #f26c80;
  --c6: var(--radio-red);
  --c7: #f8a9b5;
  --c8: #f26c80;

  /* RADIO MAX 789 — reservadas */
  --max-red: #DE0000;
  --max-red-bright: #FF0000;
  --max-red-dark: #8B0000;
  --max-red-deep: #5C0000;
  --max-blue: #0066FF;
  --max-blue-bright: #1683FF;
  --max-blue-dark: #003A9B;
  --max-yellow: #FFD400;
  --max-yellow-bright: #FFE600;
  --max-yellow-dark: #D6A900;
  --max-white: #FFFFFF;
  --max-success: #00D66B;
  --max-shadow: rgba(0, 0, 0, 0.70);
  --max-red-glow: rgba(255, 0, 0, 0.45);
  --max-blue-glow: rgba(0, 102, 255, 0.35);
  --max-yellow-glow: rgba(255, 212, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font); }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }
[hidden] { display: none !important; }

::selection { background: var(--radio-red-45); }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ============================================================
   HEADER
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--nav-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.4px;
  flex: none;
}
.logo img { height: 45px; width: auto; display: block; }

.nav-links { display: none; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: var(--radio-red-08); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-socials { display: none; align-items: center; gap: 4px; }

.btn-ouvir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.6px;
  box-shadow: var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-ouvir:hover { transform: translateY(-1px); box-shadow: 0 0 24px var(--radio-red-70); }
.btn-ouvir.playing { background: linear-gradient(90deg, #22c55e, #16a34a); box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4); }
.btn-ouvir .fa-play { font-size: 11px; }
.btn-ouvir .fa-pause { display: none; font-size: 11px; }
.btn-ouvir.playing .fa-play { display: none; }
.btn-ouvir.playing .fa-pause { display: inline-block; }

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: var(--header);
  border-bottom: 1px solid var(--border);
  padding: 12px 4%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: 0.25s;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}
.mobile-menu a:active { color: var(--orange); background: var(--radio-red-08); }
.mobile-menu .mobile-live { justify-content: center; margin-top: 8px; }

/* ============================================================
   SOCIALS
   ============================================================ */

.social {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 13px;
  transition: 0.25s;
  flex: none;
}
.social:hover { color: #fff; background: var(--orange); border-color: transparent; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  width: min(1160px, 94%);
  margin: 0 auto;
  padding: 40px 0;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 20% 10%, var(--radio-red-12), transparent 60%);
  pointer-events: none;
}

.player-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}
.player-main .onair-float { right: 16px; }

/* COLUNA CENTRAL — infos e controles. min-width: 0 impede que textos
   longos estourem a coluna; separador inferior no mobile. */
.player-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  min-width: 0;
  width: 100%;
}

/* PAINEL SLOGAN — identidade da rádio, independente da música.
   Mobile: bloco abaixo do player. Desktop (≥992px): coluna fixa à direita. */
.player-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
  padding: 16px 14px 6px;
  border-top: 1px solid var(--border);
}
.slogan-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.slogan-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.slogan-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.slogan-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}
.slogan-title .highlight {
  background: linear-gradient(90deg, #ff7300, #ff2a2a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slogan-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-top: 6px;
  margin-bottom: 12px;
}

/* RETÂNGULO VERTICAL — cartão decorativo colorido, sem foto */
.slogan-rect {
  flex: none;
  width: 84px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #ff0000, #ff7300 30%, #7d00ff 70%, #00e1ff);
  box-shadow: var(--radio-glow-soft-max), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.slogan-rect i {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

/* EQUALIZADOR — espectro de frequências (decorativo, CSS puro) */
.slogan-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.slogan-equalizer span {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff0000, #ff7300, #fffb00, #00ff2b, #00e1ff, #7d00ff);
  animation: equalize 1.2s ease-in-out infinite alternate;
}
.slogan-equalizer span:nth-child(even) { animation-duration: 0.8s; }
.slogan-equalizer span:nth-child(3n) { animation-duration: 1.4s; }
.slogan-equalizer span:nth-child(4n) { animation-delay: 0.2s; }
.slogan-equalizer span:nth-child(5n) { animation-delay: 0.4s; }

@keyframes equalize {
  0% { height: 15%; }
  100% { height: 100%; }
}

.cover-wrap { position: relative; justify-self: center; width: fit-content; }
.cover-main { max-width: 220px; margin: 0 auto; position: relative; z-index: 1; }
.cover-main img { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-light); }

/* vinil — o disco sai por trás da capa, gira e fica balançando levemente.
   Poke de 42%: o disco sai mais da capa e a logo (vinil) fica visível. */
.disc {
  --disc-poke: 42%;
  --disc-tilt: 4deg;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateX(-100%) translateY(-50%);
  transition: transform 0.7s cubic-bezier(0.35, 0, 0.25, 1), opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}
.disc.is-out {
  opacity: 1;
  transform: translateX(var(--disc-poke)) translateY(-50%);
}
.disc-rot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 55%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
    radial-gradient(circle at center, #26262b, #141417 58%, #08080a 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(0, 0, 0, 0.6),
    0 18px 40px rgba(0, 0, 0, 0.55),
    inset 0 0 18px rgba(0, 0, 0, 0.85);
  transform: rotate(var(--disc-tilt));
  animation: discSpin 7s linear infinite;
}
.disc-rot::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--radio-red) 0 22%, var(--radio-red-play) 23% 28%, #111 29% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.disc-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.disc.disc-launch {
  animation: discLaunch 1.8s cubic-bezier(0.2, 0.8, 0.3, 1) 0.3s;
}
@keyframes discLaunch {
  0%   { opacity: 0; transform: translateX(-100%) translateY(-50%); }
  16%  { opacity: 1; transform: translateX(-100%) translateY(-50%); }
  100% { opacity: 1; transform: translateX(var(--disc-poke)) translateY(-50%); }
}
@keyframes discSpin {
  from { transform: rotate(var(--disc-tilt)); }
  to   { transform: rotate(calc(360deg + var(--disc-tilt))); }
}
@keyframes discSpinReverse {
  from { transform: translate(-50%, -37%) rotate(calc(0deg - var(--disc-tilt))); }
  to   { transform: translate(-50%, -37%) rotate(calc(0deg - 360deg - var(--disc-tilt))); }
}
@media (max-width: 860px) {
  .disc { --disc-poke: 30%; }
}
@media (prefers-reduced-motion: reduce) {
  .disc,
  .disc.disc-launch,
  .disc-rot,
  .disc-logo { animation: none; transition: none; }
}

.onair-float {
  position: absolute;
  top: -12px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid var(--radio-red-60);
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 0 15px var(--radio-red-50);
  animation: onairPulse 1.6s ease-in-out infinite;
  z-index: 2;
}
.onair-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
  animation: onairDot 1.6s ease-in-out infinite;
}
@keyframes onairPulse {
  0%, 100% { box-shadow: 0 0 8px var(--radio-red-40); }
  50% { box-shadow: 0 0 20px var(--radio-red-75); }
}
@keyframes onairDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 42px;
  margin-top: 22px;
}
.waveform span {
  width: 6px;
  border-radius: 3px;
  animation: wf 1.3s ease-in-out infinite;
}
.waveform span:nth-child(2n) { animation-delay: 0.15s; }
.waveform span:nth-child(3n) { animation-delay: 0.35s; }
.waveform .c1 { height: 55%; background: var(--c1); }
.waveform .c2 { height: 90%; background: var(--c2); }
.waveform .c3 { height: 45%; background: var(--c3); }
.waveform .c4 { height: 75%; background: var(--c4); }
.waveform .c5 { height: 50%; background: var(--c5); }
.waveform .c6 { height: 85%; background: var(--c6); }
.waveform .c7 { height: 40%; background: var(--c7); }
.waveform .c8 { height: 65%; background: var(--c8); }

.waveform.subtle { height: 26px; margin-top: 16px; opacity: 0.75; }
.waveform.subtle span { width: 4px; }

@keyframes wf {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.now-playing { display: flex; flex-direction: column; text-align: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  padding: 5px 12px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.badge i { color: var(--orange); font-size: 10px; }
.badge.onair { border-color: var(--radio-red-50); }
.badge.onair .dots {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  animation: onairDot 1.6s ease-in-out infinite;
}

.cover { width: 100%; max-width: 200px; margin: 18px auto 4px; }
.cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}

.player-info .djs-status-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.djs-bitrate {
  background: #202126;
  color: #c7c7c7;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 12px;
}
.djs-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: var(--radio-red-16);
  border: 1px solid var(--radio-red-45);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.djs-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--radio-red);
  box-shadow: 0 0 8px var(--radio-red);
}
.djs-music-info { min-width: 0; width: 100%; overflow: hidden; }
.djs-artist {
  color: #eee;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.djs-title {
  color: var(--radio-red);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.djs-year { color: var(--dim); font-size: 12px; margin-top: 7px; }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 6px; }
.tag {
  padding: 4px 10px;
  border: 1px solid var(--tag-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--tag-bg);
  letter-spacing: 0.5px;
}
.tag.live { color: var(--live); border-color: var(--radio-red-40); box-shadow: var(--glow); }
.tag.live i { font-size: 7px; vertical-align: middle; }

.consensus {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--dim);
}
.cons-dot { margin: 0 0.4em; opacity: 0.5; }

.np-progress {
  height: 3px;
  background: var(--track);
  border-radius: 2px;
  margin: 14px 0 2px;
  overflow: hidden;
}
.np-progress i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.6s linear;
}

.player { display: flex; align-items: center; gap: 15px; justify-content: center; margin-top: 14px; }
.player .ctl {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--muted);
  background: var(--inner);
  font-size: 13px;
  transition: 0.2s;
}
.player .ctl:hover { color: var(--orange); border-color: var(--radio-red-60); transform: scale(1.06); }
.player .ctl:disabled { opacity: 0.35; cursor: default; transform: none; }
.player .play {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  box-shadow: var(--glow);
  transition: 0.2s;
}
.player .play:hover { transform: scale(1.06); box-shadow: 0 0 24px var(--radio-red-70); }
.player .play.playing { background: linear-gradient(90deg, #22c55e, #16a34a); box-shadow: 0 6px 22px rgba(34, 197, 94, 0.5); }
.player .play .fa-pause { display: none; }
.player .play.playing .fa-play { display: none; }
.player .play.playing .fa-pause { display: block; }

.vol-slider { width: 90px; accent-color: var(--orange); cursor: pointer; }

.player-info h2 { font-size: 30px; margin: 12px 0 3px; font-weight: 900; line-height: 1.15; }
.player-info h3 { color: var(--orange); font-size: 18px; font-weight: 700; }

.player-extras { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.player-extras .ctl {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 13px;
  background: var(--inner);
  transition: 0.2s;
}
.player-extras .ctl:hover { color: var(--orange); border-color: var(--radio-red-60); }

.mini-eq-row { display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: 22px; }
.mini-eq-row span { width: 3px; border-radius: 2px; animation: eqs 1.2s ease-in-out infinite; }
.mini-eq-row span:nth-child(1) { height: 45%; background: var(--c2); }
.mini-eq-row span:nth-child(2) { height: 90%; background: var(--c5); }
.mini-eq-row span:nth-child(3) { height: 60%; background: var(--c7); }
.mini-eq-row span:nth-child(4) { height: 80%; background: var(--c4); }
.mini-eq-row span:nth-child(5) { height: 45%; background: var(--c2); }
.mini-eq-row span:nth-child(2n) { animation-duration: 0.8s; animation-delay: 0.15s; }
.mini-eq-row span:nth-child(3n) { animation-duration: 1.4s; animation-delay: 0.4s; }
.mini-eq-row.off span { animation-play-state: paused; height: 4px; }

.djs-volume { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.djs-volume .ctl {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 13px;
  background: var(--inner);
  transition: 0.2s;
}
.djs-volume .ctl:hover { color: var(--orange); border-color: var(--radio-red-60); }
.djs-volume-bar {
  position: relative;
  width: 170px;
  height: 6px;
  background: var(--track);
  border-radius: 10px;
  overflow: hidden;
}
.djs-volume-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 90%;
  background: var(--grad);
  border-radius: 10px;
  pointer-events: none;
}
.djs-volume-bar .vol-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.djs-volume-value { color: var(--dim); font-size: 12px; min-width: 36px; text-align: left; }

@keyframes eqs {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* ============================================================
   CARDS (histórico / rádios / conecte)
   ============================================================ */

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(1160px, 94%);
  margin: 0 auto 46px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 10px;
}
.dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; flex: none; }
.hist-empty { color: var(--dim); text-align: center; padding: 18px 0; }

.btn {
  width: 100%;
  padding: 11px;
  background: var(--inner);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.btn:hover { border-color: var(--radio-red-60); color: var(--orange); }
.btn-orange { background: var(--grad); border: none; color: #fff; box-shadow: 0 4px 16px var(--radio-red-40); }
.btn-orange:hover { background: var(--grad); color: #fff; filter: brightness(1.08); }
.btn.btn-sm { padding: 8px 16px; font-size: 12px; width: auto; }

.radio-grid { display: flex; flex-direction: column; }
.radio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 9px;
  background: var(--inner);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 8px;
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.radio-item:hover { border-color: var(--radio-red-60); transform: translateY(-1px); }
.radio-item.active { border-color: var(--orange); background: var(--radio-red-10); }
.radio-item-logo {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--tag-bg);
  border: 1px solid var(--border-light);
}
.radio-item-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.radio-item.active .radio-item-logo { border-color: var(--radio-red-60); }
.radio-item-info { flex: 1; min-width: 0; }
.radio-item-info strong { display: block; font-size: 12px; }
.radio-item-info small { color: var(--muted); font-size: 11px; }
.eq-icon { display: flex; align-items: flex-end; gap: 2px; height: 12px; flex: none; opacity: 0.35; }
.eq-icon span { width: 3px; background: var(--orange); border-radius: 2px; animation: eqs 1s ease-in-out infinite; }
.eq-icon span:nth-child(2) { animation-delay: 0.2s; }
.eq-icon span:nth-child(3) { animation-delay: 0.4s; }
.radio-item:hover .eq-icon, .radio-item.active .eq-icon { opacity: 1; }
.radio-item-signal { color: var(--dim); flex: none; display: flex; align-items: center; gap: 5px; font-size: 10px; }
.radio-item.active .radio-item-signal { color: var(--orange); }
.radio-item-signal .card-listeners { color: var(--orange); font-weight: 700; }
.radio-item-play {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--inner);
  border: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 11px;
  transition: 0.2s;
}
.radio-item:hover .radio-item-play { color: var(--orange); border-color: var(--radio-red-60); }
.radio-item.active .radio-item-play { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 3px 12px var(--radio-red-40); }

/* ============================================================
   PÁGINAS / SEÇÕES
   ============================================================ */

.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-title { font-size: 28px; font-weight: 900; letter-spacing: -0.4px; line-height: 1.15; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 14px; }

/* ============================================================
   HERO — COLUNA ÚNICA (o slogan agora vive dentro do player)
   ============================================================ */

.hero-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.hero-col { position: relative; }

.djs-grid, .music-grid, .news-grid, .contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.dj-card { text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: transform 0.25s, border-color 0.25s; }
.dj-card:hover { transform: translateY(-3px); border-color: var(--radio-red-50); }

.dj-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
  background: var(--inner);
}
.dj-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.dj-info h3 { font-size: 16px; font-weight: 800; letter-spacing: 0.4px; }
.dj-program {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--radio-red-12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}
.dj-time { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; font-weight: 600; }
.dj-info p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.dj-socials { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.dj-socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: var(--muted);
  font-size: 14px;
  transition: 0.25s;
}
.dj-socials a:hover { color: #fff; background: var(--orange); border-color: transparent; }

.most-played { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.most-played li { display: flex; align-items: center; gap: 12px; }
.mp-art {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--inner);
}
.mp-art img { width: 100%; height: 100%; object-fit: cover; }
.mp-info { flex: 1; min-width: 0; }
.mp-info strong { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-info span { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-count { font-size: 12px; font-weight: 700; color: var(--orange); }
.history-empty { color: var(--muted); font-size: 13px; padding: 8px 0; }

.np-now { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.np-now-art {
  width: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}
.np-now-title { display: block; font-size: 15px; font-weight: 700; color: var(--orange); line-height: 1.3; }
.np-now-artist { display: block; font-size: 13px; color: var(--text); }
.np-now-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.np-lyrics-btn { margin-top: 2px; }
.card-lyrics .np-lyrics-btn { margin-top: 12px; }

.lyr-now { font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 10px; }
.lyr-body { max-height: 300px; overflow: auto; }
.lyr-body pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.mute-tip { color: var(--muted); font-size: 13px; margin-bottom: 8px; }

.lyr-curio {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: 8px;
}
.lyr-curio-title { display: inline-block; font-size: 12px; font-weight: 800; color: var(--orange); letter-spacing: 1px; margin-bottom: 6px; }
.lyr-curio-text { font-size: 13px; line-height: 1.55; color: var(--text); margin: 0; }

.news-card { display: flex; flex-direction: column; gap: 8px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: transform 0.25s, border-color 0.25s; }
.news-card:hover { transform: translateY(-3px); border-color: var(--radio-red-50); }
.news-tag {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--radio-red-12);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}
.news-card h3 { font-size: 15px; font-weight: 700; }
.news-card p { color: var(--muted); font-size: 13px; }
.news-date { margin-top: auto; color: var(--dim); font-size: 12px; }

.contact-grid { margin-bottom: 20px; }
.contact-card { text-align: center; }
.contact-ico {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--radio-red-12);
  color: var(--orange);
  font-size: 20px;
}
.contact-card h3 { margin-bottom: 6px; font-size: 15px; }
.contact-card a { color: var(--orange-hi); font-weight: 600; font-size: 13px; word-break: break-all; }
.contact-card a:hover { color: #fff; text-decoration: underline; }
.social-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 640px;
  margin-inline: auto;
}
.contact-form h3 { font-size: 16px; margin-bottom: 16px; text-align: center; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--inner);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */

.features {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel2);
  padding: 26px 4%;
}
.features-inner { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.feature-ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--orange);
  font-size: 17px;
}
.feature strong { font-size: 12px; letter-spacing: 1px; color: var(--text); }
.feature p { font-size: 11px; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  text-align: center;
  padding: 40px 4% 30px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 12px;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { width: 120px; margin-bottom: 4px; }
.footer-slogan { color: var(--text); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.footer-tagline { color: var(--orange); font-weight: 700; letter-spacing: 2px; font-size: 12px; }
.footer-copy { margin-top: 6px; }
.footer-copy .heart { color: var(--orange); }
.btn-install { width: auto; margin-top: 0; }
.btn-install i { font-size: 12px; }

/* ============================================================
   MODAIS
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal.open { opacity: 1; pointer-events: auto; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: min(560px, calc(100vw - 40px));
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--inner);
  color: var(--muted);
  transition: 0.2s;
}
.modal-close:hover { background: var(--orange); transform: rotate(90deg); color: #fff; }

.modal-lyrics { padding: 22px; }
.lyrics-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.lyrics-icon {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--radio-red-12);
  color: var(--orange);
  font-size: 20px;
}
.lyrics-header h3 { font-size: 15px; }
.lyrics-sub { font-size: 12px; color: var(--muted); }
.lyrics-body {
  white-space: pre-wrap;
  font-size: 14px;
  color: var(--text);
  max-height: 52vh;
  overflow-y: auto;
  line-height: 1.7;
  padding-right: 6px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (min-width: 560px) {
  .nav-socials { display: flex; }
  .bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .djs-grid, .music-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .music-grid .card-lyrics { grid-column: span 2; }
  .features-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .hero { padding: 56px 0; }

  /* player desktop (formato do backup): capa à esquerda + informações */
  .player-main { grid-template-columns: 260px minmax(0, 1fr) 210px; gap: 30px; align-items: center; }
  .player-main .cover-wrap { justify-self: start; }
  .cover-main { max-width: 260px; margin: 0; }
  .player-info { align-items: flex-start; text-align: left; padding-left: 150px; padding-bottom: 0; border-bottom: none; }
  .player-info .badge { align-self: flex-start; }
  .player-info .tags { justify-content: flex-start; }
  .player-info .player { justify-content: flex-start; }
  .player-info .player-extras { justify-content: flex-start; }

  .bottom-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
  .bottom-grid .card-most { grid-column: span 2; }
  .djs-grid, .music-grid, .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .music-grid .card-lyrics { grid-column: span 2; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .features-inner { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}

/* =========================================================
   RÁDIO DJS — FAIXA AO VIVO (painel aprovado)
   Aparencia 100% HTML + CSS. Dados: AzuraCast.
   ========================================================= */

.djs-overlay-bar {
  display: flex;
  align-items: center;
  width: min(1160px, 94%);
  min-height: 48px;
  margin: 0 auto 14px;
  background: #050506;
  border: 1px solid var(--radio-red-border);
  border-radius: 9px;
  box-shadow: 0 0 8px rgba(224, 0, 0, 0.25), inset 0 0 12px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  box-sizing: border-box;
}

/* IMPORTANTE: cada informação tem sua própria área — nada se sobrepõe */
.djs-overlay-bar * {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

/* Status AO VIVO */
.djs-live-status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  padding: 0 16px;
  background: linear-gradient(180deg, var(--radio-red), var(--radio-red-play));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: djsDotPulse 1.6s ease-in-out infinite;
}

/* Janela (máscara) do conteúdo rolante */
.djs-ticker-window {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

/* Trilho rolante — duplicado em JS para loop contínuo */
.djs-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: djsScroll 32s linear infinite;
  will-change: transform;
}
.djs-overlay-bar:hover .djs-ticker-track {
  animation-play-state: paused;
}

.djs-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.djs-label {
  color: var(--radio-red);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.djs-destaque-label {
  color: #ffd400;
  font-weight: 800;
}

/* ABA CURIOSIDADE — ativa só quando existe curiosidade; senão fica neutra */
.djs-curio-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--radio-muted);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.25s, color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.djs-curio-item i { color: var(--radio-muted); transition: color 0.25s; }
.djs-curio-item.active {
  color: var(--radio-white);
  border-color: var(--radio-red-60);
  background: var(--radio-red-16);
  box-shadow: 0 0 8px var(--radio-red-25);
  opacity: 1;
}
.djs-curio-item.active i { color: var(--radio-red); }

.djs-separator {
  margin: 0 14px;
  color: #ffd400;
  font-size: 11px;
}

@keyframes djsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes djsDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .djs-ticker-track { animation: none; }
  .slogan-equalizer span { animation: none; }
}

@media (max-width: 420px) {
  .slogan-rect { width: 64px; }
  .slogan-title { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  .djs-overlay-bar { min-height: 44px; }
  .djs-live-status { padding: 0 12px; font-size: 10px; letter-spacing: 1.2px; }
  .djs-ticker-item { font-size: 12px; }
  .djs-separator { margin: 0 10px; }
}

/* ============================================================
   DISCO GIRANDO QUANDO TOCA + FADE DA CAPA (fix capa v1.1)
   O disco só gira enquanto a classe .playing está presente;
   a capa ganha fade ao trocar. Não mudar position do .disc
   (ele é absoluto — relativo quebraria o layout do vinil).
   ============================================================ */
.disc-rot { animation: none; }
.disc.playing .disc-rot {
  animation: spin 12s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* FADE DA CAPA */
#sleeve-img { transition: opacity .3s ease; }

/* ============================================================
   SEÇÃO SLOGAN (bloco próprio, formato do backup)
   ============================================================ */
.slogan-section { text-align: center; padding-top: 10px; }
.slogan-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.slogan-section .slogan-title { font-size: 34px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; text-transform: uppercase; }
.slogan-section .slogan-title span { color: var(--orange); }
.slogan-tagline { color: var(--orange); font-weight: 800; letter-spacing: 3px; font-size: 13px; }
.slogan-section .waveform { margin-top: 18px; }

@media (min-width: 560px) {
  .slogan-section .slogan-title { font-size: 42px; }
}

@media (min-width: 860px) {
  .slogan-section .slogan-title { font-size: 52px; }
}
