/* Homepage-only cinema layout. Loaded after the shared v2 mobile rules. */
body.v2-cinema-home::before {
  display: none;
}

.v2-cinema-home .v2-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: 0 !important;
}

.v2-cinema-home .v2-header-panel {
  background: transparent !important;
}

.v2-cinema-home.is-v2-scrolled .v2-header {
  background: transparent !important;
}

.v2-cinema-home .v2-shell {
  width: 100% !important;
  max-width: none !important;
  padding-top: 0 !important;
  padding-inline: 0 !important;
}

.v2-cinema-home .v2-home-stack > .v2-section,
.v2-cinema-home .v2-home-stack > .v2-notice {
  width: min(1560px, calc(100% - 4rem));
  margin-inline: auto;
}

.v2-cinema-home .v2-home-stack > .v2-hero {
  width: 100%;
  min-height: clamp(30rem, 35vw, 46rem) !important;
  margin: 0 !important;
  padding: 8rem max(3rem, calc((100% - 1464px) / 2)) 3.5rem !important;
  display: flex;
  align-items: flex-end;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #090d12;
}

.v2-cinema-home .v2-hero-video {
  opacity: 1;
  object-fit: cover;
  object-position: center;
}

.v2-cinema-home .v2-hero::after {
  background:
    linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, .99) 12%, rgba(8, 8, 8, .85) 27%, rgba(8, 8, 8, .46) 46%, rgba(8, 8, 8, .12) 65%, transparent 82%),
    linear-gradient(90deg, rgba(5, 8, 12, .8) 0%, rgba(5, 8, 12, .46) 40%, rgba(5, 8, 12, .08) 75%),
    linear-gradient(180deg, rgba(5, 8, 12, .24), transparent 30%);
}

.v2-cinema-home .v2-home-stack .v2-hero-copy {
  width: min(100%, 46rem);
  max-width: 46rem;
  min-height: 0;
  gap: 1rem !important;
}

.v2-cinema-home .v2-hero .v2-title {
  max-width: 40rem;
  font-size: clamp(2.6rem, 3.8vw, 3.8rem) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.v2-cinema-home .v2-hero .v2-text {
  max-width: 36rem;
  color: #e0e2e4;
}

@media (max-width: 980px) and (min-width: 761px) {
  .v2-cinema-home .v2-home-stack > .v2-hero {
    padding-top: 8rem !important;
  }
}

@media (max-width: 760px) {
  .v2-cinema-home .v2-home-stack > .v2-section,
  .v2-cinema-home .v2-home-stack > .v2-notice {
    width: calc(100% - 1.1rem);
  }

  .v2-cinema-home .v2-home-stack > .v2-hero {
    min-height: 28rem !important;
    padding: 6rem 1.25rem 2.5rem !important;
    align-items: flex-end;
  }

  .v2-cinema-home .v2-home-stack .v2-hero-copy {
    gap: 1rem !important;
  }

  .v2-cinema-home .v2-hero .v2-title {
    max-width: 32rem;
    font-size: clamp(2rem, 7.5vw, 2.8rem) !important;
  }

  .v2-cinema-home .v2-hero .v2-text {
    max-width: 30rem;
    font-size: .88rem !important;
    line-height: 1.55 !important;
  }

  .v2-cinema-home .v2-hero .v2-actions .v2-button {
    min-height: 2.9rem !important;
  }
}

body.v2-cinema-home { background: #080808; }
.v2-cinema-home .v2-home-stack,
.v2-cinema-home .v2-section,
.v2-cinema-home .v2-carousel { min-width: 0; }
.v2-cinema-home .v2-carousel { position: relative; width: 100%; }
.v2-cinema-home .v2-home-stack :is(.v2-rail, .v2-continue-rail) {
  width: 100%; min-width: 0; max-width: 100% !important;
  overflow-x: auto !important; overflow-y: hidden;
  padding: .15rem 0 .65rem !important;
  scroll-behavior: auto; scroll-snap-type: none !important;
  touch-action: pan-x pan-y !important;
  mask-image: none; -webkit-mask-image: none;
}
.v2-cinema-home .v2-home-stack .v2-expand-link {
  flex-shrink: 0; min-height: 2rem; padding: .25rem .55rem;
  border: 0; border-radius: 0;
  background: transparent; color: #969699;
  font-size: .78rem; font-weight: 500; gap: .4rem;
}
.v2-cinema-home .v2-home-stack .v2-expand-link:hover {
  color: #dedee0; background: transparent; transform: none;
}
.v2-rail-arrow {
  position: absolute; top: 40%; z-index: 3; transform: translateY(-50%);
  width: 2.1rem; height: 2.6rem; padding: 0; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(30,30,33,.72);
  color: #e3e3e5; backdrop-filter: blur(12px); cursor: pointer;
  display: grid; place-items: center; font-size: 1.6rem;
  transition: opacity .18s, background .18s;
}
.v2-rail-arrow[data-direction="-1"] { left: .25rem; }
.v2-rail-arrow[data-direction="1"] { right: .25rem; }
.v2-rail-arrow:disabled { opacity: 0; pointer-events: none; }
.v2-rail-arrow:hover { background: rgba(65,65,70,.85); }
.v2-rail-arrow:focus-visible, .v2-expand-link:focus-visible { outline: 2px solid #bdbdc7; outline-offset: 3px; }
.v2-carousel .is-dragging, .v2-carousel .is-dragging a { cursor: grabbing; }
@media (max-width: 760px) {
  .v2-cinema-home .v2-section-head { align-items: center; gap: .5rem; }
  .v2-cinema-home .v2-home-stack .v2-expand-link { font-size: .7rem; padding: .2rem .4rem; }
  .v2-rail-arrow { width: 1.75rem; height: 2.25rem; }
}

.v2-cinema-home .v2-center-action { margin-top: -.45rem; }
.v2-cinema-home .v2-expand-link span { font-size: 1.1rem; line-height: 1; }

.v2-cinema-home .v2-home-stack .v2-expand-link { align-items: center; line-height: 1.25; }
.v2-cinema-home .v2-home-stack .v2-expand-chevron {
  display: block; flex: 0 0 .8rem; width: .8rem; height: .8rem;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.v2-cinema-home .v2-header { isolation: isolate; }
.v2-cinema-home .v2-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(39,43,48,.76), rgba(30,34,39,.56));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: opacity .4s cubic-bezier(.22,.61,.36,1);
}
.v2-cinema-home.is-v2-scrolled .v2-header::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .v2-cinema-home .v2-header::before { transition-duration: .01ms; }
}
