/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* === Custom Properties === */
:root {
  --bg: #000;
  --bg-elevated: #0a0a0a;
  --text: #fff;
  --text-secondary: #888;
  --text-muted: #555;
  --border: #1a1a1a;
  --max-width: 1000px;
  --section-padding: 80px 24px;
}

/* === Hero === */
.hero {
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 80%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-logo-img {
  max-width: clamp(280px, 50vw, 600px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.1));
}

.hero-tagline {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-top: -56px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.nav-scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 22px;
  width: auto;
}

.nav-links-desktop {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 300;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu Overlay (outside nav, direct child of body) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 200;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 36px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.mobile-menu-link {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--text);
}

/* Mobile nav */
@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* === Section Divider === */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* === Social Links Bar === */
.socials {
  padding: 24px;
}

.socials-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  color: var(--text-secondary);
  transition: color 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
}

.social-link:hover {
  color: var(--text);
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}

/* === Sections === */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
}

/* === About === */
.bio-text {
  max-width: 600px;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

/* === Music === */
.music .section-inner {
  overflow: hidden;
}

.release-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 24px 16px;
  margin-bottom: 48px;
  scrollbar-width: none;
}

.release-scroll::-webkit-scrollbar {
  display: none;
}

.release-card {
  display: block;
  text-align: center;
  transition: transform 0.3s;
  flex: 0 0 calc(40% - 12px);
  scroll-snap-align: start;
  min-width: 200px;
}

@media (max-width: 640px) {
  .release-card {
    flex: 0 0 calc(55% - 12px);
  }
}

.release-card:hover {
  transform: translateY(-6px);
}

.release-art {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-elevated);
  margin-bottom: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.release-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
  border: 1px solid var(--border);
}

.release-placeholder-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.release-card:hover .release-art {
  box-shadow: 0 8px 32px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.05);
}

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

.release-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.release-type {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === Tour === */
.tour-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 1px;
}

.spotify-embed {
  border-radius: 12px;
  overflow: hidden;
}

.spotify-embed iframe {
  display: block;
}

@media (max-width: 640px) {
  .spotify-embed iframe {
    height: 352px;
  }
}

/* === Live Sets === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-card {
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
}

.video-card:hover {
  transform: translateY(-4px);
}

.video-card:hover .video-thumb {
  box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 15px rgba(255,255,255,0.03);
}

.video-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.video-card:hover .video-thumb img {
  opacity: 0.7;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(0, 0, 0, 0.3);
}

.video-card:hover .video-play {
  opacity: 1;
}

.video-title {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* === Contact === */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  text-align: center;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-email {
  font-size: 16px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.contact-email:hover {
  color: var(--text);
  text-shadow: 0 0 8px rgba(255,255,255,0.2);
}

/* === Footer === */
.footer {
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

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

/* === Responsive === */
@media (max-width: 640px) {
  :root {
    --section-padding: 60px 20px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
