/* --- PREMIUM PLAYER INTERFACE --- */
.broadcast-interface { padding-top: calc(var(--pc-nav-h) + 2rem); }
.hero-header-block { text-align: center; margin-bottom: 2rem; }
.headline { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 950; letter-spacing: -0.05em; line-height: 1; margin-bottom: 1rem; }
.subhead { font-size: 1.1rem; color: var(--text-muted); max-width: 750px; margin: 0 auto; }

.hero-distribution-note {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 1rem;
  opacity: 0.8;
}

.broadcast-stack {
  border-radius: var(--pc-radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 1);
  position: relative;
  animation: stackGlow 6s ease-in-out infinite alternate;
}

.hero-player-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.hero-player { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Join Overlay */
.join-broadcast-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.join-broadcast-overlay.visible { opacity: 1; visibility: visible; }

.join-icon {
  width: 72px; height: 72px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px var(--primary-glow);
  animation: joinPulse 2s infinite;
  margin-bottom: 1.25rem;
}

.join-text .title { display: block; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; color: #fff; text-align: center; }
.join-text .sub { display: block; font-size: 0.75rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.2em; text-align: center; }

/* Loading State */
.player-loading {
  position: absolute; inset: 0;
  background: #000;
  z-index: 60;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.player-loading.visible { opacity: 1; visibility: visible; }
.spinner { width: 40px; height: 40px; border: 3px solid rgba(255, 255, 255, 0.1); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Player Overlays */
.hero-overlay-top {
  position: absolute; 
  top: 0; left: 0; right: 0;
  padding: 1.5rem;
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start;
  z-index: 20;
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none;
}
.hero-overlay-top > * { pointer-events: auto; }

.hero-live-pill { 
  background: var(--primary); 
  color: #fff; 
  padding: 6px 12px; 
  border-radius: 8px; 
  font-size: 0.65rem; 
  font-weight: 900; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-controls { display: flex; gap: 0.5rem; }
.icon-btn { 
  background: rgba(0, 0, 0, 0.5); 
  border: 1px solid var(--border); 
  color: #fff; 
  width: 40px; 
  height: 40px; 
  border-radius: 12px; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: all 0.2s ease;
  backdrop-filter: none !important; /* Removed blur per request */
}
.icon-btn i { width: 18px; height: 18px; }
.icon-btn.highlight { border-color: var(--primary); color: var(--primary); }
.icon-btn.highlight:hover { background: var(--primary); color: #fff; }

.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: transparent !important; /* Removed gradient filter */
  backdrop-filter: none !important;
  z-index: 20;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.hero-overlay-bottom.auto-hidden { opacity: 0; transform: translateY(10px); }
.hero-title { 
  font-size: 1.75rem; 
  font-weight: 950; 
  letter-spacing: -0.04em; 
  margin-bottom: 2px; 
  text-shadow: 0 2px 12px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.8); /* Enhanced shadow for readability on clear bg */
}
.badge { font-size: 0.65rem; color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* --- ATTACHED PROGRAM GUIDE --- */
.attached-guide {
  background: #0a0f1d;
  border-top: 1px solid var(--border);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.guide-header-strip {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-label {
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-jump-btn {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.schedule-rail-container {
  position: relative;
  width: 100%;
}

.schedule-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.25rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.schedule-rail::-webkit-scrollbar { display: none; }

.schedule-slot {
  min-width: 260px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.schedule-slot.now {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  min-width: 300px;
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.schedule-title { font-size: 0.95rem; font-weight: 800; line-height: 1.2; color: #fff; }

@media (max-width: 800px) {
  .hero-overlay-top { padding: 1rem; }
  .icon-btn { width: 36px; height: 36px; border-radius: 10px; }
  .hero-overlay-bottom { padding: 1.5rem 1rem 1rem; }
  .hero-title { font-size: 1.4rem; }
  .schedule-rail { padding: 1rem; gap: 0.75rem; }
  .schedule-slot { min-width: 200px; padding: 0.85rem; border-radius: 12px; }
  .schedule-slot.now { min-width: 240px; }
  .schedule-title { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .headline { font-size: 2rem; }
  .hero-title { font-size: 1.1rem; }
}