/* Shared preview chrome — CTA + disclaimer (Quentin'Prod) */

.preview-disclaimer {
  position: fixed;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 520;
  max-width: min(560px, calc(100vw - 32px));
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 17, 20, 0.9);
  border: 1px solid #1E242B;
  color: #5C656F;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  pointer-events: none;
  letter-spacing: 0.01em;
}

.preview-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 530;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent, rgba(6, 7, 8, 0.92) 28%, #060708);
  border-top: 1px solid #1E242B;
  pointer-events: none;
}

.preview-cta a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.preview-cta__buy {
  background: #00D7BD;
  color: #04120F;
  border: 1px solid #00D7BD;
}

.preview-cta__buy:hover {
  background: #37F0D6;
  border-color: #37F0D6;
  transform: translateY(-1px);
}

.preview-cta__store {
  background: rgba(14, 17, 20, 0.92);
  color: #EEF3F2;
  border: 1px solid #2A323B;
}

.preview-cta__store:hover {
  border-color: rgba(0, 215, 189, 0.45);
  color: #00D7BD;
}

.preview-video {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 510;
  width: min(320px, calc(100vw - 32px));
  background: rgba(14, 17, 20, 0.95);
  border: 1px solid #1E242B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  display: none;
}

.preview-video.is-visible {
  display: block;
}

.preview-video__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid #1E242B;
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #97A1AA;
}

.preview-video__head strong {
  color: #00D7BD;
}

.preview-video__close {
  border: 0;
  background: transparent;
  color: #5C656F;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
}

.preview-video__close:hover {
  color: #EEF3F2;
}

.preview-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0A0C0E;
}

.preview-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .preview-disclaimer {
    bottom: 118px;
    font-size: 10px;
    border-radius: 10px;
  }

  .preview-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-cta a {
    width: 100%;
  }

  .preview-video {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 130px;
  }
}
