/* ============================================
   Hero Slider (Premium Version)
   ============================================ */
.ao-hero-slider {
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin-bottom: 40px;
  background: #0b0d17;
  overflow: hidden;
}

.ao-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ao-hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ao-hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) brightness(0.75); /* Much clearer banner */
  transform: scale(1.02);
}

.ao-hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient shifts focus to the left for text, keeps right side clear for artwork */
  background: linear-gradient(
    90deg,
    rgba(11, 13, 23, 0.9) 0%,
    rgba(11, 13, 23, 0.4) 50%,
    rgba(11, 13, 23, 0.1) 100%
  );
  z-index: 2;
}

.ao-hero-slide__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ao-hero-slide__info {
  max-width: 550px;
  animation: fadeInLeft 0.8s ease backwards;
}

.ao-hero-slide__meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.ao-hero-slide__status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.ao-status-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ecc71;
}

.ao-hero-slide__genres {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ao-genre-tag {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #eee;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ao-hero-slide__title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ao-hero-slide__excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 450px;
}

.ao-hero-slide__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ao-hero-slide__actions .ao-btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
}

.ao-hero-slide__actions .ao-btn-primary {
  background: #6c5ce7;
  border-color: #6c5ce7;
}

.ao-hero-slide__actions .ao-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(5px);
}

.ao-hero-slide__actions .ao-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.ao-hero-slide__cover {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 2/3;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: fadeInRight 0.8s ease backwards;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ao-hero-slide__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Progress Bar */
.ao-hero-slider__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.ao-hero-slider__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--ao-primary, #6c5ce7);
  box-shadow: 0 0 10px var(--ao-primary, #6c5ce7);
  transition: width linear; /* Logic will be handled in JS */
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Swiper Nav */
.ao-hero-slider .swiper-button-next,
.ao-hero-slider .swiper-button-prev {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  backdrop-filter: blur(10px);
}

.ao-hero-slider .swiper-button-next::after,
.ao-hero-slider .swiper-button-prev::after {
  font-size: 18px;
}

.ao-hero-slider .swiper-pagination-bullet {
  background: #fff;
  width: 12px;
  height: 12px;
}

.ao-hero-slider .swiper-pagination-bullet-active {
  background: #6c5ce7;
  width: 12px;
}

/* Responsive Slider */
@media (max-width: 992px) {
  .ao-hero-slide__cover {
    width: 35%;
  }
  .ao-hero-slide__info {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ao-hero-slide__actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ao-hero-slider {
    height: 480px;
  }
  .ao-hero-slide__title {
    font-size: 26px;
  }
}

/* Adult (+18) blur overrides for hero slider */
.ao-hero-slide__bg.is-adult-blurred img {
  filter: blur(16px) brightness(0.6);
  transform: scale(1.08);
}

.ao-hero-slide__cover.is-adult-blurred {
  position: relative;
}

.ao-hero-slide__cover.is-adult-blurred img {
  filter: blur(14px);
  transform: scale(1.06);
}
