/* ============================================================
   CORCEL SIN NOMBRE — Lyric Pages
   Worn paper · sepia ink · country-western
   Unique aesthetic: horizontal ruled lines behind lyrics,
   aged parchment texture via CSS gradients, ink-stain accents
   ============================================================ */

/* ── Trahuma ── */
@font-face {
   font-family: 'Trahuma';
   src: url('../assets/fonts/Trahuma.ttf') format('truetype'),
        url('../assets/fonts/Trahuma.otf') format('opentype');
   font-weight: normal;
   font-style: normal;
   font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
   min-height: 100vh;
   background: #100d09;
   color: #b09070;
   font-family: 'Lora', 'Georgia', serif;
   font-size: 15px;
   line-height: 1.85;
   letter-spacing: 0.02em;
   -webkit-font-smoothing: antialiased;
}

a { color: #b09070; text-decoration: none; transition: color 0.28s; }
a:hover { color: #c4a870; }
::selection { background: #7a1e2e; color: #f0e8d8; }
::-webkit-scrollbar              { width: 5px; }
::-webkit-scrollbar-track        { background: #100d09; }
::-webkit-scrollbar-thumb        { background: #5a3e25; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover  { background: #8a6535; }

/* ── Loader ── */
.loader {
   position: fixed; inset: 0;
   background: #100d09;
   z-index: 9999;
   display: flex; align-items: center; justify-content: center;
}
.loader svg { animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Page background — faint aged parchment ── */
.page-bg {
   position: fixed; inset: 0; z-index: 0; pointer-events: none;
   background:
      radial-gradient(ellipse 80% 55% at 50% 0%,   rgba(180,140,80,0.05) 0%, transparent 65%),
      radial-gradient(ellipse 55% 40% at 5%  50%,  rgba(122,30,46,0.04)  0%, transparent 70%),
      radial-gradient(ellipse 55% 40% at 95% 70%,  rgba(122,30,46,0.03)  0%, transparent 70%),
      #100d09;
}

/* ── Nav ── */
.lyrics-nav {
   position: sticky;
   top: 0;
   z-index: 200;
   background: rgba(16,13,9,0.94);
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(180,140,80,0.1);
   padding: 0.9rem 2rem;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 1rem;
}
.lyrics-nav .nav-logo {
   font-family: 'Bebas Neue', serif;
   font-size: clamp(0.9rem, 2.2vw, 1.15rem);
   color: #c4a870;
   letter-spacing: 0.14em;
   white-space: nowrap;
   text-shadow: 0 0 8px rgba(180,140,80,0.35);
   transition: text-shadow 0.3s, color 0.3s;
}
.lyrics-nav .nav-logo:hover {
   color: #d4a843;
   text-shadow: 0 0 14px rgba(212,168,67,0.5);
}
.lyrics-nav .nav-back {
   font-family: 'Lora', serif;
   font-style: italic;
   font-size: 0.7rem;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   color: rgba(176,144,112,0.5);
   border: 1px solid rgba(180,140,80,0.18);
   padding: 0.4rem 1rem;
   transition: all 0.3s;
}
.lyrics-nav .nav-back:hover {
   color: #c4a870;
   border-color: rgba(180,140,80,0.45);
   box-shadow: 0 0 8px rgba(180,140,80,0.15);
}

/* ── Page layout ── */
.lyrics-page {
   position: relative;
   z-index: 1;
   max-width: 800px;
   margin: 0 auto;
   padding: 4rem 2rem 6rem;
}

/* ── Track header ── */
.track-eyebrow {
   font-family: 'Lora', serif;
   font-style: italic;
   font-size: 0.65rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   color: #9e2535;
   display: block;
   margin-bottom: 0.6rem;
   opacity: 0.85;
}
.track-title {
   font-family: 'Bebas Neue', serif;
   font-size: clamp(2.4rem, 8vw, 5.5rem);
   color: #ede8dc;
   line-height: 1;
   letter-spacing: 0.1em;
   text-shadow: 0 3px 18px rgba(0,0,0,0.85), 0 0 10px rgba(237,232,220,0.08);
   margin-bottom: 0.4rem;
}
.track-album {
   font-family: 'Trahuma', 'Georgia', serif;
   font-size: clamp(1rem, 2.8vw, 1.6rem);
   color: #9e2535;
   letter-spacing: 0.05em;
   text-shadow: 0 1px 8px rgba(0,0,0,0.7);
   display: block;
   margin-bottom: 0.35rem;
}
.track-meta {
   font-family: 'Lora', serif;
   font-size: 0.7rem;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   color: rgba(176,144,112,0.45);
   margin-top: 0.6rem;
}
.track-header { margin-bottom: 2.5rem; }

/* ── Album art ── */
.track-art {
   width: 100%;
   max-width: 300px;
   display: block;
   margin-bottom: 2.5rem;
   border: 1px solid rgba(180,140,80,0.2);
   box-shadow: 0 6px 32px rgba(0,0,0,0.7), 0 0 24px rgba(180,140,80,0.06);
   filter: sepia(0.3) saturate(0.75);
   transition: filter 0.4s, box-shadow 0.4s;
}
.track-art:hover {
   filter: sepia(0.12) saturate(0.9);
   box-shadow: 0 6px 40px rgba(0,0,0,0.8), 0 0 35px rgba(180,140,80,0.12);
}

/* ── Divider ── */
.dust-rule {
   border: none;
   height: 1px;
   background: linear-gradient(to right, transparent, rgba(180,140,80,0.35), transparent);
   margin: 2.5rem 0;
}

/* ── Lyrics body — the unique "ruled paper" look ── */
.lyrics-body {
   position: relative;
}

/* Faint horizontal ruled lines running behind all text */
.lyrics-body::before {
   content: '';
   position: absolute;
   inset: 0;
   pointer-events: none;
   background-image: repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 29px,
      rgba(180,140,80,0.055) 30px,
      rgba(180,140,80,0.055) 30px
   );
   background-size: 100% 30px;
   z-index: 0;
}

.lyric-stanza {
   position: relative;
   z-index: 1;
   margin-bottom: 2rem;
   padding: 0 0 0.2rem;
}
.lyric-stanza:last-child { margin-bottom: 0; }

.lyric-section-label {
   font-family: 'Lora', serif;
   font-style: italic;
   font-size: 0.58rem;
   letter-spacing: 0.28em;
   text-transform: uppercase;
   color: rgba(158,37,53,0.5);
   display: block;
   margin-bottom: 0.5rem;
}

/* Verse — standard ink */
.lyric-line {
   font-family: 'Lora', 'Georgia', serif;
   font-size: 1rem;
   line-height: 2;
   color: #b09070;
   display: block;
   letter-spacing: 0.01em;
}

/* Chorus — warmer, slightly brighter */
.lyric-chorus .lyric-line {
   color: #c4a870;
   font-style: italic;
   font-weight: 600;
}
/* Left rule on chorus — like a pencil margin line */
.lyric-chorus {
   border-left: 2px solid rgba(180,140,80,0.3);
   padding-left: 1rem;
   margin-left: 0;
}

/* Hook / title line — blood red, the emotional punch */
.lyric-hook .lyric-line {
   color: #c4583a;
   font-weight: 600;
   text-shadow: 0 0 12px rgba(196,88,58,0.2);
}
.lyric-hook {
   border-left: 2px solid rgba(196,88,58,0.35);
   padding-left: 1rem;
}

/* Bridge — dimmer, more intimate */
.lyric-bridge .lyric-line {
   color: rgba(176,144,112,0.7);
   font-style: italic;
}

/* ── Stream CTA ── */
.stream-cta {
   margin-top: 3.5rem;
   padding-top: 2rem;
   border-top: 1px solid rgba(180,140,80,0.1);
}
.stream-cta p {
   font-family: 'Lora', serif;
   font-style: italic;
   font-size: 0.82rem;
   color: rgba(176,144,112,0.5);
   letter-spacing: 0.06em;
   margin-bottom: 1.2rem;
}
.cta-row {
   display: flex;
   gap: 0.6rem;
   flex-wrap: wrap;
}
.cta-btn {
   font-family: 'Lora', serif;
   font-style: italic;
   font-size: 0.7rem;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   padding: 0.5rem 1.25rem;
   border: 1px solid rgba(180,140,80,0.38);
   color: #b48c50;
   background: transparent;
   border-radius: 0;
   transition: all 0.3s ease;
   display: inline-block;
}
.cta-btn:hover {
   background: rgba(180,140,80,0.1);
   color: #c4a870;
   border-color: #b48c50;
   box-shadow: 0 0 10px rgba(180,140,80,0.2);
}

/* ── Footer ── */
.lyrics-footer {
   margin-top: 4rem;
   padding-top: 1.2rem;
   border-top: 1px solid rgba(180,140,80,0.08);
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 0.5rem;
}
.lyrics-footer small {
   font-family: 'Lora', serif;
   font-size: 0.65rem;
   color: rgba(176,144,112,0.28);
   letter-spacing: 0.06em;
}
.lyrics-footer a {
   color: rgba(180,140,80,0.3);
   font-size: inherit;
}
.lyrics-footer a:hover { color: #b48c50; }

/* ── Responsive ── */
@media (max-width: 640px) {
   .lyrics-page { padding: 3rem 1.25rem 5rem; }
   .track-title { font-size: clamp(2rem, 12vw, 4rem); }
}
