:root {
  color-scheme: dark;
  --bg: #07070c;
  --bg-soft: #0d0d15;
  --panel: rgba(15, 15, 25, .88);
  --panel-strong: #10101a;
  --text: #f7f6fb;
  --muted: #9b9aa7;
  --muted-2: #6f6e7b;
  --line: rgba(255, 255, 255, .11);
  --purple: #8c56ff;
  --purple-soft: #b38cff;
  --pink: #ff2f86;
  --shell: min(1240px, calc(100% - 40px));
  --radius: 24px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(118, 64, 255, .12), transparent 30%),
    radial-gradient(circle at 12% 56%, rgba(255, 47, 134, .055), transparent 27%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.music-shell { width: var(--shell); margin-inline: auto; }

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}
.page-glow-one { width: 480px; height: 480px; top: 80px; right: -170px; background: rgba(125, 75, 255, .11); }
.page-glow-two { width: 420px; height: 420px; left: -180px; bottom: 5%; background: rgba(255, 45, 122, .055); }

.music-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 12, .84);
  backdrop-filter: blur(20px);
}
.music-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.music-brand { display: inline-flex; align-items: center; gap: 12px; }
.music-brand img { width: 43px; height: 43px; object-fit: contain; }
.music-brand span { display: grid; line-height: 1; }
.music-brand strong { font-size: 17px; letter-spacing: .2em; }
.music-brand small { margin-top: 6px; color: var(--purple-soft); font-size: 8px; font-weight: 850; letter-spacing: .34em; }
.music-nav-actions { display: flex; gap: 10px; }
.music-nav-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dad9e2;
  font-size: 12px;
  font-weight: 800;
  transition: border-color .18s ease, transform .18s ease, color .18s ease;
}
.music-nav-actions a:hover { transform: translateY(-1px); border-color: rgba(179, 140, 255, .5); color: #fff; }

.music-hero { padding: 72px 0 0; }
.hero-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 74px; align-items: center; }
.eyebrow { color: #bda0ff; font-size: 11px; font-weight: 900; letter-spacing: .24em; }
.hero-copy h1 { margin: 18px 0 24px; font-size: clamp(64px, 7.1vw, 108px); line-height: .9; letter-spacing: -.066em; }
.hero-copy h1 em { color: var(--purple-soft); font-style: normal; }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.stats-grid article {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 17, 29, .68);
}
.stats-grid strong { font-size: 22px; letter-spacing: -.03em; }
.stats-grid span { color: #777685; font-size: 9px; font-weight: 850; letter-spacing: .16em; }

.featured-art {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgba(161, 105, 255, .5);
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 34%, rgba(226, 51, 181, .15), transparent 26%),
    radial-gradient(circle at 78% 0%, rgba(140, 86, 255, .25), transparent 44%),
    linear-gradient(145deg, rgba(35, 19, 49, .96), rgba(8, 8, 15, .98) 68%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 30px 100px rgba(36, 9, 82, .18);
}
.featured-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 78px, rgba(255,255,255,.016) 79px, transparent 80px);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}
.vinyl-wrap { position: absolute; left: 7%; top: 12%; width: 240px; aspect-ratio: 1; }
.vinyl { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at center, #12121b 0 13px, #090910 14px 25px); box-shadow: 0 0 0 1px rgba(255,255,255,.025), 0 26px 70px rgba(0,0,0,.32); }
.vinyl::before { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: linear-gradient(145deg, #a63cff, #ff2f86); box-shadow: 0 0 35px rgba(179, 56, 255, .2); }
.vinyl span { position: absolute; z-index: 2; left: 50%; top: 50%; width: 15px; height: 15px; transform: translate(-50%, -50%); border-radius: 50%; background: #07070c; }
.wave-lines { position: absolute; right: 7%; top: 42%; width: 46%; height: 120px; opacity: .75; }
.wave-lines i { position: absolute; inset: 0; display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='150' viewBox='0 0 600 150'%3E%3Cpath d='M0 75 C55 75,55 28,110 28 S165 122,220 122 S275 40,330 40 S385 105,440 105 S495 56,550 56 S585 75,600 75' fill='none' stroke='%23925bff' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.wave-lines i:nth-child(2) { transform: translateY(11px) scaleY(.74); opacity: .35; }
.wave-lines i:nth-child(3) { transform: translateY(-10px) scaleY(.58); opacity: .2; }
.featured-signature { position: absolute; z-index: 2; left: 34px; bottom: 26px; color: #bda0ff; font-size: 10px; font-weight: 900; letter-spacing: .34em; }

.now-playing {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(220px, 340px) 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(12, 12, 20, .94);
  box-shadow: 0 18px 70px rgba(0,0,0,.22);
}
.play-main, .track-play {
  border: 0;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #9658ff, #6d38df);
  box-shadow: 0 12px 28px rgba(115, 57, 231, .22);
}
.play-main { width: 54px; height: 54px; border-radius: 14px; font-size: 18px; }
.now-copy { min-width: 0; display: grid; gap: 5px; }
.now-copy span { color: #7d7b8b; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.now-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.progress-wrap { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; color: #777685; font-size: 10px; }
input[type="range"] { width: 100%; accent-color: var(--purple); }

.playlist-section { padding: 64px 0 110px; }
.playlist-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: 8px 0 24px; }
.playlist-heading h2 { margin: 0 0 8px; font-size: clamp(36px, 4.6vw, 62px); line-height: 1; letter-spacing: -.05em; }
.playlist-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.playlist-heading p strong { color: #eeeaf7; }
.track-count { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #7f7d8d; font-size: 10px; }
.track-list { display: grid; gap: 10px; }
.track-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1.45fr) .72fr .72fr auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(14, 14, 23, .78);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.track-card:hover { transform: translateY(-1px); border-color: rgba(179,140,255,.28); background: rgba(18,17,29,.9); }
.track-card.active { border-color: rgba(150, 88, 255, .62); box-shadow: inset 0 0 30px rgba(124, 65, 246, .035); }
.track-play { width: 46px; height: 46px; border-radius: 12px; background: rgba(100, 52, 173, .26); border: 1px solid rgba(144, 86, 255, .35); box-shadow: none; }
.track-card.active .track-play { background: linear-gradient(145deg, #9658ff, #6d38df); }
.track-info { min-width: 0; }
.track-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.track-info span { display: block; margin-top: 5px; color: #6f6d7b; font-size: 10px; }
.track-stat { display: grid; justify-items: center; gap: 4px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.07); }
.track-stat strong { font-size: 13px; }
.track-stat span { color: #666572; font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.download-button {
  min-width: 128px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: transparent;
  color: #f1eff6;
  font-weight: 800;
  font-size: 12px;
}
.download-button:hover { border-color: rgba(179,140,255,.62); }
.empty-state { padding: 32px; border: 1px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }

footer { min-height: 120px; padding: 28px 0 80px; border-top: 1px solid rgba(255,255,255,.055); color: #54535f; font-size: 11px; }
.facebook-float {
  position: fixed;
  z-index: 45;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px 0 9px;
  border: 1px solid rgba(115, 91, 255, .55);
  border-radius: 999px;
  color: #f5f5fb;
  background: rgba(24, 20, 49, .92);
  box-shadow: 0 10px 40px rgba(57, 36, 152, .35);
  backdrop-filter: blur(14px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.facebook-float span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #2f78ee; color: white; font-family: Arial, sans-serif; font-size: 18px; font-weight: 900; }
.facebook-float b { font-size: 11px; }
.facebook-float:hover { transform: translateY(-2px); }
.facebook-float.nudge { animation: nudge 1s ease 2; box-shadow: 0 0 0 8px rgba(92, 71, 255, .09), 0 12px 45px rgba(57, 36, 152, .46); }
@keyframes nudge { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.03); } }

.music-toast {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 72px;
  width: min(360px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(145, 91, 255, .35);
  border-radius: 13px;
  background: rgba(18, 17, 29, .96);
  color: #dedce8;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 18px 55px rgba(0,0,0,.4);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.music-toast.show { opacity: 1; transform: translateY(0); }

.tool-promo {
  width: min(720px, calc(100% - 28px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--text);
}
.tool-promo::backdrop { background: rgba(3,3,7,.78); backdrop-filter: blur(8px); }
.tool-promo-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(151, 93, 255, .48);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(25, 22, 37, .99), rgba(9, 9, 15, .995));
  box-shadow: 0 40px 120px rgba(0,0,0,.62), 0 0 80px rgba(99, 47, 208, .08);
}
.tool-promo-close { position: absolute; right: 15px; top: 13px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.04); color: #d9d7e1; font-size: 22px; }
.tool-label { color: #b99cff; font-size: 9px; font-weight: 900; letter-spacing: .2em; }
.tool-promo h2 { margin: 10px 44px 18px 0; font-size: clamp(28px, 5vw, 42px); letter-spacing: -.045em; }
.tool-image-wrap { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: #0b0b0d; }
.tool-image-wrap img { width: 100%; height: auto; display: block; }
.tool-promo p { margin: 18px 0 0; color: #a8a6b2; font-size: 13px; line-height: 1.65; }
.tool-promo p strong { color: #f0ecf7; }
.tool-promo-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.tool-promo-actions a, .tool-promo-actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border-radius: 12px; font-weight: 850; font-size: 12px; }
.promo-primary { border: 0; background: linear-gradient(135deg, #9b64ff, #7141e4); color: #fff; }
.tool-promo-actions button { border: 1px solid var(--line); background: transparent; color: #d6d3de; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 34px; }
  .featured-art { min-height: 320px; }
  .now-playing { grid-template-columns: auto 1fr; }
  .progress-wrap { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  :root { --shell: calc(100% - 24px); }
  .music-nav { min-height: 68px; gap: 8px; }
  .music-brand img { width: 37px; height: 37px; }
  .music-brand strong { font-size: 14px; }
  .music-brand small { font-size: 7px; }
  .music-nav-actions { gap: 6px; }
  .music-nav-actions a { min-height: 35px; padding: 0 10px; font-size: 10px; }
  .music-hero { padding-top: 48px; }
  .eyebrow { font-size: 9px; letter-spacing: .2em; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(54px, 15vw, 76px); }
  .hero-copy > p { font-size: 14px; line-height: 1.8; }
  .stats-grid { gap: 7px; margin-top: 26px; }
  .stats-grid article { min-height: 70px; padding: 12px 10px; border-radius: 14px; }
  .stats-grid strong { font-size: 17px; }
  .stats-grid span { font-size: 7px; letter-spacing: .11em; }
  .featured-art { min-height: 276px; border-radius: 22px; }
  .vinyl-wrap { width: 170px; left: 9%; top: 14%; }
  .wave-lines { right: 3%; top: 40%; width: 52%; }
  .featured-signature { left: 22px; bottom: 20px; font-size: 8px; }
  .now-playing { position: sticky; bottom: 0; z-index: 20; min-height: 96px; margin-inline: -12px; width: calc(100% + 24px); border-radius: 0; padding: 11px 12px; background: rgba(9,9,15,.97); backdrop-filter: blur(18px); }
  .play-main { width: 44px; height: 44px; border-radius: 11px; }
  .now-copy strong { font-size: 12px; }
  .progress-wrap { gap: 8px; }
  .playlist-section { padding-top: 58px; }
  .playlist-heading { align-items: start; margin-bottom: 22px; }
  .playlist-heading h2 { font-size: 40px; }
  .playlist-heading p { font-size: 11px; line-height: 1.6; }
  .track-count { display: none; }
  .track-card { grid-template-columns: auto 1fr; gap: 12px; min-height: 0; padding: 13px 12px; border-radius: 17px; }
  .track-play { width: 46px; height: 46px; }
  .track-stat { grid-row: 2; justify-items: start; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .track-card .track-stat:nth-child(3) { grid-column: 1; }
  .track-card .track-stat:nth-child(4) { grid-column: 2; }
  .track-stat strong { font-size: 12px; }
  .download-button { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  .facebook-float { min-height: 38px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); padding-right: 11px; }
  .facebook-float span { width: 23px; height: 23px; font-size: 15px; }
  .facebook-float b { font-size: 9px; }
  .music-toast { right: 10px; bottom: 58px; width: calc(100% - 20px); }
  .tool-promo { width: calc(100% - 20px); }
  .tool-promo-card { padding: 20px 16px 16px; border-radius: 20px; }
  .tool-promo h2 { font-size: 28px; }
  .tool-promo p { font-size: 11px; }
  .tool-promo-actions { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .music-nav-actions a { padding: 0 8px; font-size: 9px; }
  .hero-copy h1 { font-size: 52px; }
  .stats-grid strong { font-size: 15px; }
  .featured-art { min-height: 250px; }
  .vinyl-wrap { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
