/* ========================================
   MUSIC PAGE — Vinyl/Waveform Aesthetic
   ======================================== */

:root {
  --music-bg: #0f0d08;
  --music-dark: #1a1508;
  --music-brown: #3d2e1a;
  --music-amber: #b8860b;
  --music-gold: #d4a017;
  --music-glow: #f4c430;
  --music-text: #f0e6d2;
  --music-text-dim: #9a8a70;
  --music-text-bright: #fffef5;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
}

body {
  background: var(--music-bg);
  color: var(--music-text);
  font-family: var(--font-body);
  line-height: 1.7;
}

/* ========================================
   BACKGROUND
   ======================================== */

.music-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(184, 134, 11, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--music-bg) 0%, var(--music-dark) 100%);
}

.vinyl-decoration {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111 0%, #111 20%, transparent 20%),
    repeating-radial-gradient(circle at center, #1a1a1a 0px, #1a1a1a 3px, #222 3px, #222 6px);
  opacity: 0.15;
  animation: spin 20s linear infinite;
}

.vinyl-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.vinyl-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -100px;
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.waveform-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 8px,
      rgba(184, 134, 11, 0.1) 8px,
      rgba(184, 134, 11, 0.1) 10px
    );
  mask-image: linear-gradient(180deg, transparent 0%, black 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 100%);
}

/* ========================================
   PAGE CONTAINER
   ======================================== */

.page-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
}

/* ========================================
   TOP NAVIGATION
   ======================================== */

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.back-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--music-gold);
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--music-glow);
}

.hobby-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--music-gold);
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--music-gold);
}

/* ========================================
   HEADER
   ======================================== */

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--music-text-bright);
  line-height: 0.9;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(212, 160, 23, 0.5);
}

.page-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--music-glow);
  margin-bottom: 0.5rem;
}

.page-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--music-text-dim);
  letter-spacing: 0.05em;
}

/* ========================================
   CONTENT
   ======================================== */

.content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ========================================
   BAND SECTIONS
   ======================================== */

.band-section {
  padding: 2rem;
  border-left: 3px solid var(--music-brown);
  position: relative;
}

.band-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: 30px;
  background: var(--music-gold);
}

.band-primary {
  background: linear-gradient(90deg, rgba(184, 134, 11, 0.1) 0%, transparent 100%);
  border-left-width: 4px;
}

.band-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.active {
  background: var(--music-glow);
  box-shadow: 0 0 10px var(--music-glow);
  animation: pulse 2s infinite;
}

.status-dot.past {
  background: var(--music-text-dim);
}

.status-dot.collab {
  background: var(--music-amber);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.band-name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--music-text-bright);
  margin-bottom: 0.25rem;
}

.band-role {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--music-gold);
  margin-bottom: 1rem;
}

.band-description {
  font-size: 1rem;
  color: var(--music-text);
  max-width: 600px;
  margin-bottom: 1rem;
}

.band-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--music-glow);
  margin-bottom: 1.5rem;
}

.band-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.band-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--music-text);
  padding: 0.5rem 1rem;
  border: 1px solid var(--music-brown);
  transition: all 0.2s;
}

.band-link:hover {
  background: var(--music-brown);
  border-color: var(--music-gold);
  color: var(--music-text-bright);
}

/* ========================================
   HEADSHOT — Amber duotone treatment
   ======================================== */

.band-with-photo {
  display: flex;
  align-items: stretch;
  gap: 2rem;
}

.band-with-photo .band-text {
  flex: 1;
  min-width: 0;
}

.headshot-frame {
  position: relative;
  width: 220px;
  flex-shrink: 0;
  align-self: center;
  overflow: hidden;
  border: 2px solid var(--music-brown);
  background: var(--music-dark);
}

/* Amber tint overlay — creates warm duotone from B&W source */
.headshot-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(184, 134, 11, 0.45) 0%,
    rgba(212, 160, 23, 0.3) 50%,
    rgba(61, 46, 26, 0.6) 100%
  );
  z-index: 2;
  mix-blend-mode: color;
  pointer-events: none;
}

/* Second layer: subtle vignette for depth */
.headshot-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(15, 13, 8, 0.7);
}

.headshot-img {
  display: block;
  width: 100%;
  height: auto;
  filter: contrast(1.1) brightness(0.85);
}

/* ========================================
   BAND LOGO — Right-aligned transparent logo
   ======================================== */

.band-with-logo {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.band-with-logo .band-text {
  flex: 1;
  min-width: 0;
}

.band-logo-frame {
  width: 220px;
  flex-shrink: 0;
  align-self: center;
}

.band-logo-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.3));
  transition: filter 0.3s ease;
}

.band-logo-img:hover {
  filter: drop-shadow(0 0 30px rgba(244, 196, 48, 0.5));
}

@media (max-width: 768px) {
  .band-with-photo {
    flex-direction: column;
  }

  .headshot-frame {
    width: 180px;
    align-self: center;
  }

  .band-with-logo {
    flex-direction: column;
  }

  .band-logo-frame {
    width: 180px;
    align-self: center;
    order: -1;
  }
}

/* ========================================
   DISCOGRAPHY
   ======================================== */

.discography {
  margin: 2rem 0;
}

.disco-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--music-text-dim);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.album {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.album-art {
  aspect-ratio: 1;
  background: var(--music-dark);
  border: 1px solid var(--music-brown);
  position: relative;
  overflow: hidden;
}

.album-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.2) 0%, transparent 50%);
}

.album-art-link {
  display: block;
  aspect-ratio: 1;
  border: 1px solid var(--music-brown);
  overflow: hidden;
  transition: all 0.3s ease;
}

.album-art-link:hover {
  border-color: var(--music-gold);
  box-shadow: 0 0 20px rgba(212, 160, 23, 0.4);
  transform: scale(1.02);
}

.album-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder album art styles */
.art-taxidermy {
  aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, #1a1508, #1a1508 10px, #2a2010 10px, #2a2010 20px);
  border: 1px solid var(--music-brown);
  opacity: 0.5;
  position: relative;
}

.art-taxidermy::after {
  content: '?';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--music-text-dim);
}

.album-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.album-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--music-text);
}

.album-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--music-text-dim);
  letter-spacing: 0.05em;
}

/* ========================================
   COLLABORATION
   ======================================== */

.collab-section {
  text-align: center;
  padding: 2rem;
}

.collab-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--music-gold);
  margin-bottom: 1rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--music-text);
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--music-glow);
}

.contact-divider {
  color: var(--music-text-dim);
}

/* ========================================
   FOOTER
   ======================================== */

.page-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--music-text-dim);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .page-container {
    padding: 1rem;
  }

  .band-section {
    padding: 1.5rem 1rem;
  }

  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
