/* CSS Custom Properties & Design Tokens - Premium Light Theme */
:root {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-card-hover: rgba(255, 255, 255, 0.92);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(13, 148, 136, 0.25);
  
  --accent: #0d9488; /* Premium Teal for high contrast on light backgrounds */
  --accent-rgb: 13, 148, 136;
  --accent-dark: #0f766e;
  --accent-glow: rgba(13, 148, 136, 0.2);
  
  --live-color: #e11d48; /* Vibrant Rose for live badge */
  --live-glow: rgba(225, 29, 72, 0.3);
  
  --text-main: #0f172a; /* Deep Slate */
  --text-muted: #475569;
  --text-dark: #64748b;
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 8px 32px 0 rgba(13, 148, 136, 0.05);
  --shadow-neon-strong: 0 8px 32px 0 rgba(13, 148, 136, 0.15);
  --shadow-live: 0 4px 15px 0 rgba(225, 29, 72, 0.2);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* Background Ambient Glows */
.glow-bg {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  filter: blur(150px);
}

.glow-primary {
  background: #2dd4bf; /* Soft light turquoise */
  top: -200px;
  right: -100px;
}

.glow-secondary {
  background: #bae6fd; /* Soft light blue */
  bottom: -100px;
  left: -200px;
  opacity: 0.25;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism Panel */
.glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Header & Logo */
.main-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #0284c7);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.logo-text h1 {
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.logo-text h1 span {
  color: var(--accent);
}

.logo-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--text-main);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-glowing {
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.btn-glowing:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: var(--accent);
}

.btn-live {
  background: var(--live-color);
  color: #fff;
  box-shadow: var(--shadow-live);
}

.btn-live:hover {
  background: #f43f5e;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
  transform: translateY(-2px);
}

/* Hero / Live Banner */
.live-hero-section {
  margin: 32px 0;
}

.hero-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  gap: 16px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(13, 148, 136, 0.1);
  border-left-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.live-hero-card {
  display: flex;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.85) 100%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.06);
  border-radius: 20px;
  padding: 32px;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.live-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
}

.live-hero-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid var(--live-color);
  color: var(--live-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.live-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--live-color);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); cubic-bezier(0.25, 0, 0, 1); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6); }
  50% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.upcoming-hero-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.live-hero-cover {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.live-hero-cover svg, .live-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-hero-info {
  flex-grow: 1;
}

.live-hero-label {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.live-hero-title {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-main);
}

.live-hero-hosts {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-hero-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.live-hero-meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Control Panel (Search & Categories) */
.control-panel {
  padding: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
}

.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.1);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.chip:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--text-main);
}

.chip.active {
  background: rgba(13, 148, 136, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
}

/* Weekly Tab Controls */
.weekly-nav-section {
  margin-bottom: 24px;
}

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

.section-header h2 {
  font-family: var(--font-header);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header h2 i {
  color: var(--accent);
}

.view-toggles {
  display: flex;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 10px;
}

.view-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-toggle-btn:hover {
  color: var(--text-main);
}

.view-toggle-btn.active {
  background: rgba(13, 148, 136, 0.08);
  color: var(--accent);
}

.weekly-tabs-container {
  overflow-x: auto;
  padding-bottom: 4px;
  mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 20px, white 90%, transparent);
}

.weekly-tabs {
  display: flex;
  list-style: none;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 4px 20px 4px 4px;
}

.weekly-tabs li {
  flex-grow: 1;
}

.tab-btn {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(13, 148, 136, 0.3);
  color: var(--text-main);
}

.tab-btn.active {
  background: rgba(13, 148, 136, 0.08);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

/* Schedule / Directory Grid */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.no-shows {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-muted);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.no-shows i {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
}

.no-shows h3 {
  color: var(--text-main);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* Podcast Card Style */
.podcast-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
}

.podcast-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.08);
}

.podcast-card.is-live {
  border-color: var(--live-color);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.05);
}

.podcast-card.is-live:hover {
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.15);
}

.card-top {
  display: flex;
  gap: 16px;
}

.podcast-cover {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
}

.podcast-cover svg, .podcast-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-title-area {
  flex-grow: 1;
}

.podcast-category {
  display: inline-block;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.podcast-name {
  font-family: var(--font-header);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-hosts-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-mid {
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  padding-top: 12px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
}

.schedule-label {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-value {
  font-family: var(--font-header);
  font-weight: 600;
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.02);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.03);
}

.podcast-card.is-live .schedule-value {
  color: var(--live-color);
  background: rgba(225, 29, 72, 0.05);
  border-color: rgba(225, 29, 72, 0.15);
  animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
  50% { border-color: rgba(225, 29, 72, 0.5); }
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.card-badges {
  display: flex;
  gap: 6px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--live-color);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.live-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live-color);
  box-shadow: 0 0 8px var(--live-color);
}

.time-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.more-info-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
}

.podcast-card:hover .more-info-link {
  transform: translateX(4px);
  color: var(--text-main);
}

/* Modals & Dialogs (Glass Dialog) */
.glass-dialog {
  margin: auto;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-main);
  max-width: 640px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 1px rgba(13, 148, 136, 0.1);
  overflow: hidden;
}

.glass-dialog::backdrop {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dialog-content {
  padding: 0;
  position: relative;
}

.dialog-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.dialog-close-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  color: var(--text-main);
  transform: scale(1.05);
}

/* Detail Modal Content Structure */
.modal-header-banner {
  height: 180px;
  background: linear-gradient(135deg, #115e59 0%, #032b30 100%);
  position: relative;
}

.modal-header-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
}

.modal-intro {
  padding: 0 24px;
  display: flex;
  gap: 20px;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  align-items: flex-end;
  margin-bottom: 24px;
}

.modal-cover {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 3px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  background: #ffffff;
  flex-shrink: 0;
}

.modal-cover svg, .modal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title-area {
  padding-bottom: 8px;
}

.modal-category {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-body {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-hosts {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-main);
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}

.modal-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Modal Schedule list */
.modal-schedules {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.modal-schedule-day {
  font-weight: 600;
  font-size: 0.9rem;
}

.modal-schedule-time {
  font-family: var(--font-header);
  color: var(--accent);
  font-weight: 700;
}

/* Modal Action Links */
.modal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.modal-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.01);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  gap: 8px;
}

.modal-link-card i {
  font-size: 1.5rem;
}

.modal-link-card.youtube:hover {
  background: rgba(239, 68, 68, 0.05);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-link-card.spotify:hover {
  background: rgba(34, 197, 94, 0.05);
  border-color: #22c55e;
  color: #15803d;
}

.modal-link-card.twitch:hover {
  background: rgba(168, 85, 247, 0.05);
  border-color: #a855f7;
  color: #7e22ce;
}

/* Footer Section */
.main-footer {
  border-top: 1px solid var(--border-color);
  padding: 32px 0;
  background: rgba(248, 250, 252, 0.85);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* Modal animation */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.glass-dialog[open] {
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .header-actions {
    width: 100%;
  }
  
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .live-hero-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    padding-top: 48px;
  }
  
  .live-hero-meta {
    justify-content: center;
    width: 100%;
  }
  
  .live-hero-cover {
    width: 100px;
    height: 100px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .view-toggles {
    width: 100%;
  }
  
  .view-toggle-btn {
    flex-grow: 1;
    justify-content: center;
  }
  
  .modal-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -50px;
  }
  
  .modal-cover {
    width: 100px;
    height: 100px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================
   TIMETABLE WEEKLY GRID VIEW (Parrilla Semanal)
   ========================================== */
.timetable-outer-container {
  grid-column: 1 / -1;
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.02);
  margin-bottom: 48px;
}

.timetable-wrapper {
  min-width: 960px; /* Force scrollable container on smaller screens */
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.timetable-header {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 16px;
  text-align: center;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.timetable-header-day {
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.timetable-header-day .day-lbl {
  font-size: 0.95rem;
  font-weight: 700;
}

.timetable-header-day .day-sub {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.75;
}

.timetable-header-day.is-today {
  color: var(--accent);
  position: relative;
}

.timetable-header-day.is-today::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.timetable-body {
  display: grid;
  grid-template-columns: 80px repeat(7, 1fr);
  position: relative;
  height: 770px; /* 11 hours * 70px */
}

/* Time axis column */
.timetable-time-axis {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border-right: 1px solid var(--border-color);
}

.time-axis-label {
  position: absolute;
  right: 12px;
  transform: translateY(-50%);
  font-family: var(--font-header);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Grid columns for days */
.timetable-day-column {
  position: relative;
  height: 100%;
  border-right: 1px solid rgba(15, 23, 42, 0.04);
}

.timetable-day-column:last-child {
  border-right: none;
}

/* Hour grid lines overlay */
.timetable-grid-lines {
  position: absolute;
  top: 0;
  left: 80px;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timetable-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(15, 23, 42, 0.05);
  width: 100%;
}

/* Timetable Podcast Event Card */
.timetable-event {
  position: absolute;
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  padding: 8px;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.3;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timetable-event:hover {
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.18);
  filter: brightness(1.05);
}

.timetable-event.is-live {
  border-left-color: var(--live-color);
  animation: pulse-live-border 2s infinite;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.1);
}

.timetable-event.is-live:hover {
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.2);
}

@keyframes pulse-live-border {
  50% { border-left-color: #ff85a2; }
}

.event-title {
  font-family: var(--font-header);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85rem;
}

.event-time {
  font-weight: 600;
  opacity: 0.9;
  color: #ffffff;
  font-size: 0.75rem;
}

.event-category {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: #00f5d4; /* Keep bright turquoise for event details text inside dark gradient */
}

.timetable-event.is-live .event-category {
  color: #ffb3c1;
}

.event-hosts {
  font-size: 0.65rem;
  opacity: 0.75;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   GOLD/PREMIUM ACCENTS (Acceso Restringido)
   ========================================== */
:root {
  --premium-gold: #d4af37;
  --premium-gold-rgb: 212, 175, 55;
  --premium-glow: rgba(212, 175, 55, 0.25);
}

/* Timetable Premium Event Card */
.timetable-event.is-restricted {
  border-left-color: var(--premium-gold) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.08);
}

.timetable-event.is-restricted:hover {
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

.timetable-event.is-restricted .event-category {
  color: var(--premium-gold) !important;
}

/* Standard List View Premium Card */
.podcast-card.is-restricted {
  border-color: rgba(212, 175, 55, 0.3) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.03) !important;
}

.podcast-card.is-restricted:hover {
  border-color: var(--premium-gold) !important;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15) !important;
}

.podcast-card.is-restricted .schedule-value {
  color: var(--premium-gold) !important;
  background: rgba(212, 175, 55, 0.05) !important;
  border-color: rgba(212, 175, 55, 0.15) !important;
}

/* Premium Badge */
.premium-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--premium-gold);
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.premium-pill i {
  font-size: 0.8rem;
}

/* Button Premium (Patreon Link) */
.btn-premium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.btn-premium:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

/* Link Card in Modal */
.modal-link-card.patreon {
  background: rgba(212, 175, 55, 0.03);
  border-color: rgba(212, 175, 55, 0.2) !important;
}

.modal-link-card.patreon:hover {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: #f59e0b !important;
  color: #d97706 !important;
}


