* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg1: #0b0b0f;
  --bg2: #15151d;
  --text: #ffffff;
  --muted: #cfcfe6;
  --glass: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top left,
      rgba(106, 13, 173, 0.25),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 90, 255, 0.15),
      transparent 30%
    ),
    linear-gradient(135deg, #05050a, #0b0b14, #111122);
  overflow-x: hidden;
  transition: background 0.6s ease;
}

.member-block {
  padding: 40px 32px 10px;
}

.member-block h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 22px;
  padding-left: 6px;

  color: #ffffff;
  text-transform: uppercase;
  position: relative;

  text-shadow:
    0 0 8px rgba(176, 38, 255, 0.45),
    0 0 18px rgba(106, 13, 173, 0.35);
}

.member-block h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 8px;
  border-radius: 10px;

  background: linear-gradient(90deg, #b026ff, #6c63ff);
  box-shadow: 0 0 12px rgba(176, 38, 255, 0.5);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
}

.topbar h1 {
  font-size: 2rem;
  letter-spacing: 0.5px;
}

.back {
  text-decoration: none;
  color: #fff;
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.back:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

/* MAIN ALBUM STRIP */
.album-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 200px;
  padding: 40px 32px 70px 32px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scrollbar-width: none;
}

.album-strip::-webkit-scrollbar {
  display: none;
}

/* REMOVE ANY EXTRA BLOCK / LAST SPACE */
.album-strip::before,
.album-strip::after {
  content: none !important;
  display: none !important;
}

/* CARD */
.album-card {
  position: relative;
  width: 300px;
  height: 300px;
  min-width: 300px;
  flex: 0 0 300px;

  cursor: pointer;
  overflow: visible;

  transform: none !important;
  margin: 0 !important;
  top: auto !important;
  bottom: auto !important;
}

/* DISC */
.disc {
  position: absolute;
  top: 12px;
  left: 28px;
  width: 255px;
  height: 255px;
  border-radius: 50%;
  z-index: 1;

  background: radial-gradient(
    circle at center,
    #948d9a 0 7%,
    #7b7784 8% 16%,
    #6a686e 17% 34%,
    #403f41 35% 65%,
    #1d1d1d 66% 100%
  );

  box-shadow:
    0 0 10px rgba(139, 92, 246, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.45);

  transition: transform 0.7s ease;
}

.disc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  background: repeating-radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0 2px,
    transparent 2px 6px
  );
}

/* COVER */
.cover {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease;
}

/* HOVER EFFECT */
.album-card:hover .disc {
  transform: translateX(145px) rotate(180deg);
}

.album-card:hover .cover {
  transform: translateY(-6px) rotate(-8deg) translateX(-10px);
}

/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;
  z-index: 1000;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.book {
  perspective: 1200px;
}

.paper {
  position: relative;
  width: min(92vw, 540px);
  min-height: 420px;

  background: linear-gradient(180deg, #ffffff, #faefff);
  color: #111;

  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);

  transform-origin: left center;
  transform: rotateY(-90deg) scale(0.92);
  opacity: 0;

  transition:
    transform 0.65s ease,
    opacity 0.45s ease;
}

.popup.show .paper {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
}

.paper h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #5d2aa8;
}

.close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
}

/* SONG GRID */
.song-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-bottom: 20px;
}

.song-grid li {
  list-style: none;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: 0.3s ease;
}

.song-grid li:hover {
  color: #1db954;
  transform: translateX(5px);
}

#spotifyPlayer {
  width: 100%;
  height: 152px;
  border: none;
  border-radius: 12px;
  margin-top: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .topbar {
    padding: 16px 18px;
    flex-wrap: wrap;
  }

  .topbar h1 {
    font-size: 1.5rem;
  }

  .album-strip {
    gap: 45px;
    padding: 30px 18px 50px 18px;
  }

  .album-card {
    width: 220px;
    height: 220px;
    min-width: 220px;
    flex: 0 0 220px;
  }

  .cover {
    width: 220px;
    height: 220px;
  }

  .disc {
    width: 185px;
    height: 185px;
    top: 10px;
    left: 18px;
  }

  .album-card:hover .disc {
    transform: translateX(110px) rotate(180deg);
  }

  .paper {
    min-height: 360px;
    padding: 22px;
  }

  .paper h2 {
    font-size: 1.6rem;
  }

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