#hero .kv-hero-video-host {
  position: relative;
  display: block !important;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  background: #06080d;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.46),
    0 0 70px rgba(139, 92, 246, 0.16);
  isolation: isolate;
}

#hero .kv-hero-video-host > :not(.kv-hero-video-card) {
  display: none !important;
}

#hero .kv-hero-video-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  background: #06080d;
}

#hero .kv-hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

#hero .kv-hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #06080d;
}

#hero .kv-hero-video-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 8, 14, 0.72);
  color: rgba(255, 255, 255, 0.9);
  font: 700 0.68rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

#hero .kv-hero-video-badge::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #ff6b57;
  box-shadow: 0 0 16px rgba(255, 107, 87, 0.85);
}

@media (min-width: 1024px) {
  #hero .kv-hero-video-host {
    align-self: start;
    justify-self: end;
    width: calc(100% + clamp(1.5rem, 2.8vw, 3rem));
  }
}

@media (max-width: 1023px) {
  #hero .kv-hero-video-host {
    width: min(100%, 46rem);
    justify-self: center;
    border-radius: 1.55rem;
  }
}

@media (max-width: 639px) {
  #hero .kv-hero-video-host {
    border-radius: 1.2rem;
  }

  #hero .kv-hero-video-badge {
    top: 0.7rem;
    left: 0.7rem;
    padding: 0.46rem 0.65rem;
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #hero .kv-hero-video {
    scroll-behavior: auto;
  }
}
