/* ============================================================
   Caveira Mix — Design System
   Tema escuro: preto, vermelho, cinza escuro, branco
   ============================================================ */
:root {
  --black: #0a0a0a;
  --graphite: #141416;
  --graphite-2: #1c1c20;
  --red: #e50914;
  --red-glow: #ff2d3f;
  --red-deep: #8b0000;
  --white: #f5f5f7;
  --grey: #9a9aa2;
  --glass: rgba(20, 20, 24, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 24px rgba(229, 9, 20, 0.45);
  --radius: 18px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   SCALE ROOT — wrapper que garante layout correto em todos os browsers
   O layout responsivo é feito via flexbox CSS puro
   ============================================================ */
#scale-root {
  width: 100%;
}

/* --- Fundo dinâmico --- */
.bg-layer {
  position: fixed; inset: 0; z-index: -3;
  background: url("/live/assets/bg.jpg") center/cover no-repeat fixed;
  filter: brightness(0.5) saturate(1.1);
}
.bg-layer::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.18), transparent 55%),
              linear-gradient(180deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.95));
}
#particles { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

/* --- Glass --- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--radius);
}

/* ============================ HEADER ============================ */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; padding: 0.75rem 1.2rem; flex-wrap: nowrap;
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand-logo { filter: drop-shadow(var(--shadow-glow)); animation: float 4s ease-in-out infinite; width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; letter-spacing: 2px; font-size: 1.1rem; }
.brand-slogan { font-size: 0.72rem; color: var(--grey); letter-spacing: 1px; }

.header-widgets {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}
.widget {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  min-height: 42px;
}
.widget:hover {
  border-color: rgba(255, 45, 63, 0.35);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.15);
}

.clock-widget {
  align-items: flex-end;
  min-width: 90px;
}
.clock {
  font-weight: 700;
  color: var(--red-glow);
  font-family: monospace;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}
.date, .greeting {
  color: var(--grey);
  font-size: 0.68rem;
}

/* --- Widget de Clima: Retângulo no design oficial do site --- */
.weather-widget {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  border-left: 2px solid var(--red);
  cursor: default;
}
.weather-widget:hover {
  transform: translateY(-1px);
}
.weather-icon {
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.2));
  animation: float 5s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.weather-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.weather-main-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.weather-temp {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
  letter-spacing: 0.3px;
}
.weather-city {
  font-size: 0.68rem;
  color: var(--grey);
  font-weight: 600;
  white-space: nowrap;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weather-cond {
  color: #b0b0b8;
  font-size: 0.64rem;
  text-transform: capitalize;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  text-align: center;
  padding: 2.2rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}

/* Área do Topo do Hero com Título 100% Centralizado e Quadro de LED Fixo à Direita */
.hero-top-grid {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 0.6rem;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 125px;
}

.hero-spacer-left {
  display: none;
}

.hero-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 0 auto;
  z-index: 2;
}

.hero-led-right-col {
  position: absolute;
  right: 1.5rem;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, calc(50vw - 420px), 480px);
  max-width: calc(50vw - 420px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
}

.hero-led-right-col .led-display-chassis {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.live-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.75rem;
  padding: 0.35rem 0.9rem; border-radius: 999px; letter-spacing: 1px;
  box-shadow: var(--shadow-glow);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem); font-weight: 900; letter-spacing: 4px;
  background: linear-gradient(90deg, var(--white), var(--red-glow), var(--white));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(229, 9, 20, 0.35);
  line-height: 1.1;
  margin: 0;
}
.hero-slogan { color: var(--grey); font-size: 1rem; }

@media (max-width: 1300px) {
  .hero-top-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 0 1rem;
    min-height: auto;
  }
  .hero-led-right-col {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 720px;
    justify-content: center;
  }
  .hero-led-right-col .led-display-chassis {
    max-width: 720px;
  }
}

/* --- Hero Stage (Layout do Player + Patrocinadores) — FLEXBOX 3 COLUNAS --- */
.hero-stage {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ============================================================
   QUADRO DE PATROCINADORES (COLUNA ESQUERDA DO PLAYER)
   ============================================================ */
.sponsors-container {
  flex: 0 0 clamp(220px, 22vw, 310px);
  display: flex;
  min-height: 460px;
  z-index: 10;
}

.sponsors-card {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(165deg, rgba(28, 28, 32, 0.85) 0%, rgba(14, 14, 18, 0.95) 100%);
  border: 1px solid rgba(229, 9, 20, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(229, 9, 20, 0.08);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsors-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-glow), transparent);
}

.sponsors-card:hover {
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(229, 9, 20, 0.16);
}

/* Header do Quadro */
.sponsors-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.75rem;
}

.sponsors-header-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sponsors-fire-icon {
  font-size: 1rem;
  animation: pulse 1.5s infinite;
}

.sponsors-title-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
}

.sponsors-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sponsors-counter {
  font-size: 0.7rem;
  color: var(--grey);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.sponsor-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.2s ease;
}

.sponsor-nav-btn:hover {
  background: var(--red);
  border-color: var(--red-glow);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
  transform: scale(1.08);
}

/* Viewport do Carrossel */
.sponsors-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: 12px;
  flex: 1 1 auto;
  padding-bottom: 2px;
}

.sponsors-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.sponsor-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
}

.sponsor-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  height: 100%;
}

/* Badge de Destaque */
.sponsor-badge-wrap {
  display: flex;
  align-items: center;
}

.sponsor-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.18rem 0.55rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(139, 0, 0, 0.4));
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: var(--red-glow);
  border-radius: 6px;
}

/* Imagem / Banner do Patrocinador */
.sponsor-media-link {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
}

.sponsor-img-wrap,
.sponsor-media {
  position: relative;
  width: 100%;
  height: 160px;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sponsor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.sponsor-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sponsor-visit-chip {
  background: var(--red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.sponsor-media-link:hover .sponsor-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.sponsor-media-link:hover .sponsor-img-overlay {
  opacity: 1;
}

/* Informações */
.sponsor-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 0.45rem;
  text-align: left;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.25;
}

.sponsor-desc {
  font-size: 0.74rem;
  color: var(--grey);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sponsor-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 0.2rem;
  padding: 0.55rem 0.9rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.22) 0%, rgba(20, 20, 24, 0.85) 100%);
  border: 1px solid rgba(229, 9, 20, 0.45);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sponsor-link-ico {
  width: 13px;
  height: 13px;
}

.sponsor-action-btn:hover {
  background: var(--red);
  border-color: var(--red-glow);
  color: #fff;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.6);
  transform: translateY(-1px);
}

/* Bolinhas (Dots) */
.sponsors-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0.4rem 0 0.3rem;
}

.sponsor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sponsor-dot.active {
  background: var(--red-glow);
  width: 18px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255, 45, 63, 0.6);
}

/* Rodapé do Quadro: Botão Anuncie Aqui */
.sponsors-footer {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-anuncie-aqui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(20, 20, 24, 0.7) 100%);
  border: 1px dashed rgba(229, 9, 20, 0.45);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.btn-anuncie-aqui:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.35) 0%, rgba(30, 30, 36, 0.9) 100%);
  border-color: var(--red-glow);
  border-style: solid;
  color: #fff;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.3);
  transform: translateY(-1px);
}

.anuncie-icon {
  color: #ffd700;
  font-size: 0.85rem;
}

.anuncie-arrow {
  color: var(--red-glow);
  font-weight: 800;
}

/* ============================================================
   QUADRO DO EQUALIZADOR & AMPLIFICADOR (COLUNA DIREITA DO PLAYER)
   ============================================================ */
.equalizer-container {
  flex: 0 0 clamp(220px, 22vw, 310px);
  display: flex;
  min-height: 460px;
  z-index: 10;
}

.equalizer-card {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: linear-gradient(165deg, rgba(26, 26, 32, 0.9) 0%, rgba(12, 12, 16, 0.97) 100%);
  border: 1px solid rgba(229, 9, 20, 0.32);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 9, 20, 0.1);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.equalizer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-glow), transparent);
}

.equalizer-card.eq-bypassed {
  opacity: 0.65;
  filter: grayscale(0.4);
}

/* Header do Equalizador */
.eq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.eq-screws {
  display: flex;
  gap: 4px;
  align-items: center;
}

.eq-screw {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555562;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 1px #000;
}

.eq-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
}

.eq-title {
  font-size: 0.76rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
  text-transform: uppercase;
}

.eq-code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: #88889a;
  letter-spacing: 0.5px;
}

.eq-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  margin-bottom: 2px;
}

/* Botão Power / Bypass */
.eq-btn-power {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #888896;
}

.eq-btn-power.active {
  background: rgba(0, 255, 102, 0.15);
  border-color: #00ff66;
  color: #00ff66;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.3);
}

.power-ico {
  font-size: 0.75rem;
}

.power-txt {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Barra de Controles: Preset & VU Meter */
.eq-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.5rem 0;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.eq-preset-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.eq-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #888896;
  letter-spacing: 0.5px;
}

.eq-preset-select {
  background: #09090e;
  border: 1px solid #333342;
  border-radius: 6px;
  color: #f0f0f5;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.3rem 0.5rem;
  outline: none;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
}

.eq-preset-select:focus {
  border-color: var(--red);
}

/* VU Meter Stereo */
.eq-vu-meter {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #050508;
  padding: 3px 6px;
  border-radius: 6px;
  border: 1px solid #22222a;
}

.vu-channel {
  display: flex;
  align-items: center;
  gap: 2px;
}

.vu-chan-label {
  font-family: monospace;
  font-size: 0.58rem;
  font-weight: 800;
  color: #666675;
}

.vu-meter-bar {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5px;
  height: 28px;
  width: 5px;
}

.vu-segment {
  width: 100%;
  height: 2px;
  border-radius: 1px;
  background: #1a1a24;
  transition: background 0.05s ease;
}

.vu-segment.green.lit {
  background: #00ff66;
  box-shadow: 0 0 4px #00ff66;
}

.vu-segment.yellow.lit {
  background: #ffcc00;
  box-shadow: 0 0 4px #ffcc00;
}

.vu-segment.red.lit {
  background: #ff0040;
  box-shadow: 0 0 5px #ff0040;
}

/* Grade dos Sliders Verticais */
.eq-bands-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  align-items: center;
  justify-items: center;
  margin: 0.4rem 0;
  padding: 0.4rem 0.2rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.eq-band-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.eq-band-val {
  font-family: monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ff8b95;
  min-height: 12px;
  text-align: center;
}

.eq-slider-track-wrap {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Estilo do Slider Vertical */
.eq-slider.vertical-slider {
  -webkit-appearance: slider-vertical;
  writing-mode: bt-lr; /* Firefox / IE */
  width: 8px;
  height: 125px;
  background: #16161e;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: var(--red);
}

.eq-band-freq {
  font-family: monospace;
  font-size: 0.62rem;
  font-weight: 800;
  color: #e0e0e8;
  margin-top: 0.15rem;
}

.eq-band-name {
  font-size: 0.55rem;
  color: #777788;
  text-transform: uppercase;
}

/* Rodapé: Booster & Reset */
.eq-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.eq-booster-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
}

.eq-booster-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.booster-icon {
  font-size: 0.75rem;
}

.booster-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.4px;
  flex: 1;
  margin-left: 0.3rem;
}

.booster-val {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 900;
  color: #ff4d5a;
}

.booster-val.high-boost {
  color: #ff0040;
  text-shadow: 0 0 6px rgba(255, 0, 64, 0.6);
}

.booster-slider {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
  height: 5px;
}

.eq-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-eq-reset {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #9999aa;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-eq-reset:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: rgba(229, 9, 20, 0.4);
  color: #fff;
}

/* --- Player card --- */
.player-card {
  margin: 0;
  padding: 2rem;
  flex: 1 1 400px;
  max-width: 760px;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 5;
}

/* Colapsa para coluna única em telas menores que 900px */
@media (max-width: 900px) {
  .hero-stage {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
    padding: 0;
  }

  .sponsors-container {
    flex: none;
    width: min(760px, 94vw);
    height: auto;
    margin-bottom: 0.5rem;
  }

  .equalizer-container {
    flex: none;
    width: min(760px, 94vw);
    height: auto;
    margin-top: 0.5rem;
  }

  .player-card {
    flex: none;
    width: min(760px, 94vw);
    margin: 0 auto;
  }
}
.disc-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 190px;
  height: 190px;
}
.disc {
  width: 190px; height: 190px; border-radius: 50%;
  background: #000; padding: 8px;
  border: 6px solid #17171a;
  box-shadow: var(--shadow-glow), inset 0 0 0 30px #0d0d0f;
  animation: spin 8s linear infinite; animation-play-state: paused;
  position: relative;
}
.disc.playing { animation-play-state: running, running; }
.disc::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px;
  background: var(--red); border-radius: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px #0a0a0a;
}
.disc img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ============================================================
   BRAÇO DE VITROLA COM AGULHA (PURO CSS FLUTUANTE)
   ============================================================ */
.tonearm {
  position: absolute;
  top: -12px;
  right: -8px;
  width: 60px;
  height: 135px;
  pointer-events: none;
  z-index: 10;
  transform-origin: 40px 14px;
  transform: rotate(-30deg);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(3px 4px 10px rgba(0, 0, 0, 0.85));
}

/* Animação suave ao passar o mouse sobre o disco ou player */
.disc-wrap:hover .tonearm,
.player-card:hover .tonearm,
.disc.playing ~ .tonearm {
  transform: rotate(16deg);
}

/* Base redonda do pivô */
.tonearm-base {
  position: absolute;
  top: 0;
  right: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #555 0%, #1a1a1e 70%, #0a0a0c 100%);
  border: 2px solid #333;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.9);
}

/* Miolo vermelho com brilho no pivô */
.tonearm-pivot {
  position: absolute;
  top: 5px;
  right: 13px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #e50914 0%, #8b0000 60%, #1a1a1a 100%);
  box-shadow: 0 0 6px rgba(229, 9, 20, 0.6);
  z-index: 2;
}

/* Haste / Barra metálica */
.tonearm-rod {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 4px;
  height: 108px;
  background: linear-gradient(90deg, #888 0%, #eee 45%, #ffffff 55%, #666 100%);
  border-radius: 2px;
  transform-origin: top center;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.7);
}

/* Contrapeso superior */
.tonearm-rod::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -4px;
  width: 12px;
  height: 14px;
  background: linear-gradient(180deg, #444, #111);
  border: 1px solid #666;
  border-radius: 3px;
}

/* Cabeçote / Cápsula (Headshell) */
.tonearm-head {
  position: absolute;
  bottom: -4px;
  left: -7px;
  width: 14px;
  height: 20px;
  background: linear-gradient(145deg, #222, #0d0d0f);
  border: 1px solid #e50914;
  border-radius: 3px 3px 5px 2px;
  transform: rotate(24deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 4px rgba(229, 9, 20, 0.3);
}

/* Agulha pontual com brilho neon */
.tonearm-needle {
  position: absolute;
  bottom: -4px;
  left: 5px;
  width: 3px;
  height: 6px;
  background: linear-gradient(180deg, #fff 0%, #e50914 80%, #ff2d3f 100%);
  border-radius: 0 0 1px 1px;
  box-shadow: 0 0 5px #ff2d3f;
}

.player-info { flex: 1 1 260px; text-align: left; min-width: 240px; }
.now-label { color: var(--red-glow); font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; }
.track-title { font-size: 1.5rem; font-weight: 800; margin: 0.2rem 0; }
.track-artist { color: var(--grey); font-size: 1rem; }
.track-album { color: var(--grey); font-size: 0.8rem; font-style: italic; margin-top: 0.2rem; }

/* Equalizador */
.equalizer { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-bottom: 0.6rem; }
.equalizer span {
  width: 4px; background: linear-gradient(var(--red-glow), var(--red)); border-radius: 2px;
  height: 26px; opacity: 0.4; transform: scaleY(0.23); transform-origin: bottom center;
  will-change: transform;
}
.equalizer.active span { animation: eq 0.9s ease-in-out infinite; opacity: 1; }
.equalizer span:nth-child(2n) { animation-duration: 0.7s; }
.equalizer span:nth-child(3n) { animation-duration: 1.1s; }

/* --- Barra de Progresso da Música Atual --- */
.track-progress-wrap {
  width: 100%;
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}
.track-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}
.track-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-glow));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 45, 63, 0.7);
  transition: width 0.35s ease;
}
.track-progress-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--grey);
  margin-top: 0.3rem;
  font-variant-numeric: tabular-nums;
}

.controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; }
.btn-play {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #fff; font-size: 1.4rem; box-shadow: var(--shadow-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-play:hover { transform: scale(1.08); box-shadow: 0 0 32px rgba(255, 45, 63, 0.7); }
.btn-play:active { transform: scale(0.95); }
.volume-wrap { display: flex; align-items: center; gap: 0.5rem; flex: 1; }
#volume { flex: 1; accent-color: var(--red); cursor: pointer; }
.player-status { margin-top: 0.8rem; font-size: 0.78rem; color: var(--grey); min-height: 1em; }

/* --- Próxima Música (Next Track Box) - Tema Vermelho e Preto Degradê --- */
.next-track-box {
  margin-top: 1.1rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.22) 0%, rgba(139, 0, 0, 0.16) 30%, rgba(14, 14, 18, 0.9) 70%, rgba(10, 10, 12, 0.96) 100%);
  border: 1px solid rgba(229, 9, 20, 0.35);
  border-left: 4px solid var(--red);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 45, 63, 0.25), 0 0 16px rgba(229, 9, 20, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.next-track-box::before {
  content: "";
  position: absolute;
  top: 0; right: 0; width: 120px; height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(229, 9, 20, 0.12), transparent 70%);
  pointer-events: none;
}
.next-track-box:hover {
  border-color: rgba(255, 45, 63, 0.6);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.32) 0%, rgba(139, 0, 0, 0.22) 35%, rgba(18, 18, 22, 0.94) 75%, rgba(10, 10, 12, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(229, 9, 20, 0.35);
  transform: translateY(-2px);
}
.next-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.next-track-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.5);
  text-transform: uppercase;
}
.next-track-badge .next-icon {
  font-size: 0.72rem;
  display: inline-block;
  animation: bounceRight 1.5s ease-in-out infinite;
}
@keyframes bounceRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.next-track-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.next-track-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.next-track-cover {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(229, 9, 20, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 10px rgba(229, 9, 20, 0.3);
  background: #000;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.next-track-box:hover .next-track-cover {
  transform: scale(1.04);
  border-color: var(--red-glow);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 45, 63, 0.5);
}
.next-track-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.next-track-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}
.next-track-artist {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
  font-weight: 500;
}

/* ============================ STATS ============================ */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem; padding: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.stat-card {
  padding: 1.6rem; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem; transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.stat-emoji { font-size: 2rem; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--red-glow); }
.stat-label { color: var(--grey); font-size: 0.85rem; }
.status-on { color: #2ecc71 !important; font-size: 1.6rem; }
.listeners-card .stat-number { animation: pop 0.4s ease; }
.qr-card img { border-radius: 12px; background: #fff; padding: 4px; }

/* ============================ SEARCH ============================ */
.search-section { max-width: 700px; margin: 1.5rem auto; padding: 0 1.5rem; }
.search-box { display: flex; align-items: center; padding: 0.4rem 0.6rem; }
.search-box input {
  flex: 1; background: transparent; border: none; outline: none; color: var(--white);
  padding: 0.7rem; font-size: 1rem;
}
.search-box button { background: var(--red); border: none; color: #fff; padding: 0.6rem 0.9rem; border-radius: 10px; cursor: pointer; }
.search-results { margin-top: 1rem; display: grid; gap: 0.6rem; }
.search-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem; }
.search-item img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }

/* ============================ ARTIST ============================ */
.artist-section { max-width: 900px; margin: 1.5rem auto; padding: 1.8rem; }
.artist-body { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.artist-photo { width: 160px; height: 160px; border-radius: 14px; object-fit: cover; box-shadow: var(--shadow-glow); }
.artist-meta { flex: 1; min-width: 240px; }
.artist-meta h4 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.artist-tags { color: var(--red-glow); font-size: 0.8rem; margin-bottom: 0.6rem; }
.artist-bio { color: var(--grey); font-size: 0.9rem; line-height: 1.5; }
.artist-similar-label { margin-top: 0.8rem; font-weight: 700; font-size: 0.85rem; }
.artist-similar { color: var(--grey); font-size: 0.85rem; }

/* ============================ HISTORY ============================ */
.history-section { max-width: 1100px; margin: 2rem auto; padding: 0 1.5rem; }
.section-title {
  text-align: center; font-size: 1.6rem; font-weight: 800; margin-bottom: 1.2rem;
  letter-spacing: 1px; position: relative;
}
.section-title::after {
  content: ""; display: block; width: 60px; height: 3px; margin: 0.5rem auto 0;
  background: var(--red); border-radius: 2px; box-shadow: var(--shadow-glow);
}
.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.history-card {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem;
  border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeUp 0.4s ease;
}
.history-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.history-card img { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.hc-title { font-weight: 700; font-size: 0.9rem; }
.hc-artist { color: var(--grey); font-size: 0.78rem; }
.hc-time { color: var(--red-glow); font-size: 0.7rem; }

/* ============================ SHARE ============================ */
.share-section { max-width: 900px; margin: 2rem auto 3rem; padding: 0 1.5rem; text-align: center; }
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
.share-btn {
  padding: 0.7rem 1.4rem; border-radius: 12px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.85rem; transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--glass-border);
}
.share-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 18px rgba(255, 45, 63, 0.5); }
.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.tg { background: #0088cc; }
.share-btn.x { background: #000; }
.share-btn.ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.share-btn.yt { background: #ff0000; }
.share-btn.vlc { background: linear-gradient(135deg, #ff7a00, #d35400); }
.share-btn.vlc:hover { box-shadow: 0 0 20px rgba(255, 122, 0, 0.6), inset 0 0 20px rgba(255, 122, 0, 0.2) !important; }
.share-btn.winamp { background: linear-gradient(135deg, #f59e0b, #059669); }
.share-btn.winamp:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.6), inset 0 0 20px rgba(245, 158, 11, 0.2) !important; }
button.share-btn { font-family: inherit; border: 1px solid var(--glass-border); cursor: pointer; outline: none; }
.share-btn.copied {
  background: linear-gradient(135deg, #10b981, #047857) !important;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.85), inset 0 0 20px rgba(16, 185, 129, 0.4) !important;
  transform: scale(1.04);
}

/* ============================ FOOTER ============================ */
.site-footer {
  text-align: center; padding: 2rem 1.5rem 5.5rem; color: var(--grey); font-size: 0.8rem;
  border-top: 1px solid var(--glass-border); display: flex; flex-direction: column;
  align-items: center; gap: 0.5rem;
  transition: padding-bottom 0.3s ease;
}

body.has-sticky-player .site-footer,
body:has(.sticky-player.visible) .site-footer {
  padding-bottom: 7rem;
}

.muted { color: var(--grey); text-align: center; }

/* ============================ ANIMAÇÕES ============================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.6); } }
@keyframes eq { 0%,100% { transform: scaleY(0.23); } 50% { transform: scaleY(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { 0% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ============================ RESPONSIVO ============================ */
@media (max-width: 640px) {
  .player-card { padding: 1.4rem; gap: 1.2rem; }
  .disc { width: 150px; height: 150px; }
  .player-info { text-align: center; }
  .controls { justify-content: center; }
  .equalizer { justify-content: center; }
}

/* ===================== VMU (Visual Music Unit) ===================== */
.vmu-container {
  width: 100%;
  max-width: 720px;
  height: 130px;
  margin: 18px auto 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 45, 63, 0.35);
  box-shadow:
    0 0 30px rgba(255, 0, 64, 0.28),
    inset 0 0 30px rgba(0, 255, 65, 0.08);
}
#vmu-canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 768px) { .vmu-container { height: 90px; } }
@media (max-width: 480px) { .vmu-container { height: 70px; } }

/* ============================================================
   QUADRO DE LED / LETREIRO DE AVISOS DA ADMINISTRAÇÃO (MARQUEE)
   ============================================================ */
.led-display-chassis {
  width: 100%;
  max-width: 720px;
  margin: 16px auto 0;
  background: #0d0d12;
  border-radius: 12px;
  border: 2px solid #22222a;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.7),
    0 0 25px rgba(255, 45, 63, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Topo do Chassi de Metal com parafusos e status */
.led-chassis-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(180deg, #1f1f26 0%, #121217 100%);
  border-bottom: 1px solid #282832;
  font-size: 0.7rem;
  user-select: none;
}

.led-screws {
  display: flex;
  gap: 6px;
  align-items: center;
}
.led-screw {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #444450;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 1px #000;
  position: relative;
}
.led-screw::before {
  content: "";
  position: absolute;
  top: 2.5px;
  left: 1px;
  width: 4px;
  height: 1px;
  background: #1a1a20;
}

.led-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.led-indicator-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff0040;
  box-shadow: 0 0 8px #ff0040, 0 0 14px #ff0040;
  animation: ledBlink 1.4s infinite ease-in-out;
}
@keyframes ledBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.led-tag-label {
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  font-size: 0.72rem;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.led-station-code {
  font-family: 'Share Tech Mono', monospace, sans-serif;
  color: #666675;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}
@media (max-width: 540px) {
  .led-station-code { display: none; }
}

.led-controls-mini {
  display: flex;
  align-items: center;
  gap: 5px;
}
.led-color-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  background: transparent;
}
.led-color-btn[data-color="red"] { background: #ff2a3a; }
.led-color-btn[data-color="amber"] { background: #ffb300; }
.led-color-btn[data-color="green"] { background: #00ff66; }
.led-color-btn[data-color="cyan"] { background: #00ffff; }

.led-color-btn:hover {
  transform: scale(1.3);
}
.led-color-btn.active {
  box-shadow: 0 0 8px currentColor;
  transform: scale(1.2);
  border-color: #fff;
}

/* --- Tela da Matriz de Pontos de LED --- */
.led-matrix-screen {
  position: relative;
  height: 87px;
  background: #020204;
  overflow: hidden;
  display: flex;
  align-items: center;
  cursor: grab;
  user-select: none;
}
.led-matrix-screen:active {
  cursor: grabbing;
}

/* Grade de Micro-Pontos (Dot Matrix Raster Grid) */
.led-dot-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image: 
    radial-gradient(circle, rgba(0, 0, 0, 0.65) 1.5px, transparent 1.5px),
    linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px);
  background-size: 4px 4px, 100% 4px;
  opacity: 0.85;
}

/* Reflexo sutil de acrílico/vidro */
.led-glass-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 40%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

/* Viewport & Trilhos da Animação Marquee */
.led-marquee-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.led-marquee-track {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: 'VT323', 'Share Tech Mono', monospace, 'Courier New';
  font-size: 2.8rem;
  letter-spacing: 4px;
  line-height: 1;
  padding-right: 50px;
  will-change: transform;
  animation: ledMarqueeScroll 28s linear infinite;
}

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

/* Pausar scroll no hover */
.led-matrix-screen.paused .led-marquee-track {
  animation-play-state: paused !important;
}

/* Flash de atualização */
.led-matrix-screen.led-updating {
  animation: ledGlitch 0.4s ease-out;
}
@keyframes ledGlitch {
  0% { opacity: 0.2; filter: brightness(2); }
  50% { opacity: 0.9; filter: brightness(1.5); }
  100% { opacity: 1; filter: brightness(1); }
}

/* Elementos individuais do texto */
.led-message-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.led-sep {
  font-size: 1.3rem;
  margin: 0 4px;
}
.led-dot-sep {
  opacity: 0.5;
  margin: 0 16px;
  letter-spacing: 4px;
}
.led-author-tag {
  font-size: 1.25rem;
  opacity: 0.85;
}

/* ============================================================
   TEMAS DE CORES DO LED (Vermelho, Âmbar, Verde, Ciano)
   ============================================================ */
/* 1. Vermelho (Default) */
.led-theme-red .led-marquee-track,
.led-message-item.led-color-red {
  color: #ff2a3a;
  text-shadow:
    0 0 2px #ff2a3a,
    0 0 8px rgba(255, 0, 50, 0.85),
    0 0 16px rgba(255, 0, 50, 0.55),
    0 0 30px rgba(255, 0, 50, 0.25);
}
.led-theme-red {
  box-shadow: inset 0 0 25px rgba(255, 0, 50, 0.15);
}

/* 2. Âmbar (Show / Metrô) */
.led-theme-amber .led-marquee-track,
.led-message-item.led-color-amber {
  color: #ffb700;
  text-shadow:
    0 0 2px #ffb700,
    0 0 8px rgba(255, 183, 0, 0.85),
    0 0 16px rgba(255, 183, 0, 0.55),
    0 0 30px rgba(255, 183, 0, 0.25);
}
.led-theme-amber {
  box-shadow: inset 0 0 25px rgba(255, 183, 0, 0.15);
}

/* 3. Verde (Estúdio / Retro) */
.led-theme-green .led-marquee-track,
.led-message-item.led-color-green {
  color: #00ff66;
  text-shadow:
    0 0 2px #00ff66,
    0 0 8px rgba(0, 255, 102, 0.85),
    0 0 16px rgba(0, 255, 102, 0.55),
    0 0 30px rgba(0, 255, 102, 0.25);
}
.led-theme-green {
  box-shadow: inset 0 0 25px rgba(0, 255, 102, 0.15);
}

/* 4. Ciano (Cyberpunk) */
.led-theme-cyan .led-marquee-track,
.led-message-item.led-color-cyan {
  color: #00ffff;
  text-shadow:
    0 0 2px #00ffff,
    0 0 8px rgba(0, 255, 255, 0.85),
    0 0 16px rgba(0, 255, 255, 0.55),
    0 0 30px rgba(0, 255, 255, 0.25);
}
.led-theme-cyan {
  box-shadow: inset 0 0 25px rgba(0, 255, 255, 0.15);
}

@media (max-width: 640px) {
  .led-display-chassis { margin-top: 14px; }
  .led-matrix-screen { height: 52px; }
  .led-marquee-track { font-size: 1.55rem; letter-spacing: 2px; }
}

/* ===================== Pedido de Música ===================== */
.request-section { padding: 20px; margin: 18px 0; border-radius: 14px; }
.request-form { display: flex; flex-direction: column; gap: 10px; }
.request-form input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.35);
  color: #fff; outline: none;
}
.request-form input:focus { border-color: #ff2d3f; box-shadow: 0 0 0 2px rgba(255,45,63,0.25); }
.request-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
@media (max-width: 640px) { .request-fields { grid-template-columns: 1fr; } }
.btn-request {
  padding: 10px 18px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #ff0040, #ff00ff); color: #fff; font-weight: 700;
  box-shadow: 0 4px 18px rgba(255,0,64,0.35);
}
.btn-request:hover { filter: brightness(1.1); }
.request-results { display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow: auto; }
.request-results .rr-item {
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.request-results .rr-item:hover { background: rgba(255,45,63,0.15); border-color: rgba(255,45,63,0.4); }
.request-status { font-size: 14px; color: #ffd1d6; min-height: 18px; }

/* ===================== Notícias ===================== */
.news-section { margin: 18px 0; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.news-card {
  display: flex; gap: 10px; padding: 10px; border-radius: 12px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; color: inherit; transition: transform .2s, border-color .2s;
}
.news-card:hover { transform: translateY(-2px); border-color: rgba(255,45,63,0.5); }
.news-card img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.news-card .nc-title { font-weight: 600; font-size: 14px; line-height: 1.25; }
.news-card .nc-source { font-size: 12px; opacity: 0.7; margin-top: 4px; }

/* ===================== Balão flutuante ===================== */
.playlist-finder-bubble {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  animation: pf-float 3s ease-in-out infinite;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Quando o sticky player estiver ativo, move o balão para cima para não sobrepor */
body.has-sticky-player .playlist-finder-bubble,
body:has(.sticky-player.visible) .playlist-finder-bubble,
.playlist-finder-bubble.with-sticky {
  bottom: 88px;
}
.bubble-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: linear-gradient(135deg, #ff0040, #ff00ff);
  border-radius: 50px; text-decoration: none; color: #fff;
  box-shadow: 0 4px 20px rgba(255,0,64,0.4), 0 0 40px rgba(255,0,255,0.2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bubble-link:hover { transform: scale(1.05); box-shadow: 0 6px 30px rgba(255,0,64,0.6), 0 0 60px rgba(255,0,255,0.3); }
.bubble-icon { font-size: 22px; }
.bubble-content { display: flex; flex-direction: column; line-height: 1.1; }
.bubble-title { font-weight: 700; font-size: 14px; letter-spacing: .5px; }
.bubble-subtitle { font-size: 11px; opacity: .85; }
@keyframes pf-float { 0%,100%{transform: translateY(0);} 50%{transform: translateY(-10px);} }
@media (max-width: 768px) {
  .playlist-finder-bubble { bottom: 18px; right: 18px; }
  body.has-sticky-player .playlist-finder-bubble,
  body:has(.sticky-player.visible) .playlist-finder-bubble,
  .playlist-finder-bubble.with-sticky {
    bottom: 82px;
  }
  .bubble-link { padding: 10px 14px; }
  .bubble-subtitle { display: none; }
}

/* ============================ MENU DE NAVEGAÇÃO (HEADER) ============================ */
.header-nav { display: flex; align-items: center; flex: 1 1 auto; justify-content: center; min-width: 0; }
.nav-scroll-hint { display: none; }
.nav-toggle {
  display: none; background: var(--glass); border: 1px solid var(--glass-border);
  color: inherit; font-size: 1.1rem; line-height: 1; padding: 0.45rem 0.7rem;
  border-radius: 12px; cursor: pointer;
}
.nav-list {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: 0; padding: 0.35rem 0.9rem 0.45rem 0.9rem; max-width: 100%;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #ff2d3f rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #121214 0%, #08080a 100%);
  border: 1px solid rgba(229, 9, 20, 0.75);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.35), inset 0 0 12px rgba(229, 9, 20, 0.12);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  cursor: grab;
}
.nav-list.is-dragging {
  cursor: grabbing;
  user-select: none;
  scroll-behavior: auto;
}
.nav-list.is-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}
.nav-list::-webkit-scrollbar {
  height: 5px;
  display: block;
}
.nav-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin: 0 18px 2px 18px;
}
.nav-list::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff0040, #ff2d3f);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 45, 63, 0.7);
  cursor: grab;
}
.nav-list::-webkit-scrollbar-thumb:hover {
  background: #ff5262;
  box-shadow: 0 0 12px rgba(255, 45, 63, 0.9);
}
.nav-list::-webkit-scrollbar-thumb:active {
  cursor: grabbing;
}
.nav-list > li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  white-space: nowrap; text-decoration: none; color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.1px; padding: 0.35rem 0.7rem;
  border-radius: 999px; border: 1px solid transparent; transition: all 0.25s ease;
}
.nav-ico { width: 18px; height: 18px; color: var(--red); flex: 0 0 auto; transition: all 0.25s ease; }
.nav-link:hover { color: #fff; text-shadow: 0 0 10px rgba(255, 45, 63, 0.6); background: rgba(229, 9, 20, 0.12); }
.nav-link:hover .nav-ico { color: var(--red-glow); filter: drop-shadow(0 0 6px rgba(255, 45, 63, 0.8)); }
.nav-link.active { color: var(--red-glow); background: rgba(229, 9, 20, 0.16); box-shadow: inset 0 0 12px rgba(229, 9, 20, 0.25); }
.nav-link.active .nav-ico { color: var(--red-glow); filter: drop-shadow(0 0 6px rgba(255, 45, 63, 0.9)); }

#pedidos, #historico, #compartilhar, #comentarios { scroll-margin-top: 104px; }

/* ==================== RESPONSIVIDADE DO HEADER E MENU DE NAVEGAÇÃO ==================== */
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.8rem;
    gap: 0.45rem 0.5rem;
  }

  .brand {
    order: 1;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    text-align: center;
    gap: 0.55rem;
  }
  .brand-logo {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.05rem;
    letter-spacing: 1.5px;
  }
  .brand-slogan {
    font-size: 0.66rem;
  }

  .header-widgets {
    order: 2;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
  }
  .widget {
    padding: 0.25rem 0.5rem;
    min-height: 38px;
    font-size: 0.72rem;
  }
  .weather-widget {
    gap: 0.45rem;
  }
  .weather-icon {
    font-size: 1.25rem;
  }
  .weather-temp {
    font-size: 0.88rem;
  }
  .weather-city {
    max-width: 80px;
    font-size: 0.65rem;
  }
  .weather-cond {
    max-width: 95px;
    font-size: 0.6rem;
  }
  .clock-widget {
    min-width: unset;
    padding: 0.25rem 0.55rem;
  }
  .clock {
    font-size: 0.82rem;
  }
  .date, .greeting {
    font-size: 0.62rem;
  }

  /* BARRA DE OPÇÕES / MENU SEMPRE VISÍVEL E COM ROLAGEM HORIZONTAL SUAVE */
  .header-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.2rem;
    min-width: 0;
    position: relative;
  }
  .nav-toggle {
    display: none !important;
  }

  /* Sinalização de arrastar para o lado no celular (posicionada ACIMA da barra de opções) */
  .nav-scroll-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.28rem;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.22) 0%, rgba(20, 20, 24, 0.92) 100%);
    color: #ffb3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 0.22rem 0.65rem 0.22rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(229, 9, 20, 0.5);
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.35);
    pointer-events: none;
    z-index: 5;
    animation: navHintPulse 2s ease-in-out infinite;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
    white-space: nowrap;
    user-select: none;
  }
  .nav-scroll-hint.faded {
    opacity: 0;
    transform: translateY(-4px) scale(0.92);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: none;
    overflow: hidden;
    pointer-events: none;
  }
  .nav-hint-icon {
    font-size: 0.75rem;
    line-height: 1;
  }
  .nav-hint-text {
    font-size: 0.66rem;
    line-height: 1;
    color: #fce8e8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  }
  .nav-hint-arrow {
    font-size: 0.78rem;
    font-weight: 900;
    color: #ff2d3f;
    animation: navHintArrowBounce 0.9s infinite alternate ease-in-out;
  }

  @keyframes navHintPulse {
    0%, 100% {
      border-color: rgba(229, 9, 20, 0.4);
      box-shadow: 0 0 8px rgba(229, 9, 20, 0.3);
    }
    50% {
      border-color: rgba(255, 45, 63, 0.8);
      box-shadow: 0 0 16px rgba(255, 45, 63, 0.6);
    }
  }

  @keyframes navHintArrowBounce {
    0% { transform: translateX(0); }
    100% { transform: translateX(4px); }
  }

  .nav-list {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0.32rem 0.6rem 0.42rem 0.6rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #121214 0%, #08080a 100%);
    border: 1px solid rgba(229, 9, 20, 0.75);
    box-shadow: 0 0 14px rgba(229, 9, 20, 0.35), inset 0 0 12px rgba(229, 9, 20, 0.12);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ff2d3f rgba(255, 255, 255, 0.08);
  }
  .nav-list::-webkit-scrollbar {
    height: 4px;
    display: block;
  }
  .nav-list > li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
  }
  .nav-link {
    font-size: 0.75rem;
    padding: 0.32rem 0.62rem;
    white-space: nowrap;
    gap: 0.3rem;
  }
  .nav-ico {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.45rem 0.55rem;
    gap: 0.3rem 0.4rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 1px;
  }
  .brand-slogan {
    display: none; /* Deixa apenas "RÁDIO CAVEIRA" para encaixar com folga no mobile */
  }
  .weather-cond {
    display: none; /* Remove detalhe secundário mantendo "29°C Bayeux" limpo no topo */
  }
  .clock-widget .greeting {
    display: none; /* Remove "Bom dia/Olá" mantendo hora e data */
  }
  .weather-widget {
    padding: 0.2rem 0.45rem;
    min-height: 36px;
  }
  .clock-widget {
    padding: 0.2rem 0.45rem;
    min-height: 36px;
  }
  .clock {
    font-size: 0.8rem;
  }
  .header-nav {
    margin-top: 0.15rem;
  }
  .nav-list {
    padding: 0.28rem 0.45rem 0.38rem 0.45rem;
  }
  .nav-link {
    font-size: 0.73rem;
    padding: 0.28rem 0.52rem;
  }
}

@media (max-width: 420px) {
  .nav-scroll-hint {
    padding: 0.18rem 0.45rem 0.18rem 0.38rem;
  }
  .nav-hint-text {
    font-size: 0.58rem;
  }
}

@media (max-width: 380px) {
  .clock-widget .date {
    display: none; /* Mantém apenas a hora no relógio para celulares com tela ultraestreita */
  }
  .weather-city {
    max-width: 60px;
  }
}

/* ---- Bandas disponíveis (accordion) ---- */
.request-fields { grid-template-columns: 1fr; }
.bands-accordion {
  background: linear-gradient(180deg, #0c0c0e, #050506);
  border: 1px solid transparent;
  border-radius: 14px;
  background-image: linear-gradient(180deg, #0c0c0e, #050506), linear-gradient(135deg, #ff2d3f, #7a0510);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  overflow: hidden;
}
.bands-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: transparent; border: 0; color: #fff; font: inherit; font-weight: 700;
  padding: 12px 14px; cursor: pointer; text-align: left;
}
.bands-toggle:hover { color: #ff8b95; }
.bands-caret { color: #ff2d3f; transition: transform .28s ease; }
.bands-toggle[aria-expanded="true"] .bands-caret { transform: rotate(180deg); }
.bands-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.bands-panel.open { max-height: 600px; }

/* Filtro de bandas */
.bands-filter-wrap {
  padding: 8px 10px 4px;
}
.bands-filter-input {
  width: 100%; padding: 7px 12px; border-radius: 8px; font-size: 13px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,45,63,0.3);
  color: #fff; outline: none; box-sizing: border-box;
  transition: border-color .2s ease;
}
.bands-filter-input:focus { border-color: rgba(255,45,63,0.7); }
.bands-filter-input::placeholder { color: rgba(255,180,190,0.5); }

.bands-list {
  list-style: none; margin: 0; padding: 6px 10px 12px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px;
  max-height: 460px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(255,45,63,.5) transparent;
}
.bands-list::-webkit-scrollbar { width: 6px; }
.bands-list::-webkit-scrollbar-thumb { background: rgba(255,45,63,.45); border-radius: 6px; }
.bands-list li {
  cursor: pointer; padding: 8px 10px; border-radius: 10px; color: #e9e9ee;
  border: 1px solid rgba(255,45,63,0.18); background: rgba(255,255,255,0.02);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
}
.bands-list li:hover {
  background: rgba(255,45,63,0.18); border-color: rgba(255,45,63,0.55); color: #fff;
}
.band-name { font-size: 13px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-count {
  font-size: 11px; color: #ff8f99; background: rgba(255,45,63,0.15);
  border-radius: 20px; padding: 1px 6px; flex-shrink: 0; white-space: nowrap;
}
@media (max-width: 640px) { .bands-list { grid-template-columns: 1fr 1fr; } }

/* ===== Autocomplete de pedidos (Spotify-like) ===== */
.request-searchbar { display: flex; gap: 10px; align-items: stretch; }
@media (max-width: 640px) { .request-searchbar { flex-direction: column; } }
.request-ac { position: relative; flex: 1; }
.request-ac input { width: 100%; }
.request-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40;
  display: none; flex-direction: column; gap: 4px; padding: 8px;
  max-height: 340px; overflow: auto;
  background: linear-gradient(180deg, #0d0d10, #050506);
  border: 1px solid rgba(255,45,63,0.55); border-radius: 16px;
  box-shadow: 0 0 22px rgba(255,45,63,0.28), inset 0 0 18px rgba(255,45,63,0.08);
  animation: acIn .18s ease;
}
.request-results.open { display: flex; }
@keyframes acIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.request-results .rr-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 12px; cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.request-results .rr-item:hover {
  background: rgba(255,45,63,0.15); border-color: rgba(255,45,63,0.45);
  transform: translateX(2px);
}
.rr-ico { color: #ff2d3f; }
.rr-txt { display: flex; flex-direction: column; min-width: 0; }
.rr-title { color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-sub { color: #ffb3ba; font-size: 12px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-empty { color: #ffd1d6; font-size: 14px; padding: 8px 12px; margin: 0; }
.bands-list li { cursor: pointer; }

/* ===== Autocomplete de pedidos — capa, item e estado do botão ===== */
.request-results .rr-item { gap: 12px; }
.rr-art {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; object-fit: cover;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,45,63,0.28);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.rr-txt { flex: 1 1 auto; }
.rr-pick { color: #ff2d3f; opacity: 0; transition: opacity .18s ease; }
.request-results .rr-item:hover .rr-pick { opacity: 1; }
.request-results { scrollbar-width: thin; scrollbar-color: rgba(255,45,63,.6) transparent; }
.request-results::-webkit-scrollbar { width: 8px; }
.request-results::-webkit-scrollbar-thumb { background: rgba(255,45,63,.55); border-radius: 8px; }
.request-results::-webkit-scrollbar-track { background: transparent; }
.btn-request:disabled, .btn-request.is-disabled {
  opacity: .45; cursor: not-allowed; filter: grayscale(.35); box-shadow: none;
}

/* Cabeçalho do dropdown de pedidos */
.rr-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 12px 10px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,45,63,0.28);
  position: sticky; top: -8px; z-index: 2;
  background: linear-gradient(180deg, #0d0d10, #0b0b0e);
}
.rr-head-title { color: #fff; font-weight: 700; font-size: 14px; }
.rr-head-count { color: #ff8f99; font-size: 12px; white-space: nowrap; }
.rr-list { display: flex; flex-direction: column; gap: 4px; }

/* Item ativo por navegação por teclado */
.request-results .rr-item.rr-active {
  background: rgba(255,45,63,0.22);
  border-color: rgba(255,45,63,0.6);
  outline: 2px solid rgba(255,45,63,0.5);
  outline-offset: -1px;
}
.request-results .rr-item.rr-active .rr-pick { opacity: 1; }

/* Indicador de carregamento do catálogo */
.request-catalog-status {
  font-size: 13px; color: #ffb3ba; text-align: center;
  padding: 6px 0 2px; margin: 0;
  animation: pulse-opacity 1.4s ease infinite;
}
@keyframes pulse-opacity { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* Status de envio: variantes coloridas */
.request-status--sending { color: #ffcc66 !important; }
.request-status--success { color: #66ffb2 !important; }
.request-status--error   { color: #ff8f99 !important; }

/* Mensagem de resultado vazio aprimorada */
.rr-empty small { display: block; font-size: 11px; opacity: .7; margin-top: 4px; }

/* ============================================================
   MOLDURA FUTURISTA (HUD Sci-Fi) — cards principais
   Apenas visual: não altera layout, tamanhos ou funcionalidades.
   ============================================================ */
:root {
  --tech-cut: 14px;
  --tech-red: #ff2d3f;
  --tech-dark: #6b0713;
  --tech-pink: #ff4d8d;
}

.player-card,
.vmu-container,
.stat-card,
.request-section,
.bands-panel {
  position: relative;
  isolation: isolate;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(
    var(--tech-cut) 0, calc(100% - var(--tech-cut)) 0, 100% var(--tech-cut),
    100% calc(100% - var(--tech-cut)), calc(100% - var(--tech-cut)) 100%,
    var(--tech-cut) 100%, 0 calc(100% - var(--tech-cut)), 0 var(--tech-cut)
  );
  background:
    linear-gradient(160deg, rgba(255, 45, 63, 0.07), rgba(0, 0, 0, 0) 42%),
    linear-gradient(0deg, rgba(90, 5, 14, 0.22), rgba(6, 6, 8, 0.72));
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    0 0 22px rgba(255, 45, 63, 0.16),
    inset 0 0 26px rgba(255, 45, 63, 0.06);
  transition: transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 280ms ease;
}

/* Borda dupla em degradê (vermelho neon → vermelho escuro → rosa neon) */
.player-card::before,
.vmu-container::before,
.stat-card::before,
.request-section::before,
.bands-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(125deg,
    var(--tech-red) 0%, var(--tech-dark) 28%, var(--tech-pink) 52%,
    var(--tech-dark) 74%, var(--tech-red) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

/* Linha de energia circulando lentamente pela moldura */
.player-card::after,
.vmu-container::after,
.stat-card::after,
.request-section::after,
.bands-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: conic-gradient(from 0deg,
    transparent 0 62%, rgba(255, 77, 141, 0.15) 70%,
    rgba(255, 255, 255, 0.9) 78%, var(--tech-red) 82%, transparent 90% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 3;
  opacity: 0.75;
  animation: techFlow 7s linear infinite;
}

@keyframes techFlow {
  to { transform: rotate(1turn); }
}

@media (prefers-reduced-motion: reduce) {
  .player-card::after, .vmu-container::after, .stat-card::after,
  .request-section::after, .bands-panel::after { animation: none; }
}

/* Hover: sobe, inclina levemente e intensifica o glow */
.player-card:hover,
.vmu-container:hover,
.request-section:hover {
  transform: translateY(-5px) rotate(-0.6deg);
  box-shadow:
    0 14px 40px rgba(255, 45, 63, 0.28),
    0 0 32px rgba(255, 45, 63, 0.26),
    inset 0 0 30px rgba(255, 45, 63, 0.09);
}

/* Cards inferiores: hover só com brilho — sem qualquer deslocamento */
.stat-card,
.stat-card:hover {
  transform: none !important;
}
.stat-card:hover {
  box-shadow:
    0 0 34px rgba(255, 45, 63, 0.32),
    inset 0 0 30px rgba(255, 45, 63, 0.10);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover::after { opacity: 1; }

/* Player: aro neon pulsante na capa + botões em vidro */
.disc {
  box-shadow: 0 0 0 2px rgba(255, 45, 63, 0.55), 0 0 34px rgba(255, 45, 63, 0.35);
  animation: spin 8s linear infinite, discPulse 2.4s ease-in-out infinite;
  animation-play-state: paused, running;
}
@keyframes discPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255, 45, 63, 0.5), 0 0 26px rgba(255, 45, 63, 0.28); }
  50% { box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.7), 0 0 44px rgba(255, 45, 63, 0.45); }
}

.btn-play {
  background: linear-gradient(150deg, rgba(255, 45, 63, 0.85), rgba(90, 5, 14, 0.9)) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 120, 150, 0.55) !important;
  box-shadow: 0 0 22px rgba(255, 45, 63, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

input[type="range"] { filter: drop-shadow(0 0 6px rgba(255, 45, 63, 0.5)); }

/* Equalizador sem moldura, sombras ou contorno */
.equalizer {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  flex: 0 0 auto;
  overflow: hidden;
  contain: layout size paint;
  margin-bottom: 0.6rem;
  padding: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  clip-path: none !important;
  backdrop-filter: none !important;
  position: static;
  isolation: auto;
}
.equalizer::before,
.equalizer::after {
  content: none !important;
  display: none !important;
}

/* QR Code: selo MOBILE */
.qr-card { padding-top: 1.6rem; }
.qr-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 2px;
  font-weight: 800;
  color: #ff6b7a;
  padding: 2px 10px;
  border: 1px solid rgba(255, 45, 63, 0.6);
  background: rgba(255, 45, 63, 0.08);
  text-shadow: 0 0 8px rgba(255, 45, 63, 0.8);
  z-index: 4;
}

/* Pedido de música: campo, dropdown e bandas */
#request-search {
  border: 1px solid rgba(255, 45, 63, 0.45) !important;
  border-radius: 0 !important;
  background: rgba(6, 6, 8, 0.7) !important;
  transition: box-shadow 250ms ease, border-color 250ms ease;
}
#request-search:focus {
  outline: none;
  border-color: rgba(255, 77, 141, 0.9) !important;
  box-shadow: 0 0 18px rgba(255, 45, 63, 0.45), inset 0 0 12px rgba(255, 45, 63, 0.15);
}

.request-results {
  border-radius: 0 !important;
  border: 2px solid transparent !important;
  border-image: linear-gradient(125deg, var(--tech-red), var(--tech-dark), var(--tech-pink), var(--tech-red)) 1;
  background: linear-gradient(0deg, rgba(60, 4, 10, 0.35), rgba(4, 4, 6, 0.92)) !important;
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 45, 63, 0.22);
}
.rr-item { transition: background 200ms ease, box-shadow 200ms ease; }
.rr-item:hover {
  background: rgba(255, 45, 63, 0.14) !important;
  box-shadow: inset 3px 0 0 var(--tech-red);
}

.bands-toggle {
  border: 1px solid rgba(255, 45, 63, 0.5) !important;
  border-radius: 0 !important;
  background: linear-gradient(150deg, rgba(60, 4, 10, 0.4), rgba(6, 6, 8, 0.85)) !important;
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.bands-toggle:hover { box-shadow: 0 0 20px rgba(255, 45, 63, 0.35); }

.bands-list li {
  position: relative;
  border: 1px solid rgba(255, 45, 63, 0.4);
  border-radius: 0 !important;
  background: rgba(10, 10, 12, 0.6);
  box-shadow: inset 0 0 12px rgba(255, 45, 63, 0.06);
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}
.bands-list li:hover {
  background: rgba(255, 45, 63, 0.15);
  border-color: rgba(255, 77, 141, 0.85);
  box-shadow: 0 0 18px rgba(255, 45, 63, 0.4);
  color: #fff;
}
.bands-list li:active { transform: scale(0.96); box-shadow: inset 0 0 18px rgba(255, 45, 63, 0.5); }

@media (max-width: 640px) {
  :root { --tech-cut: 10px; }
  .player-card:hover, .vmu-container:hover, .request-section:hover {
    transform: translateY(-4px);
  }
}

/* Dropdown de resultados: cresce conforme os itens, rola internamente
   e nunca é recortado pela moldura da seção */
.request-section { overflow: visible; }
.request-section.ac-open,
.request-section:has(.request-results.open) {
  clip-path: none;
  z-index: 60;
}
.request-searchbar,
.request-form,
.bands-accordion { overflow: visible; }
.request-results {
  height: auto;
  max-height: min(60vh, 520px) !important;
  overflow-y: auto !important;
  overflow-x: hidden;
  z-index: 80 !important;
}
.rr-list { overflow: visible; }

/* ============================================================
   PADRONIZAÇÃO VISUAL FINAL — moldura única, sem deslocamentos
   ============================================================ */

/* 1) Scrollbar estável: a largura da página nunca muda */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}
/* overflow-x: clip evita que o body vire um segundo container de rolagem
   (com html{overflow-y:scroll}, "hidden" criaria uma 2ª barra vertical) */
body { overflow-x: clip; }

/* 2) Nenhum card se move no hover — apenas glow/brilho */
.player-card,
.vmu-container,
.stat-card,
.request-section,
.bands-panel,
.equalizer,
.history-card,
.share-btn,
.share-link-box,
.player-card:hover,
.vmu-container:hover,
.stat-card:hover,
.request-section:hover,
.bands-panel:hover,
.history-card:hover,
.share-btn:hover,
.share-link-box:hover {
  transform: none !important;
}

.player-card:hover,
.vmu-container:hover,
.request-section:hover,
.history-card:hover,
.stat-card:hover {
  box-shadow:
    0 0 34px rgba(255, 45, 63, 0.32),
    inset 0 0 30px rgba(255, 45, 63, 0.10) !important;
}
.player-card:hover::before,
.vmu-container:hover::before,
.request-section:hover::before,
.history-card:hover::before,
.stat-card:hover::before { opacity: 1; }
.player-card:hover::after,
.vmu-container:hover::after,
.request-section:hover::after,
.history-card:hover::after,
.stat-card:hover::after { opacity: 1; }

@media (max-width: 640px) {
  .player-card:hover, .vmu-container:hover, .request-section:hover { transform: none !important; }
}

/* 3) Histórico e cards de compartilhamento com a MESMA moldura futurista */
.history-card,
.share-btn,
.share-link-box {
  position: relative;
  isolation: isolate;
  border: none !important;
  border-radius: 0 !important;
  clip-path: polygon(
    var(--tech-cut) 0, calc(100% - var(--tech-cut)) 0, 100% var(--tech-cut),
    100% calc(100% - var(--tech-cut)), calc(100% - var(--tech-cut)) 100%,
    var(--tech-cut) 100%, 0 calc(100% - var(--tech-cut)), 0 var(--tech-cut)
  );
  background:
    linear-gradient(160deg, rgba(255, 45, 63, 0.07), rgba(0, 0, 0, 0) 42%),
    linear-gradient(0deg, rgba(90, 5, 14, 0.22), rgba(6, 6, 8, 0.72)) !important;
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    0 0 22px rgba(255, 45, 63, 0.16),
    inset 0 0 26px rgba(255, 45, 63, 0.06);
  transition: box-shadow 280ms ease, color 280ms ease;
}

.history-card::before,
.share-btn::before,
.share-link-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(125deg,
    var(--tech-red) 0%, var(--tech-dark) 28%, var(--tech-pink) 52%,
    var(--tech-dark) 74%, var(--tech-red) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 2;
  opacity: 0.9;
}

.history-card::after,
.share-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: conic-gradient(from 0deg,
    transparent 0 62%, rgba(255, 77, 141, 0.15) 70%,
    rgba(255, 255, 255, 0.9) 78%, var(--tech-red) 82%, transparent 90% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 3;
  opacity: 0.6;
  animation: techFlow 7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .history-card::after, .share-btn::after { animation: none; }
}

.history-card { padding: 0.85rem; }
.history-card img { border: 1px solid rgba(255, 45, 63, 0.4); }

/* 4) Compartilhamento premium */
.share-title { font-size: 2rem; }
.share-subtitle {
  text-align: center; color: var(--grey); font-size: 0.95rem;
  margin: -0.4rem 0 1.4rem;
}
.share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.share-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.45rem; padding: 1.1rem 0.8rem; cursor: pointer;
  color: var(--white); font-weight: 700; font-size: 0.85rem; text-decoration: none;
}
.share-ico { font-size: 1.7rem; line-height: 1; filter: drop-shadow(0 0 8px rgba(255, 45, 63, 0.5)); }
.share-btn:hover {
  color: #fff;
  box-shadow:
    0 0 34px rgba(255, 45, 63, 0.35),
    inset 0 0 30px rgba(255, 45, 63, 0.12) !important;
}
.share-btn:hover::before { opacity: 1; }
.share-btn:hover::after { opacity: 1; }

.share-link-box {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.4rem auto 0; padding: 0.55rem 0.7rem; max-width: 620px;
}
.share-link-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-size: 0.9rem; padding: 0.5rem;
}
.share-link-btn {
  border: 1px solid rgba(255, 45, 63, 0.6);
  background: linear-gradient(150deg, rgba(255, 45, 63, 0.85), rgba(90, 5, 14, 0.9));
  color: #fff; font-weight: 700; font-size: 0.82rem;
  padding: 0.55rem 0.9rem; cursor: pointer;
  transition: box-shadow 220ms ease;
}
.share-link-btn:hover { box-shadow: 0 0 20px rgba(255, 45, 63, 0.5); }

.share-copied {
  margin-top: 0.7rem; font-size: 0.85rem; color: #2ecc71; font-weight: 700;
  opacity: 0; transform: none; transition: opacity 260ms ease;
  min-height: 1.2em;
}
.share-copied.show { opacity: 1; }

/* 5) QR Code premium */
.qr-hint { color: var(--grey); font-size: 0.72rem; }
.qr-card img { border-radius: 0; box-shadow: 0 0 18px rgba(255, 45, 63, 0.35); }

/* ============================================================
   STICKY BOTTOM PLAYER & MUNDO DO ROCK NAV BADGE
   ============================================================ */
.nav-link-news {
  position: relative;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.22), rgba(139, 0, 0, 0.15)) !important;
  border: 1px solid rgba(229, 9, 20, 0.4) !important;
  border-radius: 10px !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.25);
  transition: all 0.25s ease;
}
.nav-link-news:hover {
  background: linear-gradient(135deg, var(--red), var(--red-deep)) !important;
  box-shadow: 0 0 20px rgba(255, 45, 63, 0.6) !important;
  border-color: var(--red-glow) !important;
  transform: translateY(-2px);
}

.nav-link-podcasts {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(20, 20, 28, 0.6)) !important;
  border: 1px solid rgba(0, 255, 255, 0.35) !important;
  border-radius: 10px !important;
  color: #00ffff !important;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.15);
  transition: all 0.25s ease;
}
.nav-link-podcasts:hover {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(0, 180, 216, 0.4)) !important;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5) !important;
  border-color: #00ffff !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ============================================================
   MINI PLAYER FLUTUANTE ESTILO YOUTUBE (PiP COM DRAG & DROP)
   ============================================================ */
.youtube-pip-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 350px;
  background: linear-gradient(145deg, rgba(22, 22, 28, 0.96) 0%, rgba(10, 10, 14, 0.98) 100%);
  border: 1.5px solid rgba(255, 45, 63, 0.5);
  border-radius: 14px;
  box-shadow: 
    0 20px 48px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(255, 45, 63, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.youtube-pip-player.pip-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.youtube-pip-player.is-dragging {
  cursor: grabbing !important;
  opacity: 0.94;
  transform: scale(1.02);
  transition: none !important;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.98), 0 0 40px rgba(255, 45, 63, 0.55);
}

/* Barra Superior de Arrastar (Drag Header) */
.pip-drag-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: linear-gradient(180deg, rgba(32, 32, 42, 0.95) 0%, rgba(18, 18, 24, 0.95) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: grab;
}

.pip-drag-indicator {
  display: flex;
  gap: 3px;
  align-items: center;
}

.pip-grip-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7a7a8c;
}

.pip-header-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pip-actions-top {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pip-action-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pip-action-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.pip-close-btn:hover {
  background: rgba(229, 9, 20, 0.7);
  border-color: #ff2a3a;
}

/* Corpo do Mini Player */
.pip-content-body {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
}

/* Capa e Botão de Play Overlay */
.pip-cover-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 45, 63, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  background: #000;
}

.pip-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pip-overlay-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.pip-overlay-play-btn:hover {
  background: var(--red);
  border-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255, 45, 63, 0.8);
}

/* Informações da Faixa */
.pip-meta-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pip-track-info {
  min-width: 0;
}

.pip-track-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.pip-track-artist {
  font-size: 0.76rem;
  color: #ff8b95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 0;
  font-weight: 600;
}

/* Barra de Progresso PiP */
.pip-progress-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pip-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.pip-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff8b95);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.pip-time {
  font-size: 0.65rem;
  color: #888896;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* Controles Inferiores (Volume e Status) */
.pip-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 2px;
}

.pip-vol-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pip-vol-icon {
  font-size: 0.75rem;
}

#pip-volume-slider {
  width: 65px;
  height: 4px;
  accent-color: var(--red);
  cursor: pointer;
}

.pip-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #00ff66;
  background: rgba(0, 255, 102, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 102, 0.25);
}

.pip-sound-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 8px;
}

.pip-sound-waves span {
  width: 2px;
  height: 100%;
  background: #00ff66;
  border-radius: 1px;
  animation: pipWave 1s infinite ease-in-out alternate;
}
.pip-sound-waves span:nth-child(2) { animation-delay: 0.2s; }
.pip-sound-waves span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pipWave {
  0% { height: 2px; }
  100% { height: 8px; }
}

@media (max-width: 480px) {
  .youtube-pip-player {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 12px;
  }
}

/* ============================================================
   STICKY PLAYER DO RODAPÉ (FIXO / AUTOMÁTICO AO ROLAR)
   ============================================================ */
.sticky-player {
  position: fixed;
  bottom: -110px;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(20, 20, 26, 0.95) 0%, rgba(10, 10, 14, 0.98) 100%);
  border-top: 2px solid rgba(229, 9, 20, 0.5);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 9, 20, 0.2);
  padding: 0.65rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}
.sticky-player.visible {
  bottom: 0;
}
.sticky-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 0 1 280px;
}
.sticky-cover {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(229, 9, 20, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 8px rgba(229, 9, 20, 0.3);
  background: #000;
}
.sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.sticky-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--red-glow);
  letter-spacing: 1px;
}
.sticky-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-artist {
  font-size: 0.75rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 360px;
  max-width: 520px;
}
.sticky-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sticky-btn-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(145deg, var(--red), var(--red-deep));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(255, 45, 63, 0.8);
}
.sticky-btn-play:active {
  transform: scale(0.94);
}
.sticky-progress-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sticky-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.sticky-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-glow));
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255, 45, 63, 0.6);
}
.sticky-time {
  font-size: 0.7rem;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sticky-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 1 200px;
  justify-content: flex-end;
}
.sticky-vol-ico {
  font-size: 0.9rem;
}
#sticky-volume {
  width: 80px;
  accent-color: var(--red);
  cursor: pointer;
}
.sticky-scroll-top,
.sticky-btn-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.sticky-scroll-top:hover {
  background: rgba(229, 9, 20, 0.35);
  border-color: var(--red-glow);
  transform: translateY(-2px);
}
.sticky-btn-close:hover {
  background: rgba(255, 0, 50, 0.4);
  border-color: #ff2a3a;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .sticky-player {
    padding: 0.5rem 1rem;
    gap: 0.8rem;
  }
  .sticky-volume-wrap {
    display: none;
  }
  .sticky-center {
    max-width: none;
  }
}
@media (max-width: 520px) {
  .sticky-time {
    display: none;
  }
  .sticky-track {
    flex: 1 1 auto;
  }
  .sticky-center {
    flex: 0 0 auto;
  }
  .sticky-progress-wrap {
    display: none;
  }
}

/* ============================================================
   MAPA DOS OUVINTES PELO MUNDO (Leaflet + Radar Pulse)
   ============================================================ */
#mapa { scroll-margin-top: 96px; }

.listeners-map-section {
  position: relative;
  margin: 3.5rem auto 2.5rem;
  max-width: 1200px;
  padding: 1.8rem 1.6rem;
  overflow: hidden;
}

.map-header-block {
  text-align: center;
  margin-bottom: 1.5rem;
}

.map-section-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 20%, #ff6b7a 70%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(255, 45, 63, 0.4);
  margin-bottom: 0.4rem;
}

.map-section-subtitle {
  color: var(--grey);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

/* Métricas e chips do mapa */
.map-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.map-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(18, 18, 24, 0.7);
  border: 1px solid rgba(255, 45, 63, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 14px rgba(255, 45, 63, 0.15);
}

.map-stat-chip strong {
  color: #ff8b95;
  font-size: 0.95rem;
}

.user-chip {
  border-color: rgba(0, 255, 255, 0.45);
  background: rgba(0, 40, 50, 0.4);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.2);
}

.user-chip strong {
  color: #00ffff;
}

/* Barra de controles / filtros */
.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.map-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-filter-btn {
  background: rgba(20, 20, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.map-filter-btn:hover {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.map-filter-btn.active {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  border-color: var(--red-glow);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 45, 63, 0.6);
}

.map-my-loc-btn {
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.4);
  color: #00ffff;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-my-loc-btn:hover {
  background: rgba(0, 255, 255, 0.25);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.4);
}

/* Moldura do Container do Mapa */
.map-canvas-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 63, 0.35);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.7);
  background: #09090b;
}

#listeners-leaflet-map {
  width: 100%;
  height: 100%;
  background: #09090b;
}

/* Efeito vinheta escura por cima do mapa */
.map-canvas-container::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.75), inset 0 0 100px rgba(10, 10, 15, 0.5);
  z-index: 400;
}

/* Personalização Leaflet Tiles e Zoom */
.leaflet-container {
  font-family: inherit !important;
}

.leaflet-bar {
  border: none !important;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.6) !important;
}

.leaflet-bar a {
  background-color: rgba(15, 15, 20, 0.9) !important;
  color: #ff6b7a !important;
  border-bottom: 1px solid rgba(255, 45, 63, 0.25) !important;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.leaflet-bar a:hover {
  background-color: rgba(229, 9, 20, 0.45) !important;
  color: #fff !important;
}

/* Radar Pulse Markers */
.custom-pulse-marker-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pulse-node {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-pulse-core {
  position: relative;
  z-index: 5;
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255, 45, 63, 0.9));
  transition: transform 0.2s ease;
}

.map-pulse-node:hover .map-pulse-core {
  transform: scale(1.35);
}

.map-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
}

.map-pin-normal .map-pulse-ring {
  border: 2px solid rgba(255, 45, 63, 0.85);
  box-shadow: 0 0 12px rgba(255, 45, 63, 0.5);
  animation: radarPing 2.6s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

.map-pin-hot .map-pulse-ring {
  border: 2px solid rgba(255, 0, 85, 0.95);
  box-shadow: 0 0 16px rgba(255, 0, 85, 0.7);
  animation: radarPing 2s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

.map-pin-user .map-pulse-ring {
  border: 2px solid rgba(0, 255, 255, 0.95);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
  animation: radarPing 1.8s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

.map-pulse-ring.ring-1 { animation-delay: 0s; }
.map-pulse-ring.ring-2 { animation-delay: 0.8s; }
.map-pulse-ring.ring-3 { animation-delay: 1.6s; }

@keyframes radarPing {
  0% {
    width: 80%;
    height: 80%;
    opacity: 0.95;
  }
  100% {
    width: 280%;
    height: 280%;
    opacity: 0;
  }
}

/* Sound Wave Ripple Effect */
.sound-wave-ripple {
  animation: soundWaveFade 2.4s ease-out forwards;
}

@keyframes soundWaveFade {
  0% {
    stroke-width: 3;
    opacity: 1;
    transform: scale(1);
  }
  100% {
    stroke-width: 0.5;
    opacity: 0;
    transform: scale(3.5);
  }
}

/* Popups Leaflet Dark Theme */
.caveira-dark-popup .leaflet-popup-content-wrapper {
  background: linear-gradient(160deg, rgba(20, 20, 26, 0.96), rgba(8, 8, 12, 0.98)) !important;
  border: 1px solid rgba(255, 45, 63, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 45, 63, 0.25) !important;
  color: #fff !important;
  padding: 0 !important;
  overflow: hidden;
}

.caveira-user-popup .leaflet-popup-content-wrapper {
  border-color: rgba(0, 255, 255, 0.6) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 255, 0.3) !important;
}

.caveira-dark-popup .leaflet-popup-tip {
  background: rgba(15, 15, 20, 0.98) !important;
  border: 1px solid rgba(255, 45, 63, 0.5) !important;
}

.caveira-user-popup .leaflet-popup-tip {
  border-color: rgba(0, 255, 255, 0.6) !important;
}

.map-popup-card {
  padding: 0.9rem 1.1rem;
  min-width: 190px;
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.map-popup-flag {
  font-size: 1.6rem;
  line-height: 1;
}

.map-popup-city {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.map-popup-country {
  font-size: 0.75rem;
  color: var(--grey);
}

.map-popup-body {
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.map-popup-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ff8b95;
}

.stat-dot-live {
  width: 7px;
  height: 7px;
  background: var(--red-glow);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--red-glow);
  animation: pulseDot 1.4s infinite;
}

.stat-dot-user {
  width: 7px;
  height: 7px;
  background: #00ffff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00ffff;
  animation: pulseDot 1.4s infinite;
}

.map-popup-vibe {
  font-size: 0.76rem;
  color: #ccc;
  display: flex;
  flex-direction: column;
}

.map-popup-vibe em {
  color: #ff4d8d;
  font-style: normal;
  font-weight: 600;
}

/* Feed de conexões em tempo real */
.map-live-feed-bar {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(14, 14, 18, 0.75);
  border: 1px solid rgba(255, 45, 63, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #e0e0e0;
  backdrop-filter: blur(8px);
}

.map-live-feed-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: opacity 0.3s ease;
}

.map-live-feed-ticker.fade-in {
  animation: feedFadeIn 0.4s ease forwards;
}

@keyframes feedFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red-glow);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-glow);
  animation: pulseDot 1.2s infinite;
}

.feed-flag {
  font-size: 1.1rem;
}

.feed-action {
  color: #ff8b95;
}

.feed-time {
  font-size: 0.72rem;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .listeners-map-section {
    padding: 1.2rem 0.8rem;
  }
  .map-section-title {
    font-size: 1.7rem;
  }
  .map-canvas-container {
    height: 380px;
  }
  .map-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .map-filter-group {
    justify-content: center;
  }
  .map-my-loc-btn {
    text-align: center;
  }
  .map-live-feed-bar {
    font-size: 0.78rem;
    flex-direction: column;
    text-align: center;
  }
}

/* Animação de pulsação dos chips de métricas quando atualizam */
@keyframes chipPop {
  0%   { box-shadow: 0 0 0 0 rgba(255, 45, 63, 0.7); transform: scale(1); }
  40%  { box-shadow: 0 0 0 8px rgba(255, 45, 63, 0); transform: scale(1.07); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 63, 0);   transform: scale(1); }
}
.map-stat-chip.chip-updated {
  animation: chipPop 0.5s ease-out both;
}
.map-stat-chip.chip-updated strong {
  color: #fff;
}

/* ============================================================
   MURAL DE COMENTÁRIOS DOS HEADBANGERS & AUTENTICAÇÃO SUPABASE
   ============================================================ */
.comments-section {
  max-width: 1000px;
  margin: 3rem auto 2rem;
  padding: 0 1.2rem;
  box-sizing: border-box;
}

.comments-section .section-header-wrap {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 9, 20, 0.15);
  color: #ff4d5a;
  border: 1px solid rgba(229, 9, 20, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* Barra do Usuário (Status de Login / CTA) */
.mural-user-bar {
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(12px);
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.user-guest-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.guest-msg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d0d0d8;
  font-size: 0.92rem;
}

.guest-icon {
  font-size: 1.3rem;
}

.btn-open-auth {
  background: linear-gradient(135deg, var(--red) 0%, #b80012 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-open-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.55);
  background: linear-gradient(135deg, #ff1a2b 0%, #d40015 100%);
}

.user-logged-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d2d3a 0%, #15151c 100%);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
}

.user-info-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.user-name {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}

.user-rock-badge {
  font-size: 0.75rem;
  color: #ff8b95;
  font-weight: 600;
}

.btn-logout {
  background: rgba(255, 255, 255, 0.08);
  color: #b0b0bc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: rgba(229, 9, 20, 0.2);
  color: #ff4d5a;
  border-color: rgba(229, 9, 20, 0.4);
}

/* Card Compositor de Novo Comentário */
.comment-composer-card {
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid rgba(229, 9, 20, 0.25);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.composer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.rock-emoji-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.emoji-toolbar-label {
  font-size: 0.78rem;
  color: #888896;
  margin-right: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rock-emoji-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.rock-emoji-btn:hover {
  transform: scale(1.25);
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--red);
}

.comment-char-count {
  font-size: 0.78rem;
  color: #777785;
  font-family: monospace;
}

.comment-char-count.near-limit {
  color: #ff3b30;
  font-weight: 700;
}

.composer-input-wrap {
  margin-bottom: 0.8rem;
}

.comment-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #09090d;
  border: 1px solid #282834;
  border-radius: 8px;
  color: #f0f0f5;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.comment-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.3);
}

.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.composer-hint {
  font-size: 0.78rem;
  color: #777785;
}

.btn-post-comment {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--red) 0%, #b80012 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  transition: all 0.2s ease;
}

.btn-post-comment:hover {
  background: linear-gradient(135deg, #ff1a2b 0%, #d40015 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 9, 20, 0.6);
}

.btn-post-comment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Feed de Comentários em Tempo Real */
.comments-feed-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff4d5a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-blink-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff0040;
  box-shadow: 0 0 8px #ff0040;
  animation: ledBlink 1.4s infinite ease-in-out;
}

.feed-stats {
  font-size: 0.82rem;
  color: #888896;
}

.comments-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Card Individual de Comentário */
.comment-card {
  background: rgba(16, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid rgba(229, 9, 20, 0.6);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.comment-card:hover {
  transform: translateX(4px);
  border-color: rgba(229, 9, 20, 0.4);
  border-left-color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(229, 9, 20, 0.15);
}

.comment-card.comment-new {
  animation: commentSlideIn 0.4s ease-out;
}

@keyframes commentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-15px);
    background: rgba(229, 9, 20, 0.2);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #252530 0%, #101015 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.comment-author-info {
  display: flex;
  flex-direction: column;
}

.comment-author-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.comment-author-name .my-badge {
  font-size: 0.72rem;
  color: #ff4d5a;
  font-weight: 600;
  margin-left: 4px;
}

.comment-badge {
  font-size: 0.7rem;
  color: #a0a0b0;
  font-weight: 600;
}

.comment-time {
  font-size: 0.74rem;
  color: #777785;
}

.comment-body {
  margin: 0.2rem 0;
}

.comment-text {
  color: #e0e0e8;
  font-size: 0.94rem;
  line-height: 1.45;
  word-break: break-word;
  margin: 0;
}

.comment-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.4rem;
}

.btn-comment-like {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0be;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-comment-like:hover {
  background: rgba(229, 9, 20, 0.15);
  border-color: rgba(229, 9, 20, 0.4);
  color: #ff4d5a;
  transform: scale(1.08);
}

.btn-comment-like.liked {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.btn-comment-like .like-icon {
  font-size: 0.95rem;
}

.comments-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(16, 16, 22, 0.5);
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.comments-empty-state .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.8rem;
}

.comments-empty-state h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.2rem;
}

.comments-empty-state p {
  margin: 0;
  color: #888896;
  font-size: 0.9rem;
}

.comments-loading-skeleton {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   PAGINAÇÃO DO MURAL DE COMENTÁRIOS (5 POR PÁGINA)
   ============================================================ */
.comments-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.8rem;
  padding: 0.8rem 0 0.4rem;
  flex-wrap: wrap;
}

.pagination-btn {
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #c8c8d6;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  user-select: none;
  font-family: inherit;
}

.pagination-btn:hover:not(.active) {
  background: rgba(35, 35, 48, 0.95);
  border-color: rgba(229, 9, 20, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.pagination-btn:active:not(.active) {
  transform: translateY(0);
}

.pagination-btn.active {
  background: #e50914;
  border-color: #e50914;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.6), 0 2px 8px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.pagination-btn.pagination-next,
.pagination-btn.pagination-prev {
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 4px;
}

.pagination-ellipsis {
  color: #777788;
  font-weight: 700;
  padding: 0 4px;
  user-select: none;
  font-size: 0.95rem;
}

@media (max-width: 520px) {
  .comments-pagination-wrap {
    gap: 6px;
  }
  .pagination-btn {
    min-width: 35px;
    height: 35px;
    padding: 0 9px;
    font-size: 0.84rem;
    border-radius: 6px;
  }
  .pagination-btn.pagination-next,
  .pagination-btn.pagination-prev {
    padding: 0 11px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   MODAL DE AUTENTICAÇÃO (LOGIN & CADASTRO SUPABASE)
   ============================================================ */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.auth-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  background: #111117;
  border: 2px solid #282836;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(229, 9, 20, 0.25);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-modal-backdrop.active .auth-modal-card {
  transform: scale(1);
}

.close-auth-modal {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: #888896;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-auth-modal:hover {
  color: var(--red);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-modal-logo {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}

.auth-modal-title {
  margin: 0 0 0.3rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.auth-modal-sub {
  margin: 0;
  color: #888896;
  font-size: 0.84rem;
  line-height: 1.4;
}

/* Abas de Login / Cadastro */
.auth-tabs {
  display: flex;
  background: #09090d;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #888896;
  padding: 0.6rem 0;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}

.auth-tab-btn.active {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.5);
}

.auth-view {
  display: none;
}

.auth-view.active {
  display: block;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.auth-field label {
  font-size: 0.8rem;
  color: #c0c0cc;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.auth-field input {
  background: #07070a;
  border: 1px solid #282834;
  border-radius: 8px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.3);
}

/* Seletor de Avatar */
.avatar-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.avatar-select-btn {
  background: #07070a;
  border: 1px solid #282834;
  border-radius: 8px;
  padding: 0.4rem 0;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s;
}

.avatar-select-btn:hover {
  transform: scale(1.15);
  border-color: rgba(229, 9, 20, 0.5);
}

.avatar-select-btn.selected {
  border-color: var(--red);
  background: rgba(229, 9, 20, 0.2);
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
  transform: scale(1.1);
}

/* Seletor de Emblema */
.badge-options-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}

.badge-select-btn {
  background: #07070a;
  border: 1px solid #282834;
  border-radius: 6px;
  color: #b0b0be;
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.badge-select-btn:hover {
  border-color: rgba(229, 9, 20, 0.4);
  color: #fff;
}

.badge-select-btn.selected {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.3);
}

.auth-error-msg {
  color: #ff3b30;
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
  min-height: 1rem;
}

.btn-auth-submit {
  background: linear-gradient(135deg, var(--red) 0%, #b80012 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
  transition: all 0.2s;
  margin-top: 0.4rem;
}

.btn-auth-submit:hover {
  background: linear-gradient(135deg, #ff1a2b 0%, #d40015 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.auth-footer-link {
  text-align: center;
  font-size: 0.82rem;
  color: #888896;
  margin-top: 1.2rem;
}

.link-btn {
  background: transparent;
  border: none;
  color: #ff4d5a;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
}

/* Toast Notifications */
.caveira-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100000;
  background: rgba(18, 18, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(229, 9, 20, 0.3);
  backdrop-filter: blur(12px);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.caveira-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.caveira-toast.toast-success {
  border-left: 4px solid #00ff66;
}

.caveira-toast.toast-error {
  border-left: 4px solid #ff3b30;
}

.caveira-toast.toast-info {
  border-left: 4px solid var(--red);
}

@media (max-width: 640px) {
  .comments-section {
    padding: 0 0.8rem;
  }
  .user-guest-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .guest-msg {
    justify-content: center;
  }
  .composer-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-post-comment {
    justify-content: center;
  }
  .auth-modal-card {
    padding: 1.5rem 1.2rem;
  }
  .caveira-toast {
    right: 1rem;
    left: 1rem;
    bottom: 5.5rem;
  }
}

/* ============================================================
   CAVEIRA CAST — SESSÃO DE PODCASTS & PLAYER CUSTOMIZADO
   ============================================================ */
.podcasts-section {
  padding: 2.2rem 1.8rem;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
}

.podcasts-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.15), transparent 70%);
  pointer-events: none;
}

.btn-add-podcast {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2), rgba(20, 20, 24, 0.8));
  border: 1px solid var(--red-glow);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.2);
}

.btn-add-podcast:hover {
  background: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.5);
}

/* --- BARRA DO PLAYER DE PODCAST --- */
.podcast-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.4rem;
  background: linear-gradient(90deg, rgba(28, 28, 32, 0.95), rgba(18, 18, 22, 0.95));
  border: 1px solid rgba(229, 9, 20, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(229, 9, 20, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.podcast-player-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 240px;
  max-width: 320px;
}

.podcast-player-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.podcast-now-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--red-glow);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.podcast-player-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}

.podcast-player-host {
  font-size: 0.75rem;
  color: var(--grey);
}

.podcast-player-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  max-width: 500px;
}

.podcast-player-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.podcast-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 16px rgba(229, 9, 20, 0.5);
}

.podcast-ctrl-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.8);
}

.podcast-speed-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--grey);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.podcast-speed-btn:hover {
  color: #fff;
  border-color: var(--red-glow);
}

.podcast-progress-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.podcast-time-label {
  font-size: 0.72rem;
  color: var(--grey);
  font-family: monospace;
  white-space: nowrap;
}

.podcast-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.podcast-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-glow));
  border-radius: 4px;
  transition: width 0.1s linear;
}

.podcast-player-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 130px;
}

.podcast-vol-icon {
  font-size: 0.9rem;
}

.podcast-volume-slider {
  width: 90px;
  accent-color: var(--red);
  cursor: pointer;
}

/* --- GRADE DE EPISÓDIOS --- */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.podcast-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  background: rgba(20, 20, 24, 0.65);
  border: 1px solid var(--glass-border);
}

.podcast-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 9, 20, 0.15);
}

.podcast-card-featured {
  border-color: rgba(229, 9, 20, 0.5);
  background: linear-gradient(180deg, rgba(30, 20, 24, 0.75), rgba(18, 18, 22, 0.85));
}

.podcast-card-active {
  border-color: var(--red-glow) !important;
  box-shadow: 0 0 25px rgba(229, 9, 20, 0.4) !important;
}

.podcast-cover-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #0d0d0f;
}

.podcast-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.podcast-card:hover .podcast-cover-img {
  transform: scale(1.05);
}

.podcast-play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.9);
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.podcast-card:hover .podcast-play-overlay-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  background: var(--red);
}

.podcast-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #e50914, #ff2d3f);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.podcast-ep-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  color: #00ffff;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.podcast-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.podcast-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--grey);
}

.podcast-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.podcast-desc {
  font-size: 0.82rem;
  color: #a0a0ab;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.podcast-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.btn-play-episode {
  flex: 1;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid var(--red-glow);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-play-episode:hover {
  background: var(--red);
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.btn-play-episode.is-playing {
  background: var(--red);
  border-color: #fff;
}

.btn-share-episode {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.btn-share-episode:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-field-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--grey);
  cursor: pointer;
}

.auth-field-checkbox input[type="checkbox"] {
  accent-color: var(--red);
  width: 18px;
  height: 18px;
}

/* Responsividade Podcasts */
@media (max-width: 860px) {
  .podcast-player-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .podcast-player-left {
    max-width: 100%;
  }
  .podcast-player-center {
    max-width: 100%;
  }
  .podcast-player-right {
    justify-content: space-between;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ESTILOS: BOTÃO DO MINI PLAYER FLUTUANTE (PRETO E VERMELHO DEGRADÊ)
   ============================================================ */
.btn-floating-player {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #18181f 0%, #0d0d12 45%, #2a0508 100%);
  border: 1.5px solid rgba(255, 45, 63, 0.45);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.btn-floating-player:hover {
  background: linear-gradient(145deg, #2b080d 0%, #170406 50%, var(--red) 100%);
  border-color: var(--red-glow);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 45, 63, 0.55), inset 0 0 10px rgba(255, 45, 63, 0.2);
}

.btn-floating-player.active {
  background: linear-gradient(135deg, var(--red) 0%, #a3000b 60%, #150204 100%);
  border-color: #fff;
  box-shadow: 0 0 24px rgba(255, 45, 63, 0.85);
  color: #fff;
}

.btn-floating-player .pip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-glow);
  transition: color 0.2s ease;
}

.btn-floating-player:hover .pip-icon,
.btn-floating-player.active .pip-icon {
  color: #fff;
}

/* ============================================================
   ESTILOS: RESPOSTAS DE COMENTÁRIOS (REPLY SYSTEM)
   ============================================================ */
.reply-target-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(255, 45, 63, 0.35);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.8rem;
  gap: 0.8rem;
  animation: fadeIn 0.25s ease-in-out;
}

.reply-target-info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-target-icon {
  font-size: 1rem;
}

.reply-target-info strong {
  color: #ff8b95;
}

.reply-target-preview {
  color: #a5a5b5;
  font-style: italic;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

.btn-cancel-reply {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0ea;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cancel-reply:hover {
  background: rgba(255, 0, 50, 0.3);
  border-color: #ff4d5a;
  color: #fff;
}

/* Botão de Responder dentro de cada comentário */
.btn-comment-reply {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b0be;
  border-radius: 20px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}

.btn-comment-reply:hover {
  background: rgba(0, 255, 255, 0.15);
  border-color: rgba(0, 255, 255, 0.4);
  color: #00ffff;
  transform: translateY(-1px);
}

.btn-comment-reply .reply-ico {
  font-size: 0.85rem;
}

/* Thread aninhada de respostas */
.comment-replies-thread {
  margin-top: 0.8rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(255, 45, 63, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.replies-thread-header {
  margin-bottom: 0.2rem;
}

.replies-count-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff8b95;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.comment-reply-card {
  background: rgba(20, 20, 28, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  padding: 0.75rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.comment-reply-card .comment-header {
  margin-bottom: 0.35rem;
}

.comment-reply-card .comment-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.95rem;
}

.comment-reply-card .comment-author-name {
  font-size: 0.85rem;
}

.comment-reply-card .comment-text {
  font-size: 0.86rem;
}

@media (max-width: 640px) {
  .reply-target-preview {
    max-width: 140px;
  }
  .comment-replies-thread {
    padding-left: 0.8rem;
  }
}

/* ============================================================
   TELA DE ABERTURA CINEMATOGRÁFICA (ESTILO +SBT / STREAMING)
   ============================================================ */
.splash-screen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #121215 !important;
  background: radial-gradient(circle at center, #222228 0%, #131316 60%, #0a0a0c 100%) !important;
  backdrop-filter: blur(30px) !important;
  -webkit-backdrop-filter: blur(30px) !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.85s;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

/* Splash screen ocupa 100% do viewport em todos os tamanhos */
.splash-screen {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
}

.splash-screen.splash-hide {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1.04);
  pointer-events: none !important;
}

.splash-backdrop-blur {
  position: absolute;
  inset: 0;
  background: url("/live/assets/bg.jpg") center/cover no-repeat;
  filter: blur(40px) brightness(0.12);
  transform: scale(1.2);
  z-index: 0;
  pointer-events: none;
}

.splash-ambient-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.25) 0%, rgba(255, 45, 63, 0.1) 45%, transparent 70%);
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
  animation: sbtAmbientPulse 3.5s ease-in-out infinite alternate;
}

@keyframes sbtAmbientPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.18); opacity: 0.95; }
}

/* Canvas dos Raios Vermelhos Animados */
.splash-lightning-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.splash-center-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sbtLogoEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo {
  width: min(340px, 75vw);
  height: min(340px, 75vw);
  max-width: 360px;
  max-height: 360px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 50px rgba(229, 9, 20, 0.45));
  animation: sbtLogoBreathe 3s ease-in-out infinite alternate;
}

@keyframes sbtLogoEnter {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes sbtLogoBreathe {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 45px rgba(229, 9, 20, 0.4));
  }
  100% {
    transform: scale(1.03);
    filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 75px rgba(255, 45, 63, 0.65));
  }
}

@media (max-width: 480px) {
  .splash-logo {
    width: min(250px, 70vw);
    height: min(250px, 70vw);
  }
}

/* ============================================================
   ADAPTIVE LOADING — PERFIS DE DESEMPENHO (POTENTE, MÉDIO, FRACO)
   ============================================================ */

/* --- 1. MODO FRACO / "MODO LITE" (Dispositivos limitados, economia de bateria/dados) --- */
html.perf-fraco #particles,
body.perf-fraco #particles {
  display: none !important;
}

html.perf-fraco .vmu-container,
body.perf-fraco .vmu-container {
  display: none !important;
}

/* Remove blur excessivo e caro na GPU (substitui por fundo sólido suave) */
html.perf-fraco .glass,
body.perf-fraco .glass,
html.perf-fraco .site-header,
body.perf-fraco .site-header,
html.perf-fraco .player-card,
body.perf-fraco .player-card,
html.perf-fraco .widget,
body.perf-fraco .widget,
html.perf-fraco .bands-accordion,
body.perf-fraco .bands-accordion,
html.perf-fraco .playlist-finder-bubble,
body.perf-fraco .playlist-finder-bubble,
html.perf-fraco .modal-card,
body.perf-fraco .modal-card,
html.perf-fraco .equalizer,
body.perf-fraco .equalizer,
html.perf-fraco .controls,
body.perf-fraco .controls,
html.perf-fraco .nav-list,
body.perf-fraco .nav-list {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: rgba(14, 14, 18, 0.96) !important;
}

/* Remove sombras e brilhos neon excessivos */
html.perf-fraco *,
body.perf-fraco * {
  text-shadow: none !important;
}

html.perf-fraco .glass,
body.perf-fraco .glass,
html.perf-fraco .player-card,
body.perf-fraco .player-card,
html.perf-fraco .widget,
body.perf-fraco .widget,
html.perf-fraco .nav-list,
body.perf-fraco .nav-list,
html.perf-fraco .btn-primary,
body.perf-fraco .btn-primary,
html.perf-fraco .btn-play,
body.perf-fraco .btn-play {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6) !important;
}

/* Reduz ou desativa animações contínuas da UI */
html.perf-fraco .brand-logo,
body.perf-fraco .brand-logo,
html.perf-fraco .weather-icon,
body.perf-fraco .weather-icon,
html.perf-fraco .pulse-dot,
body.perf-fraco .pulse-dot {
  animation: none !important;
}

html.perf-fraco .disc.playing,
body.perf-fraco .disc.playing {
  animation-duration: 20s !important;
}

/* --- 2. MODO MÉDIO (Equilibrado: visual bonito com consumo controlado) --- */
html.perf-medio .glass,
body.perf-medio .glass,
html.perf-medio .site-header,
body.perf-medio .site-header,
html.perf-medio .player-card,
body.perf-medio .player-card,
html.perf-medio .widget,
body.perf-medio .widget {
  backdrop-filter: blur(6px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.2) !important;
}

html.perf-medio .nav-list,
body.perf-medio .nav-list {
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.25) !important;
}

/* --- 3. BOTÃO DE STATUS E MODAL DE SELEÇÃO DE DESEMPENHO --- */
.perf-badge-wrap {
  display: inline-flex;
  align-items: center;
}

.perf-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d1d8;
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.perf-mode-btn:hover {
  background: rgba(229, 9, 20, 0.18);
  border-color: rgba(255, 45, 63, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.perf-mode-btn[data-profile="potente"] {
  border-color: rgba(0, 255, 128, 0.4);
}

.perf-mode-btn[data-profile="medio"] {
  border-color: rgba(255, 190, 0, 0.4);
}

.perf-mode-btn[data-profile="fraco"] {
  border-color: rgba(0, 200, 255, 0.4);
}

/* Modal de Troca de Perfil */
.perf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.perf-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.perf-modal-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #141418 0%, #0c0c0e 100%);
  border: 1px solid rgba(229, 9, 20, 0.6);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(229, 9, 20, 0.35);
  padding: 1.4rem;
  color: #f5f5f7;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.perf-modal-backdrop.open .perf-modal-card {
  transform: scale(1);
}

.perf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.6rem;
}

.perf-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.perf-modal-close {
  background: transparent;
  border: none;
  color: #a0a0a8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.perf-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.perf-metrics-bar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  text-align: center;
  font-size: 0.7rem;
}

.perf-metric-item span {
  display: block;
}

.perf-metric-label {
  color: #8f8f98;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.perf-metric-value {
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.perf-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.perf-option-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #e5e5eb;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.perf-option-btn:hover {
  background: rgba(229, 9, 20, 0.12);
  border-color: rgba(229, 9, 20, 0.5);
}

.perf-option-btn.active {
  background: rgba(229, 9, 20, 0.2);
  border-color: #ff2d3f;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.35);
}

.perf-opt-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.perf-opt-content {
  flex: 1;
}

.perf-opt-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
}

.perf-opt-desc {
  font-size: 0.68rem;
  color: #9f9fa8;
  line-height: 1.25;
}




