header {
  position: relative;
}

header h1 {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

header .seta-header {
  position: absolute;
  right: 0;
  top: 0;
}

.tag {
  border: 1px solid #131720;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(2px);
  padding: 0.3rem 1rem;
  display: flex;
  text-align: start;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;

  strong {
    color: #FFF;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #131720;
    text-transform: uppercase;
    font-weight: 900;
  }
}

section .img-player,
section .youtube-player {
  width: 100%;
  aspect-ratio: 16 / 9;
}

section .cta {
  width: fit-content;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 2rem 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #1B212D;
  margin-right: 1rem;

  &:last-child {
    margin-right: 0;
  }

  p {
    color: #FFF;
    font-weight: 700;
  }
}

.card.card--custom {
  flex-direction: row;
  padding: 1rem;
  background: transparent;
  border: 1px solid #131720;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 1rem;
  min-width: 373px;
  margin-right: 0;

  &:nth-child(1),
  &:nth-child(3) {
    margin-right: 1rem;
  }

  &:nth-child(3),
  &:nth-child(4) {
    margin-bottom: 0;
  }

  p {
    color: #131720;
    font-weight: 400;
    margin: 0;
    padding: 0;
  }
}

/* Playlist carousel */
#playlist-webserie {
  padding: 0.5rem 0 2rem;
}

.playlist-label {
  font-weight: 700;
  font-size: 1rem;
  color: #131720;
}

.owl-carousel-playlist {
  position: relative;
  padding: 0 2rem;
}

.owl-carousel-playlist .video-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.owl-carousel-playlist .thumbnail-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.owl-carousel-playlist .thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.owl-carousel-playlist .video-item:hover .thumbnail-wrapper img {
  transform: scale(1.04);
}

.owl-carousel-playlist .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}

.owl-carousel-playlist .video-item:hover .play-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.owl-carousel-playlist .play-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.owl-carousel-playlist .play-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.owl-carousel-playlist .video-item:hover .play-icon {
  transform: scale(1.1);
}

.owl-carousel-playlist .video-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #131720;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.owl-carousel-playlist .owl-nav button {
  position: absolute;
  top: calc(50% - 1.5rem);
  transform: translateY(-50%);
  background: #fff !important;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin: 0 !important;
}

.owl-carousel-playlist .owl-nav .owl-prev {
  left: -6px;
}

.owl-carousel-playlist .owl-nav .owl-next {
  right: -6px;
}

.owl-carousel-playlist .owl-dots {
  margin-top: 1rem;
}

footer .social img {
  filter: none;
}

@media (max-width: 768px) {
  .tag {
    width: fit-content;
  }

  section .img-player {
    width: auto;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .card,
  .card.card--custom {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .card.card--custom {
    min-width: 100%;
    margin-right: 0 !important;

    &:nth-child(3) {
      margin-bottom: 1rem;
    }
  }
}

@media (max-width: 425px) {
  .card {
    margin-right: 0;
  }
}