*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #09090f;
  --surface: #0e0e1a;
  --border: #1e1e30;
  --accent: #c9a96e; /* warm gold */
  --accent2: #7c9ed9; /* cold blue */
  --text: #dcd8d0;
  --muted: #5a5870;
  --rain: rgba(124,158,217,0.06);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 16px 80px;
  position: relative;
  overflow-x: hidden;
}
/* grain overlay */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
/* animated rain lines */
body::before {
  content: '';
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 300%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 8px,
    var(--rain) 8px,
    var(--rain) 9px
  );
  animation: rain 8s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes rain {
  from { transform: translateY(0); }
  to { transform: translateY(33.33%); }
}
/* ---- Layout ---- */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* ---- Header ---- */
header {
  text-align: center;
  padding: 60px 0 48px;
  animation: fadeUp 0.8s ease both;
}
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  margin-bottom: 28px;
  opacity: 0.85;
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.hint {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent2);
  opacity: 0.7;
  text-transform: uppercase;
}
/* ---- Video ---- */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
  animation: fadeUp 0.8s 0.15s ease both;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* ---- Divider ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 48px 0 40px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.3em;
  animation: fadeUp 0.8s 0.25s ease both;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
/* ---- Lyrics ---- */
.lyrics {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.verse {
  padding: 28px 32px;
  border-left: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  animation: fadeUp 0.6s ease both;
  font-size: 1.05rem;
  line-height: 2.0;
  color: var(--text);
}
.verse:nth-child(1) { animation-delay: 0.10s }
.verse:nth-child(2) { animation-delay: 0.16s }
.verse:nth-child(3) { animation-delay: 0.22s }
.verse:nth-child(4) { animation-delay: 0.28s }
.verse:nth-child(5) { animation-delay: 0.34s }
.verse:nth-child(6) { animation-delay: 0.40s }
.verse:nth-child(7) { animation-delay: 0.46s }
.verse:nth-child(8) { animation-delay: 0.52s }
.verse:nth-child(9) { animation-delay: 0.58s }
.verse:nth-child(10) { animation-delay: 0.64s }
.verse:nth-child(11) { animation-delay: 0.70s }
.verse:nth-child(12) { animation-delay: 0.76s }
.verse:nth-child(13) { animation-delay: 0.82s }
.verse:nth-child(14) { animation-delay: 0.88s }
.verse:hover {
  border-left-color: var(--accent);
  background: rgba(201,169,110,0.04);
}
.verse.chorus {
  background: rgba(201,169,110,0.05);
  border-left: 2px solid var(--accent);
}
.verse.outro {
  color: var(--muted);
}
.section-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  opacity: 0.8;
}
mark {
  color: transparent;
  background: transparent;
  user-select: none;
}
/* ---- Footer ---- */
footer {
  margin-top: 64px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  padding-bottom: 24px;
  text-transform: uppercase;
}
/* ---- Animation ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ---- Responsive ---- */
@media (max-width: 520px) {
  .verse { padding: 22px 18px; font-size: 0.95rem; }
  h1 { font-size: 2rem; }
}
