@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Open+Sans:wght@400;600&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}

/* ===== LINKS ===== */
a {
  color: #00cc00;
  text-decoration: none;
  background-image: linear-gradient(#00cc00, #00cc00);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.25s ease-out, color 0.15s;
}

a:visited {
  color: #009900;
  background-image: linear-gradient(#009900, #009900);
}

a:hover {
  color: #00ff00;
  background-size: 100% 1px;
  background-image: linear-gradient(#00ff00, #00ff00);
}

a:active {
  color: #00ff00;
}

/* ===== LAYOUT ===== */
.site-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
  grid-column: 1 / -1;
  background: #000;
  border-bottom: 2px solid #800000;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.site-title-sub {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.75rem;
  color: #cc0000;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(180, 0, 0, 0.5);
  margin-bottom: 2px;
}

.site-title-by {
  font-size: 0.6rem;
  color: #666;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: none;
}

.header-band-name {
  color: #888;
  font-size: 0.85rem;
  margin-left: auto;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== SIDEBAR ===== */
.sidebar {
  background-color: #5c0000;
  padding: 18px 12px;
  border-right: 2px solid #800000;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav-section h3 {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff9999;
  border-bottom: 1px solid #800000;
  padding-bottom: 5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.nav-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-section ul li a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #00cc00;
  background-image: linear-gradient(#00cc00, #00cc00);
}

.nav-section ul li a:visited {
  color: #009900;
}

.nav-section ul li a:hover {
  color: #00ff00;
  background-image: linear-gradient(#00ff00, #00ff00);
}

.nav-section ul li.current a {
  color: #ffdd00;
  background-image: linear-gradient(#ffdd00, #ffdd00);
  cursor: default;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  padding: 24px 28px;
  background: #000;
}

/* ===== BAND HEADER ===== */
.band-header {
  background: #001a00;
  border: 1px solid #004000;
  text-align: center;
  padding: 12px;
  margin-bottom: 24px;
}

.band-header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.band-header h2 {
  font-size: 0.85rem;
  color: #8fbc8f;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: normal;
}

/* ===== BAND PHOTO ===== */
.band-photo {
  text-align: center;
  margin-bottom: 32px;
}

.band-photo img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  border: 2px solid #333;
}

/* ===== DISCOGRAPHY ===== */
.discography h2 {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: #000080;
  color: #fff;
  padding: 7px 12px;
  margin-bottom: 14px;
  margin-top: 24px;
}

.discography h2:first-child {
  margin-top: 0;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.artist-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.artist-grid .album-item img {
  height: 180px;
  object-fit: cover;
}

.intro-text {
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.7;
  margin: 0 0 28px 0;
}

.album-item {
  text-align: center;
}

.album-item a.cover-link {
  display: block;
  background: none;
  background-image: none;
  transition: none;
}

.album-item a.cover-link:hover {
  background-size: 0;
}

.album-item img {
  height: 75px;
  width: auto;
  max-width: 100%;
  border: 1px solid #333;
  transition: border-color 0.2s;
  display: block;
  margin: 0 auto 7px;
}

.album-item a.cover-link:hover img {
  border-color: #00cc00;
}

.album-item img.cover-placeholder {
  width: 75px;
  height: 75px;
  background-color: #1a1a1a;
}

.album-item .album-title {
  font-size: 0.72rem;
  line-height: 1.3;
  color: #aaa;
}

.album-item .album-title a {
  font-size: 0.72rem;
  font-weight: 600;
  color: #00cc00;
}

.album-item .disclaimer {
  font-size: 0.62rem;
  color: #666;
  margin-top: 3px;
}

.album-item .disclaimer a {
  color: #666;
  background-image: linear-gradient(#666, #666);
  font-size: 0.62rem;
}

/* Disclaimer block at bottom */
.disclaimer-block {
  margin-top: 28px;
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.6;
}

.disclaimer-block a {
  color: #aaa;
  background-image: linear-gradient(#aaa, #aaa);
  font-size: 0.75rem;
}

/* Framed disclaimer (used at the very bottom of a band/album page) */
.disclaimer-frame {
  margin: 32px 0;
  border: 1px solid #333;
  padding: 14px 18px;
  font-size: 0.75rem;
  color: #aaa;
  line-height: 1.65;
  background: #0a0a0a;
}

.disclaimer-frame strong {
  color: #ccc;
}

.disclaimer-frame a {
  color: #aaa;
  background-image: linear-gradient(#aaa, #aaa);
  font-size: 0.75rem;
}

/* ===== ALBUM NAV ===== */
.album-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.75rem;
  color: #555;
}

.album-nav a {
  font-size: 0.75rem;
  color: #777;
  background-image: linear-gradient(#777, #777);
}

.album-nav a:hover {
  color: #00ff00;
  background-image: linear-gradient(#00ff00, #00ff00);
}

.album-nav .nav-back {
  flex: 1;
  text-align: center;
}

.album-nav .nav-prev {
  flex: 1;
}

.album-nav .nav-next {
  flex: 1;
  text-align: right;
}

.album-nav .nav-empty {
  flex: 1;
}

/* ===== ALBUM PAGE ===== */
.album-cover {
  float: right;
  margin: 0 0 20px 24px;
  text-align: center;
}

.album-cover img {
  display: block;
  max-height: 220px;
  width: auto;
  border: 2px solid #444;
}

.album-cover img.cover-placeholder {
  width: 220px;
  height: 220px;
  background-color: #1a1a1a;
}

.album-cover .cover-caption {
  font-size: 0.65rem;
  color: #666;
  margin-top: 5px;
  letter-spacing: 1px;
}

.album-meta {
  color: #aaa;
  font-size: 0.82rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.album-meta strong {
  color: #ccc;
}

.album-note {
  color: #aaa;
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 4px 0 24px;
}

.edition-heading {
  font-size: 0.95rem;
  color: #fff;
  margin: 24px 0 8px;
}

.lyrics-section .lyrics-divider {
  margin: 8px 0 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid #1a1a1a;
}

.song-dedication {
  font-size: 0.72rem;
  color: #888;
  font-style: italic;
  margin: -8px 0 12px;
}

.tracklist {
  list-style: decimal;
  margin-bottom: 28px;
  border: 1px solid #1a1a1a;
  background: #080808;
  padding: 12px 16px 12px 36px;
}

.tracklist li {
  padding: 4px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #1a1a1a;
}

.tracklist li:last-child {
  border-bottom: none;
}

.tracklist li a {
  font-size: 0.85rem;
}

.lyrics-section {
  clear: both;
}

.lyrics-section .song {
  margin-bottom: 32px;
}

.lyrics-section h3 {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
  border-left: 3px solid #800000;
  padding-left: 10px;
  margin-bottom: 10px;
  scroll-margin-top: 16px;
}

.lyrics-section pre {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.82rem;
  color: #ccc;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 0 0 0 13px;
  border-left: 1px solid #222;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  .site-wrapper {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .header-band-name {
    margin-left: 0;
  }

  .sidebar {
    border-right: none;
    border-bottom: 2px solid #800000;
    padding: 14px 16px;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-section {
    min-width: 140px;
  }

  .main-content {
    padding: 18px 16px;
  }

  .album-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 12px;
  }
}
