

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #1f1f1f;
  color: #ffffff;
}



.topbar {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 10;
}

body.home-page .topbar,
body.profile-page .topbar,
body.favorites-page .topbar,
body.listenlist-page .topbar {
  background: linear-gradient(90deg, rgba(30, 30, 30, 0.90) 0%, rgba(42, 42, 42, 0.88) 50%, rgba(34, 34, 34, 0.90) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}


.brand:hover { opacity: 0.7; }

.brand .spin { color: #ffffff; }
.brand .list { color: #3b82f6; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.nav-search {
  width: 340px;
  max-width: 45vw;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  outline: none;
  transition: background 0.15s ease;
}

.nav-search::placeholder { color: rgba(255, 255, 255, 0.5); }
.nav-search:focus { background: rgba(255, 255, 255, 0.12); }

.menu-btn {
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.menu-btn:hover { background: rgba(255, 255, 255, 0.08); }

.hamburger {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  background: #3b82f6;
  border-radius: 2px;
}

.menu-dropdown {
  position: absolute;
  right: 0;
  top: 55px;
  background: #3b82f6;   
  border-radius: 12px;
  padding: 8px;
  width: 180px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 999;
}


.menu-dropdown.show { display: block; }

.menu-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  color: white;

  text-transform: uppercase;   
  font-size: 13px;
  letter-spacing: 1px;
}


.menu-item:hover { background: rgba(255, 255, 255, 0.08); }



.page-title {
  margin: 30px 40px 15px 40px;
  font-size: 22px;
}

.controls { margin: 15px 40px; }

select {
  padding: 6px;
  border-radius: 6px;
  border: none;
  background: #2a2a2a;
  color: #ffffff;
}

#resultInfo {
  margin: 0 40px 10px 40px;
  opacity: 0.8;
}

.profile-header {
  text-align: center;
  margin: 30px 40px 12px 40px;
}

.profile-header .page-title {
  margin: 0 0 8px 0;
}

.profile-user-info {
  margin: 0;
  opacity: 0.9;
}



#albumContainer,
#topRatedContainer,
#favContainer,
#wishContainer,
#myRatingsContainer,
#myReviewsContainer {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin: 20px 40px;
}



.album-card {
  background: #262626;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: transform 0.12s ease, background 0.12s ease;
}

.album-card:hover {
  transform: translateY(-2px);
  background: #2e2e2e;
}

.album-card h3 {
  margin: 12px 0 6px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.album-card p {
  font-size: 13px;
  margin: 5px 0;
  opacity: 0.75;
}

.cover {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
}

.star {
  font-size: 18px;
  cursor: pointer;
  color: #3b82f6;
  opacity: 0.6;
  transition: opacity 0.1s ease;
}

.star.filled { opacity: 1; }
.star:hover { opacity: 1; }

.inline-rating-star {
  color: #ffffff;
  font-size: 11px;
  vertical-align: baseline;
}

button {
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  background: #2a2a2a;
  color: white;
  cursor: pointer;
}

button:hover { background: #3b82f6; }

textarea {
  border-radius: 8px;
  border: none;
  padding: 10px;
  background: #2a2a2a;
  color: white;
}




body.album-page .topbar {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.30);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


body.album-page .nav-search {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

body.album-page .nav-search::placeholder {
  color: rgba(255, 255, 255, 0.65);
}


.album-hero {
  position: relative;
  overflow: hidden;
  z-index: 0;

  margin-top: -80px;
  padding-top: 130px;     
  padding-left: 40px;
  padding-right: 40px;

  min-height: 520px;      
  padding-bottom: 400px;  
}




.album-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.02) brightness(0.90);
  transform: none;

}


.album-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(31,31,31,0.96) 100%
  );
}


.album-hero .vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(1200px 520px at 50% 15%,
      rgba(0,0,0,0) 55%,
      rgba(0,0,0,0.22) 80%,
      rgba(0,0,0,0.45) 100%),
    radial-gradient(1100px 700px at 50% 75%,
      rgba(0,0,0,0) 40%,
      rgba(0,0,0,0.30) 78%,
      rgba(0,0,0,0.70) 100%);
}


.album-hero-inner {
  position: absolute;     
  left: 0;
  right: 0;
  top: var(--cards-top, 500px);  

  z-index: 5;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  align-items: start;

  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;        
}



.album-panel {
  background: rgba(30, 30, 30, 0.55);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
}

.album-main-card {
  background: rgba(30, 30, 30, 0.55);
  border-radius: 14px;
  padding: 18px;
}

.album-subcard {
  margin-top: 18px;
}

.album-cover-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: start;
}

.album-cover-row .cover { height: 220px; }

.album-title {
  margin: 0 0 6px 0;
}

.album-artist {
  opacity: 0.85;
  margin-bottom: 6px;
}

.album-genre {
  opacity: 0.7;
  font-size: 13px;
  margin-bottom: 10px;
}

.album-description {
  opacity: 0.95;
  line-height: 1.5;
}

.album-section-heading {
  margin: 0 0 10px 0;
}

.full-width-btn {
  width: 100%;
}

.btn-spacing-sm {
  margin-bottom: 8px;
}

.btn-spacing-md {
  margin-bottom: 10px;
}

.full-width-textarea {
  width: 100%;
}

.status-text {
  opacity: 0.85;
  font-size: 12px;
  min-height: 16px;
}

.status-success {
  color: #a7f3d0;
}

.status-error {
  color: #fca5a5;
}

.muted-text {
  margin-bottom: 6px;
  opacity: 0.9;
}

.activity-block {
  margin-top: 14px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-8 {
  margin-top: 8px;
}

.mb-6 {
  margin-bottom: 6px;
}

.review-item {
  text-align: left;
  padding: 12px;
  margin: 10px 0;
  background: #1f1f1f;
  border-radius: 12px;
}

.review-meta {
  opacity: 0.85;
  font-size: 12px;
  margin-bottom: 6px;
}

.review-body {
  opacity: 0.95;
}


.album-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  pointer-events: none;

  z-index: 2;   
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #1f1f1f 60%);
}


.album-below {
  max-width: 1100px;
  margin: 18px auto 50px auto;
  padding: 0 40px;
}

.album-reviews-card {
  width: 100%;
    background: rgba(38,38,38,0.75);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 18px;
}

.album-reviews-card h2 { margin: 0 0 10px 0; }


@media (max-width: 950px) {
  .album-hero-inner {
    grid-template-columns: 1fr;
    top: var(--cards-top, 460px);
    padding: 0 20px;
  }
  .album-cover-row {
    grid-template-columns: 180px 1fr;
  }

  .album-below {
    padding: 0 20px;
    margin-top: 30px;
  }
}

@media (max-width: 700px) {
  .album-hero {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 115px;
    padding-bottom: 460px;
  }

  .album-hero-inner {
    top: var(--cards-top, 430px);
  }

  .album-cover-row {
    grid-template-columns: 1fr;
  }

  .album-cover-row .cover {
    height: auto;
    max-height: 320px;
  }
}

.credits-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.credit-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

.credit-row span:first-child {
  opacity: 0.6;
}

.credit-row span:last-child {
  font-weight: 500;
}


.album-hero-inner {
  z-index: 5;
}
.album-below {
  position: relative;
  z-index: 6;
}




body.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(420px, 100%);
  background: #262626;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.auth-card h1 {
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.auth-logo .spin { color: #ffffff; }
.auth-logo .list { color: #3b82f6; }

.auth-card h2 {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

.auth-card input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: #ffffff;
}

.auth-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
