/* Homepage styles */

/* hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(34rem, 100vh, 68rem);
  min-height: clamp(34rem, 100svh, 68rem);
  padding: calc(var(--header-height) + var(--xl)) var(--gutter)
    clamp(5rem, 14vh, 9rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__bg {
  z-index: -2;
}

.hero__bg img {
  object-fit: cover;
  object-position: 50% 40%;
  animation: heroZoom 18s var(--ease) both;
}

/* tint + vignette so text stays readable on every crop */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      to right,
      rgba(216, 36, 36, 0.14),
      rgba(10, 17, 225, 0.14)
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.1) 35%,
      rgba(0, 0, 0, 0.55) 70%,
      var(--dark) 100%
    );
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--md);
  max-width: 50rem;
  animation: fadeInUp 1s var(--ease) both;
}

.hero-headline {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sm);
  margin-top: var(--xs);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: var(--lg);
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  opacity: 0.8;
}

.scroll-hint span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background-color: var(--light);
  animation: scrollHint 1.8s var(--ease) infinite;
}

/* sections */
.home-section {
  padding: var(--section-space) var(--gutter);
}

.home-section + .home-section {
  border-top: 1px solid var(--line);
}

/* latest release */
.release {
  background: radial-gradient(
      ellipse at 20% 30%,
      rgba(255, 107, 107, 0.12),
      transparent 60%
    ),
    var(--dark);
}

.release__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.release__cover {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease);
}

.release__cover:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}

.release__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sm);
}

.release__text h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.release__quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: var(--font-weight-bold);
}

.release__credits {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.release__credits p + p {
  margin-top: var(--xs);
}

.release__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sm);
  margin-top: var(--sm);
}

/* videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--md);
}

/* about teaser */
.about-teaser {
  text-align: center;
  background: radial-gradient(
      ellipse at 80% 70%,
      rgba(10, 17, 225, 0.16),
      transparent 60%
    ),
    var(--dark);
}

.about-teaser .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--md);
}

.about-teaser__text {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
}

/* booking */
.booking__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    120deg,
    rgba(216, 36, 36, 0.22),
    rgba(10, 17, 225, 0.22)
  );
}

.booking__inner > div {
  display: flex;
  flex-direction: column;
  gap: var(--xs);
  max-width: 36rem;
}

.booking .kicker {
  color: var(--light);
}

@media screen and (max-width: 900px) {
  .release__grid {
    grid-template-columns: 1fr;
  }

  .release__cover {
    max-width: 28rem;
    margin-inline: auto;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 600px) and (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid > :first-child {
    grid-column: span 2;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scrollHint {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

.hero .kicker {
  color: var(--light);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}
