@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --night: #070607;
  --charcoal: #121013;
  --wood-dark: #231008;
  --wood: #5b2914;
  --wood-light: #8b4a24;
  --brass-dark: #765019;
  --brass: #bd8e39;
  --brass-light: #f0d08a;
  --cream: #f0e4c8;
  --paper: #e8d8b8;
  --magenta: #d92a99;
  --violet: #7a3199;
  --emerald: #345f43;
  --line: rgba(240, 208, 138, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 4%, rgba(122, 49, 153, .28), transparent 27rem),
    linear-gradient(180deg, #060506, #110b0e 60%, #070607);
  font-family: Inter, Arial, sans-serif;
}
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; padding: 12px 16px; color: #000; background: #fff; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E");
}

.site-header {
  position: relative;
  z-index: 30;
  padding: 18px 0;
  border-bottom: 1px solid rgba(240, 208, 138, .22);
  background: rgba(5, 4, 5, .92);
  backdrop-filter: blur(14px);
}
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; }
.mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark img { width: 42px; height: 42px; object-fit: contain; filter: sepia(1) saturate(.55) brightness(1.35); }
.mark span { font: 600 13px/1.3 Cinzel, Georgia, serif; letter-spacing: .14em; text-transform: uppercase; }
.navlinks { display: flex; align-items: center; gap: 27px; font: 500 11px Cinzel, Georgia, serif; letter-spacing: .15em; text-transform: uppercase; }
.navlinks a { text-decoration: none; opacity: .76; transition: color .2s ease, opacity .2s ease; }
.navlinks a:hover, .navlinks a:focus-visible, .navlinks a.active { color: var(--brass-light); opacity: 1; }
.navlinks .contact { padding: 12px 18px; border: 1px solid var(--brass); color: var(--brass-light); opacity: 1; }
.mobile-menu { display: none; width: 46px; height: 46px; border: 1px solid var(--brass); color: var(--brass-light); background: #0b0809; font: 600 10px Cinzel, Georgia, serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }

.music-hero { padding: 80px 0 48px; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--brass-light); font: 600 11px Cinzel, Georgia, serif; letter-spacing: .25em; text-transform: uppercase; }
.music-hero h1 { margin: 0; font: 800 clamp(46px, 8vw, 104px)/.98 Cinzel, Georgia, serif; letter-spacing: -.035em; text-transform: uppercase; text-shadow: 0 4px 0 #25140c, 0 12px 35px #000; }
.music-hero h1 span { color: var(--magenta); }
.music-hero .lead { max-width: 720px; margin: 24px auto 0; color: #a99e91; font-size: 17px; line-height: 1.7; }

.jukebox-stage { position: relative; padding: 25px 0 120px; }
.jukebox-stage::before { content: ''; position: absolute; left: 50%; bottom: 70px; width: min(850px, 86vw); height: 70px; transform: translateX(-50%); border-radius: 50%; background: rgba(0, 0, 0, .72); filter: blur(24px); }

.jukebox {
  position: relative;
  width: min(980px, calc(100% - 30px));
  margin: 0 auto;
  padding: 22px;
  overflow: hidden;
  border: 4px solid var(--brass-dark);
  border-radius: 420px 420px 48px 48px / 300px 300px 48px 48px;
  background:
    repeating-linear-gradient(93deg, transparent 0 13px, rgba(255, 205, 125, .04) 14px 15px),
    linear-gradient(115deg, #32170d, var(--wood-light) 30%, #3b190d 64%, #6a3218);
  box-shadow:
    0 0 0 4px #241406,
    0 0 0 8px var(--brass),
    0 0 0 11px #3a2209,
    0 42px 90px rgba(0, 0, 0, .72),
    inset 0 0 38px rgba(0, 0, 0, .65);
}
.jukebox::before {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: 0;
  pointer-events: none;
  border: 2px solid var(--brass-light);
  border-radius: 400px 400px 36px 36px / 285px 285px 36px 36px;
  opacity: .64;
}
.jukebox::after {
  content: '';
  position: absolute;
  inset: 24px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(240, 208, 138, .36);
  border-radius: 390px 390px 28px 28px / 275px 275px 28px 28px;
}

.jukebox-crown { position: relative; z-index: 1; padding: 54px 35px 24px; text-align: center; }
.crown-ornament { color: var(--brass-light); font: 600 18px Cinzel, Georgia, serif; letter-spacing: .65em; text-shadow: 0 0 15px rgba(217, 42, 153, .7); }
.crown-title { margin: 14px 0 6px; font: 800 clamp(27px, 5vw, 51px) Cinzel, Georgia, serif; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); text-shadow: 0 3px 0 #3b1e0c, 0 0 18px rgba(217, 42, 153, .48); }
.crown-subtitle { margin: 0; color: var(--brass-light); font: 600 10px Cinzel, Georgia, serif; letter-spacing: .32em; text-transform: uppercase; }

.jukebox-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, .92fr) minmax(330px, 1.08fr);
  gap: 18px;
  padding: 18px;
  border: 3px solid var(--brass);
  border-radius: 30px;
  background: linear-gradient(145deg, #0c090b, #211019 50%, #080708);
  box-shadow: inset 0 0 42px #000, 0 0 24px rgba(217, 42, 153, .14);
}
.now-playing, .song-selector { min-width: 0; }
.now-playing {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(122, 49, 153, .17), transparent 42%), #080708;
}
.display-label { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 16px; color: var(--brass-light); font: 600 9px Cinzel, Georgia, serif; letter-spacing: .2em; text-transform: uppercase; }
.status-light { display: inline-flex; align-items: center; gap: 7px; }
.status-light.playing::before { background: #75d68d; box-shadow: 0 0 14px #75d68d; }
.status-light::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 12px var(--magenta); }
.cover-frame {
  position: relative;
  width: min(330px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  padding: 8px;
  border: 2px solid var(--brass);
  background: linear-gradient(135deg, var(--brass-light), var(--brass-dark));
  box-shadow: 0 12px 30px #000;
}
.cover-frame::after { content: ''; position: absolute; inset: 8px; box-shadow: inset 0 0 35px rgba(0, 0, 0, .3); pointer-events: none; }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; background: #0b090b; }
.track-meta { text-align: center; }
.track-title { margin: 0; font: 700 clamp(22px, 4vw, 34px)/1.1 Cinzel, Georgia, serif; color: var(--cream); }
.track-artist { margin: 10px 0 0; color: var(--magenta); font: 600 12px Cinzel, Georgia, serif; letter-spacing: .16em; text-transform: uppercase; }

.timeline { margin-top: 24px; }
.time-row { display: flex; justify-content: space-between; margin-bottom: 8px; color: #8f8275; font-size: 10px; font-variant-numeric: tabular-nums; }
input[type='range'] { width: 100%; accent-color: var(--magenta); cursor: pointer; }
.controls { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; margin-top: 19px; }
.control-button {
  min-height: 50px;
  border: 1px solid var(--brass);
  color: var(--brass-light);
  background: linear-gradient(#32200d, #130d08);
  box-shadow: inset 0 1px rgba(255, 255, 255, .13), 0 4px 0 #060403;
  font: 700 10px Cinzel, Georgia, serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.control-button:hover, .control-button:focus-visible { color: #fff3d5; border-color: var(--magenta); box-shadow: 0 0 18px rgba(217, 42, 153, .26), 0 4px 0 #060403; }
.control-button.play { color: #fff; background: linear-gradient(#a7287d, #4d143d); border-color: #e166bd; }
.volume { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; margin-top: 22px; color: #8f8275; font: 600 9px Cinzel, Georgia, serif; letter-spacing: .13em; text-transform: uppercase; }
.player-message { min-height: 20px; margin: 16px 0 0; color: #8f8275; text-align: center; font-size: 11px; line-height: 1.5; }

.song-selector {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(52, 95, 67, .2), transparent 40%), #0a0809;
}
.selector-head { padding: 5px 4px 19px; border-bottom: 1px solid var(--line); }
.selector-head h2 { margin: 0; font: 700 clamp(24px, 4vw, 37px) Cinzel, Georgia, serif; text-transform: uppercase; }
.selector-head p { margin: 9px 0 0; color: #918578; font-size: 12px; line-height: 1.55; }
.playlist { display: grid; gap: 9px; max-height: 550px; margin: 18px 0 0; padding: 0 5px 0 0; overflow-y: auto; list-style: none; scrollbar-color: var(--brass) #15100d; }
.track-choice {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(189, 142, 57, .32);
  color: #24170e;
  text-align: left;
  background: linear-gradient(95deg, #f0e4c8, #d3bc8e);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.track-choice:hover, .track-choice:focus-visible { transform: translateX(-3px); border-color: var(--magenta); box-shadow: 0 0 20px rgba(217, 42, 153, .2); outline: none; }
.track-choice.active { border-color: var(--magenta); box-shadow: inset 5px 0 var(--magenta), 0 0 20px rgba(217, 42, 153, .19); }
.selection-code { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--cream); background: #24150b; font: 700 10px Cinzel, Georgia, serif; }
.choice-copy { min-width: 0; }
.choice-title { display: block; overflow: hidden; color: #27170f; font: 700 14px Cinzel, Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.choice-artist { display: block; overflow: hidden; margin-top: 4px; color: #6b4a32; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.choice-play { color: var(--violet); font-size: 18px; }
.empty-list { padding: 28px 18px; color: #9f9284; text-align: center; line-height: 1.7; }

.jukebox-base { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 25px 34px 20px; color: var(--brass-light); font: 600 9px Cinzel, Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.jukebox-base::before, .jukebox-base::after { content: ''; height: 1px; background: linear-gradient(90deg, transparent, var(--brass), transparent); }

.site-footer { padding: 28px 0 38px; color: #766d65; background: #050405; }
.footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid rgba(240, 208, 138, .2); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 850px) {
  .mobile-menu { display: grid; place-items: center; }
  .navlinks { display: none; position: absolute; top: 58px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); background: rgba(7, 6, 7, .98); box-shadow: 0 24px 55px rgba(0, 0, 0, .6); }
  .navlinks.open { display: flex; }
  .navlinks a { display: block; padding: 17px 16px; border-bottom: 1px solid rgba(240, 208, 138, .16); opacity: 1; }
  .navlinks .contact { margin-top: 8px; text-align: center; }
  .jukebox { border-radius: 280px 280px 38px 38px / 200px 200px 38px 38px; }
  .jukebox::before, .jukebox::after { border-radius: 260px 260px 28px 28px / 190px 190px 28px 28px; }
  .jukebox-inner { grid-template-columns: 1fr; }
  .playlist { max-height: 430px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 26px); }
  .mark span { display: none; }
  .music-hero { padding-top: 58px; }
  .jukebox-stage { padding-bottom: 85px; }
  .jukebox { width: calc(100% - 20px); padding: 10px; border-width: 3px; border-radius: 190px 190px 30px 30px / 145px 145px 30px 30px; }
  .jukebox::before { inset: 7px; border-radius: 180px 180px 24px 24px / 136px 136px 24px 24px; }
  .jukebox::after { inset: 14px; border-radius: 170px 170px 20px 20px / 130px 130px 20px 20px; }
  .jukebox-crown { padding: 45px 20px 20px; }
  .crown-title { letter-spacing: .05em; }
  .jukebox-inner { padding: 9px; gap: 10px; border-width: 2px; border-radius: 20px; }
  .now-playing, .song-selector { padding: 16px; border-radius: 15px; }
  .controls { gap: 7px; }
  .control-button { min-height: 48px; font-size: 8px; }
  .track-choice { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 10px; gap: 10px; }
  .jukebox-base { grid-template-columns: 1fr; padding: 20px 25px 15px; text-align: center; }
  .jukebox-base::before, .jukebox-base::after { display: none; }
  .footer { flex-direction: column; }
}

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