/* Dalah Podcast Page - Modern Design */

body {
  font-family: "Tajawal", sans-serif;
  margin: 0;
  background-color: #f6f8fa;
  overflow-x: hidden;
}

/* Hero Section */
.podcast-hero {
  background: linear-gradient(135deg, #062141, #0a4d4d);
  color: white;
  padding: 120px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background Pattern */
.podcast-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><circle cx="40" cy="40" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 30s linear infinite;
}

@keyframes float {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-80px) translateX(-80px); }
}

.podcast-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* Podcast Icon with Animation */
.podcast-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  animation: pulse 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

/* Wave Animation Around Icon */
.podcast-icon::before,
.podcast-icon::after {
  content: '';
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: wave 2s linear infinite;
}

.podcast-icon::after {
  animation-delay: 1s;
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.podcast-hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.podcast-hero p {
  font-size: 22px;
  line-height: 1.8;
  color: #e6f1f4;
  max-width: 800px;
  margin: 0 auto 30px;
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subscribe Button */
.subscribe-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #062141;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.subscribe-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #e6f1f4;
}

/* Content Section */
.podcast-content {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: #062141;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #062141, #0a4d4d);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  margin-top: 20px;
}

/* Episodes Grid */
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 50px;
}

/* Episode Card */
.episode-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
}

.episode-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.episode-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(6, 33, 65, 0.15);
}

/* Episode Image/Thumbnail */
.episode-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.episode-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play Button Overlay */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #062141;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-left: 5px;
}

.episode-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.15);
  background: white;
}

/* Episode Info */
.episode-info {
  padding: 25px;
}

.episode-number {
  display: inline-block;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.episode-title {
  font-size: 22px;
  font-weight: 700;
  color: #062141;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.episode-card:hover .episode-title {
  color: #0a4d4d;
}

.episode-description {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 15px;
}

.episode-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #999;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.episode-duration,
.episode-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Platforms Section */
.platforms-section {
  background: linear-gradient(135deg, #f0f8f9, #e6f1f4);
  padding: 80px 20px;
  margin: 80px 0;
  border-radius: 30px;
  text-align: center;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.platform-card {
  background: white;
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(6, 33, 65, 0.15);
}

.platform-icon {
  font-size: 60px;
  margin-bottom: 15px;
  display: inline-block;
}

.platform-name {
  font-size: 20px;
  font-weight: 700;
  color: #062141;
  margin-bottom: 8px;
}

.platform-link {
  font-size: 14px;
  color: #0a4d4d;
  font-weight: 600;
}

/* Featured Episode */
.featured-episode {
  background: linear-gradient(135deg, #062141, #0a4d4d);
  border-radius: 30px;
  padding: 60px 40px;
  color: white;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.featured-episode::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.featured-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.featured-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.featured-episode h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
}

.featured-episode p {
  font-size: 18px;
  line-height: 1.8;
  color: #e6f1f4;
  margin-bottom: 30px;
}

.listen-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #062141;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.listen-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, #062141, #0a4d4d);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease;
}

.paper-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #062141;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.paper-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Newsletter Section */
.newsletter-section {
  background: white;
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 80px auto;
  text-align: center;
}

.newsletter-section h3 {
  font-size: 32px;
  font-weight: 800;
  color: #062141;
  margin-bottom: 15px;
}

.newsletter-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 16px;
  font-family: "Tajawal", sans-serif;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #0a4d4d;
}

.newsletter-submit {
  padding: 15px 35px;
  background: linear-gradient(135deg, #062141, #0a4d4d);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Tajawal", sans-serif;
}

.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(6, 33, 65, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .podcast-hero {
    padding: 120px 20px 60px;
  }

  .podcast-hero h1 {
    font-size: 38px;
  }

  .podcast-hero p {
    font-size: 18px;
  }

  .podcast-icon {
    width: 100px;
    height: 100px;
    font-size: 50px;
  }

  .section-title {
    font-size: 32px;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-episode {
    padding: 40px 25px;
  }

  .featured-episode h2 {
    font-size: 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .podcast-hero h1 {
    font-size: 32px;
  }

  .podcast-hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .platforms-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Delays */
.episode-card:nth-child(1) { transition-delay: 0.1s; }
.episode-card:nth-child(2) { transition-delay: 0.2s; }
.episode-card:nth-child(3) { transition-delay: 0.3s; }
.episode-card:nth-child(4) { transition-delay: 0.4s; }
.episode-card:nth-child(5) { transition-delay: 0.5s; }
.episode-card:nth-child(6) { transition-delay: 0.6s; }