/* ========================================================
   LyricsZen GitHub Pages — "Sticker Pop"
   Pale lavender ground, thick outlines, hard offset shadows.
   Light is the default; [data-theme="dark"] on <html> switches.
   ======================================================== */

:root {
  --bg: #ede4ff;
  --ink: #17121f;
  --card: #ffffff;
  --muted: #4a4458;
  --line: #17121f;
  --link: #5b21b6;
  --lavender: #d8b4fe;
  --yellow: #fde047;
  --fixed-ink: #17121f;
  --font-display: 'Bricolage Grotesque', 'Arial Black', sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #17121f;
  --ink: #f5f0ff;
  --card: #241c31;
  --muted: #cfc5e2;
  --line: #d8b4fe;
  --link: #e9d5ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

h1, h2, h3, p { margin: 0; }

a { color: var(--link); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--card);
  color: var(--ink);
  padding: 10px 16px;
  border: 2.5px solid var(--line);
  border-radius: 10px;
  z-index: 10;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: none;
  transform: rotate(-6deg);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
}

.site-nav a {
  min-height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.site-nav a:hover { color: var(--link); }

.theme-toggle {
  min-height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--ink);
  border: 2.5px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.theme-toggle:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); }
.theme-toggle:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Shared pieces ---------- */
.sticker {
  display: inline-block;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--fixed-ink);
  transform: rotate(-2deg);
}
.sticker-yellow { background: var(--yellow); }
.sticker-lavender { background: var(--lavender); font-weight: 700; font-size: 16px; padding: 8px 20px; border-color: var(--fixed-ink); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  border-radius: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary {
  background: var(--lavender);
  color: var(--fixed-ink);
  border: 2.5px solid var(--line);
  box-shadow: 6px 6px 0 var(--line);
}
.btn-primary:hover { color: var(--fixed-ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--line); }
.btn-primary:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--line); }
.btn-dark { background: var(--fixed-ink); color: #ffffff; min-height: 52px; }
.btn-dark:hover { color: #ffffff; transform: translate(-1px, -1px); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.text-link.on-yellow, .text-link.on-yellow:hover { color: var(--fixed-ink); }

.section {
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.15;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 40px;
  padding-bottom: 88px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mark {
  display: inline-block;
  background: var(--lavender);
  color: var(--fixed-ink);
  padding: 0 12px;
  border-radius: 14px;
  transform: rotate(-1.5deg);
}

.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 500px;
  text-wrap: pretty;
}

.hero-demo {
  flex: 1 1 420px;
  min-width: 0;
  padding: 12px;
}

.demo-card {
  background: #0d0a13;
  color: #ffffff;
  border: 2.5px solid var(--line);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--lavender), 10px 10px 0 2.5px var(--line);
  padding: 26px;
  transform: rotate(1.5deg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #cfc5e2;
}

.demo-time {
  background: var(--yellow);
  color: var(--fixed-ink);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.demo-lines {
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
}

.demo-line {
  min-height: 1.1em;
  line-height: 1.08;
  font-size: 22px;
  color: #ffffff;
  opacity: 0.45;
  transition: opacity 0.4s ease, font-size 0.4s ease, color 0.4s ease;
}
.demo-line.is-active {
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--lavender);
  opacity: 1;
}

.demo-toggle {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
  background: #ffffff;
  color: var(--fixed-ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.demo-toggle:hover { background: var(--lavender); }

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px;
}

.card {
  background: var(--card);
  border: 2.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.3s ease;
}
.card p { color: var(--muted); }
.tilt-left { transform: rotate(-0.7deg); }
.tilt-right { transform: rotate(0.7deg); }

/* ---------- Shortcuts ---------- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px 28px;
}

.shortcut {
  background: var(--card);
  border: 2.5px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
}

.keys { display: flex; gap: 8px; }

kbd {
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  background: var(--lavender);
  color: var(--fixed-ink);
  border: 2.5px solid var(--line);
  border-radius: 8px;
  padding: 4px 10px;
  box-shadow: 2px 3px 0 var(--line);
}

.note { color: var(--muted); font-size: 15px; }

/* ---------- Install ---------- */
.install-panel {
  background: var(--yellow);
  color: var(--fixed-ink);
  border: 2.5px solid var(--line);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--line);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.install-panel > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.install-panel > div:first-child p { max-width: 620px; }

.store-card {
  background: #ffffff;
  border: 2.5px solid var(--fixed-ink);
  border-radius: 18px;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.store-card > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.store-card p { color: #4a4458; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px 32px;
}
.steps li { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.steps strong { font-size: 19px; }
.steps code {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  font-family: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--fixed-ink);
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 2.5px solid var(--line);
}

.footer-inner {
  padding-top: 32px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-weight: 600;
}
.footer-links a { min-height: 44px; display: flex; align-items: center; }

.footer-fine {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 40px;
  font-size: 14px;
  color: var(--muted);
}
.footer-fine p:first-child { max-width: 640px; }

/* ---------- Small screens and motion ---------- */
@media (max-width: 600px) {
  .install-panel { padding: 24px; }
  .hero { gap: 36px; padding-bottom: 64px; }
  .demo-card { transform: none; }
  .tilt-left, .tilt-right { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Themes gallery: small previews of the lyrics view ---------- */
.section-lead { max-width: 640px; margin: -8px 0 28px; color: var(--muted); font-size: 18px; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.theme-tile { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.theme-tile figcaption { color: var(--muted); line-height: 1.45; }
.theme-tile figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 20px; }
.tt-screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 10; border: 2.5px solid var(--line); border-radius: 18px;
  box-shadow: 5px 5px 0 var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; text-align: center; background: #000; color: #fff;
  font-family: Georgia, 'Iowan Old Style', serif; font-size: 15px; line-height: 1.35;
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme-tile:hover .tt-screen { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--line); }
.tt-screen::before, .tt-screen::after { content: none; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.tt-line { opacity: .4; max-width: 100%; }
.tt-active { opacity: 1; font-weight: 700; font-size: 1.25em; }

.tt-classic .tt-active { text-shadow: 0 0 18px rgba(255,255,255,.35); }

.tt-album { background: #1a1622; font-family: Inter, sans-serif; align-items: flex-start; text-align: left; }
.tt-album::before { content: ""; inset: -20%; background: radial-gradient(45% 45% at 25% 25%, #6d3fd0, transparent 70%), radial-gradient(45% 45% at 80% 75%, #c03a7a, transparent 70%), radial-gradient(40% 40% at 70% 20%, #e08a1e, transparent 70%); filter: blur(28px) saturate(1.4); }
.tt-album .tt-line { font-weight: 800; opacity: .45; filter: blur(.6px); }
.tt-album .tt-active { opacity: 1; filter: none; }

.tt-sticker { background: radial-gradient(rgba(216,180,254,.16) 1.2px, transparent 1.7px) 0 0 / 16px 16px, #1c1426; color: #e9d5ff; font-family: Outfit, sans-serif; }
.tt-sticker .tt-active > span { display: inline-block; padding: 4px 14px; border: 2.5px solid #17121f; border-radius: 12px; background: #e9d5ff; color: #17121f; font-weight: 800; box-shadow: 4px 4px 0 #ff8ad1; transform: rotate(-2deg); }

.tt-notebook { background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(60,90,160,.12) 23px 24px), #f3ede2; color: #2a251f; font-family: Lora, Georgia, serif; }
.tt-notebook .tt-active, .tt-notebook-dark .tt-active { font-weight: 600; }
.tt-notebook .tt-active > span { padding: 0 .2em; border-radius: .18em; background: rgba(255,207,64,.82); }
.tt-notebook-dark { background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(150,170,255,.08) 23px 24px), #1a1a1f; color: #ece6da; font-family: Lora, Georgia, serif; }
.tt-notebook-dark .tt-active > span { padding: 0 .2em; border-radius: .18em; background: rgba(255,186,30,.45); color: #fffaf0; }

.tt-neon { background: linear-gradient(180deg, #07021a 0%, #1a0638 55%, #3a0a52 100%); font-family: 'Bebas Neue', Impact, sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 17px; }
.tt-neon::before { content: ""; inset: auto -40% 0 -40%; height: 45%; background: linear-gradient(rgba(255,60,200,.55) 1.5px, transparent 1.5px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(0,229,255,.4) 1.5px, transparent 1.5px) 0 0 / 30px 100%; transform: perspective(160px) rotateX(62deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 90%); mask-image: linear-gradient(to top, #000 15%, transparent 90%); }
.tt-neon .tt-active { font-weight: 400; text-shadow: 0 0 3px #fff, 0 0 10px rgba(0,229,255,.95), 0 0 26px rgba(0,229,255,.6), 0 0 50px rgba(255,60,200,.55); }

.tt-cinema { background: #0d0d0f; color: #fff2c4; font-family: Inter, sans-serif; }
.tt-cinema::after { content: ""; background: linear-gradient(#000 0 12%, transparent 16% 84%, #000 88%); }
.tt-cinema .tt-line { opacity: .12; font-weight: 600; }
.tt-cinema .tt-active { opacity: 1; text-shadow: 0 2px 2px #000, 0 0 24px rgba(255,214,140,.3); }

.tt-aurora { background: #050814; color: #f0fffb; font-family: Nunito, sans-serif; }
.tt-aurora::before { content: ""; inset: -20%; background: radial-gradient(38% 30% at 22% 30%, rgba(56,255,196,.4), transparent 70%), radial-gradient(34% 28% at 76% 24%, rgba(120,90,255,.45), transparent 70%), radial-gradient(44% 32% at 58% 82%, rgba(0,170,255,.3), transparent 70%); filter: blur(18px); }
.tt-aurora .tt-active { text-shadow: 0 0 24px rgba(110,255,220,.45); }

.tt-vinyl { background: radial-gradient(120% 90% at 50% 0%, #3a2410 0%, #1a0f06 55%, #0e0804 100%); color: #ffe8c2; font-family: 'Playfair Display', Georgia, serif; font-style: italic; }
.tt-vinyl::before { content: ""; inset: auto auto -35% -18%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #1a0f06 0 1.5%, #b8691c 2% 14%, transparent 15%), conic-gradient(from 0deg, transparent 0 16%, rgba(255,236,200,.12) 23%, transparent 31% 66%, rgba(255,236,200,.12) 73%, transparent 81%), repeating-radial-gradient(circle, #0a0a0a 0 1.5px, #242120 1.5px 3px); opacity: .7; }
.tt-vinyl .tt-active { font-style: normal; text-shadow: 0 0 20px rgba(255,179,71,.35); }
@media (prefers-reduced-motion: no-preference) {
  .theme-tile:hover .tt-vinyl::before { animation: tt-spin 1.8s linear infinite; }
}
@keyframes tt-spin { to { transform: rotate(360deg); } }

/* ---------- Launch switch: see LYRICSZEN_STORE_URL in index.html ---------- */
html:not([data-store="live"]) .live-only,
html[data-store="live"] .prelaunch-only { display: none !important; }

.from-source-body { display: flex; flex-direction: column; gap: 24px; margin-top: 20px; }
.from-source > summary {
  display: flex; align-items: center; gap: 10px; width: fit-content;
  min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.15;
}
.from-source > summary::-webkit-details-marker { display: none; }
.from-source > summary::after {
  content: ""; width: 10px; height: 10px; margin-left: 4px; flex: none;
  border-right: 3px solid currentColor; border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .15s ease;
}
.from-source[open] > summary::after { transform: rotate(225deg) translate(-3px, 0); }
.from-source > summary:focus-visible { outline: 3px solid var(--link); outline-offset: 4px; border-radius: 6px; }
html[data-store="live"] .from-source > summary { font-size: 19px; }


/* ---------- Enhanced UX: Trust Badge & Platforms Strip ---------- */
.trust-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 14px;
}

.platforms-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--line);
  margin-top: 26px;
}

.platforms-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
}

[data-theme="dark"] .platform-chip {
  background: rgba(255, 255, 255, 0.06);
}

.platform-chip:hover {
  transform: translateY(-2px);
}

/* ---------- Interactive Theme Switcher on Demo Card ---------- */
.demo-theme-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.demo-theme-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cfc5e2;
  white-space: nowrap;
}

.demo-theme-pill {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f0ff;
  border-radius: 14px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.demo-theme-pill:hover,
.demo-theme-pill.is-active {
  background: var(--lavender);
  color: #17121f;
  border-color: var(--lavender);
}

/* Demo card theme variants */
.demo-card.theme-classic {
  background: #000000;
  color: #ffffff;
}
.demo-card.theme-classic .demo-line.is-active {
  text-shadow: 0 0 18px rgba(255,255,255,.45);
}

.demo-card.theme-neon {
  background: linear-gradient(180deg, #07021a 0%, #1a0638 55%, #3a0a52 100%);
  font-family: 'Bebas Neue', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.demo-card.theme-neon .demo-line.is-active {
  text-shadow: 0 0 3px #fff, 0 0 10px rgba(0,229,255,.95), 0 0 26px rgba(0,229,255,.6), 0 0 50px rgba(255,60,200,.55);
}

.demo-card.theme-sticker {
  background: radial-gradient(rgba(216,180,254,.16) 1.2px, transparent 1.7px) 0 0 / 16px 16px, #1c1426;
  color: #e9d5ff;
  font-family: Outfit, sans-serif;
}
.demo-card.theme-sticker .demo-line.is-active {
  display: inline-block;
  padding: 4px 14px;
  border: 2px solid #17121f;
  border-radius: 12px;
  background: #e9d5ff;
  color: #17121f;
  font-weight: 800;
  box-shadow: 4px 4px 0 #ff8ad1;
  transform: rotate(-1.5deg);
}

.demo-card.theme-notebook {
  background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(60,90,160,.12) 23px 24px), #f3ede2;
  color: #2a251f;
  font-family: Lora, Georgia, serif;
}
.demo-card.theme-notebook .demo-head { color: #5a5247; }
.demo-card.theme-notebook .demo-line.is-active {
  display: inline-block;
  padding: 0 .25em;
  border-radius: .2em;
  background: rgba(255,207,64,.85);
  color: #17121f;
}

.demo-card.theme-album {
  background: #1a1622;
  font-family: Inter, sans-serif;
  position: relative;
  overflow: hidden;
}
.demo-card.theme-album::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(45% 45% at 25% 25%, #6d3fd0, transparent 70%),
              radial-gradient(45% 45% at 80% 75%, #c03a7a, transparent 70%),
              radial-gradient(40% 40% at 70% 20%, #e08a1e, transparent 70%);
  filter: blur(28px) saturate(1.4);
  z-index: 0;
  pointer-events: none;
}
.demo-card.theme-album > * { position: relative; z-index: 1; }

.demo-card.theme-aurora {
  background: #050814;
  color: #f0fffb;
  font-family: Nunito, sans-serif;
  position: relative;
  overflow: hidden;
}
.demo-card.theme-aurora::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(38% 30% at 22% 30%, rgba(56,255,196,.4), transparent 70%),
              radial-gradient(34% 28% at 76% 24%, rgba(120,90,255,.45), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.demo-card.theme-aurora > * { position: relative; z-index: 1; }
.demo-card.theme-aurora .demo-line.is-active {
  text-shadow: 0 0 24px rgba(110,255,220,.45);
}

.theme-tile {
  cursor: pointer;
  transition: transform 0.2s ease;
}
.theme-tile:hover {
  transform: translateY(-3px);
}
