/* ══════════════════════════════════════════
   HEAVEN IS OVERRATED — SHARED STYLES
   ══════════════════════════════════════════ */

:root {
  --black: #0a0a0f;
  --stone-dark: #1a1714;
  --stone: #2a2520;
  --gold-dark: #6b5a3e;
  --gold: #b89d6a;
  --gold-light: #d4bf8a;
  --purple-dark: #2a1a3a;
  --purple-glow: #8b5fcf;
  --purple-light: #c4a0e8;
  --cream: #e2ded4;
  --grey: #8a847e;
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-color: var(--gold-dark) var(--black); }
body { background: var(--black); color: var(--cream); font-family: var(--font-body); font-size: 18px; line-height: 1.8; overflow-x: hidden; }

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

/* ── DIVIDER ── */
.divider { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 40px 0; opacity: 0.5; }
.divider::before, .divider::after { content: ''; width: 80px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }
.divider-diamond { width: 8px; height: 8px; border: 1px solid var(--gold-dark); transform: rotate(45deg); }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; gap: 40px; padding: 20px 40px; background: linear-gradient(180deg, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.7) 70%, transparent 100%); transition: all 0.4s ease; }
.nav.scrolled { background: rgba(10,10,15,0.97); backdrop-filter: blur(12px); padding: 14px 40px; border-bottom: 1px solid rgba(107,90,62,0.1); }
.nav a { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); text-decoration: none; transition: all 0.3s ease; position: relative; }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--purple-glow); transition: width 0.3s ease; }
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--gold-light); }
.nav a.active::after { width: 100%; }

/* ── SECTIONS ── */
.section { position: relative; padding: 100px 20px; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: 6px; color: var(--gold); text-align: center; margin-bottom: 12px; }
.section-label { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 600; letter-spacing: 6px; text-transform: uppercase; color: var(--purple-light); text-align: center; margin-bottom: 50px; }

/* ── PAGE HEADER (non-home pages) ── */
.page-header {
  padding: 140px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) blur(4px);
}
.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.6) 0%, rgba(10,10,15,0.9) 80%, var(--black) 100%);
}
.page-header-content { position: relative; z-index: 2; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, rgba(10,10,15,0.5) 60%, rgba(10,10,15,0.95) 100%), linear-gradient(180deg, rgba(10,10,15,0.4) 0%, transparent 30%, transparent 70%, rgba(10,10,15,1) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 6vw, 5rem); font-weight: 900; letter-spacing: 8px; color: var(--gold-light); text-shadow: 0 0 40px rgba(184,157,106,0.3), 0 0 80px rgba(184,157,106,0.1); margin-bottom: 16px; line-height: 1.2; animation: fadeUp 1.5s ease-out; }
.hero-subtitle { font-family: var(--font-heading); font-size: clamp(0.65rem, 1.5vw, 0.85rem); font-weight: 500; letter-spacing: 8px; text-transform: uppercase; color: var(--purple-light); text-shadow: 0 0 30px rgba(139,95,207,0.4); margin-bottom: 40px; animation: fadeUp 1.5s ease-out 0.3s both; }
.hero-tagline { font-family: var(--font-body); font-size: 1.2rem; font-weight: 300; font-style: italic; color: var(--cream); opacity: 0.7; letter-spacing: 2px; animation: fadeUp 1.5s ease-out 0.6s both; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; animation: fadeUp 1.5s ease-out 1s both; }
.scroll-indicator span { font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-dark); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--gold-dark), transparent); animation: scrollPulse 2s ease-in-out infinite; }

/* ── ALBUM GRID ── */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.album-card {
  position: relative;
  display: block;
  text-decoration: none;
  border: 1px solid rgba(107,90,62,0.12);
  background: rgba(26,23,20,0.6);
  transition: all 0.4s ease;
  overflow: hidden;
}
.album-card:hover {
  border-color: rgba(107,90,62,0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(184,157,106,0.06);
}
.album-card-art {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.4s ease;
}
.album-card:hover .album-card-art { filter: brightness(1); }
.album-card-info { padding: 20px; }
.album-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.album-card-meta {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--grey);
}
.album-card.coming-soon { opacity: 0.5; pointer-events: none; }
.album-card.coming-soon .album-card-art { filter: brightness(0.4) grayscale(0.5); }

/* ── CUSTOM PLAYER ── */
.custom-player { background: rgba(26,23,20,0.8); border: 1px solid rgba(107,90,62,0.15); overflow: hidden; max-width: 900px; margin: 0 auto 40px; }
.cp-header { display: flex; align-items: center; gap: 24px; padding: 24px; }
.cp-art { width: 140px; height: 140px; flex-shrink: 0; border: 1px solid rgba(107,90,62,0.2); box-shadow: 0 0 30px rgba(0,0,0,0.4); }
.cp-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-info { flex: 1; }
.cp-album-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); letter-spacing: 3px; margin-bottom: 4px; }
.cp-album-type { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 5px; text-transform: uppercase; color: var(--purple-light); margin-bottom: 16px; }
.cp-now-playing { font-size: 1rem; color: var(--cream); opacity: 0.85; font-style: italic; }
.cp-now-playing span { color: var(--gold); opacity: 1; font-style: normal; }

.cp-controls { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 8px 24px 4px; }
.cp-btn { width: 36px; height: 36px; border: 1px solid rgba(107,90,62,0.3); border-radius: 50%; background: transparent; color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.cp-btn:hover { border-color: var(--gold); background: rgba(107,90,62,0.1); }
.cp-btn.play { width: 52px; height: 52px; border-color: var(--gold); }
.cp-btn.play:hover { background: rgba(107,90,62,0.15); box-shadow: 0 0 20px rgba(184,157,106,0.15); }
.cp-btn svg { width: 16px; height: 16px; fill: currentColor; }
.cp-btn.play svg { width: 22px; height: 22px; }

.cp-progress { padding: 12px 24px 20px; }
.cp-bar-bg { width: 100%; height: 3px; background: var(--stone); border-radius: 2px; cursor: pointer; position: relative; margin-bottom: 8px; }
.cp-bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: 2px; position: relative; transition: width 0.1s linear; }
.cp-bar-fill::after { content: ''; position: absolute; right: -5px; top: -4px; width: 11px; height: 11px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 8px rgba(184,157,106,0.4); }
.cp-times { display: flex; justify-content: space-between; font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 2px; color: var(--grey); }

.cp-tracklist { border-top: 1px solid rgba(107,90,62,0.08); max-height: 400px; overflow-y: auto; scrollbar-color: var(--gold-dark) var(--stone-dark); }
.cp-tracklist::-webkit-scrollbar { width: 4px; }
.cp-tracklist::-webkit-scrollbar-track { background: var(--stone-dark); }
.cp-tracklist::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
.cp-track { display: flex; align-items: center; gap: 16px; padding: 12px 24px; transition: background 0.2s ease; cursor: pointer; border-bottom: 1px solid rgba(107,90,62,0.04); }
.cp-track:hover { background: rgba(107,90,62,0.06); }
.cp-track.active { background: rgba(107,90,62,0.1); }
.cp-track-num { font-family: var(--font-heading); font-size: 0.6rem; color: var(--grey); width: 24px; text-align: right; letter-spacing: 1px; }
.cp-track.active .cp-track-num { color: var(--gold); }
.cp-track-name { flex: 1; font-size: 0.95rem; color: var(--cream); opacity: 0.85; }
.cp-track.active .cp-track-name { color: var(--gold-light); opacity: 1; }
.cp-track-dur { font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 2px; color: var(--grey); }

/* ── ACTION BUTTONS (Follow, Buy, etc.) ── */
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid rgba(107,90,62,0.3);
  background: rgba(107,90,62,0.05);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.action-btn:hover {
  background: rgba(107,90,62,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(184,157,106,0.1);
}
.action-btn svg { width: 18px; height: 18px; fill: currentColor; }
.action-btn.primary {
  background: rgba(107,90,62,0.15);
  border-color: var(--gold);
}
.action-btn.primary:hover {
  background: rgba(107,90,62,0.25);
  box-shadow: 0 0 25px rgba(184,157,106,0.15);
}

.action-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── ABOUT ── */
.about-section { position: relative; overflow: hidden; }
.about-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.06; filter: blur(2px); }
.about-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; text-align: center; }
.about-text { font-size: 1.15rem; font-weight: 300; line-height: 2; color: var(--cream); opacity: 0.95; }
.about-text em { color: var(--gold); font-style: italic; }

/* ── CONTACT ── */
.contact-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.contact-link { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; transition: all 0.3s ease; }
.contact-link:hover { transform: translateY(-4px); }
.contact-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(107,90,62,0.3); border-radius: 50%; color: var(--gold); transition: all 0.3s ease; }
.contact-link:hover .contact-icon { border-color: var(--purple-glow); color: var(--purple-light); box-shadow: 0 0 20px rgba(139,95,207,0.2); }
.contact-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-label { font-family: var(--font-heading); font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase; color: var(--grey); transition: color 0.3s ease; }
.contact-link:hover .contact-label { color: var(--gold); }

/* ── FOOTER ── */
.footer { padding: 60px 20px 40px; text-align: center; border-top: 1px solid rgba(107,90,62,0.08); }
.footer-logo { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 5px; color: var(--gold-dark); margin-bottom: 8px; }
.footer-sub { font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 4px; text-transform: uppercase; color: var(--grey); opacity: 0.5; }
.compass { display: flex; justify-content: center; padding: 20px 0; }
.compass svg { width: 40px; height: 40px; opacity: 0.3; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 0.8; transform: scaleY(1.2); } }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   HAMBURGER MENU (hidden on desktop)
   ══════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.nav-links { display: contents; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.visible { opacity: 1; }

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 768px) {
  .nav { gap: 20px; padding: 16px 20px; }
  .nav a { font-size: 0.6rem; letter-spacing: 2px; }
  .hero-title { letter-spacing: 4px; }

  /* Player header stacks */
  .cp-header { flex-direction: column; text-align: center; }
  .cp-art { width: 200px; height: 200px; }

  /* Make player controls & progress bar easier to tap */
  .cp-btn { width: 44px; height: 44px; }
  .cp-btn.play { width: 56px; height: 56px; }
  .cp-bar-bg { height: 6px; }
  .cp-bar-fill::after { width: 14px; height: 14px; top: -4px; right: -7px; }
  .cp-track { padding: 14px 20px; min-height: 48px; }

  .contact-links { gap: 24px; }
}

/* ── RESPONSIVE — SMALL SCREENS ── */
@media (max-width: 640px) {
  /* Switch to hamburger nav */
  .nav {
    justify-content: space-between;
    padding: 14px 20px;
    gap: 0;
    background: rgba(10,10,15,0.97);
    backdrop-filter: blur(12px);
  }
  .nav.scrolled { padding: 14px 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(10,10,15,0.98);
    border-left: 1px solid rgba(107,90,62,0.1);
    z-index: 1001;
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 0.75rem !important;
    letter-spacing: 4px !important;
    padding: 8px 0;
  }

  /* Sections breathe */
  .section { padding: 70px 16px; }
  .section-title { letter-spacing: 3px; }
  .section-label { letter-spacing: 4px; margin-bottom: 35px; }
  .page-header { padding: 120px 16px 50px; }

  /* Album grid single column */
  .album-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Action buttons stack */
  .action-row { gap: 10px; }
  .action-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.55rem;
    min-height: 48px;
  }

  /* Player tweaks */
  .cp-art { width: 160px; height: 160px; }
  .cp-album-title { font-size: 1.1rem; letter-spacing: 2px; }
  .cp-controls { gap: 16px; padding: 8px 16px 4px; }
  .cp-progress { padding: 12px 16px 16px; }
  .cp-track { padding: 14px 16px; gap: 12px; }

  /* Footer */
  .footer { padding: 40px 16px 30px; }
  .footer-logo { font-size: 0.8rem; letter-spacing: 3px; }
}
