/* Custom style for the 'View Keys' quickstart button */
html { overflow-y: scroll; }

.quickstart-btn-keys {
  background: linear-gradient(180deg, #f0c45b 0%, #e2b95f 100%);
  color: #1b2137;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(240,196,91,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
}
.banner-decor {
  position: absolute;
  left: 50%;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.banner-decor > * {
  position: absolute;
}
.banner-decor .glow {
  position: absolute;
  left: 10%;
  bottom: 18px;
  width: 420px;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(90, 170, 220, 0.10) 0%, rgba(90, 170, 220, 0.05) 34%, rgba(90, 170, 220, 0) 72%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.songsBanner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  min-height: 120px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #141629 0%, #1f2440 40%, #162f3d 100%);
  overflow: hidden;
  width: 100%;           /* ADD THIS */
  max-width: 1320px;
  margin-left: auto;     /* ADD THIS */
  margin-right: auto;    /* ADD THIS */
}

.songsBanner .note-1 {
  width: 80px;
  height: 80px;
  left: 12%;
  top: 32px;
  background: rgba(214, 188, 117, 0.18);
  border-radius: 50%;
  z-index: 0;
}
.songsBanner .note-2 {
  width: 44px;
  height: 44px;
  left: 54%;
  top: 70px;
  background: rgba(180, 200, 220, 0.18);
  border-radius: 50%;
  z-index: 0;
}
.songsBanner .note-3 {
  width: 32px;
  height: 32px;
  left: 72%;
  top: 38px;
  background: rgba(120, 180, 220, 0.16);
  border-radius: 50%;
  z-index: 0;
}
.songsBanner .circle-deco {
  top: -22px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(209, 180, 104, 0.04);
  box-shadow:
    0 0 0 18px rgba(209, 180, 104, 0.01),
    0 0 0 38px rgba(209, 180, 104, 0.008);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.songsBanner .sound-hole {
  left: 62%;
  top: 54%;
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, #232a2a 60%, #1a1a1a 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
  opacity: 0.32;
  z-index: 2;
}
/* Ensure fret lines and dots show in songs page banner */
.songsBanner .strings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.songsBanner .string {
  position: absolute;
  left: 40px;
  right: 40px;
  height: 1.5px;
  background: rgba(214, 223, 238, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.songsBanner .string:nth-child(1) { top: 38px; }
.songsBanner .string:nth-child(2) { top: 58px; }
.songsBanner .string:nth-child(3) { top: 78px; }
.songsBanner .string:nth-child(4) { top: 98px; }
.songsBanner .fret-dot {
  position: absolute;
  top: 68px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.38;
}
.songsBanner .fret-dot:nth-child(5)  { left: 80px;  background: rgba(233, 199, 117, 0.55); }
.songsBanner .fret-dot:nth-child(6)  { left: 140px;  background: rgba(205, 146, 91, 0.5); }
.songsBanner .fret-dot:nth-child(7)  { left: 200px;  background: rgba(210, 140, 90, 0.5); }
.songsBanner .fret-dot:nth-child(8)  { left: 260px;  background: rgba(100, 173, 220, 0.5); }
.songsBanner .fret-dot:nth-child(9)  { left: 320px; background: rgba(229, 188, 108, 0.48); }
.songsBanner .fret-dot:nth-child(10) { left: 380px; background: rgba(217, 186, 116, 0.45); }
.songsBanner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  min-height: 120px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #141629 0%, #1f2440 40%, #162f3d 100%);
  overflow: hidden;
}

.songsIcon {
  position: relative;
  z-index: 2;

  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.songsIcon svg {
  width: 100%;
  height: 100%;
}

.brandText {
  position: relative;
  z-index: 2;
}
.song-index-footer .show-more-btn, button.show-more-btn, .show-more-btn#showMoreSongsBtn {
  /* border removed after debugging */
  box-sizing: border-box !important;
}
.library-layout main > .quickstart-row {
  width: 100%;
  margin-bottom: 28px;
  grid-column: 1;
}

/* Constrain main content width */
.main-content {
  max-width: 1320px;
  margin: 0 auto;
}
/* Quickstart row: side by side on desktop, stacked on mobile */
.quickstart-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  clear: both;
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  .quickstart-row {
    flex-direction: column;
    gap: 0;
  }
}
@media (max-width: 800px) {
  .quickstart-row {
    grid-template-columns: 1fr;
  }
}
:root {
  --bg-top: #33466f;
  --bg-bottom: #41577d;
  --panel: #132746;
  --panel-border: rgba(255, 255, 255, 0.18);
  --shell-bg: linear-gradient(180deg, rgba(186, 194, 210, 0.86), rgba(176, 186, 204, 0.82));
  --shell-border: rgba(201, 212, 227, 0.24);

  --surface-card: linear-gradient(180deg, rgba(28, 48, 86, 0.98), rgba(14, 26, 52, 0.98));
  --surface-card-border: rgba(255, 255, 255, 0.12);

  --text: #f5f7fb;
  --muted: #c6cfde;
  --muted-soft: rgba(245, 247, 251, 0.76);

  --gold: #e2b95f;
  --gold-bright: #f0c45b;
  --gold-deep: #d79b1d;

  --card-hover: rgba(240, 196, 91, 0.06);

  --blue-panel: #19274a;
  --blue-panel-light: #22345f;
  --blue-accent: #41577d;
  --blue-gradient: linear-gradient(180deg, #33466f 0%, #41577d 100%);
  --blue-panel-gradient: linear-gradient(180deg, #22345f 0%, #33466f 100%);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 87, 255, 0.10), transparent 30%),
    radial-gradient(circle at top right, rgba(90, 170, 220, 0.08), transparent 24%),
    var(--blue-gradient);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  max-width: 1320px;
  
}

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  margin-bottom: 14px;
  background: none;
  height: 64px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


.nav-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.logo-dot {
  color: var(--text);
}

.logo-beat {
  color: var(--gold);
}

.logo-tm {
  display: inline-block;
  margin-left: 1px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.9;
  vertical-align: text-top;
  transform: translateY(-0.14em);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 650;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.nav-link.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(240, 196, 91, 0.18), rgba(240, 196, 91, 0.08));
  border-color: rgba(240, 196, 91, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px rgba(15, 23, 42, 0.16);
}
/* hero */

.hero {
  --hero-scene-width: min(50vw, 520px);
  --hero-scene-right: 44px;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-end;
  justify-content: flex-start;
  max-width: 1320px;
  margin: 0 auto 18px auto;
  padding: 48px 48px 20px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 62%, rgba(90, 170, 220, 0.06), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.03), transparent 34%),
    linear-gradient(180deg, rgba(19, 39, 70, 0.98), rgba(10, 24, 51, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-copy {
  flex: 1 1 58%;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 2rem + 1.2vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 760;
  color: #fff;
}

.hero p {
  margin: 0;
  max-width: 700px;
  color: rgba(245, 247, 251, 0.86);
  font-size: 1.05rem;
  line-height: 1.55;
}

.hero-ambient-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-lines span {
  position: absolute;
  left: 120px;
  right: -20px;
  height: 1px;
  background: rgba(214, 223, 238, 0.12);
}

.hero-ambient-lines span:nth-child(1) { top: 58px; }
.hero-ambient-lines span:nth-child(2) { top: 98px; }
.hero-ambient-lines span:nth-child(3) { top: 138px; }
.hero-ambient-lines span:nth-child(4) { top: 178px; }

.hero-visual {
  flex: 0 1 34%;
  min-width: 0;
  max-width: 48vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual-label {
  margin-bottom: 6px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-visual-grid {
  --grid-columns: 8;
  --grid-rows: 3;
  position: relative;
  min-height: 184px;
  padding: 14px 0 12px;
  border-radius: 24px;
  background: var(--blue-accent);
  border: 1px solid rgba(255, 255, 255, 0.025);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    inset 0 -20px 40px rgba(5, 10, 24, 0.16);
}

.hero-visual-grid::after {
  content: "";
  position: absolute;
  inset: 14% 6% 16% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 91, 0.08), rgba(240, 196, 91, 0) 72%);
  pointer-events: none;
}

.hero-visual-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc((100% / var(--grid-columns)) - 1px),
      rgba(255, 255, 255, 0.06) calc((100% / var(--grid-columns)) - 1px),
      rgba(255, 255, 255, 0.06) calc(100% / var(--grid-columns))
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% calc(100% / var(--grid-rows));
}

.hero-grid-nut {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 229, 167, 0.95), rgba(240, 196, 91, 0.65));
  box-shadow: 0 0 18px rgba(240, 196, 91, 0.18);
  border-radius: 50%;
}

.hero-grid-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  left: calc(((var(--marker-col) - 0.5) / var(--grid-columns)) * 100%);
  top: calc(((var(--marker-row) - 0.5) / var(--grid-rows)) * 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 28%, #fff4c6, #f0c45b 76%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.68),
    0 0 18px rgba(240, 196, 91, 0.22);
}

.marker-col-1 { --marker-col: 1; }
.marker-col-2 { --marker-col: 2; }
.marker-col-3 { --marker-col: 3; }
.marker-col-4 { --marker-col: 4; }
.marker-col-5 { --marker-col: 5; }
.marker-col-7 { --marker-col: 7; }
.marker-col-8 { --marker-col: 8; }

.marker-row-1 { --marker-row: 1; }
.marker-row-2 { --marker-row: 2; }
.marker-row-3 { --marker-row: 3; }

.hero-grid-marker-strong {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 24%, #ffe3a0, #d69425 78%);
  box-shadow:
    0 0 0 1px rgba(255, 248, 219, 0.76),
    0 0 20px rgba(240, 196, 91, 0.3);
}

.hero-grid-marker-soft {
  opacity: 0.88;
}

.hero-grid-playhead {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 68%;
  width: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(240, 196, 91, 0.16));
  box-shadow: 0 0 10px rgba(240, 196, 91, 0.1);
}

/* visual dots */

.dotbeat-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 auto 18px auto;
  max-width: 220px;
  padding: 18px 0;
}

.dotbeat-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 22%, #fff3b9, #f0c45b 72%);
  opacity: 0.92;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 22px rgba(7, 14, 30, 0.5);
  display: inline-block;
}

.dotbeat-dot.strong {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 30% 24%, #ffe3a0, #d69425 78%);
  box-shadow: 0 0 0 2px rgba(255, 248, 219, 0.76), 0 0 20px rgba(240, 196, 91, 0.3);
}

/* shell */

.page-shell {
  margin-top: 12px;
  padding: 18px 20px 24px;
  background: var(--shell-bg);
  border: 1px solid var(--shell-border);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08), 0 6px 16px rgba(15, 23, 42, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7fb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.hero-card h1,
.quickstart-card h1,
.quickstart-card h2,
.song-card h2 {
  letter-spacing: -0.03em;
}
.quickstart-card {
  padding: 28px 30px;
}

.quickstart-card p {
  margin-top: 14px;
}

.quickstart-card h2 {
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.6rem);
  line-height: 1.08;
}

.song-subtitle {
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(235, 241, 250, 0.9);
}

.song-meta-row,
.song-meta-strip,
.song-kicker,
.results-label,
.section-kicker,
.card-kicker {
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.song-kicker,
.section-kicker,
.card-kicker {
  color: #f0c45b;
}

.song-year {
  color: rgba(255, 255, 255, 0.58);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.song-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  color: rgba(230, 236, 245, 0.78);
}

.song-meta-strip strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.filter-panel label,
.filters-panel label,
.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 500;
  color: rgba(234, 240, 248, 0.88);
}

.filter-panel input,
.filter-panel select,
.filters-panel input,
.filters-panel select {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.quickstart-card p,
.hero-card p,
.intro-copy,
.library-intro,
.song-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(233, 239, 247, 0.84);
}

button,
.button,
.cta-button {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.wrap {
  max-width: 1320px;
  margin: 0 auto;
}



.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 16px;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.nav-link.active {
  color: var(--text);
  background: linear-gradient(180deg, rgba(240, 196, 91, 0.18), rgba(240, 196, 91, 0.08));
  border-color: rgba(240, 196, 91, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 20px rgba(15, 23, 42, 0.16);
}


.hero {
  --hero-scene-width: min(50vw, 520px);
  --hero-scene-right: 44px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 18px;
  padding: 34px 38px 36px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 62%, rgba(90, 170, 220, 0.06), transparent 24%),
    radial-gradient(circle at 18% 82%, rgba(255, 255, 255, 0.03), transparent 34%),
    linear-gradient(180deg, rgba(19, 39, 70, 0.98), rgba(10, 24, 51, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-grid {
  background: none;
}

/* Prevent hero glow from overlapping quickstart/flow-helper row */
.songs-shell {
    background: linear-gradient(180deg, rgba(32,54,94,0.96) 0%, rgba(24,42,77,0.96) 100%) !important;
    border: 1px solid rgba(214,223,238,0.14) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  position: relative;
  z-index: 10;
  padding: 24px;
  border-radius: 24px;

  background: linear-gradient(180deg, rgba(49, 66, 111, 0.82), rgba(65, 87, 125, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(49, 66, 111, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
  flex: 1 1 58%;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-ambient-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-lines span {
  position: absolute;
  left: 120px;
  right: -20px;
  height: 1px;
  background: rgba(214, 223, 238, 0.12);
}

.hero-ambient-lines span:nth-child(1) { top: 58px; }
.hero-ambient-lines span:nth-child(2) { top: 98px; }
.hero-ambient-lines span:nth-child(3) { top: 138px; }
.hero-ambient-lines span:nth-child(4) { top: 178px; }

.hero-visual {
  width: min(100%, var(--hero-scene-width));
  margin-right: var(--hero-scene-right);
  margin-left: 0;
  padding: 8px 0 0;
  flex: 0 1 34%;
}

.hero-visual-label {
  margin-bottom: 6px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-visual-grid {
  --grid-columns: 8;
  --grid-rows: 3;
  position: relative;
  min-height: 184px;
  padding: 14px 0 12px;
  border-radius: 24px;
  background: var(--blue-accent);
  border: 1px solid rgba(255, 255, 255, 0.025);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.018),
    inset 0 -20px 40px rgba(5, 10, 24, 0.16);
}

.hero-visual-grid::after {
  content: "";
  position: absolute;
  inset: 14% 6% 16% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 196, 91, 0.08), rgba(240, 196, 91, 0) 72%);
  pointer-events: none;
}

.hero-visual-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc((100% / var(--grid-columns)) - 1px),
      rgba(255, 255, 255, 0.06) calc((100% / var(--grid-columns)) - 1px),
      rgba(255, 255, 255, 0.06) calc(100% / var(--grid-columns))
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% calc(100% / var(--grid-rows));
}

.flow-helper {
  margin-top: 0;
  padding: 24px 26px;
  border-radius: 24px;
  background: var(--blue-panel);
  border: 1px solid rgba(240, 196, 91, 0.18);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.flow-helper-title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.flow-helper-text {
  margin: 0 0 10px;
}

.hero-grid-nut {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 229, 167, 0.95), rgba(240, 196, 91, 0.65));
  box-shadow: 0 0 18px rgba(240, 196, 91, 0.18);
  border-radius: 50%;
}

.hero-grid-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  left: calc(((var(--marker-col) - 0.5) / var(--grid-columns)) * 100%);
  top: calc(((var(--marker-row) - 0.5) / var(--grid-rows)) * 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 28%, #fff4c6, #f0c45b 76%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.68),
    0 0 18px rgba(240, 196, 91, 0.22);
}

.marker-col-1 { --marker-col: 1; }
.marker-col-2 { --marker-col: 2; }
.marker-col-3 { --marker-col: 3; }
.marker-col-4 { --marker-col: 4; }
.marker-col-5 { --marker-col: 5; }
.marker-col-7 { --marker-col: 7; }
.marker-col-8 { --marker-col: 8; }
.marker-row-1 { --marker-row: 1; }
.marker-row-2 { --marker-row: 2; }
.marker-row-3 { --marker-row: 3; }

.hero-grid-marker-strong {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 24%, #ffe3a0, #d69425 78%);
  box-shadow:
    0 0 0 1px rgba(255, 248, 219, 0.76),
    0 0 20px rgba(240, 196, 91, 0.3);
}

.hero-grid-marker-soft {
  opacity: 0.88;
}

.hero-grid-playhead {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 68%;
  width: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(240, 196, 91, 0.16));
  box-shadow: 0 0 10px rgba(240, 196, 91, 0.1);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.quickstart-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(34, 52, 95, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  transition: background 0.18s, border-color 0.18s;
}

.quickstart-card h2,
.hero-card h1 {
  font-size: clamp(1.2rem, 1.1rem + 0.7vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.quickstart-kicker {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quickstart-subtitle,
.quickstart-hint {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.quickstart-hint {
  margin-top: 8px;
  font-size: 14px;
}

.quickstart-actions {
  display: grid;
  gap: 10px;
  min-width: 220px;
  justify-items: center;
}

.quickstart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  border: none;
  color: #1b2137;
  box-shadow: 0 4px 18px rgba(240,196,91,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  border-radius: 16px;
  outline: none;
  transition: background 0.14s, box-shadow 0.14s, transform 0.12s;
  width: 100%;
  text-align: center;
}

.quickstart-btn:hover,
.quickstart-btn:focus-visible {
  outline: none;
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-bright) 100%);
  box-shadow: 0 18px 32px rgba(240,196,91,0.24), 0 2px 12px 0 rgba(0,0,0,0.12);
}
.quickstart-meta {
  color: rgba(245, 247, 251, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.page-shell {
  margin-top: 12px;
  padding: 14px 22px 22px;
  background: var(--shell-bg);
  border: 1px solid var(--shell-border);
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08), 0 6px 16px rgba(15, 23, 42, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.songs-shell .quickstart-card {
  margin-bottom: 18px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 50%;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.library-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 20px;
  min-height: 560px;
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  width: 100%;
  max-width: 260px;
}

.filter-title {
  margin-bottom: 14px;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-group {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.filter-group:last-of-type {
  margin-bottom: 16px;
}

.filter-group span {
  color: var(--muted);
  font-size: 13px;
}

.filter-group select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.filter-group input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.filter-group select option {
  color: var(--text);
  background: var(--blue-panel);
}

.filter-group input::placeholder {
  color: rgba(185, 192, 207, 0.72);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: rgba(240, 196, 91, 0.34);
  box-shadow: 0 0 0 3px rgba(240, 196, 91, 0.08);
}

.clear-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #f7d06a, #e0a020);
  color: #1b2137;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.panel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.results-label {
  color: rgba(240, 196, 91, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.results-count {
  color: var(--muted);
  font-size: 14px;
}
.song-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: start;
  background: none;
}

@media (max-width: 1060px) {
  .song-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


  .song-index-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 56px;
    padding-top: 0;
    clear: both;
    z-index: 1;
    margin-bottom: 40px;
  }

  .show-more-btn {
    min-height: 52px;
    min-width: 260px;
    max-width: 100%;
    padding: 0 48px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold-deep) 100%), var(--gold, #f0c45b);
    color: #473100;
    font-size: 1.13rem;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(255, 161, 35, 0.18);
    transition: transform 0.16s, box-shadow 0.16s;
    margin-top: 24px;
    margin-bottom: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    outline: 2px solid #e2b95f;
    outline-offset: -2px;
    border: 1px solid #e2b95f;
    background-clip: padding-box;
  }

.show-more-btn:hover,
.show-more-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(255, 161, 35, 0.24);
}
.song-card,
.song-card:visited,
.song-card:hover,
.song-card:active {
  color: inherit;
  text-decoration: none;
}

.song-card {
  display: flex;
  flex-direction: column;
  gap: 10px;

  padding: 20px;
  border-radius: 20px;

  background: linear-gradient(180deg, rgba(28, 48, 86, 0.98), rgba(14, 26, 52, 0.98));
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow: 0 16px 36px rgba(0,0,0,0.25);

  transition: all 0.15s ease;
}


.song-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.song-card p {
  font-size: 14px;
  opacity: 0.85;
}

.song-card .meta,
.song-card .tag-row {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.song-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240,196,91,0.4);
  box-shadow: 0 22px 44px rgba(0,0,0,0.32);
}

.song-card:focus-visible {
  outline: none;
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(240, 196, 91, 0.34);
  box-shadow: 0 0 0 3px rgba(240, 196, 91, 0.12), 0 18px 34px rgba(0, 0, 0, 0.2);
}

.song-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.song-card h2 {
  margin: 10px 0 6px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.song-kicker {
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 700;
}

.song-year {
  color: var(--muted);
  font-size: 13px;
}

.song-subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.song-progression {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.song-progression strong {
  margin-right: 8px;
  color: var(--gold-bright);
  font-weight: 700;
}

.song-meta-strip {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.song-meta-strip strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.empty-state {
  border-radius: 20px;
  padding: 24px;
  background: rgba(8, 22, 52, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 15px;
}

.siteFooter {
  width: min(1320px, 96vw);
  margin: 22px auto 0;
  padding: 18px 32px 28px;
  text-align: center;
  color: rgba(222, 232, 244, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
}

.siteFooter .footerTitle,
.siteFooter .footerText,
.siteFooter .footerContact,
.siteFooter .footerMeta,
.siteFooter .footerShareText {
  text-align: center;
}

.siteFooter .footerTitle {
  font-weight: 700;
  color: #f5f7fb;
  margin-bottom: 6px;
}

.siteFooter .footerText {
  max-width: 900px;
  margin: 0 auto 10px;
  line-height: 1.7;
}

.siteFooter .footerContact {
  margin-bottom: 8px;
  color: rgba(222, 232, 244, 0.9);
}

.siteFooter .footerContactLink {
  color: #f5f7fb;
  text-decoration: none;
}

.siteFooter .footerContactLink:hover,
.siteFooter .footerContactLink:focus-visible {
  text-decoration: underline;
}

.footerShare {
  margin-bottom: 8px;
}

.footerShareLinks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footerShareLink {
  color: #f5f7fb;
  text-decoration: none;
}

.footerShareLink:hover,
.footerShareLink:focus-visible {
  text-decoration: underline;
}

.footerShareSep {
  color: rgba(185, 192, 207, 0.9);
}

.siteFooter .footerMeta {
  font-size: 0.88rem;
  color: rgba(185, 192, 207, 0.9);
}

.siteFooter .footerWordmark {
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.03em;
}

.siteFooter .footerWordmark .brand-dot {
  color: #f5f7fb;
}

.siteFooter .footerWordmark .brand-beat {
  color: var(--gold);
}

.siteFooter .footerWordmark .brand-tm {
  display: inline-block;
  margin-left: 1px;
  font-size: 0.5em;
  color: #f5f7fb;
  opacity: 0.92;
  vertical-align: text-top;
  transform: translateY(0.02em);
}

@media (max-width: 980px) {
  .library-layout {
    grid-template-columns: 1fr;
  }

  .quickstart-card {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .quickstart-card > div:first-child {
    flex: 1 1 240px;
    min-width: 0;
  }

  .filters {
    position: static;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
  }

  .song-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding: 10px 0 0;
    z-index: 5;
  }

  .nav-inner {
    flex-direction: row;
    align-items: center;
    overflow: visible;
    padding: 0 14px;
    gap: 10px;
  }

  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 4px;
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 0 8px;
    font-size: 11px;
    min-height: 32px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ambient-lines span {
    left: 20px;
    right: 20px;
  }

  .hero-visual {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .quickstart-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .page-shell {
    padding: 18px;
  }

  .filters {
    width: min(100%, 420px);
  }

  .quickstart-actions {
    width: 100%;
    justify-items: stretch;
    min-width: 0;
  }

  .quickstart-btn {
    width: 100%;
  }

  .song-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 24px 22px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .quickstart-copy h2 {
    font-size: 28px;
  }

  .song-card h2 {
    font-size: 22px;
  }

  .siteFooter {
    margin-top: 18px;
    padding: 16px 18px 24px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 14px;
  }

  .nav-link {
    padding: 0 6px;
    font-size: 10px;
    min-height: 30px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .hero,
  .filters,
  .song-card {
    padding: 18px;
  }

  .page-shell {
    padding: 14px;
  }

  .hero-visual-grid {
    min-height: 148px;
  }

  .footerShareLinks {
    gap: 6px;
  }

  .quickstart-card h2 br {
    display: none;
  }
}
