/* ==========================================================================
   Elderly Christmas Hampers — featured campaign video (Oyate brand colors)
   ========================================================================== */

.xmas-video-section {
  padding-top: var(--nx-space-xl);
  padding-bottom: var(--nx-space-xl);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(42, 138, 67, 0.08), transparent 70%),
    var(--nx-white);
}

.xmas-featured-video {
  max-width: 960px;
  margin: 0 auto;
}

.xmas-video-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0f2418;
  box-shadow:
    0 28px 70px rgba(31, 107, 51, 0.16),
    0 0 0 1px rgba(42, 153, 208, 0.14);
}

.xmas-video-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--nx-gradient-brand);
  z-index: 3;
  pointer-events: none;
}

.xmas-video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 36, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.xmas-video-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nx-green-light, #78BF45);
  box-shadow: 0 0 0 4px rgba(120, 191, 69, 0.22);
}

.xmas-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a1810;
}

.xmas-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.xmas-featured-video.is-playing .xmas-video-frame video {
  opacity: 1;
  z-index: 2;
}

.xmas-video-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.xmas-video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 24, 0.18) 0%, rgba(15, 36, 24, 0.72) 100%),
    radial-gradient(circle at center, rgba(42, 153, 208, 0.12), transparent 55%);
  z-index: 1;
}

.xmas-video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xmas-video-play {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--nx-gradient-brand);
  box-shadow:
    0 18px 40px rgba(42, 138, 67, 0.38),
    0 0 0 12px rgba(42, 153, 208, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xmas-video-play svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.xmas-video-play-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(120, 191, 69, 0.45);
  animation: xmasPlayPulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes xmasPlayPulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.xmas-video-play-label {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.xmas-video-poster:hover .xmas-video-play,
.xmas-video-poster:focus-visible .xmas-video-play {
  transform: scale(1.06);
  box-shadow:
    0 22px 48px rgba(42, 138, 67, 0.45),
    0 0 0 14px rgba(42, 153, 208, 0.16);
}

.xmas-featured-video.is-playing .xmas-video-poster {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.xmas-video-caption {
  margin: 18px 0 0;
  text-align: center;
  color: var(--nx-text);
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.xmas-video-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.xmas-video-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nx-green-dark, #1F6B33);
  background: rgba(42, 138, 67, 0.08);
  border: 1px solid rgba(42, 138, 67, 0.14);
}

@media (max-width: 640px) {
  .xmas-video-stage {
    border-radius: 16px;
  }

  .xmas-video-play {
    width: 72px;
    height: 72px;
  }

  .xmas-video-play svg {
    width: 28px;
    height: 28px;
  }

  .xmas-video-play-label {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xmas-video-play-ring {
    animation: none;
  }

  .xmas-video-poster,
  .xmas-video-frame video,
  .xmas-video-play {
    transition: none;
  }
}
