.home-video-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.25rem, 8vw, 7rem) 0;
  color: #fff;
  background:
    radial-gradient(circle at 8% 12%, rgba(239, 71, 111, 0.4), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(0, 180, 216, 0.32), transparent 25%),
    radial-gradient(circle at 75% 92%, rgba(255, 190, 11, 0.2), transparent 24%),
    linear-gradient(135deg, #161827, #3a2463 48%, #075b67);
}

.home-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(350px, 1.18fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

.home-video-copy {
  position: relative;
  z-index: 2;
}

.home-video-copy .eyebrow { color: #ff9bb0; }
.home-video-copy .section-title { max-width: 650px; }
.home-video-copy .section-title em { color: #ffd166; }
.home-video-copy .section-copy {
  max-width: 560px;
  color: #d7d7e1;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.home-video-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.8rem;
}

.home-video-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 680px;
}

.home-video-stage::before,
.home-video-stage::after {
  content: "";
  position: absolute;
  border-radius: 36px;
  pointer-events: none;
}

.home-video-stage::before {
  width: min(72vw, 510px);
  height: min(72vw, 510px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transform: rotate(15deg);
}

.home-video-stage::after {
  width: 112px;
  height: 112px;
  right: 5%;
  top: 8%;
  background: linear-gradient(145deg, #ffbe0b, #ef476f 52%, #7b2cbf);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  transform: rotate(22deg);
}

.home-video-card {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  transform: rotate(1.4deg);
}

.home-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 29px;
  background: #10131c;
}

.home-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #10131c;
}

.home-video-frame video:focus-visible,
.home-video-play:focus-visible {
  outline: 3px solid #ffd166;
  outline-offset: -5px;
}

.home-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 126px;
  min-height: 126px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.28rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: #fff;
  background: rgba(22, 24, 39, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.home-video-play:hover {
  background: rgba(214, 31, 105, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.home-video-play.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.86);
}

.home-video-play-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding-left: 0.18rem;
  border-radius: 50%;
  color: #1d1f30;
  background: #ffd166;
  font-size: 1rem;
}

.home-video-play > span:not(.home-video-play-icon) {
  font-size: 0.9rem;
  font-weight: 900;
}

.home-video-caption {
  margin: 0;
  padding: 0.8rem 0.45rem 0.35rem;
  color: #dedee7;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.home-video-glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.home-video-glow-one {
  width: 180px;
  height: 180px;
  left: -70px;
  bottom: -65px;
  background: rgba(255, 190, 11, 0.2);
}

.home-video-glow-two {
  width: 130px;
  height: 130px;
  right: 12%;
  bottom: 8%;
  background: rgba(6, 214, 160, 0.2);
}

@media (max-width: 840px) {
  .home-video-grid { grid-template-columns: 1fr; }
  .home-video-copy { text-align: center; }
  .home-video-copy .section-copy { margin-inline: auto; }
  .home-video-actions { justify-content: center; }
  .home-video-stage { min-height: 620px; }
  .home-video-card { width: min(100%, 360px); transform: none; }
}

@media (max-width: 620px) {
  .home-video-section { padding: 3.8rem 0; }
  .home-video-grid { gap: 2.2rem; }
  .home-video-actions { align-items: stretch; flex-direction: column; }
  .home-video-actions .button { width: 100%; }
  .home-video-stage { min-height: 0; }
  .home-video-card { width: min(100%, 342px); padding: 0.5rem; border-radius: 30px; }
  .home-video-frame { border-radius: 24px; }
  .home-video-play { width: 110px; min-height: 110px; }
  .home-video-stage::before { width: 88vw; height: 88vw; }
  .home-video-stage::after { width: 72px; height: 72px; right: 0; top: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-video-card,
  .home-video-play,
  .home-video-play:hover { transform: translate(0); }
  .home-video-card { transform: none; }
  .home-video-play,
  .home-video-play:hover { transform: translate(-50%, -50%); }
}
