/* =========================================================
   HOME.CSS
========================================================= */

.prime-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  padding: 150px 72px 90px;
  margin-bottom: 38px;
  overflow: hidden;
  background: #02060d;
}

.hero-bg,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.20), transparent 26%),
    linear-gradient(135deg, var(--c1), var(--c2));
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-video.has-video {
  opacity: 0.74;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(2, 6, 13, 0.92), rgba(2, 6, 13, 0.35) 42%, rgba(2, 6, 13, 0.04)),
    linear-gradient(0deg, #02060d 0%, rgba(2, 6, 13, 0.1) 42%, rgba(2, 6, 13, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, 92%);
}

/*.hero-provider {
  display: inline-block;
  margin-bottom: 20px;
  color: #DEAA00;
  font-size: 24px;
  font-weight: 950;
}*/

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(54px, 7vw, 116px);
  line-height: 0.88;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 700px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.45;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 800;
}

.hero-meta span:first-child {
  color: #20f0a0;
  font-weight: 950;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px !important;
}

.hero-note img {
  width: 18px;
  height: 18px;
}


.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 58px;
  height: 96px;
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.25s ease;
}

.prime-hero:hover .hero-arrow,
.catalog-hero:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow.left {
  left: 18px;
}

.hero-arrow.right {
  right: 18px;
}

.hero-arrow img {
  width: 42px;
  filter: brightness(0) invert(1);
}

/* TOP 10 PRIME-LIKE */

.top10-card {
  position: relative;
  flex: 0 0 390px;
  height: 230px;
  transition: flex-basis 0.34s ease, transform 0.34s ease;
}

.top10-card:hover,
.top10-card.is-open {
  flex-basis: 640px;
  transform: translateY(-8px);
  z-index: 30;
}

.top10-number {
  position: absolute;
  left: 0;
  bottom: 15px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.44);
  font-size: 134px;
  font-weight: 950;
  line-height: 0.8;
}

.top10-poster {
  position: absolute;
  top: 0;
  left: 92px;
  width: 290px;
  height: 190px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.58);
  transition: width 0.34s ease, height 0.34s ease;
}

.top10-card:hover .top10-poster,
.top10-card.is-open .top10-poster {
  width: 545px;
  height: 250px;
}

.top10-hover {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 8;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.top10-card:hover .top10-hover,
.top10-card.is-open .top10-hover {
  opacity: 1;
  transform: translateY(0);
}

.top10-hover p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

/* Home page uses the additive Mwinda cinema panel styles appended in global.css. */

/* =====================================================
   MWINDA HOME RESPONSIVE
   Home-only rules. Catalog hero structure stays in catalog.css.
===================================================== */

/* Tablet */
@media (max-width: 900px) {
  .hero-content {
    width: min(660px, 94vw);
  }

  .hero-content h1 {
    font-size: clamp(40px, 10vw, 68px);
    letter-spacing: -0.045em;
  }

  .hero-content p {
    max-width: 92vw;
    font-size: clamp(14px, 2.2vw, 17px);
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Disable desktop expansion on touch/tablet */
  .top10-card,
  .top10-card:hover,
  .top10-card.is-open {
    flex: 0 0 310px;
    height: 195px;
    transform: none;
  }

  .top10-number {
    font-size: 92px;
    bottom: 22px;
  }

  .top10-poster,
  .top10-card:hover .top10-poster,
  .top10-card.is-open .top10-poster {
    left: 58px;
    width: 230px;
    height: 150px;
  }

  .top10-hover {
    left: 68px;
    bottom: 12px;
    opacity: 1;
    transform: none;
  }
}

/* Phone */
@media (max-width: 560px) {
  .hero-content h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .hero-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-meta {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
  }

  .hero-note {
    font-size: 12px !important;
  }

  .top10-card,
  .top10-card:hover,
  .top10-card.is-open {
    flex-basis: 260px;
    height: 170px;
  }

  .top10-number {
    font-size: 76px;
  }

  .top10-poster,
  .top10-card:hover .top10-poster,
  .top10-card.is-open .top10-poster {
    left: 48px;
    width: 198px;
    height: 128px;
  }
}

/* Small phone / iPhone SE */
@media (max-width: 390px) {
  .hero-content h1 {
    font-size: clamp(31px, 11vw, 42px);
  }

  .hero-content p {
    font-size: 13px;
  }

  .top10-card,
  .top10-card:hover,
  .top10-card.is-open {
    flex-basis: 230px;
    height: 154px;
  }

  .top10-number {
    font-size: 68px;
  }

  .top10-poster,
  .top10-card:hover .top10-poster,
  .top10-card.is-open .top10-poster {
    left: 43px;
    width: 176px;
    height: 116px;
  }

  .top10-hover {
    left: 52px;
  }
}

/* Touch devices: avoid hover-only enlargement */
@media (hover: none), (pointer: coarse) {
  .top10-card:hover,
  .top10-card.is-open {
    transform: none;
  }
}
