/* Spotcast Page Styles */

/* Filter Bar */
.spotcast-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.sc-filter-btn {
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.sc-filter-btn:hover, .sc-filter-btn.active {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 5px 15px rgba(119, 88, 163, 0.3);
}

/* Featured Episode */
.featured-episode {
  background: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  color: white;
  display: flex;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 60px;
  position: relative;
}

.featured-episode::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: var(--gradient-main);
  z-index: 2;
}

.fe-image {
  flex: 0 0 450px;
  position: relative;
}

.fe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fe-badge {
  position: absolute;
  top: 20px; left: 25px;
  background: #f44336;
  color: white;
  padding: 4px 18px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0px;
  box-shadow: 0 4px 10px rgba(244, 67, 54, 0.4);
}

.fe-content {
  padding: 50px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fe-meta {
  color: var(--accent-3);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
}

.fe-title {
  font-family: var(--font-body);
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--light);
  line-height: 1.2;
}

.fe-desc {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 35px;
  line-height: 1.6;
}

.fe-controls {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn-play-large {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  border: none;
  padding-left: 6px; /* Visual center for play icon */
  box-shadow: 0 10px 20px rgba(119, 88, 163, 0.4);
}

.btn-play-large:hover {
  transform: scale(1.1);
  background: var(--secondary);
  box-shadow: 0 10px 20px rgba(219, 62, 140, 0.4);
}

.fe-share {
  color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.fe-share:hover {
  background: rgba(255,255,255,0.2);
}

/* Episode List */
.episode-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.episode-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border: 1px solid transparent;
}

.episode-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  background: white;
  border-color: var(--accent-1);
}

.ep-cover {
  width: 110px;
  height: 110px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
}

.ep-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-details {
  flex: 1;
}

.ep-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
  font-weight: 700;
  display: flex;
  gap: 20px;
}

.ep-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ep-title {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.episode-item:hover .ep-title {
  color: var(--primary);
}

.ep-desc {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.ep-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-left: 25px;
  padding-right: 15px;
  border-left: 2px dashed rgba(119, 88, 163, 0.2);
}

.btn-play-small {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding-left: 4px;
}

.episode-item:hover .btn-play-small {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(119, 88, 163, 0.3);
}

.ep-duration {
  font-size: 13px;
  font-weight: 800;
  color: var(--secondary);
}

@media (max-width: 992px) {
  .featured-episode {
    flex-direction: column;
  }
  .fe-image {
    flex: 0 0 300px;
  }
  .fe-content {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .episode-item {
    flex-direction: column;
    text-align: center;
  }
  .ep-meta {
    justify-content: center;
  }
  .ep-action {
    border-left: none;
    border-top: 2px dashed rgba(119, 88, 163, 0.2);
    padding-left: 0;
    padding-top: 20px;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
}
