.cine-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, #1b0f3a 0%, #07040f 55%, #000 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
}
.cine-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(180deg, transparent 80%, #0a0a0a 100%);
}
.cine-stars,
.cine-nebula {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.cine-nebula {
  background:
    radial-gradient(40% 35% at 25% 30%, rgba(120, 60, 255, 0.28), transparent 70%),
    radial-gradient(35% 30% at 78% 65%, rgba(255, 170, 60, 0.18), transparent 70%);
  filter: blur(20px);
  opacity: 0;
  animation:
    cine-fade 4s 1s forwards,
    cine-drift 24s ease-in-out infinite alternate;
}
.cine-wheel {
  position: absolute;
  z-index: 1;
  width: min(135vmin, 1100px);
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  opacity: 0;
  scale: 0.6;
  fill: none;
  stroke: rgba(255, 215, 140, 0.5);
  stroke-width: 0.6;
  animation:
    cine-wheel-in 5s 3s cubic-bezier(0.2, 0.7, 0.2, 1) forwards,
    cine-spin 220s linear infinite;
}
.cine-wheel .dash {
  stroke-dasharray: 2 6;
}
.cine-wheel .ticks line {
  stroke: rgba(255, 215, 140, 0.55);
}
.cine-wheel text {
  fill: rgba(255, 225, 170, 0.9);
  stroke: none;
  font-size: 20px;
  text-anchor: middle;
  dominant-baseline: central;
}
.cine-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 14vh;
  background: #000;
  z-index: 4;
  animation: cine-bar 2.4s 0.2s cubic-bezier(0.7, 0, 0.2, 1) forwards;
}
.cine-bar--top {
  top: 0;
  transform-origin: top;
}
.cine-bar--bottom {
  bottom: 0;
  transform-origin: bottom;
}
.cine-bar {
  transform: scaleY(1);
}
.cine-credits {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 0 1.25rem;
  max-width: 1100px;
}
.cine-line,
.cine-word,
.cine-cta {
  opacity: 0;
  animation-delay: var(--d);
  animation-fill-mode: forwards;
}
.cine-line {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(0.75rem, 1.4vw, 1rem);
  letter-spacing: 0.6em;
  color: rgba(255, 235, 200, 0.85);
  animation-name: cine-reveal;
  animation-duration: 2.2s;
}
.cine-presents {
  animation-name: cine-reveal-out;
  animation-duration: 2.4s;
}
.cine-tag {
  position: absolute;
  top: -4.5rem;
  animation-name: cine-reveal-out;
  animation-duration: 2.6s;
  letter-spacing: 0.35em;
}
.cine-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  line-height: 1;
  letter-spacing: normal;
}
.cine-word {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  animation-name: cine-title-in;
  animation-duration: 1.8s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cine-word--small {
  font-size: clamp(1rem, 2.6vw, 2rem);
  letter-spacing: 0.7em;
  margin-right: -0.7em;
  color: rgba(255, 235, 200, 0.9);
  line-height: 1.8;
}
.cine-word--big {
  font-size: clamp(2.8rem, 12vw, 9.5rem);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff7de 10%, #ffd27a 45%, #c9791f 52%, #ffe7ae 80%);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 180, 60, 0.45));
}
.cine-word--big::after {
  content: "";
  position: absolute;
}
.cine-welcome {
  animation-duration: 2s;
  letter-spacing: 0.3em;
  margin-top: 0.6rem;
}
.cine-cta {
  padding: 1rem 2.2rem;
  margin-top: 1rem;
  animation-name: cine-reveal;
  animation-duration: 1.6s;
  box-shadow: 0 0 0 0 rgba(255, 190, 80, 0.5);
}
.cine-hero.is-done .cine-cta {
  animation: none;
  opacity: 1;
  animation: cine-pulse 2.6s infinite;
}
.cine-replay {
  position: absolute;
  z-index: 6;
  right: 1.25rem;
  bottom: calc(14vh + 0.75rem);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  animation: cine-fade 1s 10s forwards;
}
.cine-replay:hover {
  color: #fff;
  border-color: #fff;
}
.cine-hero.is-restarting * {
  animation: none !important;
}
@keyframes cine-fade {
  to {
    opacity: 1;
  }
}
@keyframes cine-drift {
  to {
    transform: translate3d(3%, -3%, 0) scale(1.1);
  }
}
@keyframes cine-spin {
  to {
    rotate: 360deg;
  }
}
@keyframes cine-wheel-in {
  to {
    opacity: 0.55;
    scale: 1;
  }
}
@keyframes cine-bar {
  to {
    transform: scaleY(0.0001);
  }
}
@keyframes cine-reveal {
  0% {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: 1em;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
@keyframes cine-reveal-out {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: scale(0.96);
  }
  30%,
  70% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.06);
  }
}
@keyframes cine-title-in {
  0% {
    opacity: 0;
    transform: scale(1.5) translateY(20px);
    filter: blur(18px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes cine-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 190, 80, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 18px rgba(255, 190, 80, 0);
  }
}
@media (max-width: 767px) {
  .cine-word--small {
    letter-spacing: 0.4em;
    margin-right: -0.4em;
  }
  .cine-line {
    letter-spacing: 0.3em;
  }
  .cine-tag {
    top: -3rem;
  }
  .cine-replay {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cine-hero * {
    animation-duration: 0.01s !important;
    animation-delay: 0s !important;
  }
  .cine-presents,
  .cine-tag {
    display: none;
  }
  .cine-bar {
    display: none;
  }
}
