/* ============================================
   HERO BANNER - Disney+ Style
   banner.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;900&display=swap');

.hero-slider {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 500px;
  overflow: hidden;
  background: #040714;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
  color: white;
}

/* ---- Slides ---- */

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Background Image mit Zoom-Effekt */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(0.2, 0, 0.2, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

/* ---- Overlays ---- */

/* Klassischer Disney+ Vignette-Effekt von links */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 25% 50%,
    transparent 0%,
    rgba(4, 7, 20, 0.1) 30%,
    rgba(4, 7, 20, 0.65) 70%,
    #040714 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Verlauf nach unten */
.hero-bottom-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #040714 0%,
    rgba(4, 7, 20, 0.5) 20%,
    transparent 45%
  );
  z-index: 2;
  pointer-events: none;
}

/* ---- Content ---- */

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 4rem;
}

.hero-content-inner {
  max-width: 580px;
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(6px);
  transition: all 0.9s cubic-bezier(0.2, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.hero-slide.active .hero-content-inner {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Badge */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
}

.hero-badge.original {
  background: linear-gradient(135deg, #7b5ea7 0%, #5a3d8a 100%);
  border: none;
}

.hero-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* Titel */
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  color: white;
}

/* Untertitel */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

/* Beschreibung */
.hero-description {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ---- Buttons ---- */

.hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Play-Button */
.hero-btn-primary {
  background: white;
  color: #040714;
}

.hero-btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero-btn-primary:active {
  transform: scale(0.97);
}

/* Watchlist-Button */
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.03);
}

.hero-btn-secondary:active {
  transform: scale(0.97);
}

/* ---- Navigation Pfeile ---- */

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease;
}

.hero-slider:hover .hero-nav {
  opacity: 1;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero-nav svg {
  width: 22px;
  height: 22px;
}

.hero-nav-prev { left: 1.25rem; }
.hero-nav-next { right: 1.25rem; }

/* ---- Dots ---- */

.hero-dots {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.active {
  background: white;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.55);
  transform: scale(1.3);
}

/* ---- Progress Bar ---- */

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.hero-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  width: 0%;
  transition: width 0.08s linear;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .hero-slider { height: 70vh; }
  .hero-content { padding: 0 1.5rem; }
  .hero-nav { display: none; }
  .hero-btn { padding: 0.75rem 1.4rem; font-size: 0.875rem; }
}

@media (max-width: 480px) {
  .hero-slider { height: 80vh; min-height: 480px; }
  .hero-title { font-size: 2rem; }
  .hero-description { display: none; }
}
