@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aladin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ruslan+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cute+Font&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');


/*-----color names have no meaning here------*/

:root {
  --paper: #efe9dd;
  --ink: #1c1a17;
  --mustard: #c9922b;
  --maroon: #8ec4e5;
  --lightblue: #abadea;
  --line: #eebc42;
  --paper-raised: #f7f3e9;
  --burgandy: #420D09;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Fraunces", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

/* ---------- regular background  ---------- */

.gingham-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: flex;
  margin: 0;
  padding: var(--margin);
  background: var(--background-color);
  background-image: url("https://bettysgraphics.neocities.org/images/backgrounds/086C.jpg");
}

/* ---------- Background carousel (either this or carousel.bg when I have enough reviews ---------- */
.infinite-bg {
  background-image:url(https://preview.redd.it/top-100-albums-oat-playlist-with-weekly-updates-topster-v0-2j4sqpojerib1.png?width=1080&crop=smart&auto=webp&s=f1534acd2c05931c5811336f634094ea9d737a88);
  background-repeat: repeat;
  animation: collage-anim 45s linear infinite;
}
  
@keyframes collage-anim {
  0% {background-position: 0 0;}
  100% {background-position: -1926px 0;}
}

.bg-carousel {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;m
  background: var(--ink);
}

.bg-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.bg-carousel img.active {
  opacity: 1;
}

.bg-scrim {
  position: fixed;
  z-index: -1;
  background: rgba(28, 26, 23, 0.43);
}

/* ----------nav bar ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #ab1313;
  border-bottom: 1px solid rgba(239, 233, 221, 0.25);
}

.site-nav .wordmark {
  font-family: "Ruslan Display", serif;
  font-weight: 600;
  font-size: 25px;
  color: black;
  display: inline-flex;
  align-items:center;
  text-decoration: none;
  letter-spacing: 3px;
}

.site-nav .wordmark-icon {
  width: 32px;  
  height: 32px;
  margin-right: 12px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.site-nav a.nav-link {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: "Pixelify Sans", monospace;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.site-nav a.nav-link:hover,
.site-nav a.nav-link.current {
  border-color: var(--mustard);
  color: var(--mustard);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-family: "Pixelify Sans", monospace;
  padding: 5px 8px;
  cursor: pointer;
}

/*-------music review bubble nav------*/
   
.site-nav-v2 { 
  position: sticky; 
  top: 0; 
  z-index: 10; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 15px 30px; 
  background: #BF0B5E;
} 

.site-nav-v2 .wordmark { 
  font-family: "Cute Font", serif; 
  font-weight: 600; 
  font-size: 20px; 
  color: #F06291; 
  display: inline-flex; 
  align-items: center; 
  text-decoration: none; 
  letter-spacing: 0.4em; 
} 

.site-nav-v2 .wordmark-icon { 
  width: 32px; 
  height: 32px; 
  margin-right: 12px; 
} 

.site-nav-v2 ul { 
  list-style: none; 
  display: flex; 
  gap: 20px; 
  margin: 0; 
  padding: 0; 
} 

.site-nav-v2 a.nav-link { 
  background-color: #F06291;
  color: #B0194B; 
  text-decoration: none; 
  font-size: 0.85rem; 
  font-family: "Pixelify Sans", sans serif; 
  font-weight: bold;
  padding: 10px 18px; 
  border-radius: 50px; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
} 

.site-nav-v2 a.nav-link:hover { 
  background-color: #ff94c2; 
  color: #ffffff; 
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 148, 194, 0.4); 
} 

.site-nav-v2 a.nav-link.current { 
  background-color: #4a0e2e;
  color: #ffb7d5; 
  box-shadow: none;
}


@media (max-width: 620px) {
  .nav-toggle {
    display: block;
  }
  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(28, 26, 23, 0.96);
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .site-nav ul.open {
    display: flex;
  }
}

@media (max-width: 620px) {
  .site-nav-v2 .nav-toggle { 
    display: block; 
  } 
  .site-nav-v2 ul { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    flex-direction: column; 
    align-items: center; 
    background: rgba(74, 14, 46, 0.96); 
    padding: 1.5rem; 
    gap: 1.2rem; 
  } 

  .site-nav-v2 ul.open { 
    display: flex; 
  } 
}


/* ----------content ---------- */

.content-panel {
  background: rgba(237, 76, 76, 0.63);
  border: 1px solid var(--ink);
  max-width: 80%;
  margin: 3rem auto;
  padding: 0.5rem 0;
}

.content-panel-2 {
  background: rgba(218, 35, 88, 0.96);
  border: 1px solid var(--ink);
  max-width: 900px;
  margin: 3rem auto;
  padding: 0.5rem 0;
}

.content-panel-3 {
  background: rgba(0, 71, 171, 0.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 139, 0.6);
  max-width: 900px;
  margin: 3rem auto;
  padding: 0.5rem 0;
}

.content-panel > .site-header,
.content-panel > main {
  max-width: none;
  margin: 0;
}

@media (max-width: 620px) {
  .content-panel {
    margin: 1rem 1rem;
    max-width:100%;  
  }
}

/* ---------- placeholder for album page ---------- */

.placeholder-body {
  padding: 3rem 1.5rem 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.placeholder-body h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 0.6rem;
}

.placeholder-body p {
  color: var(--mustard);
  font-size: 0.95rem;
}

/* ---------- header ---------- */

.site-header {
  padding: 3rem 1.5rem 2rem;
  border-bottom: 3px solid var(--ink);
  max-width: 900px;
  margin: 2 auto;
  background-image: url('images/vertical header.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 40% auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header h1 {
  font-family: "Jersey 10", serif;
  font-weight: 700;
  font-size: clamp(1.2rem);
  margin: 0 0 0.4rem;
  letter-spacing: .2em;
  color: #590016;
  text-align: left;
  max-width:60%;
}

.site-header p {
  margin: 0;
  color: var(--mustard);
  font-size: 0.95rem;
  text-align: left;
}

.site-header .catalog-count {
  font-size: 0.8rem;
  color: var(--lightblue);
  margin-top: 0.6rem;
}

/* ----------main layout---------- */

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

section + section {
  margin-top: 3rem;
}

h2.section-label {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ---------- search ---------- */

.search-box {
  width: 100%;
  font-family: "Jersey 10", monospace;
  font-size: 17px;
  background: rgba(31, 189, 242, 0.4);
  border: 1px solid var(--ink);
  color: rgba(17, 16, 105, 0.8);
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
}

.search-box::placeholder {
  color: rgba(150, 17, 83, 0.8);
}

.search-box:focus {
  outline: none;
  border-color: var(--maroon);
}

/* ---------- filter ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  font-family: "Pixelify Sans", sans serif;
  font-size: 13px;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.filter-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.filter-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--paper);
}

.filter-toggle-btn {
  font-family: "Pixelify Sans", sans-serif;
  font-size: 13px;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tags.collapsed {
  display: none;
}

/* ---------- Cover shelf ---------- */

.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.4rem;
}

.shelf a {
  text-decoration: none;
  display: block;
}

.cover-frame {
  aspect-ratio: 1 / 1;
  background: var(--paper-raised);
  overflow: hidden;
  border:1px solid #D1134F;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shelf a:hover .cover-frame {
  transform: rotate(-1deg) scale(1.04);
  box-shadow: 6px 6px 0 var(--maroon);
}

.shelf .meta {
  margin-top: 0.5rem;
  font-size: 14px;
  color: rgb(8, 9, 48);
}

.shelf .meta .artist {
  display: block;
  color: aliceblue;
  font-size: 12px;
}

/* ---------- Table ---------- */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  text-align: left;
  font-family: "Jersey 10", monospace;
  font-weight: 500;
  font-size: 20px;
  color: var(--maroon);
  border-bottom: 2px solid var(--ink);
  padding: 0.5px 0.6px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

thead th:hover {
  color:rgb(16, 19, 105);
}

tbody tr {
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s ease;
}

tbody tr:hover {
  background: var(--paper-raised);
}

tbody td {
  padding: 0.6rem;
  vertical-align: middle;
}

tbody a.row-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.rating-pill {
  display: inline-block;
  min-width: 1.8rem;
  text-align: center;
  padding: 0.1rem 0.4rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  color: lightblue;
  border: 1px solid #2C48D4;
  padding: 0.05rem 0.4rem;
  margin: 0.1rem 0.2rem 0.1rem 0;
}

.empty-state {
  padding: 2rem 0;
  color: var(--mustard);
  font-size: 0.85rem;
}

/* ---------- Review page ---------- */

.review-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.review-page .back-link {
  font-size: 0.8rem;
  color: var(--black);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 2rem;
}

.review-page .back-link:hover {
  text-decoration: underline;
}

.review-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.review-header .cover-frame {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border: 1px solid var(--ink);
  overflow: hidden;
}

.review-header .cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-header h1 {
  font-family: "Ruslan Display", serif;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  margin: 0 0 0.2rem;
  line-height: 1.1;
  letter-spacing: 3px;
  margin-right: -4px;
}

.review-header .byline {
  font-family: "Cute Font", sans-serif;
  font-size: 1.6rem;
  color: var(--burgandy);
  margin: 0 0 0.6rem;
}

.review-body h2 {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.review-body h4 {
  font-family: "Aladin", sans-serif;
  padding-top: 0;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}

.review-body p {
  font-size: 1.15rem;
  font-family: "Pixelify Sans", sans-serif;
  line-height:1.2;
}

@media (max-width: 480px) {
  .review-header {
    flex-direction: column;
  }
  .review-header .cover-frame {
    width: 100px;
  }
