:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --accent: #d4af37;
  --accent-dim: #8a7326;
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --border: #2a2a2a;
  --player-h: 76px;
}

* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  padding-bottom: var(--player-h);
}

h1, h2, h3, .wordmark, .btn, .hero-banner-title, .nav-links a {
  font-family: 'Anton', 'Inter', sans-serif;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  overflow-x: hidden;
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 24px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links-right { justify-content: flex-end; }

.nav-links a {
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

.wordmark {
  position: relative;
  font-size: 30px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--text);
  perspective: 400px;
  animation: wordmarkSlideIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.wordmark::before {
  content: "";
  position: absolute;
  inset: -22px -28px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.65), transparent 70%);
  opacity: 0;
  z-index: -1;
  filter: blur(5px);
  pointer-events: none;
  animation: wordmarkGlow 1.6s ease-in-out 3.45s 1,
             wordmarkGlow 1s ease-in-out 5.01s 1;
}

.wordmark .word { display: inline-block; }

.wordmark .word.accent { color: var(--accent); }

.wordmark .letter {
  display: inline-block;
  animation: letterSpin 0.7s ease-in-out both;
}

@keyframes wordmarkSlideIn {
  0% { transform: translateX(140%); opacity: 0; }
  60% { transform: translateX(-4%); opacity: 1; }
  80% { transform: translateX(2%); }
  100% { transform: translateX(0); }
}

@keyframes letterSpin {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

@keyframes wordmarkGlow {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}

.nav-social {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-social:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 15px;
  letter-spacing: 1.5px;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--accent);
  color: #0a0a0a;
}

.text-link {
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(212,175,55,0.10), transparent 60%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 60%, #050505 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.hero-art {
  width: 320px;
  max-width: 60vw;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.hero-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 20px 24px;
}

.hero-banner-title {
  font-size: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bob 2s infinite;
  z-index: 1;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Portrait / Subscribe ---------- */
.portrait-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-photo {
  position: absolute;
  inset: 0;
}

.placeholder-block {
  background: repeating-linear-gradient(45deg, #111 0 20px, #0d0d0d 20px 40px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.portrait-cta {
  position: relative;
  z-index: 1;
}

.portrait-cta .btn {
  background: var(--bg);
}

.portrait-cta .btn-outline:hover {
  background: var(--accent);
}

/* ---------- Sections ---------- */
.music-section, .about-section, .contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}

.about-section, .contact-section { max-width: 800px; }

.section-title {
  font-size: 42px;
  letter-spacing: 1px;
  margin-bottom: 48px;
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
}

.bio-text {
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 24px;
}

.bio-text:last-of-type {
  margin-bottom: 0;
}

/* ---------- Releases grid ---------- */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 56px;
}

.release-card h3 {
  font-size: 18px;
  margin: 20px 0 8px;
  letter-spacing: 0.5px;
}

.release-art {
  position: relative;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  background: none;
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.release-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-art img.fit-contain {
  object-fit: contain;
  background: var(--bg-elevated);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text);
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.release-art:hover .play-overlay { opacity: 1; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-cols {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--accent); }

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Sticky player bar ---------- */
.player-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--player-h);
  background: #000;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 200;
}

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

.player-info img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.player-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.player-title {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40vw;
}

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

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

.player-controls button {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  display: flex;
}

#playerRepeat {
  transition: color 0.15s, transform 0.1s;
}

#playerRepeat.active {
  color: var(--accent);
}

#playerRepeat:hover {
  color: var(--accent);
}

#playerRepeat:active {
  transform: scale(0.8);
}

#playerToggle {
  background: var(--text);
  color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.player-yt {
  color: var(--text-muted);
  display: flex;
}

.player-yt:hover { color: var(--accent); }

.yt-mount {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  bottom: 0;
  right: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .wordmark { font-size: 23px; }
  .section-title { font-size: 30px; margin-bottom: 32px; }
  .player-title { max-width: 30vw; }
  .hero-banner { flex-direction: column; gap: 12px; text-align: center; }
  .hero-banner-title { white-space: normal; }

  .music-section, .about-section, .contact-section {
    padding: 72px 24px;
  }

  .portrait-section { min-height: 50vh; }

  .footer-cols { gap: 48px; }
  .site-footer { padding: 48px 24px 32px; }

  .nav.nav-open {
    flex-wrap: wrap;
    position: relative;
  }

  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    background: #0a0a0a;
    padding: 20px 0 0;
    gap: 16px;
    order: 5;
  }

  .nav.nav-open .nav-links-left {
    order: 5;
    border-top: 1px solid var(--border);
  }

  .nav.nav-open .nav-links-right {
    order: 6;
    padding-top: 0;
  }
}

@media (min-width: 861px) {
  .nav-toggle { display: none !important; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 16px; }
  .hero { padding: 100px 16px 48px; }
  .hero-banner { padding: 16px 18px; }
  .hero-banner-title { font-size: 16px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .section-title { font-size: 24px; }
  .releases-grid { gap: 24px; }
  .footer-cols { gap: 32px; flex-wrap: wrap; }

  .player-bar { padding: 0 12px; gap: 8px; }
  .player-info { gap: 8px; }
  .player-info img { width: 38px; height: 38px; }
  .player-title { max-width: 34vw; font-size: 12px; }
  .player-artist { display: none; }
  .player-controls { gap: 8px; }
  #playerToggle { width: 34px; height: 34px; }
  .player-yt { display: none; }
}
