/* ── SMPLR YouTube Embed ── */

.smplr-embed {
  display: block;
  position: relative;
  width: calc(100vw - 2.0rem);
  text-align: center;
  margin: auto;
  max-width: 1080px;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  font-family: 'Barlow', monospace;
}

.smplr-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Click-to-unmute overlay ── */
.smplr-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.smplr-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.smplr-overlay:hover .play-ring {
  transform: scale(1.08);
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.15), 0 0 80px rgba(255, 59, 48, 0.15);
}

.play-ring {
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background-color:  rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.15);
}

.play-ring svg {
  width: 24px;
  height: 24px;
  margin-left: 2px;
  fill: rgba(255,255,255,0.9);
}

.smplr-label {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0e0e0;
}

.smplr-sublabel {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.05em;
}

/* ── Loading ── */
.smplr-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  color: #666;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.smplr-loading.hidden { display: none; }

@keyframes smplr-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.smplr-loading span {
  animation: smplr-pulse 1.8s ease-in-out infinite;
}

/* ── Error fallback ── */
.smplr-error {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0a0a0a;
  color: #666;
  font-size: 12px;
}

.smplr-error a {
  color: #ff3b30;
  text-decoration: none;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.smplr-error a:hover { text-decoration: underline; }
