/* ================================
   ALBUMS STYLESHEET
   Covers: Music Albums grid (.ma-*) + every
   individual album detail page (.alb-*).

   Structural classes (.alb-*) are shared by every
   album page. Each album supplies its own look by
   defining CSS variables on a "theme-{album}" class
   (see the Moonbow theme block below) — copy that
   block and adjust values for a new album's theme,
   no structural CSS needs to change.
================================ */

/* ================================
   MUSIC ALBUMS GRID
================================ */
.music-albums {
  background: #f9f9f9;
  color: #111;
  min-height: 100vh;
  padding: 100px 40px 60px;
}

.ma-heading {
  text-align: center;
  font-size: 2em;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
  color: #111;
}

.ma-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.ma-card {
  text-decoration: none;
  color: #111;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.ma-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.ma-cover-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.ma-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ma-card:hover .ma-cover {
  transform: scale(1.05);
}

.ma-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ma-card:hover .ma-overlay {
  opacity: 1;
}

.ma-view {
  color: #fff;
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 8px 20px;
  border-radius: 50px;
}

.ma-info {
  padding: 14px 16px;
}

.ma-title {
  margin: 0 0 4px;
  font-size: 1.1em;
  font-weight: 600;
}

.ma-year {
  margin: 0;
  font-size: 0.85em;
  color: #888;
}

/* Upcoming / not-yet-released album card */
.ma-card--upcoming {
  cursor: default;
}

.ma-card--upcoming .ma-cover {
  filter: grayscale(1);
  opacity: 0.55;
}

.ma-card--upcoming:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ma-card--upcoming:hover .ma-cover {
  transform: none;
}

.ma-card--upcoming .ma-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.55);
}

.ma-badge-upcoming {
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 8px 20px;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .music-albums {
    padding: 100px 20px 60px;
  }
  .ma-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ================================
   ALBUM PAGE — shared structure
   (every album page uses these classes)
================================ */
.album-page {
  padding: 0;
  min-height: 100vh;
  font-family: var(--alb-sans, sans-serif);
  background: var(--alb-bg, #0d0d1a);
  color: var(--alb-text, #e8e0f0);
}

/* ---- Hero ---- */
.alb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--alb-hero-bg);
}

.alb-hero-glow {
  position: absolute;
  inset: 0;
  background: var(--alb-hero-glow);
  pointer-events: none;
  z-index: 1;
}

.alb-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.35;
  z-index: 0;
}

.alb-hero-content {
  position: relative;
  text-align: center;
  padding: clamp(56px, 12vw, 90px) 20px clamp(32px, 7vw, 56px);
  z-index: 2;
}

.alb-label {
  font-family: var(--alb-sans, sans-serif);
  font-weight: 300;
  font-size: 0.85em;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--alb-accent);
  margin-bottom: 16px;
}

.alb-title {
  font-family: var(--alb-serif, serif);
  font-weight: 300;
  font-size: clamp(3.5em, 10vw, 7em);
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: var(--alb-title-glow);
}

.alb-subtitle {
  font-family: var(--alb-serif, serif);
  font-style: italic;
  font-size: clamp(1em, 2.5vw, 1.3em);
  color: var(--alb-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Listen / platform buttons */
.alb-listen-btns,
.alb-platform-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.alb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.95em;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.alb-btn-spotify {
  background: #1DB954;
  color: #fff;
}

.alb-btn-spotify:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29, 185, 84, 0.4);
}

.alb-btn-apple {
  background: #fa233b;
  color: #fff;
}

.alb-btn-apple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(250, 35, 59, 0.4);
}

.alb-btn-youtube {
  background: #ff0000;
  color: #fff;
}

.alb-btn-youtube:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.35);
}

.alb-btn-outline {
  background: transparent;
  color: var(--alb-text);
  border: 1px solid rgba(255,255,255,0.3);
}

.alb-btn-outline:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 8px 24px rgba(255,255,255,0.1);
}

/* ---- Shared section title ---- */
.alb-section-title {
  font-family: var(--alb-serif, serif);
  font-weight: 300;
  font-size: clamp(1.8em, 4vw, 2.5em);
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--alb-heading);
  margin-bottom: clamp(14px, 3vw, 22px);
}

.alb-section-sub {
  text-align: center;
  max-width: 560px;
  margin: -16px auto 32px;
  color: var(--alb-muted);
  font-size: 0.95em;
}

/* ---- Player (Spotify embed) ---- */
.alb-player-wrap {
  padding: clamp(28px, 5vw, 44px) 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}

.alb-player-wrap iframe {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.alb-platform-btns {
  margin-top: 28px;
}

/* ---- About / Story ---- */
.alb-about {
  padding: clamp(28px, 5vw, 44px) 20px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-about-text {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
  line-height: 1.9;
  color: var(--alb-muted);
  font-family: var(--alb-serif, serif);
  font-size: 1.2em;
}

.alb-about-text:last-child {
  margin-bottom: 0;
}

.alb-about-text em {
  color: var(--alb-text);
}

/* ---- Emotional Arc ---- */
.alb-arc-wrap {
  padding: clamp(24px, 4vw, 36px) 20px clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-arc {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  counter-reset: arc-step;
}

.alb-arc-step {
  position: relative;
  flex: 1;
  text-align: center;
  padding-top: 26px;
}

.alb-arc-step::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.alb-arc-step:first-child::before {
  left: 50%;
}

.alb-arc-step:last-child::before {
  right: 50%;
}

.alb-arc-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--stage-color);
  box-shadow: 0 0 14px var(--stage-color);
}

.alb-arc-label {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.8em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stage-color);
}

@media (max-width: 640px) {
  .alb-arc {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .alb-arc-step {
    padding-top: 0;
    padding-left: 30px;
    text-align: left;
  }
  .alb-arc-step::before {
    top: 0;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .alb-arc-step:first-child::before,
  .alb-arc-step:last-child::before {
    left: 6px;
  }
  .alb-arc-dot {
    top: 3px;
    left: 0;
    transform: none;
  }
}

/* Stage colors — shared between the Emotional Arc and tracklist badges */
.alb-stage-wonder        { --stage-color: #7ecfd4; }
.alb-stage-confrontation { --stage-color: #e2637c; }
.alb-stage-expression    { --stage-color: #f3b562; }
.alb-stage-love          { --stage-color: #f57fb0; }
.alb-stage-peace         { --stage-color: #9d8cf0; }

/* ---- Tracklist ---- */
.alb-tracklist-wrap {
  padding: clamp(28px, 5vw, 44px) 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-tracklist {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
}

.alb-track {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.alb-track:last-child {
  border-bottom: none;
}

.alb-track-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.alb-track:hover .alb-track-name {
  color: var(--alb-accent);
}

.alb-track-num {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.75em;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--alb-track-num);
  min-width: 24px;
}

.alb-track-name {
  font-family: var(--alb-serif, serif);
  font-size: 1.25em;
  font-weight: 400;
  color: var(--alb-text);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.alb-track-time {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.8em;
  color: var(--alb-muted);
  margin-left: auto;
}

.alb-track-stage {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stage-color);
  border: 1px solid var(--stage-color);
  border-radius: 50px;
  padding: 3px 12px;
}

.alb-track-desc {
  font-family: var(--alb-serif, serif);
  font-style: italic;
  font-size: 1em;
  color: var(--alb-muted);
  line-height: 1.6;
  margin: 8px 0 0 38px;
}

/* ---- Mood & Style ---- */
.alb-mood {
  padding: clamp(28px, 5vw, 44px) 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.alb-mood-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.alb-tags-group {
  margin-bottom: 28px;
}

.alb-tags-label {
  display: block;
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.75em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alb-accent);
  margin-bottom: 14px;
}

.alb-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.alb-tag {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.85em;
  color: var(--alb-text);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 18px;
}

.alb-instrumentation {
  font-family: var(--alb-serif, serif);
  font-style: italic;
  color: var(--alb-muted);
  line-height: 1.7;
}

/* ---- About the Artist ---- */
.alb-bio {
  padding: clamp(28px, 5vw, 44px) 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-bio-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.9;
  color: var(--alb-muted);
  font-family: var(--alb-serif, serif);
  font-size: 1.15em;
}

/* ---- Credits ---- */
.alb-credits {
  padding: clamp(24px, 4vw, 36px) 20px clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.alb-credits-list {
  max-width: 480px;
  margin: 0 auto;
}

.alb-credits-list dt {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.75em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--alb-accent);
  margin-top: 18px;
}

.alb-credits-list dt:first-child {
  margin-top: 0;
}

.alb-credits-list dd {
  margin: 4px 0 0;
  font-family: var(--alb-serif, serif);
  font-size: 1.15em;
  color: var(--alb-text);
}

.alb-credits-subhead {
  max-width: 720px;
  margin: clamp(20px, 4vw, 32px) auto clamp(10px, 2vw, 16px);
  text-align: center;
  font-family: var(--alb-sans, sans-serif);
  font-weight: 400;
  font-size: 0.85em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--alb-heading);
}

/* Multi-column variant of the credits list (musicians / production) */
.alb-credits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px 28px;
  max-width: 720px;
}

.alb-credits-grid dt {
  margin-top: 0;
}

.alb-credits-grid dd {
  font-size: 1.05em;
}

.alb-credit-note {
  display: block;
  margin-top: 2px;
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.72em;
  color: var(--alb-muted);
}

.alb-credit-link {
  color: var(--alb-text);
  text-decoration: underline;
  text-decoration-color: var(--alb-accent);
  text-underline-offset: 3px;
}

.alb-credit-link:hover {
  color: var(--alb-accent);
}

/* ---- Press ---- */
.alb-press {
  padding: clamp(24px, 4vw, 36px) 20px clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.alb-press-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.alb-press-card:hover {
  transform: translateY(-4px);
  border-color: var(--alb-accent);
  background: rgba(255,255,255,0.04);
}

.alb-press-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px;
  text-decoration: none;
}

.alb-press-clips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.alb-press-clip {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.72em;
  letter-spacing: 0.05em;
  color: var(--alb-muted);
  text-decoration: none;
}

.alb-press-clip i {
  margin-right: 4px;
}

.alb-press-clip:hover {
  color: var(--alb-accent);
}

.alb-press-outlet {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.75em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--alb-accent);
}

.alb-press-headline {
  flex: 1;
  font-family: var(--alb-serif, serif);
  font-size: 1.15em;
  line-height: 1.5;
  color: var(--alb-text);
}

.alb-press-tag {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.75em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alb-muted);
}

.alb-press-tag i {
  margin-left: 6px;
  font-size: 0.9em;
}

.alb-press-more {
  margin-top: 24px;
  text-align: center;
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.8em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--alb-muted);
}

/* ---- Placeholder blocks (Gallery / Press) ---- */
.alb-placeholder-wrap {
  padding: clamp(24px, 4vw, 36px) 20px clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.alb-placeholder-box {
  max-width: 560px;
  margin: 0 auto;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  color: var(--alb-muted);
}

.alb-placeholder-icon {
  font-size: 2.2em;
  color: var(--alb-accent);
  margin-bottom: 14px;
  display: block;
}

.alb-placeholder-text {
  font-family: var(--alb-sans, sans-serif);
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.alb-gallery-grid img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ---- Listen & Connect ---- */
.alb-connect {
  padding: clamp(24px, 4vw, 36px) 20px clamp(32px, 6vw, 56px);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.alb-connect-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .alb-listen-btns,
  .alb-platform-btns,
  .alb-connect-btns {
    flex-direction: column;
    align-items: center;
  }

  .alb-btn {
    width: 220px;
    justify-content: center;
  }

  .alb-track-desc {
    margin-left: 0;
  }
}

/* ================================
   MOONBOW THEME
   Copy this block (renamed) as the starting point
   for a future album's own visual identity.
================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@300;400;500&display=swap');

.theme-moonbow {
  --alb-bg: #0d0d1a;
  --alb-text: #e8e0f0;
  --alb-muted: #b8a8d0;
  --alb-heading: #c8b8e8;
  --alb-accent: #7ecfd4;
  --alb-track-num: #5a4e7a;
  --alb-serif: 'Cormorant Garamond', serif;
  --alb-sans: 'Jost', sans-serif;
  --alb-hero-bg: radial-gradient(ellipse at 60% 40%, #1a1040 0%, #0d0d1a 70%);
  --alb-hero-glow:
    radial-gradient(ellipse at 30% 60%, rgba(56, 189, 200, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(160, 100, 220, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 180, 80, 0.07) 0%, transparent 50%);
  --alb-title-glow:
    0 0 60px rgba(126, 207, 212, 0.3),
    0 0 120px rgba(160, 100, 220, 0.15);
}
