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

:root {
  --bg-dark: #0f172a;
  --surface: #FFFFFF;
  --primary-navy: #0F172A;
  --primary-blue: #2563EB;
  --accent-yellow: #FFB703;
  --neon-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Poppins', sans-serif;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  background: var(--bg-dark);
  color: #fff;
}

/* Navigation */
.navbar {
  background: var(--primary-navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

.logo h1 { font-size: 1.8rem; margin: 0; color: #fff; }
.logo p { font-size: 0.7rem; color: var(--accent-yellow); text-transform: uppercase; letter-spacing: 2px; }

.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.9rem; }
.menu-toggle { display: none; } /* Hide by default */

/* Hero */
.hero-banner { 
  width: 100%; 
  height: 300px; 
  background: #000; 
  overflow: hidden; 
  position: relative; 
  background-size: cover;
  background-position: center;
}
.hero-banner img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  opacity: 1; 
  transition: opacity 1.5s ease-in-out;
}

/* ON AIR Badge */
.on-air-section { padding: 2rem; text-align: center; }
.on-air-badge { 
  display: inline-block; padding: 5px 25px; border: 2px solid #ff3131; color: #ff3131; 
  border-radius: 50px; font-weight: 800; text-transform: uppercase;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(255, 49, 49, 0.3);
  background: rgba(255, 49, 49, 0.05);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.on-air-badge.is-live {
  border-color: #00ff00;
  color: #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
  background: rgba(0, 255, 0, 0.05);
  animation: neon-blink-green 1.5s infinite;
}

@keyframes neon-blink-green {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.02); box-shadow: 0 0 30px rgba(0, 255, 0, 0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* MAIN PLAYER - GLASSMORPHISM */
.player-container {
  padding: 4rem 20px;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  justify-content: center;
}

.glass-player-container {
  max-width: 1100px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  box-shadow: var(--shadow-lg);
}

.player-content-side {
  display: flex;
  align-items: center;
  gap: 40px;
}

.album-art {
  width: 250px;
  height: 250px;
  border-radius: 6px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.album-art img { width: 100%; height: 100%; object-fit: cover; }

.player-main-info { flex: 1; }
.program-header h3 { font-size: 2.5rem; font-weight: 800; margin: 0; }
.broadcast-type { color: var(--primary-blue); font-weight: 700; margin-bottom: 20px; font-size: 0.9rem; }

.program-titles { margin-bottom: 25px; }
/* .host-name removed */
.program-titles h2 { font-size: 2rem; font-weight: 700; }

.player-controls-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.ctrl-btn {
  background: none; border: none; color: #fff; cursor: pointer; font-size: 1.2rem;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  transition: 0.3s;
}
.main-play { 
  background: rgba(255, 255, 255, 0.1); border-radius: 50%; width: 50px; height: 50px; 
}
.ctrl-btn:hover { color: var(--neon-blue); transform: scale(1.1); }

.volume-row { flex: 1; max-width: 180px; }
.neon-slider {
  -webkit-appearance: none; width: 100%; height: 5px; background: rgba(255, 255, 255, 0.1);
  border-radius: 10px; outline: none;
}
.neon-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; background: var(--neon-blue);
  border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px var(--neon-blue);
}

.live-status { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.8rem; }
.pulsing-dot-red { 
  width: 10px; height: 10px; background: #ff3131; border-radius: 50%; 
  box-shadow: 0 0 10px #ff3131; animation: pulse 1.5s infinite; 
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Music Visualizer Animation */
.album-art {
  position: relative;
}

.music-visualizer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.8));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding-bottom: 15px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-player-container.is-playing .music-visualizer {
  opacity: 1;
}

.music-visualizer .bar {
  width: 6px;
  height: 15px;
  background: var(--neon-blue);
  box-shadow: 0 0 10px var(--neon-blue);
  border-radius: 3px;
  transition: height 0.2s ease;
}

.glass-player-container.is-playing .music-visualizer .bar {
  animation: visualize 0.6s ease-in-out infinite alternate;
}

.music-visualizer .bar:nth-child(1) { animation-delay: 0.0s; }
.music-visualizer .bar:nth-child(2) { animation-delay: 0.2s; }
.music-visualizer .bar:nth-child(3) { animation-delay: 0.4s; }
.music-visualizer .bar:nth-child(4) { animation-delay: 0.1s; }
.music-visualizer .bar:nth-child(5) { animation-delay: 0.3s; }

@keyframes visualize {
  0% { height: 10px; opacity: 0.5; }
  100% { height: 45px; opacity: 1; }
}

/* CHAT */
.chat-glass-panel {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  height: 400px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-minimal { padding: 15px; text-align: center; font-weight: 800; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.chat-box { flex: 1; overflow-y: auto; padding: 15px; font-family: 'Montserrat', sans-serif; }
.chat-bubble { 
  background: rgba(255, 255, 255, 0.05); padding: 8px 12px; border-radius: 12px; 
  margin-bottom: 10px; font-size: 0.85rem; border-top-left-radius: 0;
}
.chat-bubble strong { color: var(--neon-blue); margin-right: 8px; }

.chat-footer-minimal { padding: 15px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.btn-glass-login {
  background: rgba(255, 255, 255, 0.1); border: none; color: #fff; width: 100%;
  padding: 10px; border-radius: 50px; cursor: pointer; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-glass-login img { width: 20px; height: 20px; }

#chat-input-area { display: flex; gap: 10px; }
#chat-input-area input {
  flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 8px 15px; color: #fff; outline: none;
}
#chat-input-area button {
  background: var(--neon-blue); border: none; width: 35px; height: 35px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* FOOTER ACTIONS */
.action-footer { 
  grid-column: 1 / -1; display: flex; justify-content: center; gap: 20px; margin-top: 10px; 
}
.btn-glass-action {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff; padding: 10px 25px; border-radius: 15px; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; gap: 10px; transition: 0.3s;
}
.btn-glass-action:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* CONTENT SECTIONS */
.container { max-width: 1200px; margin: 4rem auto; display: grid; grid-template-columns: 1fr 2.5fr; gap: 3rem; padding: 0 20px; }
.sidebar-widget { background: #1e293b; padding: 2rem; border-radius: 20px; margin-bottom: 2rem; }
.sidebar-widget h3 { margin-bottom: 1rem; color: var(--accent-yellow); }
.sidebar-widget img { width: 100%; border-radius: 10px; }

.section { background: #1e293b; padding: 2.5rem; border-radius: 20px; margin-bottom: 3rem; }
.section h2 { margin-bottom: 2rem; border-bottom: 3px solid var(--primary-blue); display: inline-block; }

.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.program-card { background: #0f172a; border-radius: 15px; overflow: hidden; }
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.program-card h3 { padding: 15px; margin: 0; }
.program-card p { padding: 0 15px 15px; color: #94a3b8; }

/* WEEKLY SCHEDULE TABLE */
.schedule-table {
  overflow-x: auto;
  margin-top: 20px;
}
.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
}
.schedule-table th {
  text-align: left;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid var(--primary-blue);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.schedule-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.schedule-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* TRENDING INFO CARDS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.info-card {
  padding: 2.5rem;
  border-radius: 20px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.info-card h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.info-card p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-menu { display: none; } /* Hide desktop menu */
  .menu-toggle { display: block; cursor: pointer; font-size: 1.5rem; }
  #nav-links.active { 
    display: flex; 
    flex-direction: column; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    width: 100%; 
    background: var(--primary-navy); 
    padding: 30px; 
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    z-index: 1000;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .glass-player-container { grid-template-columns: 1fr; padding: 25px; }
  .player-content-side { flex-direction: column; text-align: center; }
  .player-main-info { width: 100%; }
  .player-controls-row { justify-content: center; }
  .container { grid-template-columns: 1fr; }
  
  /* Announcers Responsive - Tablet/Mobile */
  .announcer-card {
    flex: 0 0 100%;
  }
  .announcers-grid {
    gap: 0;
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .album-art { width: 200px; height: 200px; }
  .program-header h3 { font-size: 1.8rem; }
}

/* ANNOUNCERS */
.announcers-section {
  padding: 100px 20px;
  background: #1a1e2e; /* More distinct dark shade */
}
.section-title-container {
  text-align: center;
  margin-bottom: 60px;
}
.section-title-alt {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}
.section-title-alt::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--neon-blue);
  border-radius: 2px;
}
.announcers-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  overflow: hidden;
  padding: 50px 10px;
}
.announcer-card {
  flex: 0 0 270px;
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255,255,255,0.05);
}
.announcer-card:hover { 
  transform: translateY(-15px); 
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(0,243,255,0.1);
}
.announcer-card img { width: 100%; height: 280px; object-fit: cover; }
.announcer-info { padding: 25px; text-align: center; }
.announcer-info h4 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
.announcer-info p { color: var(--neon-blue); font-size: 0.9rem; font-weight: 600; }

/* FOOTER */
.footer {
  background: #000;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content p {
  margin-bottom: 12px;
  opacity: 0.7;
  font-size: 0.9rem;
}
#footer-text {
  font-weight: 600;
  opacity: 1;
  font-size: 1rem;
}