/**
 * Full-width video backgrounds — lingerie hero & compact page banners
 */

.luxe-video-hero,
.luxe-video-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--luxe-bg, #1f1a2e);
}

.luxe-video-hero__media,
.luxe-video-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.luxe-video-hero__video,
.luxe-video-banner__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.luxe-video-hero__overlay,
.luxe-video-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 26, 46, 0.35) 0%,
    rgba(31, 26, 46, 0.55) 45%,
    rgba(31, 26, 46, 0.92) 100%
  );
  z-index: 1;
}

.luxe-video-hero__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(31, 26, 46, 0.65);
  z-index: 2;
  pointer-events: none;
}

.luxe-video-hero--home {
  min-height: clamp(420px, 85vh, 920px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.luxe-video-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 42rem;
  margin: 0 auto;
}

.luxe-video-hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem) !important;
  margin: 0 0 1rem !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.luxe-video-hero__lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: rgba(248, 231, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.luxe-video-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.luxe-btn-gold.wp-block-button__link {
  background: var(--luxe-accent, #d4af77) !important;
  color: var(--luxe-bg, #1f1a2e) !important;
}

.luxe-video-hero__note {
  font-size: 0.85rem;
  color: rgba(248, 231, 255, 0.55);
}

/* Legacy compact video banner (unused; kept for safety) */
.luxe-video-banner--compact {
  height: clamp(200px, 38vh, 420px);
  margin-bottom: 2rem;
  border-radius: 0 0 20px 20px;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.luxe-video-banner--compact .luxe-video-banner__overlay {
  background: linear-gradient(
    180deg,
    rgba(31, 26, 46, 0.25) 0%,
    rgba(31, 26, 46, 0.88) 100%
  );
}

/* No video URL — gradient fallback (poster optional via CSS background) */
.luxe-video-hero--no-video .luxe-video-hero__video,
.luxe-video-banner--no-video .luxe-video-banner__video {
  display: none;
}

.luxe-video-hero--no-video .luxe-video-hero__media,
.luxe-video-banner--no-video .luxe-video-banner__media {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232, 168, 200, 0.18), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(212, 175, 119, 0.12), transparent 45%),
    var(--luxe-bg, #1f1a2e);
}

.luxe-video-hero--has-poster .luxe-video-hero__media,
.luxe-video-banner--has-poster .luxe-video-banner__media {
  background-size: cover;
  background-position: center center;
}

@media (prefers-reduced-motion: reduce) {
  .luxe-video-hero__video,
  .luxe-video-banner__video {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .luxe-video-hero--home {
    min-height: 72vh;
  }
}
