/* ==========================================================================
   Hero Video Player Styles: Pista Green Light Theme (#e4f0e4ff)
   ========================================================================== */

.hero-video-container {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 1.25rem auto 2rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000000;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 45px -10px rgba(15, 41, 25, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.7);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-video-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Suppress Safari / WebKit native video dark overlay and controls scrim */
.hero-video-element::-webkit-media-controls,
.hero-video-element::-webkit-media-controls-panel,
.hero-video-element::-webkit-media-controls-enclosure,
.hero-video-element::-webkit-media-controls-overlay-enclosure,
.hero-video-element::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  background: none !important;
}

/* Ambient Glow Behind Video */
.hero-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, rgba(217, 119, 6, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Quick Audio / Unmute Toggle Pill Overlay */
.hero-audio-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: rgba(15, 41, 38, 0.85);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-audio-pill:hover {
  background: var(--accent-teal);
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .hero-video-container {
    margin: 1rem auto 1.5rem auto;
    border-radius: var(--radius-md);
  }

  .hero-ambient-glow {
    width: 320px;
    height: 180px;
    filter: blur(35px);
  }

  .hero-audio-pill {
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-video-container {
    margin: 0.85rem auto 1.25rem auto;
    border-radius: var(--radius-sm);
  }

  .hero-audio-pill {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
  }
}
