#hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

#hero.hero-poster {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 78px;
  place-items: stretch;
  overflow: hidden;
  background: #000;
}

#hero.hero-poster::before,
#hero.hero-poster::after {
  display: none;
}

.hero-poster__media {
  position: relative;
  inset: auto;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
}

.hero-poster__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #000;
}

.hero-poster__continue {
  position: relative;
  z-index: 4;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  width: max-content;
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--border-radius-full);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-white);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(212, 0, 31, 0.18);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.hero-poster__continue span:last-child {
  color: var(--color-gold);
  font-size: 1rem;
  animation: heroPosterArrow 1.5s ease-in-out infinite;
}

.hero-poster__continue:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.72);
  background: rgba(0, 0, 0, 0.92);
}

@keyframes heroPosterArrow {
  0%,
  100% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(4px);
  }
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: var(--button-height);
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--border-radius-full);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-red);
  box-shadow: var(--shadow-red);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 768px) {
  #hero.hero-poster {
    height: 100svh;
    min-height: 100svh;
    grid-template-rows: minmax(0, 1fr) 68px;
  }

  .hero-poster__continue {
    max-width: calc(100% - 24px);
    padding: 10px 15px;
    font-size: 0.57rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 390px) {
  #hero.hero-poster {
    grid-template-rows: minmax(0, 1fr) 66px;
  }

  .hero-poster__continue {
    width: calc(100% - 28px);
    max-width: 340px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-poster__continue span:last-child {
    animation: none;
  }
}
