/* =========================================================
   V15 — one video player with a compact playlist
   ========================================================= */

.video-showcase {
  display: grid;
  gap: 15px;
  padding: 8px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(244, 250, 247, 0.35)),
    rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 16px 44px rgba(25, 49, 46, 0.07);
}

.video-showcase-player {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  overflow: hidden;
  border-radius: 31px;
  color: #f6faf8;
  background:
    radial-gradient(ellipse at 22% 16%, rgba(115, 182, 166, 0.28), transparent 45%),
    linear-gradient(140deg, #162220, #0a0e0e 78%);
  isolation: isolate;
  transition: background 0.5s ease;
}

.video-showcase-player[data-theme="wedding"] {
  background:
    radial-gradient(ellipse at 78% 18%, rgba(224, 193, 174, 0.28), transparent 43%),
    linear-gradient(140deg, #241f1d, #0d0c0c 78%);
}

.video-showcase-player[data-theme="social"] {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(107, 157, 186, 0.3), transparent 47%),
    linear-gradient(140deg, #141e23, #080b0d 78%);
}

.video-showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.video-showcase-glow {
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  right: 6%;
  top: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 196, 178, 0.26), transparent 68%);
  filter: blur(18px);
  transition: background 0.5s ease;
}

.video-showcase-player[data-theme="wedding"] .video-showcase-glow {
  background: radial-gradient(circle, rgba(227, 194, 166, 0.28), transparent 68%);
}

.video-showcase-player[data-theme="social"] .video-showcase-glow {
  background: radial-gradient(circle, rgba(125, 174, 205, 0.3), transparent 68%);
}

.video-showcase-orb {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  left: 36%;
  top: 26%;
  border-radius: 50%;
  border: 1px solid rgba(214, 239, 231, 0.16);
  box-shadow:
    0 0 0 38px rgba(214, 239, 231, 0.025),
    0 0 0 80px rgba(214, 239, 231, 0.014);
}

.video-showcase-line {
  position: absolute;
  left: 9%;
  bottom: 24%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 243, 237, 0.3), transparent);
}

.video-showcase-copy {
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  bottom: clamp(22px, 4vw, 46px);
  z-index: 3;
  width: min(520px, 53%);
}

.video-showcase-eyebrow {
  display: block;
  margin-bottom: 13px;
  color: rgba(213, 237, 229, 0.64);
  font-family: var(--serif-en);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.video-showcase-copy h3 {
  color: #f5f9f7;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.video-showcase-copy p {
  max-width: 470px;
  margin-top: 11px;
  color: rgba(240, 247, 243, 0.68);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.75;
}

.video-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.video-showcase-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: rgba(235, 247, 242, 0.66);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.video-showcase-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translate(-50%, -50%);
  color: rgba(245, 250, 247, 0.86);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.video-showcase-play > span {
  display: grid;
  place-items: center;
  width: clamp(58px, 6vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 12px 35px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}

.video-showcase-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  margin-left: 3px;
}

.video-showcase-play small {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.video-showcase-play:hover > span {
  background: rgba(255, 255, 255, 0.19);
  transform: scale(1.05);
}

.video-showcase-count {
  position: absolute;
  right: clamp(22px, 4vw, 42px);
  bottom: clamp(22px, 4vw, 36px);
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: rgba(234, 245, 240, 0.46);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.video-showcase-count b {
  color: #f2f8f5;
  font-size: 13px;
  font-weight: 600;
}

.video-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.video-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 60px;
  padding: 9px 13px;
  border-radius: 20px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition:
    color 0.25s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease);
}

.video-choice:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.video-choice.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 4px 14px rgba(25, 49, 46, 0.08);
}

.video-choice-index {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-family: var(--serif-en);
  font-size: 9px;
  font-style: italic;
}

.video-choice.is-active .video-choice-index {
  color: var(--green-deep);
}

.video-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.video-choice-copy strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.video-choice-copy small {
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--serif-en);
  font-size: 8px;
  font-style: italic;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-choice-info {
  position: absolute;
  left: 9px;
  bottom: calc(100% + 10px);
  z-index: 8;
  width: max-content;
  max-width: 240px;
  padding: 9px 12px;
  border-radius: 13px;
  color: rgba(244, 250, 247, 0.82);
  background: rgba(18, 28, 27, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 26px rgba(12, 22, 20, 0.16);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.video-choice:hover .video-choice-info,
.video-choice:focus-visible .video-choice-info {
  opacity: 1;
  transform: translateY(0);
}

.video-choice:focus-visible {
  outline: 2px solid rgba(0, 113, 227, 0.42);
  outline-offset: 2px;
}

.video-showcase-note {
  min-height: 0;
  margin: -4px 4px 2px;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-showcase-note.is-visible {
  opacity: 1;
}

@media (max-width: 760px) {
  .video-showcase {
    gap: 10px;
    padding: 6px;
    border-radius: 30px;
  }

  .video-showcase-player {
    aspect-ratio: auto;
    min-height: 0;
    height: 300px;
    border-radius: 25px;
  }

  .video-showcase-copy {
    left: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
  }

  .video-showcase-eyebrow {
    margin-bottom: 8px;
    font-size: 7px;
  }

  .video-showcase-copy h3 {
    font-size: 28px;
  }

  .video-showcase-copy p {
    max-width: 290px;
    margin-top: 7px;
    font-size: 10px;
    line-height: 1.6;
  }

  .video-showcase-tags {
    gap: 5px;
    margin-top: 11px;
  }

  .video-showcase-tags span {
    min-height: 21px;
    padding: 0 7px;
    font-size: 7px;
  }

  .video-showcase-play {
    top: 39%;
    left: auto;
    right: 22px;
    transform: translateY(-50%);
  }

  .video-showcase-play > span {
    width: 48px;
  }

  .video-showcase-play svg {
    width: 18px;
    height: 18px;
  }

  .video-showcase-play small {
    font-size: 7px;
  }

  .video-showcase-count {
    right: 20px;
    bottom: 20px;
    font-size: 8px;
  }

  .video-showcase-count b {
    font-size: 11px;
  }

  .video-picker {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .video-choice {
    min-height: 47px;
    padding: 7px 12px;
    border-radius: 16px;
  }

  .video-choice-copy {
    flex-direction: row;
    align-items: baseline;
    gap: 7px;
  }

  .video-choice-copy strong {
    font-size: 11px;
  }

  .video-choice-copy small {
    font-size: 7px;
  }

  .video-choice-info {
    display: none;
  }

  .video-showcase-note {
    margin: 0 6px 4px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-showcase-player,
  .video-showcase-glow,
  .video-choice,
  .video-choice-info,
  .video-showcase-play > span {
    transition: none;
  }
}
