/* FlashSync demo player — dark, minimal, self-contained.
   Paused until you CLICK; hover shows a pulsing play button over a static frame and the controls.
   (Global body/html resets from the original stripped — this loads inside the landing page.) */

.fs-player { width: 100%; }

/* 2:1 cinematic stage */
.fs-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.fs-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fs-stage video.active { opacity: 1; }

/* ---- play / pause indicator ---- */
.fs-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;       /* clicks fall through to the stage */
  z-index: 4;
}
.fs-play .pico {
  display: flex;
  background: rgba(0, 0, 0, 0.46);
  border-radius: 50%;
  padding: 20px;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform 0.25s ease;
}
.fs-play .icon-pause { display: none; }   /* not used — button only appears before first play */
.fs-play { opacity: 1; transition: opacity 0.4s ease; }
/* before first play: ▶ visible, pulses on hover (the "click" animation) */
.fs-stage:not(.started):hover .fs-play .pico { animation: fsPulse 1.15s ease-in-out infinite; }
/* after the first click: ▶ gone for good (playback is hover-driven from here on) */
.fs-stage.started .fs-play { opacity: 0; }
@keyframes fsPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }

/* ---- controls: hidden, revealed only on hover, at the BOTTOM ---- */
.fs-dots, .fs-vol {
  position: absolute;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fs-stage:hover .fs-dots, .fs-stage:hover .fs-vol {
  opacity: 1;
  pointer-events: auto;
}

/* song-switch dots — bottom-left, big */
.fs-dots { bottom: 20px; left: 22px; display: flex; gap: 18px; }
.fs-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}
.fs-dot:hover {
  transform: scale(1.35);
  border-color: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.85);
}
.fs-dot.active {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

/* volume — bottom-right; bigger icon, same slider width */
.fs-vol {
  bottom: 16px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.36);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fs-vol-icon { width: 24px; height: 24px; flex: 0 0 auto; }
.fs-vol input[type="range"] { width: 116px; accent-color: #ffffff; cursor: pointer; }

/* ---- phone: smaller play button + controls ---- */
/* Dots + volume shrunk so all 7 song dots fit and stay tappable next to the volume pill. */
@media (max-width: 640px) {
  .fs-play .pico { padding: 12px; }
  .fs-play .pico svg { width: 24px; height: 24px; }
  .fs-dots { bottom: 12px; left: 12px; gap: 9px; }
  .fs-dot { width: 15px; height: 15px; border-width: 1.5px; }
  .fs-vol { bottom: 7px; right: 10px; gap: 6px; padding: 5px 9px; }
  .fs-vol-icon { width: 16px; height: 16px; }
  .fs-vol input[type="range"] { width: 56px; }
}
