/* Trending Songs Section - Dumont */
.content-sections {
  display: flex;
  gap: 40px;
  margin: 60px 0;
}

.trending-songs-section {
  flex: 0 0 720px;
  max-width: 720px;
}

.trending-songs-header {
  background: linear-gradient(135deg, #005096 0%, #0066cc 100%);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  height: 40px;
  position: relative;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 80, 150, 0.3);
  margin-bottom: 20px;
}

.trending-songs-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.top15-icon {
  position: absolute;
  left: -120px;
  top: -50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

.trending-songs-title {
  font-weight: 950;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  margin-left: 80px;
}

.trending-songs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 0;
  background: #d0d0d0;
  padding: 30px;
}

.trending-song-card {
  position: relative;
  overflow: visible;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.trending-song-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.song-index-badge {
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: 15;
  background: transparent;
  backdrop-filter: none;
  border-bottom-right-radius: 0;
  padding: 0;
  box-shadow: none;
  pointer-events: none;
}

.trending-song-card:hover .song-index-badge {
  z-index: 5;
}

.index-number {
  display: inline-block;
  color: #ff8570;
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  border: 4px solid #ff8570;
  border-radius: 0;
  padding: 8px 12px;
  background: transparent;
}

.song-image-container {
  width: 100%;
  padding-bottom: 58%;
  /* Retângulo com mais altura (proporção ajustada) */
  position: relative;
  overflow: hidden;
}

.song-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.song-hover-overlay {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, rgba(0, 80, 150, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 35px;
  z-index: 25;
  pointer-events: none;
  gap: 15px;
  cursor: pointer;
}

.trending-song-card:hover .song-hover-overlay {
  opacity: 1;
  pointer-events: auto;
  z-index: 25;
}

.play-button {
  background: transparent;
  border: 3px solid #ff8570;
  border-radius: 0;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}

.play-button:hover {
  background: rgba(255, 133, 112, 0.2);
  transform: scale(1.05);
}

.trending-song-card .play-icon,
.trending-song-card .stop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: none;
  background: none;
  margin: 0;
}

.trending-song-card .play-icon svg,
.trending-song-card .stop-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: #ff8570 !important;
}

.trending-song-card .play-icon svg {
  margin-right: -10px !important;
}

.trending-song-card .play-icon svg path,
.trending-song-card .stop-icon svg rect,
.trending-song-card .play-icon svg *,
.trending-song-card .stop-icon svg * {
  fill: #ff8570 !important;
  stroke: none !important;
  border: none !important;
}

.hidden {
  display: none !important;
}

.song-details {
  text-align: center;
  color: white;
}

.song-artist {
  font-size: 0.9rem;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ff8570;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.song-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: white;
}

/* Podcast Section - Styles moved to podcasts.css */

/* Responsive adjustments */
@media (max-width: 1024px) {
  .content-sections {
    flex-direction: column;
    gap: 40px;
  }

  .trending-songs-section {
    flex: 1;
    max-width: 100%;
  }

  .trending-songs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .index-number {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {

  .trending-songs-title,
  .podcast-title {
    font-size: 1.5rem;
  }

  .trending-songs-grid {
    gap: 12px;
    padding: 15px;
  }

  .index-number {
    font-size: 1.4rem;
  }

  .song-index-badge {
    padding: 3px 8px;
  }
}

@media (max-width: 600px) {
  .trending-songs-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 35px;
    background: transparent;
    padding: 20px 0;
  }

  .trending-song-card {
    max-width: 280px;
    width: 100%;
  }

  .song-image-container {
    padding-bottom: 60%;
  }

  .index-number {
    font-size: 2.5rem;
    padding: 8px 14px;
    border: 4px solid #ff8570;
  }

  .song-index-badge {
    top: -4px;
    left: -8px;
  }

  .song-hover-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
  }

  .top15-icon {
    display: none;
  }

  .trending-songs-title {
    font-size: 0.85rem;
    margin-left: 0;
    text-align: left;
  }

  .trending-songs-header {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .content-sections {
    margin: 30px 0;
  }

  .trending-songs-grid {
    gap: 30px;
  }

  .trending-song-card {
    max-width: 240px;
  }

  .song-image-container {
    padding-bottom: 55%;
  }

  .index-number {
    font-size: 2.2rem;
    padding: 6px 12px;
    border: 3px solid #ff8570;
  }

  .song-index-badge {
    top: -4px;
    left: -8px;
  }

  .song-hover-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
  }

  .trending-songs-title {
    font-size: 0.8rem;
  }
}