:root {
  --surface: var(--surface-card);
  --hero-pink: var(--accent-warm);
  --hero-pink-soft: var(--accent-warm-soft);
  --hero-violet: var(--violet);
  /* Featured daily quote: high-contrast pink vs teal UI */
  --quote-feature-solid: #ffe4f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--text-high);
  background: var(--body-scene);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.home {
  width: 100%;
  max-width: var(--site-max-w);
  margin: 0 auto;
  padding: var(--site-content-top) var(--site-gutter) 2.2rem;
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-copy-wrap,
.hero-side {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel-hero);
  box-shadow:
    0 22px 52px rgba(2, 6, 16, 0.55),
    0 0 0 1px rgba(255, 110, 180, 0.04) inset;
  overflow: hidden;
}

.hero-copy-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.7;
  pointer-events: none;
}

.hero-copy-wrap {
  padding: 2rem;
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--accent-warm-soft);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hero-pink), var(--accent));
  box-shadow:
    0 0 14px rgba(255, 126, 184, 0.65),
    0 0 20px rgba(126, 244, 215, 0.35);
}

.hero-copy-wrap h1 {
  margin: 0.65rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5.3vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 12.5ch;
  text-wrap: balance;
  font-weight: 700;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-warm-soft) 45%, var(--violet) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 60ch;
  font-size: 1.06rem;
  color: var(--text-mid);
}

#dynamicVibe {
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(126, 244, 215, 0.35);
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn-primary-main,
.btn-secondary-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.66rem 1.18rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-main {
  border: 1px solid transparent;
  color: #0a0e18;
  background: linear-gradient(145deg, var(--accent), #5ce8bc);
  box-shadow: 0 4px 22px rgba(126, 244, 215, 0.22);
}

.btn-primary-main:hover {
  box-shadow: 0 6px 32px rgba(126, 244, 215, 0.35);
}

.btn-secondary-main {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-high);
  background: rgba(255, 255, 255, 0.05);
}

.btn-primary-main:hover,
.btn-secondary-main:hover {
  transform: translateY(-2px);
}

.btn-secondary-main:hover {
  border-color: rgba(184, 148, 255, 0.45);
  background: rgba(184, 148, 255, 0.09);
}

.hero-side {
  padding: 1.4rem;
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.side-label {
  margin: 0;
  color: var(--violet);
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hero-side li {
  color: var(--text-mid);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.72rem 0.74rem;
  font-size: 0.9rem;
  transition: border-color 260ms ease, background 260ms ease;
}

.hero-side li:hover {
  border-color: rgba(184, 148, 255, 0.32);
  background: rgba(184, 148, 255, 0.06);
}

.cards-shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.preview-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  box-shadow: 0 18px 38px rgba(3, 8, 18, 0.5);
  padding: 1rem;
  padding-top: 1.15rem;
  overflow: hidden;
  transition: all 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.55;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 148, 255, 0.35);
  box-shadow:
    0 20px 44px rgba(3, 8, 18, 0.5),
    0 0 30px rgba(184, 148, 255, 0.06);
}

.preview-card:hover::before {
  opacity: 1;
}

.preview-card.active-change {
  animation: swapAnim 1.5s ease-in-out forwards;
}

.featured {
  transform: translateY(-8px);
}

.card-kicker {
  margin: 0;
  color: var(--accent-warm-soft);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.preview-card h2 {
  margin: 0.45rem 0 0;
  font-size: 1.34rem;
  line-height: 1.1;
}

.card-sub {
  margin: 0.5rem 0 0.75rem;
  color: var(--text-low);
  font-size: 0.86rem;
}

.meta-row {
  display: grid;
  gap: 0.1rem;
  margin-top: 0.55rem;
}

.meta-row > span:first-child {
  color: var(--text-low);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.meta-row > span:last-child {
  color: var(--text-high);
  font-size: 0.92rem;
}

@keyframes swapAnim {
  0% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Daily quote — headline section --- */
.lyrics-quote {
  margin: 0 0 2rem;
}

.lyrics-quote-inner {
  position: relative;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 110, 180, 0.5), rgba(184, 148, 255, 0.4) 50%, rgba(126, 244, 215, 0.35));
  box-shadow:
    0 0 50px rgba(255, 110, 180, 0.08),
    0 0 90px rgba(184, 148, 255, 0.06),
    0 22px 52px rgba(2, 4, 12, 0.5);
}

.lyrics-quote-inner::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(255, 110, 180, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(126, 244, 215, 0.06), transparent 50%),
    linear-gradient(165deg, rgba(22, 16, 38, 0.97), rgba(14, 11, 26, 0.98));
  pointer-events: none;
}

.lyrics-quote-inner > * {
  position: relative;
  z-index: 1;
}

.lyrics-quote-content {
  padding: clamp(1.5rem, 3.5vw, 2.15rem) clamp(1.15rem, 3vw, 1.8rem);
  text-align: center;
}

.lyrics-quote-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--accent-warm-soft);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.lyrics-quote-title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-warm-soft) 50%, var(--violet) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.lyrics-quote-lead {
  margin: 0.6rem auto 0;
  max-width: 38rem;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lyrics-quote-panel {
  margin-top: 1.35rem;
  min-height: 6rem;
}

.lyrics-quote-skeleton {
  display: grid;
  gap: 0.65rem;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.lyrics-quote-skeleton .sk-line {
  display: block;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04),
    rgba(184, 148, 255, 0.14),
    rgba(255, 255, 255, 0.04)
  );
  background-size: 200% 100%;
  animation: skShimmer 1.4s ease-in-out infinite;
}

.lyrics-quote-skeleton .sk-line--short {
  width: 55%;
  margin-inline: auto;
}

.lyrics-quote-skeleton .sk-line--mid {
  width: 78%;
  margin-inline: auto;
}

@keyframes skShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.lyrics-stack {
  max-width: 42ch;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lyrics-line {
  margin: 0;
  line-height: 1.35;
  transition: opacity 240ms ease, filter 240ms ease, transform 240ms ease;
}

.lyrics-line--dim {
  color: var(--text-mid);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  font-weight: 500;
  opacity: 0.45;
}

.lyrics-line--featured {
  margin-block: 0.25rem;
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #fff;
  text-shadow:
    0 0 30px rgba(255, 110, 180, 0.45),
    0 0 60px rgba(184, 148, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.6);
}

.lyrics-quote-attrib {
  margin: 1.1rem 0 0;
  color: var(--text-low);
  font-size: 0.82rem;
}

.lyrics-quote-attrib strong {
  color: var(--accent-warm-soft);
  font-weight: 600;
}

.lyrics-quote-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.lyrics-quote-legal {
  margin: 0.95rem 0 0;
  font-size: 0.7rem;
  color: var(--text-low);
  opacity: 0.75;
  max-width: 38rem;
  margin-inline: auto;
  line-height: 1.4;
}

.lyrics-quote-error {
  margin: 0.75rem 0 0;
  color: #f0a8a8;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards-shell {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }
}

@media (max-width: 700px) {
  .home {
    width: 100%;
    padding-top: clamp(6rem, 18vw, 7.5rem);
  }

  .hero-copy-wrap {
    padding: 1.2rem;
  }

  .hero-copy-wrap h1 {
    max-width: none;
    font-size: clamp(2rem, 8.3vw, 3.1rem);
  }
}