/* Home hero (top movie) and small interaction polish for cards. Loaded after the main parts. */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 54vh, 560px);
  padding: 48px 4.5%;
  overflow: hidden;
  background: #2b1220;
  color: #fff;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.home-hero-poster-only .home-hero-bg {
  filter: blur(22px) brightness(0.55) saturate(1.2);
  transform: scale(1.15);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 19, 28, 0.94) 0%, rgba(23, 19, 28, 0.6) 55%, rgba(23, 19, 28, 0.15) 100%),
    linear-gradient(0deg, rgba(23, 19, 28, 0.55), transparent 35%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  max-width: 640px;
}
.home-hero .eyebrow {
  color: #ffca58;
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.home-hero-meta {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffca58;
}
.home-hero-description {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.6;
  color: #f4ecf7;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.home-hero-actions .btn {
  font-size: 17px;
  padding-inline: 24px;
}
html:root .home-hero .home-hero-actions .btn.primary {
  color: #2a1620 !important;
  background: #ffca58 !important;
}
html:root .home-hero .home-hero-actions .btn.secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}
.home-hero-poster {
  position: relative;
  z-index: 1;
  display: none;
  width: clamp(180px, 18vw, 260px);
  margin-left: auto;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
@media (min-width: 900px) {
  .home-hero-poster {
    display: block;
  }
}
@media (max-width: 600px) {
  .home-hero {
    min-height: 0;
    padding: 36px 5% 32px;
  }
  .home-hero-actions .btn {
    flex: 1 1 100%;
  }
}
.card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover,
  .card:focus-visible {
    transform: none;
  }
}
