/* ============================================
   Weirdo Room — Album Preview Site
   深邃宇宙星空 · 冷艳星宇 (deep space · cold cosmic aesthetic)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 深邃宇宙星空 · 冷艳星宇 —— 呼应"星宇历史长河、人类渺小"的意境
     背景为深空蓝黑，主色为冷艳星云紫，星尘靛蓝与星银点缀，营造苍凉渺远的星海感 */
  --bg-deep: #070a14;        /* 深空蓝黑 / 宇宙底色 */
  --bg-dark: #0d1220;        /* 背景第二层 深空过渡 */
  --bg-surface: #12182b;     /* 面板表面 星尘深蓝 */
  --bg-card: rgba(18, 24, 43, 0.8);
  --teal: #c2c9db;           /* 苍白月灰（主强调色，低饱和清冷） */
  --teal-bright: #e8ecf6;    /* 苍白辉光 / 近白 */
  --teal-glow: rgba(194, 201, 219, 0.20);
  --amber: #8ea2c0;          /* 星银（冷银蓝） */
  --amber-bright: #c3d4f0;   /* 星银亮 / 月白 */
  --text: #eef0f7;           /* 冷白 */
  --text-dim: #aab3c8;       /* 冷灰 */
  --text-mute: #6b738c;      /* 深灰紫 */
  --border: rgba(194, 201, 219, 0.18);
  --border-hover: rgba(194, 201, 219, 0.36);
  --player-height: 88px;
  --serif: 'Noto Serif SC', 'Cormorant Garamond', serif;
  --sans: 'Noto Sans SC', -apple-system, sans-serif;
  --sans-en: 'Cormorant Garamond', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Animated background --- */
#wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.5;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(194, 201, 219, 0.10), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(142, 162, 192, 0.06), transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

/* --- Top Nav --- */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(7, 10, 20, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.nav-logo:hover {
  opacity: 0.78;
}

.nav-logo:active {
  opacity: 0.6;
}

.logo-cn {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 2px;
}

.logo-en {
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 3px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Main Content --- */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px calc(var(--player-height) + 60px);
}

/* --- Album Hero Section --- */
.album-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 0;
}

.album-hero {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 64px;
  align-items: center;
}

.album-cover-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
}

.cover-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

.album-cover {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease;
}

.album-cover:hover {
  transform: scale(1.02);
}

.cover-vinyl {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  width: 360px;
  height: 360px;
  z-index: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle,
      #1a1a1a 0px,
      #1a1a1a 2px,
      #0d0d0d 2px,
      #0d0d0d 4px
    );
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cover-vinyl.spinning {
  opacity: 0.9;
  right: -120px;
  animation: spin 8s linear infinite;
}

.cover-vinyl::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* --- Album Info --- */
.album-info {
  opacity: 0;
  transform: translateX(20px);
  animation: fade-in-right 0.8s ease 0.3s forwards;
}

@keyframes fade-in-right {
  to { opacity: 1; transform: translateX(0); }
}

.album-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.meta-tag {
  background: var(--teal);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 3px;
}

.meta-year, .meta-catalog {
  color: var(--text-dim);
  font-size: 15px;
  letter-spacing: 1px;
}

.album-title {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.album-title-en {
  font-family: var(--sans-en);
  font-style: italic;
  font-size: 31px;
  font-weight: 400;
  color: var(--teal);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.album-artist {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}

.album-artist span:first-child {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.artist-en {
  font-family: var(--sans-en);
  font-size: 16px;
  color: var(--text-dim);
  font-style: italic;
}

.album-actions {
  display: flex;
  gap: 16px;
}

.btn-play-album {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--bg-deep);
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--sans);
}

.btn-play-album:hover {
  background: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 201, 219, 0.32);
}

.btn-tracklist {
  display: flex;
  align-items: center;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-tracklist:hover {
  border-color: var(--teal);
  color: var(--text);
}

/* --- Description Section --- */
.description-section {
  padding: 60px 0;
  text-align: center;
}

.description-inner {
  max-width: 700px;
  margin: 0 auto;
}

.desc-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  margin: 0 auto 40px;
}

.desc-line:last-of-type {
  margin: 40px auto 0;
}

.album-description {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 24px;
  white-space: pre-line;
}

.album-description-en {
  font-family: var(--sans-en);
  font-size: 16px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dim);
  white-space: pre-line;
}

/* --- Tracks Section --- */
.tracks-section {
  padding: 40px 0;
}

.tracks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.track-count {
  color: var(--text-dim);
  font-size: 15px;
}

.tracks-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-item {
  display: grid;
  grid-template-columns: 40px 1fr 60px 40px;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.track-item:hover {
  background: rgba(194, 201, 219, 0.08);
}

.track-item.playing {
  background: rgba(194, 201, 219, 0.13);
}

.track-item.playing .track-number {
  color: var(--teal-bright);
}

.track-item.playing .track-title {
  color: var(--teal-bright);
}

.track-number {
  font-family: var(--sans-en);
  font-size: 18px;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
  font-style: italic;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.track-title {
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.track-title-en {
  font-family: var(--sans-en);
  font-size: 14px;
  color: #aab3c8;
  font-style: italic;
}

.track-duration {
  font-family: var(--sans-en);
  font-size: 15px;
  color: #aab3c8;
  text-align: right;
}

.track-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.25s ease;
  color: var(--teal);
}

.track-item:hover .track-play-icon {
  opacity: 1;
}

.track-item.playing .track-play-icon {
  opacity: 1;
  color: var(--teal-bright);
}

/* Sound bars for currently playing track */
.sound-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}

.sound-bars span {
  width: 2px;
  background: var(--teal-bright);
  border-radius: 1px;
  animation: sound-bar 0.8s ease-in-out infinite;
}

.sound-bars span:nth-child(1) { height: 60%; animation-delay: 0s; }
.sound-bars span:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.sound-bars span:nth-child(3) { height: 40%; animation-delay: 0.3s; }
.sound-bars span:nth-child(4) { height: 80%; animation-delay: 0.45s; }

@keyframes sound-bar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* No audio indicator */
.track-item.no-audio {
  opacity: 0.5;
  cursor: not-allowed;
}

.track-item.no-audio:hover {
  background: transparent;
}

.no-audio-badge {
  font-size: 11px;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 3px;
}

/* --- Band Section --- */
.band-section {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.band-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.band-bio {
  margin: 24px 0 40px;
}

.band-bio p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.band-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.member {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.member-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.member-role {
  font-size: 14px;
  color: var(--text-dim);
}

.band-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.band-link {
  color: var(--teal);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.band-link:hover {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}

/* Social links inside the "about the band" section are rendered from admin
   settings, so they share the band-link look instead of the footer pills. */
.band-links .footer-social-link {
  font-family: inherit;
  font-size: 15px;
  color: var(--teal);
  text-decoration: none;
  padding: 0;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.band-links .footer-social-link:hover {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-bright);
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-mute);
}

.footer-sub {
  margin-top: 4px;
  font-style: italic;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 14px;
}

.footer-social-link {
  font-family: var(--sans-en);
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-social-link:hover {
  color: var(--teal-bright);
  border-color: var(--teal);
}

/* --- Player Bar --- */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(7, 10, 20, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-bar.visible {
  transform: translateY(0);
}

.player-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  cursor: pointer;
}

.progress-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  width: 0;
  transition: width 0.1s linear;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-bright);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(232, 236, 246, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-progress:hover .progress-handle {
  opacity: 1;
}

.player-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  padding: 0 32px;
  gap: 24px;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-cover {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.player-track-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.player-track-title {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track-artist {
  font-size: 12px;
  color: var(--text-dim);
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.ctrl-play {
  background: var(--teal) !important;
  color: var(--bg-deep) !important;
  width: 44px;
  height: 44px;
}

.ctrl-play:hover {
  background: var(--teal-bright) !important;
  color: var(--bg-deep) !important;
  transform: scale(1.05);
}

.player-time-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.time-current, .time-total {
  font-family: var(--sans-en);
  font-size: 13px;
  color: var(--text-dim);
}

.time-sep {
  color: var(--text-mute);
  font-size: 13px;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  margin-left: 8px;
}

.volume-slider {
  -webkit-appearance: none;
  width: 70px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-bright);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-bright);
  cursor: pointer;
  border: none;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .album-hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .album-cover-wrapper {
    margin: 0 auto;
    width: 280px;
    height: 280px;
  }

  .cover-vinyl {
    width: 240px;
    height: 240px;
  }

  .album-title {
    font-size: 42px;
  }

  .album-meta {
    justify-content: center;
  }

  .album-actions {
    justify-content: center;
  }

  .band-members {
    grid-template-columns: 1fr;
  }

  .main-content {
    padding: 90px 20px calc(var(--player-height) + 40px);
  }

  .top-nav {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .player-content {
    grid-template-columns: 1fr auto;
    padding: 0 16px;
  }

  .player-time-volume {
    display: none;
  }

  .player-track-text {
    max-width: 150px;
  }
}

@media (max-width: 600px) {
  .album-title {
    font-size: 32px;
  }

  .album-cover-wrapper {
    width: 220px;
    height: 220px;
  }

  .nav-links .nav-link {
    display: none;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--teal);
}

/* --- Selection --- */
::selection {
  background: var(--teal);
  color: var(--bg-deep);
}

/* ============================================
   Home vs Album view toggle
   ============================================ */
.home-intro {
  display: none;
}

body.view-home .home-intro {
  display: block;
}

body.view-home #album-view {
  display: none;
}

.home-intro {
  text-align: center;
  padding: 24px 0 12px;
}

.home-intro-inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-kicker {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 18px;
}

.home-title {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ============================================
   Album Selector Strip
   ============================================ */
.album-selector-section {
  padding: 26px 0 34px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.album-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.selector-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.selector-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--teal);
  border-radius: 2px;
  display: inline-block;
}

.selector-hint {
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 1px;
  margin-left: 8px;
  font-weight: 400;
}

.selector-count {
  font-size: 15px;
  color: var(--text-mute);
}

.album-selector {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
}

.album-selector::-webkit-scrollbar {
  height: 6px;
}

.album-card {
  flex-shrink: 0;
  display: block;
  width: 170px;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.85;
}

.album-card:hover {
  opacity: 1;
  transform: translateY(-5px);
}

.album-card:hover .album-card-cover {
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(194, 201, 219, 0.45);
}

.album-card.active {
  opacity: 1;
}

.album-card.active .album-card-cover {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 2px var(--teal);
}

.album-card-cover {
  width: 170px;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bg-surface);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--border);
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card-cover-placeholder {
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.album-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}

.album-card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-card.active .album-card-title {
  color: var(--teal-bright);
}

.album-card-title-en {
  font-family: var(--sans-en);
  font-size: 13px;
  font-style: italic;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-card-meta {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* --- Cover placeholder (hero, when no cover set) --- */
.album-cover-placeholder-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-dark));
  border-radius: 8px;
  color: var(--text-mute);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* --- Responsive for album selector --- */
@media (max-width: 900px) {
  .album-card,
  .album-card-cover {
    width: 140px;
  }

  .album-card-cover {
    height: 140px;
  }
}

@media (max-width: 600px) {
  .album-card,
  .album-card-cover {
    width: 115px;
  }

  .album-card-cover {
    height: 115px;
  }
}
