/* === RADIO BATTICUORE STYLE === */
/* Tema glow rosa caldo su base scura */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* === BASE GENERALE === */
body {
  margin: 0;
  padding: 0;
  background: #08000d; /* sfondo scuro rosato uniforme */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Link di base */
a {
  text-decoration: none;
  color: #ffb3f6;
  transition: color .3s;
}
a:hover {
  color:#fff;
  text-shadow:0 0 10px #ff66e0;
}

/* === NEWS BAR (barra notizie scorrevoli) === */
.news-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 51, 204, 0.08);
  color: #fff;
  padding: 8px 15px;
  border-bottom: 1px solid rgba(255,105,180,0.5);
  box-shadow: 0 0 15px rgba(255,105,180,0.4);
  overflow: hidden;
  white-space: nowrap;
}

/* Icona giornale */
.news-icon {
  font-size: 20px;
  margin-right: 10px;
  color: #ff66e0;
  text-shadow: 0 0 10px #ff33cc;
}

/* Titolo “NEWS” */
.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 12px #ff33cc;
  margin-right: 12px;
}

/* Contenitore testo scorrevole */
.news-track-wrapper {
  overflow: hidden;
  flex: 1;
  margin-left: 20px;
  position: relative;
}

/* Testo delle news */
.news-track {
  flex: 1;
  font-size: 15px;
  color: #ffb3f6;
  text-shadow: 0 0 6px #ff33cc;
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 150s linear infinite; /* velocità lenta */
  will-change: transform;
}

/* ❤️ Ferma l’animazione quando ci passi sopra */
.news-track:hover {
  animation-play-state: paused !important;
}

.news-track a {
  color: #ffb3f6;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.news-track a:hover {
  color: #fff;
  text-shadow: 0 0 12px #ff66e0;
}
.no-news {
  opacity: 0.7;
  font-style: italic;
}
/* Animazione scorrimento orizzontale */
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* === PLAYER (logo, copertina e controlli) === */
.player-section {
  text-align: center;
  padding: 50px 0 30px 0;
}
/* Logo della radio */
.radio-logo img {
  width: 240px;
  filter: drop-shadow(0 0 35px #ff33cc);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.radio-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 50px #ff66e0);
}
/* Slogan */
.slogan {
  font-size: 18px;
  color: #ffb3f6;
  text-shadow: 0 0 12px #ff33cc;
  margin-top: 8px;
}
/* Titolo “In onda ora” */
.on-air-title {
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 20px #ff33cc;
  margin-top: 20px;
}
/* Copertina brano */
.cover-container {
  margin-top: 40px;
}
.cover-glow {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  border-radius: 15px;
  object-fit: cover;
  background: radial-gradient(circle at center,
    rgba(255, 51, 204, 0.4),
    rgba(8, 0, 13, 1) 85%);
  box-shadow:
    0 0 45px rgba(255,51,204,0.4),
    0 0 70px rgba(255,102,224,0.3),
    0 0 120px rgba(255,102,224,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cover-glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,204,0.35), transparent 70%);
  filter: blur(25px);
}
.cover-glow:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 45px rgba(255,51,204,0.8),
    0 0 70px rgba(255,102,224,0.6),
    0 0 110px rgba(255,102,224,0.4);
}

/* === PULSANTI PLAY / STOP === */
.controls {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.btn-text {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 102, 224, 0.6);
  border-radius: 50px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
  text-shadow: 0 0 10px #ff33cc;
  box-shadow: 0 0 25px rgba(255, 51, 204, 0.4);
  transition: all 0.3s ease;
}
.btn-text:hover {
  background: rgba(255, 51, 204, 0.15);
  box-shadow:
    0 0 25px rgba(255, 51, 204, 0.7),
    0 0 50px rgba(255, 102, 224, 0.5);
  transform: scale(1.08);
}
.song-title {
  margin-top: 20px;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 0 10px #ff33cc;
}
.song-title span {
  color: #ffb3f6;
  text-shadow: 0 0 10px #ff33cc;
}

/* === ULTIME CANZONI === */
.recent-section {
  text-align: center;
  margin-top: 50px;
}
.recent-section h2 {
  color: #ff66e0;
  text-shadow: 0 0 15px #ff33cc;
  margin-bottom: 20px;
}
.recent-tracks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.recent-item img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,51,204,0.6);
  object-fit: cover;
  margin-bottom: 6px;
}
.recent-item div {
  font-size: 13px;
  color: #ffb3f6;
  text-shadow: 0 0 8px #ff33cc;
}

/* === DEDICHE === */
.dediche-section {
  text-align: center;
  margin-top: 90px;
}
.dediche-section h2 {
  color: #ff66e0;
  text-shadow: 0 0 15px #ff33cc;
  margin-bottom: 25px;
}
.btn-dedica-glow {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 102, 224, 0.6);
  border-radius: 50px;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(255, 102, 224, 0.4);
  transition: all 0.3s ease;
  text-shadow: 0 0 8px #ff33cc;
}
.btn-dedica-glow:hover {
  background: rgba(255, 51, 204, 0.12);
  box-shadow: 0 0 30px rgba(255, 102, 224, 0.7);
  transform: scale(1.06);
}
.dedica-btn {
  text-align: center;
  margin-top: 35px;
}

/* === COLLABORATORI === */
.collaboratori-container {
  display: flex;
  justify-content: center; /* ❤️ centrati */
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: center;
}
.collab-card {
  position: relative;
  width: 200px;
  height: 220px;
  background: rgba(255, 51, 204, 0.08);
  border: 1px solid rgba(255, 105, 180, 0.4);
  border-radius: 20px;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
}
.collab-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(255, 102, 224, 0.6);
}
.collab-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px #ff66e0);
}
.collab-card h4 {
  font-size: 15px;
  color: #fff;
  text-shadow: 0 0 10px #ff33cc, 0 0 20px #ff66e0;
  text-transform: uppercase;
  margin: 0;
}
.collab-click {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  color: #ffb3f6;
  text-shadow: 0 0 10px #ff33cc, 0 0 20px #ff66e0;
  background: linear-gradient(to top, rgba(255, 51, 204, 0.12), transparent);
  border-top: 1px solid rgba(255, 102, 224, 0.4);
  padding-top: 6px;
  animation: pulseGlow 2.5s infinite ease-in-out;
  border-radius: 0 0 18px 18px;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; text-shadow: 0 0 10px #ff33cc, 0 0 20px #ff66e0; }
  50% { opacity: 0.6; text-shadow: 0 0 20px #ff66e0, 0 0 40px #ff33cc; }
}

/* === MODAL POPUP === */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-content {
  background: rgba(15, 0, 25, 0.95);
  border: 1px solid rgba(255, 105, 180, 0.4);
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 35px rgba(255, 51, 204, 0.5);
}
.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 15px #ff66e0);
}
.modal-content h3 {
  color: #fff;
  font-size: 18px;
  text-shadow: 0 0 10px #ff33cc;
  margin-bottom: 10px;
}
.modal-content p {
  color: #ffb3f6;
  font-size: 14px;
  line-height: 1.5;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 20px;
}
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.modal-buttons button,
.modal-buttons .visit {
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal-buttons button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.modal-buttons .visit {
  background: linear-gradient(45deg, #ff33cc, #ff66e0);
  box-shadow: 0 0 15px #ff66e0;
  color: #fff;
  text-decoration: none;
}
.modal-buttons button:hover,
.modal-buttons .visit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 102, 224, 0.7);
}

/* === FOOTER === */
footer {
  text-align: center;
  margin-top: 80px;
  padding: 30px 0;
  color: #ffb3f6;
  font-size: 14px;
  text-shadow: 0 0 10px #ff33cc;
}
footer a {
  color: #ffb3f6;
  text-decoration: none;
}
footer a:hover {
  color: #fff;
  text-shadow: 0 0 15px #ff66e0;
}

/* === COOKIE BANNER === */
.cookie-banner-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 0, 13, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255,105,180,0.4);
  text-align: center;
  z-index: 9999;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner-top a {
  color: #ffb3f6;
  text-decoration: none;
  font-weight: 500;
}
.cookie-banner-top button {
  background: linear-gradient(45deg, #ff33cc, #ff66e0);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 4px 14px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255,51,204,0.4);
}
.cookie-banner-top button:hover {
  box-shadow: 0 0 25px rgba(255,102,224,0.7);
  transform: scale(1.05);
}
/* 💖 Centra il titolo dei collaboratori */
.collaboratori-section h2 {
  text-align: center;
  width: 100%;
  color: #ff66e0;
  text-shadow: 0 0 15px #ff33cc, 0 0 30px rgba(255,102,224,0.4);
  font-size: 1.6em;
  margin-bottom: 30px;
}
