/* ── HERO SLIDER ── */
.ds-hero {
  position: relative;
  height: 88vh; max-height: 700px; min-height: 500px;
  overflow: hidden;
  background: var(--bg-primary);
  margin-top: 64px; /* fixed nav offset */
}

/* Full bleed background poster */
.hero-bg-image {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  transition: background-image .1s;
}

/* Lighter overlay — left-heavy so poster shows on right */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,10,15,0.96) 0%,
    rgba(10,10,15,0.75) 35%,
    rgba(10,10,15,0.30) 60%,
    rgba(10,10,15,0.05) 100%
  );
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, rgba(10,10,15,1) 0%, rgba(10,10,15,0) 100%);
}

/* Content */
.hero-content {
  position: relative; z-index: 3;
  padding: 60px 0 56px;
  max-width: 520px;
  animation: heroFadeIn .5s ease;
}
@keyframes heroFadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

.hero-badges { display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px; }

/* Now Streaming badge — purple not green */
.hero-live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 3px 10px; border-radius: var(--radius-sm);
}
.hero-live-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800; color: #fff;
  line-height: 1.05; margin-bottom: 10px;
  letter-spacing: -1px; text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero-tagline {
  font-size: 15px; color: rgba(255,255,255,0.55);
  font-weight: 400; margin-bottom: 12px; font-style: italic;
}
.hero-desc {
  font-size: 14px; color: rgba(255,255,255,0.50);
  line-height: 1.7; margin-bottom: 22px;
  max-width: 400px;
  /* 3-line max so it doesn't block too much */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 22px;
}
.hero-meta-item { font-size: 13px; color: rgba(255,255,255,.5); }
.hero-meta-dot  { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.25); flex-shrink: 0; }
.hero-rating    { display:flex;align-items:center;gap:4px;color:var(--gold);font-size:13px;font-weight:700; }

.hero-actions { display:flex;gap:10px;flex-wrap:wrap;margin-bottom:26px; }

/* Slider dots — pill style */
.hero-dots { display:flex;gap:6px;align-items:center; }
.hero-dot {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.18);
  cursor: pointer; transition: all .3s ease;
  border: none; padding: 0;
}
.hero-dot.active { background: var(--accent); width: 42px; box-shadow: 0 0 8px rgba(168,85,247,.5); }
.hero-dot:hover  { background: rgba(255,255,255,.35); }

/* Poster stack — right side, large screens */
.hero-poster {
  position: absolute; right: 72px; bottom: 56px;
  z-index: 3; display: none;
}
.hero-poster-img {
  width: 200px; height: 290px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.12);
  object-fit: cover;
  box-shadow: 0 20px 56px rgba(0,0,0,.65), 0 0 0 1px rgba(168,85,247,.08);
}

/* Poster stack — 3 posters layered */
.hero-poster-stack {
  position: absolute; right: 72px; bottom: 56px;
  z-index: 3; display: none;
  width: 200px; height: 290px;
}
.hero-poster-back {
  position: absolute;
  width: 170px; height: 245px;
  border-radius: 10px; object-fit: cover;
  border: 1px solid rgba(255,255,255,.06);
}
.hero-poster-back:nth-child(1) { right: -22px; bottom: 24px; opacity: 0.45; }
.hero-poster-back:nth-child(2) { right: -42px; bottom: 48px; opacity: 0.20; }
.hero-poster-front {
  position: relative; z-index: 1;
  width: 200px; height: 290px;
  border-radius: 10px; object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 56px rgba(0,0,0,.65), 0 0 0 1px rgba(168,85,247,.10);
  transition: transform .3s ease;
}
.hero-poster-stack:hover .hero-poster-front { transform: scale(1.02); }

@media (min-width: 1024px) {
  .hero-poster { display: block; }
  .hero-poster-stack { display: block; }
  .hero-poster { display: none; } /* use stack instead */
}

/* Inner layout */
.hero-inner {
  position: relative; z-index: 3;
  height: 100%; display: flex; align-items: flex-end;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-poster-stack { right: 32px; }
}
@media (max-width: 768px) {
  .ds-hero { height: 72vh; max-height: 540px; min-height: 400px; }
  .hero-poster, .hero-poster-stack { display: none !important; }
  .hero-content { padding: 36px 0 40px; max-width: 100%; }
  .hero-desc { -webkit-line-clamp: 2; }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(10,10,15,1) 0%,
      rgba(10,10,15,.75) 40%,
      rgba(10,10,15,.35) 75%,
      rgba(10,10,15,.15) 100%
    );
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 26px; letter-spacing: -.4px; }
  .hero-actions .btn-lg { padding: 11px 20px; font-size: 14px; }
}
