:root {
  --yt-red: #ff2d55;
  --yt-gold: #ffd166;
  --yt-cyan: #40e0d0;
  --yt-violet: #a78bfa;
}

html {
  scroll-padding-top: 5.5rem;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 45, 85, 0.22), transparent 38%),
    radial-gradient(circle at 90% 0%, rgba(64, 224, 208, 0.16), transparent 32%),
    radial-gradient(circle at 70% 90%, rgba(167, 139, 250, 0.18), transparent 36%),
    #0b0614;
}

.hero-glow {
  text-shadow: 0 0 28px rgba(255, 45, 85, 0.35);
}

.preview-card {
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.thumb-block {
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.85), rgba(167, 139, 250, 0.7)),
    #ff2d55;
}

.shorts-thumb {
  width: 4.5rem;
  height: 8rem;
}

.output-box {
  min-height: 8.5rem;
  word-break: break-word;
  user-select: text;
}

.waiting-dots span {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.15rem;
  border-radius: 999px;
  background: var(--yt-cyan);
}

.style-chip,
#sample-btn,
#clear-btn,
#generator-card {
  scroll-margin-top: 5.5rem;
}

.style-chip.btn-active {
  box-shadow: 0 0 0 2px rgba(255, 45, 85, 0.45);
}

.style-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.style-row-text {
  min-width: 0;
  word-break: break-word;
}

@media (prefers-reduced-motion: reduce) {
  .rise-in,
  .logo-mark {
    opacity: 1 !important;
    transform: none !important;
  }
}
