/* ==========================================================================
   UNLIRADIO - ESTILO PACÍFICO MODERNO (85% MOBILE-FIRST)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Pacífico Moderno */
  --color-ocean-dark: #071626;
  --color-ocean-blue: #0c2b42;
  --color-ocean-navy: #153c5a;
  --color-teal-primary: #00a896;
  --color-teal-bright: #02c39a;
  --color-teal-glow: rgba(2, 195, 154, 0.4);
  --color-coral-accent: #f4a261;
  --color-coral-bright: #e76f51;
  --color-bg-light: #f4f8f8;
  --color-bg-card: #ffffff;
  --color-text-dark: #0e2230;
  --color-text-muted: #526875;
  --color-white: #ffffff;
  
  /* Fuentes */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sombras y Bordes */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(7, 22, 38, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 22, 38, 0.12);
  --shadow-lg: 0 16px 40px rgba(7, 22, 38, 0.18);
  --shadow-teal: 0 8px 20px rgba(0, 168, 150, 0.3);

  /* Transiciones */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --player-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--player-height); /* Espacio para el reproductor flotante */
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* --------------------------------------------------------------------------
   2. CONTENEDORES Y TIPOGRAFÍA GENERAL
   -------------------------------------------------------------------------- */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-teal-primary);
  background: rgba(0, 168, 150, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-ocean-dark);
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal-primary), var(--color-teal-bright));
  margin: 0.75rem auto 0;
  border-radius: var(--radius-full);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-teal-bright), var(--color-coral-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.privacy-section {
  padding: 1rem 0 4rem;
  background: linear-gradient(180deg, rgba(244, 248, 248, 0.9), rgba(233, 246, 244, 0.8));
}

.privacy-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(19, 60, 92, 0.08);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.privacy-meta {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(19, 60, 92, 0.12);
}

.privacy-meta p,
.privacy-content p,
.privacy-content li {
  color: var(--color-text-dark);
  font-size: 1rem;
}

.privacy-content {
  display: grid;
  gap: 1rem;
}

.privacy-content h3 {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-ocean-navy);
}

.privacy-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.privacy-content a {
  color: var(--color-teal-primary);
}

.privacy-content a:hover {
  color: var(--color-coral-accent);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  min-height: 48px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal-primary), var(--color-teal-bright));
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 195, 154, 0.5);
}

.btn-outline {
  border: 2px solid var(--color-teal-primary);
  color: var(--color-teal-primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-teal-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}


/* --------------------------------------------------------------------------
   3. NAVEGACIÓN Y CABECERA (HEADER)
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 22, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-white);
  letter-spacing: 0.5px;
}

.brand-highlight {
  color: var(--color-teal-bright);
}

/* Menú de Navegación */
.nav-menu {
  position: fixed;
  top: 65px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 65px);
  background: var(--color-ocean-dark);
  padding: 2rem 1.5rem;
  transition: left 0.35s ease-in-out;
  overflow-y: auto;
}

.nav-menu.active {
  left: 0;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.nav-link i {
  color: var(--color-teal-bright);
  font-size: 1.1rem;
  width: 24px;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-white);
  background: rgba(0, 168, 150, 0.2);
  border-left: 4px solid var(--color-teal-bright);
}

/* Redes Sociales en Header */
.header-socials {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-teal-bright);
  color: var(--color-ocean-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  font-size: 1.5rem;
  color: var(--color-white);
  padding: 0.5rem;
}


/* --------------------------------------------------------------------------
   4. BLOQUES ADSENSE (PUBLICIDAD)
   -------------------------------------------------------------------------- */
.adsense-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
}

.adsense-container {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  position: relative;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.adsense-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  display: block;
}


/* --------------------------------------------------------------------------
   5. SECCIÓN INICIO (HERO)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, var(--color-ocean-dark) 0%, var(--color-ocean-blue) 100%);
  color: var(--color-white);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.25) 0%, rgba(7, 22, 38, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(231, 111, 81, 0.15);
  border: 1px solid rgba(231, 111, 81, 0.4);
  color: var(--color-coral-bright);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-coral-bright);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 111, 81, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(231, 111, 81, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(231, 111, 81, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-teal-bright);
}

.stat-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.15);
}

/* Tarjeta Cristalina Hero */
.hero-visual-card .glass-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.card-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--color-teal-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.hero-cover-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  max-height: 280px;
}

.hero-cover-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sound-wave-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.sound-wave-overlay span {
  width: 4px;
  background: var(--color-teal-bright);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite alternate;
}

.sound-wave-overlay span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.sound-wave-overlay span:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.sound-wave-overlay span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.sound-wave-overlay span:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.sound-wave-overlay span:nth-child(5) { height: 90%; animation-delay: 0.15s; }

@keyframes wave {
  0% { height: 20%; }
  100% { height: 100%; }
}

.hero-show-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hero-show-info p {
  color: var(--color-teal-bright);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-time-range {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
}

.btn-song-request {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}


/* --------------------------------------------------------------------------
   6. SECCIÓN EN EL AIRE (ON AIR)
   -------------------------------------------------------------------------- */
.onair-section {
  background: #ffffff;
}

.onair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.onair-main-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 168, 150, 0.15);
  box-shadow: var(--shadow-md);
}

.onair-banner {
  position: relative;
  height: 220px;
}

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

.live-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-coral-bright);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.onair-details {
  padding: 1.75rem 1.25rem;
}

.onair-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.category-pill {
  background: var(--color-ocean-navy);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.listeners-pill {
  color: var(--color-teal-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.show-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-ocean-dark);
  margin-bottom: 0.35rem;
}

.show-dj-name {
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.show-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.onair-schedule-info {
  margin-bottom: 1.5rem;
}

.schedule-badge {
  display: inline-block;
  background: rgba(0, 168, 150, 0.08);
  color: var(--color-ocean-blue);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
}

.onair-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Lado Lateral En el Aire */
.onair-side-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.next-show-box, .interactive-poll-box {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.next-show-box h4, .interactive-poll-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-ocean-dark);
  margin-bottom: 1rem;
}

.next-show-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
}

.next-show-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.next-time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-teal-primary);
  background: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  height: fit-content;
}

.next-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ocean-dark);
}

.next-details p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.poll-question {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.poll-opt-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.poll-opt-btn:hover {
  border-color: var(--color-teal-primary);
  background: rgba(0, 168, 150, 0.05);
}

.poll-percent {
  color: var(--color-teal-primary);
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   7. SECCIÓN PROGRAMACIÓN
   -------------------------------------------------------------------------- */
.schedule-section {
  background: var(--color-bg-light);
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--color-ocean-dark);
  color: var(--color-teal-bright);
  border-color: var(--color-ocean-dark);
  box-shadow: var(--shadow-sm);
}

.schedule-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.schedule-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 5px solid var(--color-teal-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.schedule-time {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-teal-primary);
}

.schedule-show-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ocean-dark);
}

.schedule-dj {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}


/* --------------------------------------------------------------------------
   8. SECCIÓN NOTICIAS (AUTOMÁTICA VENEZUELA API)
   -------------------------------------------------------------------------- */
.news-section {
  background: #ffffff;
}

.news-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.news-tab-btn {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-bg-light);
  border: 1px solid #cbd5e1;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.news-tab-btn.active, .news-tab-btn:hover {
  background: var(--color-teal-primary);
  color: var(--color-white);
  border-color: var(--color-teal-primary);
  box-shadow: var(--shadow-teal);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  min-height: 250px;
}

.news-loading-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-teal-primary);
}

.news-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--color-ocean-dark);
}

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

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

.news-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-teal-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.news-source-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(7, 22, 38, 0.85);
  backdrop-filter: blur(4px);
  color: var(--color-teal-bright);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.source-icon-img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

.news-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ocean-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  color: var(--color-teal-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.read-more-btn:hover {
  color: var(--color-ocean-dark);
}


/* --------------------------------------------------------------------------
   9. EMBED TIKTOK LIGERO
   -------------------------------------------------------------------------- */
.tiktok-section {
  background: #ffffff;
}

.tiktok-embed-wrapper {
  display: flex;
  justify-content: center;
}

.tiktok-card-container {
  width: 100%;
  max-width: 500px;
}

.tiktok-fallback-card {
  background: var(--color-ocean-dark);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.tiktok-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tiktok-logo-icon {
  font-size: 2.2rem;
  color: var(--color-teal-bright);
}

.btn-tiktok {
  background: linear-gradient(135deg, #ff0050, #00f2fe);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-align: center;
}


/* --------------------------------------------------------------------------
   11. SECCIÓN CONTACTO
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--color-bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info-card, .contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.contact-info-card h3, .contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-ocean-dark);
  margin-bottom: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 168, 150, 0.1);
  color: var(--color-teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-socials-block h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.social-btn.tiktok { background: #000000; }
.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: #e4405f; }
.social-btn.youtube { background: #ff0000; }

/* Formulario */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-ocean-dark);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-teal-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.15);
}

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

.form-status {
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }


/* --------------------------------------------------------------------------
   12. BOTÓN FLOTANTE DE WHATSAPP "PIDE TU CANCIÓN"
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 95px; /* Por encima del reproductor flotante */
  right: 20px;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float-btn i {
  font-size: 1.4rem;
}

.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.7);
  background: #20ba5a;
}


/* --------------------------------------------------------------------------
   13. REPRODUCTOR FLOTANTE PERSISTENTE (STICKY PLAYER BAR)
   -------------------------------------------------------------------------- */
.sticky-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--player-height);
  background: var(--color-ocean-dark);
  border-top: 2px solid var(--color-teal-primary);
  z-index: 10000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
  color: var(--color-white);
}

.player-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Izquierda: Info Canción */
.player-track-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 180px;
}

.player-cover-container {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.player-cover {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-teal-primary);
}

.player-live-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-coral-bright);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.player-meta {
  overflow: hidden;
}

.track-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-white);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
}

.track-subtitle {
  font-size: 0.75rem;
  color: var(--color-teal-bright);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Centro: Controles + Visualizador SoundCloud */
.player-controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-grow: 1;
}

.soundcloud-visualizer-box {
  width: 100%;
  max-width: 320px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#soundbar-canvas {
  width: 100%;
  height: 100%;
}

.css-soundbars-fallback {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}

.css-soundbars-fallback span {
  width: 3px;
  height: 4px;
  background: var(--color-teal-bright);
  border-radius: 2px;
}

.css-soundbars-fallback.playing span {
  animation: soundbar-anim 1s infinite alternate;
}

.css-soundbars-fallback span:nth-child(2n) { animation-delay: 0.2s; }
.css-soundbars-fallback span:nth-child(3n) { animation-delay: 0.4s; }
.css-soundbars-fallback span:nth-child(5n) { animation-delay: 0.1s; }

@keyframes soundbar-anim {
  0% { height: 4px; }
  100% { height: 20px; }
}

.player-buttons-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.player-btn {
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.play-btn {
  width: 42px;
  height: 42px;
  background: var(--color-teal-bright);
  color: var(--color-ocean-dark);
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--color-teal-glow);
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--color-white);
}

.stop-btn {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-coral-bright);
  font-size: 0.9rem;
}

.stop-btn:hover {
  background: var(--color-coral-bright);
  color: var(--color-white);
}

.vol-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.vol-btn:hover {
  background: var(--color-teal-primary);
}

.volume-slider-box {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

#volume-range {
  width: 70px;
  accent-color: var(--color-teal-bright);
  cursor: pointer;
}

/* Derecha: Estado */
.player-extra-status {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  min-width: 100px;
}

.stream-quality-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-teal-bright);
  background: rgba(0, 168, 150, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.stream-state-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}


/* --------------------------------------------------------------------------
   14. MODAL DE NOTICIAS
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 22, 38, 0.8);
  backdrop-filter: blur(6px);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.legal-modal-content,
.legal-modal-body {
  max-height: 82vh;
  overflow-y: auto;
}

.legal-modal-body {
  max-height: none;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.75rem;
  color: var(--color-text-muted);
}

.modal-subtitle {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.advertise-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.advertise-table th,
.advertise-table td {
  border: 1px solid rgba(7, 22, 38, 0.12);
  padding: 0.8rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.advertise-table th {
  background: rgba(0, 168, 150, 0.08);
  color: var(--color-ocean-dark);
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-ocean-dark);
  margin-bottom: 1rem;
}

.modal-body {
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   15. PIE DE PÁGINA (FOOTER)
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--color-ocean-dark);
  color: var(--color-white);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 38px;
}

.footer-bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--color-teal-bright);
  color: var(--color-ocean-dark);
}

.footer-links-col h4, .footer-contact-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-teal-bright);
  margin-bottom: 1rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: var(--color-teal-bright);
  padding-left: 4px;
}

.footer-contact-col p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-bottom-bar {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}


/* --------------------------------------------------------------------------
   16. RESPONSIVE MEDIA QUERIES (ADAPTACIÓN A TABLET & DESKTOP)
   -------------------------------------------------------------------------- */

/* Tablet (>= 768px) */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .onair-grid {
    grid-template-columns: 2fr 1fr;
  }

  .schedule-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .volume-slider-box {
    display: flex;
  }

  .player-extra-status {
    display: flex;
  }

  .header-socials {
    display: flex;
  }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-full);
  }

  .nav-link.active {
    border-left: none;
    background: var(--color-teal-primary);
    color: var(--color-white);
  }

  .schedule-matrix {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
