/* ==========================================================================
   Product page — Block 03: product video.
   Big 16:9 frame. Empty placeholder until the real clip exists; then put a
   <video> in .pvideo__frame and the play button controls it (pdp-video.js).
   ========================================================================== */

.pvideo {
  padding: 96px var(--gutter);
  background: var(--c-ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pvideo__inner { max-width: 1160px; margin: 0 auto; }

.pvideo__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 36px;
}

.pvideo__head .eyebrow { color: var(--c-accent); }
.pvideo__head .display { font-size: clamp(44px, 5.5vw, 80px); }
.pvideo__head .display em { font-style: normal; color: var(--c-accent); }

.pvideo__text {
  max-width: 36ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- frame ---------- */

.pvideo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 24px;
  /* same placeholder look as the customer-photo slots, plus faint LED dots */
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.6px) 0 0 / 8px 8px,
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(212, 255, 0, 0.12), transparent 70%),
    linear-gradient(180deg, #2a2a2a 0%, #161616 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pvideo__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* label in the corner while empty */
.pvideo__ph {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pvideo__ph::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b4a; }

/* duration chip, bottom right */
.pvideo__time {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  font: 700 12px/1 var(--font-mono);
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- play button ---------- */

.pvideo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}

.pvideo__play svg { width: 30px; height: 30px; margin-left: 4px; }

/* soft pulse ring */
.pvideo__play::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  animation: pvideo-ring 2.2s var(--ease) infinite;
}

@keyframes pvideo-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.pvideo__frame:hover .pvideo__play { transform: translate(-50%, -50%) scale(1.08); }
.pvideo__play:hover { background: #fff; }

/* playing: hide the button + chips */
.pvideo.is-playing .pvideo__play,
.pvideo.is-playing .pvideo__time { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.pvideo.is-playing .pvideo__frame { cursor: pointer; }

@media (max-width: 600px) {
  .pvideo { padding: 64px var(--gutter); }
  .pvideo__head { margin-bottom: 24px; }
  .pvideo__frame { border-radius: 16px; }
  .pvideo__play { width: 72px; height: 72px; }
  .pvideo__play svg { width: 24px; height: 24px; }
  .pvideo__ph { top: 12px; left: 12px; }
  .pvideo__time { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) { .pvideo__play::before { animation: none; } }
