/* Promotional landing page for YT Music Looper */
.looper-page {
  --looper-purple: #c084fc;
  --looper-pink: #e879f9;
  --looper-dark: #0b0614;
}

.looper-hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(168, 85, 247, 0.38), transparent 58%),
    radial-gradient(ellipse at 80% 80%, rgba(88, 28, 135, 0.35), transparent 50%),
    #0b0614;
  color: #f8fafc;
}

.looper-hero h1,
.looper-hero p,
.looper-hero .looper-kicker {
  color: #f8fafc;
}

.looper-accent {
  color: #e879f9;
}

.looper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(232, 121, 249, 0.35);
  background: rgba(15, 6, 24, 0.55);
  color: #e9d5ff;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}

.looper-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  background: #ef4444;
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.looper-hero-frame {
  border-radius: 1.25rem;
  padding: 0.4rem;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.45), rgba(192, 132, 252, 0.08));
  box-shadow: 0 0 80px rgba(168, 85, 247, 0.28);
}

.looper-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.looper-shot {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #0b0614;
  border: 1px solid rgba(192, 132, 252, 0.28);
}

.looper-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.looper-shot-compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.looper-shot-compact img {
  width: auto;
  max-width: 100%;
  margin: 1.75rem auto 0;
  padding: 0 1.25rem;
}

.looper-shot-placeholder {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  color: #e9d5ff;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(168, 85, 247, 0.18), transparent 65%),
    #120818;
  border: 2px dashed rgba(192, 132, 252, 0.45);
}

.looper-shot-placeholder strong {
  font-size: 1rem;
}

.looper-shot-placeholder code {
  font-size: 0.75rem;
  color: #c084fc;
  word-break: break-all;
}

.looper-shot figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: #d8b4fe;
  background: #120818;
}

.looper-check li,
.looper-x li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.looper-check svg,
.looper-x svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.looper-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background: rgba(192, 132, 252, 0.18);
  color: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.looper-cws-badge {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  background: #fff;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.looper-cws-badge img {
  height: 58px;
  width: auto;
}

@media (max-width: 640px) {
  .looper-shot-placeholder {
    min-height: 180px;
  }
}
