/* ============================================
   PODCAST PAGE — ELZ TALK
   ============================================ */

/* Hero / Header Enhancement */
.podcast-hero-desc {
  max-width: 750px;
  margin: 0 auto;
  font-size: var(--text-base);
  color: var(--color-gray-light);
  line-height: 1.8;
}

.podcast-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-lg);
  padding: 12px 28px;
  background: rgba(198, 167, 105, 0.1);
  border: 1px solid rgba(198, 167, 105, 0.3);
  border-radius: 50px;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all var(--transition-base);
}

.podcast-channel-badge:hover {
  background: rgba(198, 167, 105, 0.2);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 167, 105, 0.15);
}

.podcast-channel-badge svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
}

.podcast-channel-badge svg polygon {
  fill: #141414;
}

/* Episodes Grid */
.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--space-2xl);
}

/* Episode Card */
.podcast-card {
  background: var(--color-dark-soft);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease-out);
  position: relative;
}

.podcast-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(198, 167, 105, 0) 0%,
    rgba(198, 167, 105, 0.3) 50%,
    rgba(198, 167, 105, 0) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.podcast-card:hover::before {
  opacity: 1;
}

.podcast-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(198, 167, 105, 0.08);
}

/* Thumbnail */
.podcast-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.podcast-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.podcast-card:hover .podcast-card-thumb img {
  transform: scale(1.06);
}

/* Play overlay */
.podcast-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.podcast-card:hover .podcast-card-play {
  opacity: 1;
}

.podcast-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(198, 167, 105, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.podcast-play-btn:hover {
  transform: scale(1.1);
  background: var(--color-accent);
  box-shadow: 0 0 30px rgba(198, 167, 105, 0.5);
}

.podcast-play-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--color-dark);
  margin-left: 3px;
}

/* Episode number badge */
.podcast-card-episode {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(198, 167, 105, 0.25);
}

/* Card Content */
.podcast-card-body {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
}

.podcast-card-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 18px;
}

.podcast-card-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 1px;
  background: var(--color-accent);
}

.podcast-card-body h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.podcast-card:hover .podcast-card-body h3 {
  color: var(--color-accent);
}

.podcast-card-body p {
  font-size: var(--text-sm);
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Watch link */
.podcast-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.podcast-card-link:hover {
  gap: 14px;
  color: var(--color-primary);
}

.podcast-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.podcast-card-link:hover svg {
  transform: translateX(4px);
}

/* Section intro */
.podcast-section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.podcast-section-intro .section-label {
  margin-bottom: var(--space-sm);
}

.podcast-section-intro .section-title {
  margin-bottom: var(--space-md);
}

.podcast-section-intro p {
  font-size: var(--text-base);
  color: var(--color-gray);
  line-height: 1.8;
}

/* YouTube embed modal */
.podcast-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.podcast-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.podcast-modal {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(198, 167, 105, 0.2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.podcast-modal-overlay.active .podcast-modal {
  transform: scale(1);
}

.podcast-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.podcast-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
}

.podcast-modal-close:hover {
  background: rgba(198, 167, 105, 0.2);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Decorative glow */
.podcast-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 167, 105, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.podcast-glow-1 {
  top: -100px;
  right: -150px;
}

.podcast-glow-2 {
  bottom: -100px;
  left: -150px;
}

/* Responsive */
@media (max-width: 768px) {
  .podcast-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .podcast-play-btn {
    width: 52px;
    height: 52px;
  }

  .podcast-play-btn svg {
    width: 20px;
    height: 20px;
  }
}
