/* ==========================================================================
   Funky Tracks Radio - Core Design System & Styling
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Unica+One&display=swap');

:root {
  --bg-color: #050814; /* Deep Navy Obsidian */
  --bg-card: rgba(14, 22, 38, 0.6);
  --bg-card-hover: rgba(23, 36, 62, 0.85);
  --accent-pink: #ff1f40; /* Patriotic Neon Red */
  --accent-cyan: #0066ff; /* Patriotic Royal Blue */
  --accent-purple: #00e5ff; /* Electric Neon Cyan */
  --text-main: #ffffff;
  --text-muted: #a5b5c4;
  --border-color: rgba(255, 31, 64, 0.25);
  --border-glow: rgba(0, 102, 255, 0.4);
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Unica One', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-theme {
  --bg-color: #f7f9fc; /* Light clean blue-grey background */
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --accent-pink: #ff1f40; /* Keep red */
  --accent-cyan: #0066ff; /* Keep royal blue */
  --accent-purple: #0088cc; /* Darker cyan for text legibility in light mode */
  --text-main: #141b29; /* Dark slate */
  --text-muted: #5b6880; /* Slate grey */
  --border-color: rgba(0, 102, 255, 0.12);
  --border-glow: rgba(0, 102, 255, 0.35);
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(157, 0, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.08) 0%, transparent 40%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}

/* Typography & Layout Utilities */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-gradient-pink-cyan {
  background: linear-gradient(90deg, var(--accent-pink) 0%, #ffffff 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan-purple {
  background: linear-gradient(90deg, var(--accent-pink) 0%, #ffffff 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text-pink {
  text-shadow: 0 0 10px rgba(255, 31, 64, 0.5), 0 0 30px rgba(255, 31, 64, 0.2);
}

.glow-text-cyan {
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.5), 0 0 30px rgba(0, 102, 255, 0.2);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink) 0%, #ffffff 50%, var(--accent-cyan) 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 5, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  outline: none;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-purple);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

.theme-toggle-btn .moon-icon {
  display: block;
}

body.light-theme .theme-toggle-btn {
  background: rgba(8, 5, 14, 0.05);
  border-color: rgba(0, 102, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.1);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(8, 5, 14, 0.1);
  border-color: var(--accent-pink);
  box-shadow: 0 0 15px rgba(255, 31, 64, 0.2);
}

body.light-theme .theme-toggle-btn .sun-icon {
  display: block;
  color: var(--accent-pink);
}

body.light-theme .theme-toggle-btn .moon-icon {
  display: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-container img {
  height: 40px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-pink);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: var(--transition-smooth);
  box-shadow: 0 0 5px var(--accent-pink);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(8, 5, 14, 0.15) 0%, rgba(8, 5, 14, 0.5) 100%), url('images/hero_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 900px;
  padding: 0 24px;
  margin-bottom: 40px;
  z-index: 10;
}

.hero h1 {
  font-size: 5rem;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 15px;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.45), 0 0 40px rgba(0, 102, 255, 0.35);
}

.hero p {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.hero-subtitle-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: #ffffff;
  background: rgba(0, 102, 255, 0.12);
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0, 102, 255, 0.45);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
  margin-bottom: 40px;
  transition: var(--transition-smooth);
}

.hero-subtitle-pulse.live-active {
  animation: container-pulse 0.8s infinite alternate ease-in-out;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--accent-pink);
  transition: var(--transition-smooth);
}

.hero-subtitle-pulse.live-active .pulse-dot {
  animation: pulse-glow 0.8s infinite alternate;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.8);
    box-shadow: 0 0 0 0 rgba(255, 31, 64, 0.7);
  }
  100% {
    transform: scale(1.3);
    box-shadow: 0 0 12px 6px rgba(255, 31, 64, 0);
  }
}

@keyframes container-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 31, 64, 0.15);
    border-color: rgba(255, 31, 64, 0.4);
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 0 25px rgba(255, 31, 64, 0.6), 0 0 10px rgba(255, 31, 64, 0.25);
    border-color: rgba(255, 31, 64, 0.95);
  }
}

/* LunaRadio Container */
.player-container-wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  z-index: 10;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.player-container {
  height: 280px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: transparent !important;
}

/* Custom Podcast Players Section (Último Programa) */
.shows-audio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.audio-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.audio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-pink), var(--accent-purple));
}

.audio-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(0, 240, 255, 0.1);
}

.audio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.audio-title-group {
  display: flex;
  flex-direction: column;
}

.audio-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-pink);
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.audio-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.audio-disc-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  animation: spin 8s linear infinite;
  animation-play-state: paused;
}

.audio-card.playing .audio-disc-icon {
  animation-play-state: running;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Custom Audio Control Elements */
.custom-audio-player {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.player-main-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 
    0 0 20px rgba(255, 0, 127, 0.6),
    0 0 30px rgba(157, 0, 255, 0.4);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: var(--transition-smooth);
}

.play-btn .icon-pause {
  display: none;
}

.audio-card.playing .play-btn .icon-play {
  display: none;
}

.audio-card.playing .play-btn .icon-pause {
  display: block;
}

.progress-time-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  border-radius: 10px;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100px;
}

.volume-icon {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.volume-icon:hover {
  fill: var(--text-main);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 5px var(--accent-cyan);
  transition: var(--transition-smooth);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Johnny Gramola Section */
.ivoox-card {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 35px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ivoox-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  box-shadow: 0 0 10px var(--accent-cyan);
}

.ivoox-intro {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gramola-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
}

.ivoox-text h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.ivoox-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.iframe-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.8);
  background: #111;
}

.iframe-wrapper iframe {
  display: block;
}

/* Programas Informativos Section */
.programas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.programa-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.programa-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 0, 127, 0.2);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(255, 0, 127, 0.1);
}

.programa-img-container {
  height: 240px;
  position: relative;
  overflow: hidden;
}

.programa-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.programa-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(8, 5, 14, 1) 0%, rgba(8, 5, 14, 0.2) 60%, transparent 100%);
}

.programa-schedule {
  position: absolute;
  bottom: 20px;
  left: 24px;
  background: var(--accent-pink);
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(255, 0, 127, 0.4);
}

.programa-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.programa-content h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.programa-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.programa-hosts {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.programa-hosts svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-cyan);
}

/* Station Carousel (Emisoras) */
.carousel-section {
  padding-bottom: 40px;
}

.carousel-viewport {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  padding: 35px 0;
  background: rgba(11, 7, 20, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-viewport::before,
.carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.carousel-track:hover {
  animation-play-state: paused;
}

.carousel-item {
  padding: 20px 44px;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 60px;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-item::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.carousel-item:hover {
  background: rgba(255, 31, 64, 0.12);
  border-color: var(--accent-pink);
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(255, 31, 64, 0.25);
}

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

/* Contacto Section */
.contact-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 0, 127, 0.15);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 0, 127, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-card p {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.form-control {
  background: rgba(8, 5, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: rgba(15, 10, 26, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(255, 0, 127, 0.5),
    0 0 20px rgba(157, 0, 255, 0.3);
}

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

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-purple);
  display: block;
}

.form-message.error {
  background: rgba(255, 31, 64, 0.12);
  border: 1px solid var(--accent-pink);
  color: var(--accent-pink);
  display: block;
}

/* Footer Section */
footer {
  background: #040207;
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-logo img {
  height: 32px;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 4rem;
  }
  .shows-audio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .programas-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.4rem;
  }
  .hero-subtitle-pulse {
    font-size: 1rem;
  }
  .section-container {
    padding: 60px 16px;
  }
  .navbar {
    padding: 12px 16px;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 20, 0.96); /* Matches Deep Navy Obsidian background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    border-bottom: 0px solid rgba(255, 31, 64, 0.15); /* Animated */
    box-shadow: none;
    text-align: center;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out, border-bottom-width 0.35s ease-out, box-shadow 0.35s ease-out;
  }

  .nav-links.open {
    padding: 20px 0;
    max-height: 350px; /* Large enough to fit all 6 navigation links */
    border-bottom: 1px solid rgba(255, 31, 64, 0.15); /* Sleek neon border matching design theme */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  }
  
  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  }

  /* Disable hover indicator lines under links on mobile */
  .nav-links a::after {
    display: none;
  }

  /* Light Theme overrides for mobile menu */
  body.light-theme .nav-links {
    background: #ffffff;
    border-bottom-color: rgba(0, 102, 255, 0.08);
  }

  body.light-theme .nav-links.open {
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.06);
  }

  body.light-theme .nav-links a {
    border-bottom: 1px solid rgba(0, 102, 255, 0.04);
  }

  body.light-theme .nav-links a:hover {
    background: rgba(0, 102, 255, 0.04);
  }

  .menu-toggle {
    display: flex;
  }

  /* Hamburger to X animation classes */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact-card {
    padding: 25px;
  }
  .ivoox-card {
    padding: 20px;
  }
  .player-container {
    height: 340px; /* Give more height for the small userinterface configuration on mobile */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .audio-card {
    padding: 20px;
  }
  .player-main-controls {
    flex-wrap: wrap;
  }
  .volume-container {
    width: 100%;
    margin-top: 8px;
  }
}

/* ==========================================================================
   Light Theme Overrides
   ========================================================================== */
body.light-theme {
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 31, 64, 0.04) 0%, transparent 40%);
}

/* Scrollbar in light mode */
body.light-theme::-webkit-scrollbar-track {
  background: #f7f9fc;
}
body.light-theme::-webkit-scrollbar-thumb {
  background: var(--accent-cyan);
}
body.light-theme::-webkit-scrollbar-thumb:hover {
  background: var(--accent-pink);
}

/* Header in light mode */
body.light-theme header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}
body.light-theme .nav-links a:hover {
  text-shadow: 0 0 8px rgba(0, 102, 255, 0.2);
}

/* Hero Section in light mode */
body.light-theme .hero {
  background-image: linear-gradient(to bottom, rgba(8, 5, 14, 0.15) 0%, rgba(8, 5, 14, 0.4) 100%), url('images/hero_bg.png');
}
body.light-theme .hero h1 {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.45), 0 0 40px rgba(0, 102, 255, 0.35);
}
body.light-theme .hero p {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}
body.light-theme .hero-subtitle-pulse {
  color: #ffffff;
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.45);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

/* Text Gradients in light mode (avoiding white mid-stop) */
body.light-theme .text-gradient-pink-cyan,
body.light-theme .text-gradient-cyan-purple {
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light-theme .section-title::after {
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--accent-cyan) 100%);
  box-shadow: 0 0 5px rgba(0, 102, 255, 0.2);
}

/* Audio Player cards in light mode */
body.light-theme .audio-card:hover {
  box-shadow: 
    0 15px 35px rgba(0, 102, 255, 0.08),
    0 0 20px rgba(0, 102, 255, 0.04);
}
body.light-theme .progress-container {
  background: rgba(0, 0, 0, 0.08);
}
body.light-theme .volume-slider {
  background: rgba(0, 0, 0, 0.08);
}

/* Shows / Programming grid in light mode */
body.light-theme .programa-card:hover {
  box-shadow: 
    0 20px 45px rgba(0, 102, 255, 0.08),
    0 0 25px rgba(0, 102, 255, 0.04);
}
body.light-theme .programa-img-overlay {
  background: linear-gradient(to top, var(--bg-card) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Carousel in light mode */
body.light-theme .carousel-viewport {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(0, 102, 255, 0.08);
  border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}
body.light-theme .carousel-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 102, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.05);
}
body.light-theme .carousel-item:hover {
  background: rgba(255, 31, 64, 0.06);
  border-color: var(--accent-pink);
}

/* Contact form in light mode */
body.light-theme .contact-card {
  border: 1px solid rgba(0, 102, 255, 0.12);
  box-shadow: 
    0 20px 40px rgba(0, 102, 255, 0.06),
    0 0 30px rgba(0, 102, 255, 0.03);
}
body.light-theme .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 102, 255, 0.15);
  color: var(--text-main);
}
body.light-theme .form-control:focus {
  background: #ffffff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.15);
}

/* Footer in light mode */
body.light-theme footer {
  background: #eef2f7;
  border-top: 1px solid rgba(0, 102, 255, 0.08);
}
body.light-theme .footer-logo {
  color: #141b29;
}
body.light-theme .footer-bottom {
  border-top: 1px solid rgba(0, 102, 255, 0.08);
}
