/* App launch thank-you video — website + app home */
.ic-launch {
  --launch-gold: #c9a227;
  --launch-gold-soft: #e8c96a;
  --launch-navy: #0e2a22;
  --launch-ink: #071510;
  padding: 1.25rem 0 0.5rem;
}

.ic-launch .container {
  max-width: 920px;
}

.ic-launch-frame {
  position: relative;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(201, 162, 39, 0.55), rgba(14, 42, 34, 0.92) 42%, rgba(201, 162, 39, 0.4));
  box-shadow:
    0 18px 40px rgba(7, 21, 16, 0.22),
    inset 0 0 0 1px rgba(232, 201, 106, 0.35);
}

.ic-launch-ornament {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--launch-gold-soft);
  opacity: 0.85;
  pointer-events: none;
  z-index: 2;
}
.ic-launch-ornament-tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.ic-launch-ornament-tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.ic-launch-ornament-bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.ic-launch-ornament-br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.ic-launch-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--launch-ink);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ic-launch-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.ic-launch-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 3;
}

.ic-launch-cover[hidden] {
  display: none !important;
}

.ic-launch-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.ic-launch-cover.is-resume .ic-launch-thumb {
  opacity: 0;
}

.ic-launch-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 21, 16, 0.15) 0%, rgba(7, 21, 16, 0.25) 45%, rgba(7, 21, 16, 0.72) 100%);
  pointer-events: none;
}

.ic-launch-cover.is-resume .ic-launch-shade {
  background: rgba(7, 21, 16, 0.35);
}

.ic-launch-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 4;
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 2.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #fff8e7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.ic-launch-cover.is-resume .ic-launch-caption {
  opacity: 0;
}

.ic-launch-play {
  position: relative;
  z-index: 5;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--launch-gold);
  padding: 0;
  cursor: pointer;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
  transition: transform 0.18s ease;
}

.ic-launch-play:hover,
.ic-launch-play:focus-visible {
  transform: scale(1.06);
  outline: none;
}

.ic-launch-play-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(232, 201, 106, 0.55);
  animation: ic-launch-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes ic-launch-pulse {
  0% { transform: scale(0.92); opacity: 0.9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.ic-launch-pause {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 6;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--launch-navy);
  background: rgba(232, 201, 106, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.ic-launch-pause[hidden] {
  display: none !important;
}

.ic-launch.is-loading .ic-launch-play {
  opacity: 0.55;
  pointer-events: none;
}

/* App home compact variant */
.ic-launch.is-app {
  padding: 0 16px 4px;
  margin-top: 4px;
}

.ic-launch.is-app .ic-launch-frame {
  padding: 7px;
  border-radius: 16px;
}

.ic-launch.is-app .ic-launch-stage {
  border-radius: 11px;
}

.ic-launch.is-app .ic-launch-caption {
  font-size: 0.92rem;
  bottom: 10px;
}

.ic-launch.is-app .ic-launch-play svg {
  width: 54px;
  height: 54px;
}

.ic-launch.is-app .ic-launch-ornament {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .ic-launch-play-ring { animation: none; }
}
