/* Motion decorativo do hero, contido na diagonal azul. */
.hero-backdrop { background: #101319; }
.hero-film {
  position: absolute;
  inset: 0 0 0 39%;
  clip-path: polygon(29% 0%, 100% 0%, 100% 100%, 0% 100%);
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  background: #1e3caa;
}
.hero-film__still,
.hero-film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-film__still {
  background: url('assets/vorbull-hero-poster.webp') center / cover no-repeat;
  filter: saturate(1.28) brightness(.89);
}
.hero-film__video {
  z-index: 1;
  display: block;
  object-fit: cover;
  object-position: 51% 50%;
  transform: scale(1.08);
  filter: brightness(1.15) contrast(1.11) saturate(1.18);
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-film.is-playing .hero-film__video { opacity: .92; }
.hero-film::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(97deg, rgba(48,85,224,.53) 0%, rgba(31,57,143,.26) 42%, rgba(9,23,54,.36) 100%),
    linear-gradient(180deg, rgba(12,18,34,.11), transparent 36%, rgba(10,18,29,.7) 96%);
}
.hero-backdrop::after {
  z-index: 4;
  background:
    linear-gradient(90deg, #101319 0%, rgba(16,19,25,.96) 14%, rgba(16,19,25,.66) 35%, rgba(16,19,25,.06) 67%),
    linear-gradient(180deg, rgba(16,19,25,.08) 28%, rgba(16,19,25,.65) 100%);
}
.hero-backdrop .sweep-a { z-index: 0; }
.hero-backdrop .sweep-b { z-index: 2; opacity: .17; }
.hero-backdrop .hero-giant { z-index: 2; }
.hero-backdrop .hero-grain { z-index: 3; }

@media (max-width: 850px) {
  .hero-film {
    inset: 0 0 0 37%;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 2% 100%);
  }
  .hero-backdrop::after {
    background:
      linear-gradient(90deg, #101319 0%, rgba(16,19,25,.91) 34%, rgba(16,19,25,.31) 100%),
      linear-gradient(180deg, transparent 55%, rgba(16,19,25,.7) 100%);
  }
}
@media (max-width: 580px) {
  .hero-film {
    inset: 0;
    clip-path: polygon(34% 0%, 100% 0, 100% 100%, 4% 100%);
  }
  .hero-film__video { object-position: 50% 50%; transform: scale(1.08); }
  .hero-backdrop::after {
    background:
      linear-gradient(90deg, rgba(16,19,25,.97) 0%, rgba(16,19,25,.72) 64%, rgba(16,19,25,.33) 100%),
      linear-gradient(180deg, transparent 37%, rgba(16,19,25,.88) 100%);
  }
  .hero-backdrop .sweep-b { opacity: .1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-film__video { display: none !important; }
}
