/* =====================================================
   WORLD OF LUCY KAY
   Botanical Dreams Music - botanical-music.css v0.4
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background: #060704;
  color: #fff;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* PAGE */

.music-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 80px;
}

.music-bg {
  position: fixed;
  inset: 0;
  background: url("botanical-bg.webp") center center / cover no-repeat;
  transform: scale(1.03);
  filter: blur(1px) saturate(0.85);
  z-index: 0;
}

.music-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 235, 165, 0.10), rgba(40, 58, 25, 0.12) 34%, rgba(0, 0, 0, 0.54) 76%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.78) 100%);
}

.gold-frame {
  position: fixed;
  inset: 22px;
  border: 1px solid rgba(203, 164, 91, 0.58);
  z-index: 5;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

/* HEADER */

.music-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 34px 56px 0;
}

.back-link,
.shop-link {
  color: rgba(255, 245, 220, 0.92);
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  transition: 0.3s ease;
}

.back-link:hover,
.shop-link:hover {
  color: #e2bf72;
  text-shadow: 0 0 14px rgba(226, 191, 114, 0.5);
}

.shop-link {
  justify-self: end;
}

.music-logo {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 174, 92, 0.88);
  border-radius: 50%;
  background: rgba(10, 14, 8, 0.52);
  color: #f5d48a;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.85rem;
  box-shadow: 0 0 20px rgba(203, 164, 91, 0.28);
}

/* HERO */

.music-hero {
  position: relative;
  z-index: 8;
  max-width: 1050px;
  margin: 64px auto 0;
  padding: 0 24px;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 12px;
  color: rgba(245, 212, 138, 0.95);
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.music-hero h1 {
  color: #fff7e8;
  font-family: "Cinzel", serif;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.75);
}

.music-hero h1 span {
  display: block;
  font-size: clamp(2.8rem, 5.3vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 0.92;
}

.music-hero h1 em {
  display: block;
  margin-top: 8px;
  color: #fff2d0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.15rem, 3.7vw, 4.2rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.9;
}

.hero-subtitle {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 245, 220, 0.94);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.22rem, 1.58vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* FEATURED */

.featured-track {
  position: relative;
  z-index: 8;
  width: min(1050px, 90vw);
  margin: 58px auto 54px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(203, 164, 91, 0.48);
  background: rgba(10, 15, 8, 0.68);
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 22px 55px rgba(0, 0, 0, 0.42);
}

.featured-cover,
.track-cover {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(224, 180, 89, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(239, 225, 186, 0.12), rgba(12, 21, 11, 0.7));
  border: 1px solid rgba(203, 164, 91, 0.38);
}

.featured-cover {
  aspect-ratio: 1 / 1;
}

.featured-cover img,
.track-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.featured-cover.missing-image::before,
.track-cover.missing-image::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 212, 138, 0.72);
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.featured-cover.missing-image::after,
.track-cover.missing-image::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(224, 180, 89, 0.35);
}

.featured-content h2,
.video-section h2,
.music-note h2 {
  color: #fff7e8;
  font-family: "Cinzel", serif;
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.featured-content p,
.video-section p,
.music-note p {
  margin-top: 18px;
  color: rgba(255, 245, 220, 0.88);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.24rem;
  font-style: italic;
  line-height: 1.45;
}

.track-number {
  color: #d7ae5c !important;
  font-family: "Cinzel", serif !important;
  font-size: 0.82rem !important;
  font-style: normal !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* BUTTONS */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.music-button,
.track-link {
  position: relative;
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(224, 180, 89, 0.82);
  background: rgba(14, 30, 14, 0.78);
  color: #f6d99a;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.music-button.secondary {
  background: rgba(10, 12, 8, 0.42);
}

.music-button::before,
.track-link::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(224, 180, 89, 0.22);
  pointer-events: none;
}

.music-button:hover,
.track-link:hover {
  background: rgba(12, 25, 12, 0.92);
  color: #ffe2a3;
  border-color: rgba(245, 203, 112, 0.95);
  box-shadow:
    0 0 20px rgba(224, 180, 89, 0.34),
    0 16px 36px rgba(0, 0, 0, 0.34);
  transform: translateY(-3px);
}

.disabled {
  opacity: 0.62;
  pointer-events: none;
}

/* TRACK GRID */

.music-grid {
  position: relative;
  z-index: 8;
  width: min(1180px, 92vw);
  margin: 0 auto 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.track-card {
  border: 1px solid rgba(203, 164, 91, 0.48);
  background: rgba(10, 15, 8, 0.68);
  backdrop-filter: blur(5px);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 20px 48px rgba(0, 0, 0, 0.42);
  transition: 0.32s ease;
}

.track-card:hover {
  transform: translateY(-7px);
  border-color: rgba(224, 180, 89, 0.82);
  background: rgba(18, 31, 14, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 26px rgba(224, 180, 89, 0.16),
    0 26px 58px rgba(0, 0, 0, 0.52);
}

.current-track {
  border-color: rgba(245, 203, 112, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(224, 180, 89, 0.18),
    0 20px 48px rgba(0, 0, 0, 0.42);
}

.track-cover {
  aspect-ratio: 1 / 1;
}

.track-info {
  padding: 24px 22px 28px;
  text-align: center;
}

.track-info h2 {
  margin: 12px 0;
  color: #fff4d6;
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.28;
}

.track-info p {
  min-height: 86px;
  color: rgba(255, 245, 220, 0.84);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.36;
}

.track-link {
  margin-top: 18px;
}

/* VIDEO + NOTE */

.youtube-embed-section,
.video-section,
.music-note {
  position: relative;
  z-index: 8;
}

.youtube-embed-section {
  width: min(900px, 88vw);
  margin: 0 auto 70px;
  animation: fadeUp 1.2s ease both;
  animation-delay: 0.24s;
}

.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(203, 164, 91, 0.48);
  background: rgba(10, 15, 8, 0.68);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 22px 55px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.youtube-embed::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(224, 180, 89, 0.18);
  pointer-events: none;
  z-index: 2;
}

.youtube-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-embed-section {
  scroll-margin-top: 40px;
}

.player-kicker {
  margin-bottom: 10px;
  color: rgba(245, 212, 138, 0.95);
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.player-title {
  margin-bottom: 24px;
  color: #fff7e8;
  font-family: "Cinzel", serif;
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.72);
}

.video-section,
.music-note {
  width: min(900px, 88vw);
  margin: 0 auto 70px;
  padding: 42px 46px;
  border: 1px solid rgba(203, 164, 91, 0.42);
  background: rgba(10, 15, 8, 0.64);
  backdrop-filter: blur(5px);
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.045),
    0 18px 45px rgba(0, 0, 0, 0.34);
}

.video-placeholder {
  margin: 34px auto 0;
  width: min(680px, 100%);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(224, 180, 89, 0.42);
  background:
    radial-gradient(circle at center, rgba(224, 180, 89, 0.12), transparent 62%),
    rgba(5, 8, 5, 0.54);
}

.video-placeholder span {
  color: #d7ae5c;
  font-family: "Cinzel", serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-placeholder p {
  margin-top: 10px;
  font-size: 1.28rem;
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.music-header,
.music-hero,
.featured-track,
.track-card,
.video-section,
.music-note {
  animation: fadeUp 1.2s ease both;
}

.music-hero { animation-delay: 0.12s; }
.featured-track { animation-delay: 0.2s; }
.track-card:nth-child(1) { animation-delay: 0.26s; }
.track-card:nth-child(2) { animation-delay: 0.34s; }
.track-card:nth-child(3) { animation-delay: 0.42s; }
.track-card:nth-child(4) { animation-delay: 0.5s; }
.video-section { animation-delay: 0.58s; }
.music-note { animation-delay: 0.66s; }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    width: min(820px, 92vw);
  }

  .featured-track {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 820px) {
  .featured-track {
    grid-template-columns: 1fr;
    width: min(520px, 92vw);
  }
}

@media (max-width: 760px) {
  .gold-frame {
    inset: 12px;
  }

  .music-header {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    padding: 24px 20px 0;
  }

  .back-link,
  .shop-link {
    justify-self: center;
  }

  .music-hero {
    margin-top: 42px;
  }

  .music-grid {
    grid-template-columns: 1fr;
    width: min(420px, 92vw);
  }

  .track-info p {
    min-height: auto;
  }

  .video-section,
  .music-note {
    padding: 34px 24px;
  }

  .button-row {
    justify-content: center;
  }

  .music-button,
  .track-link {
    width: 100%;
    text-align: center;
  }
}