/* ═══════════════════════════════════════════════════════════════════
   SLAX — Artist Website Styles
   Palette: #050B14 (Canvas), #00E5FF (Neon Blue), #00FF66 (Green)
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────────── */
:root {
  --bg-deep: #050B14;
  --bg-elevated: #0A1528;
  --neon-blue: #00E5FF;
  --neon-green: #00FF66;
  --text-primary: #E0E8F0;
  --text-secondary: #6B7D99;
  --text-muted: #3A4A60;
  --border-subtle: rgba(0, 229, 255, 0.15);
  --border-active: rgba(0, 229, 255, 0.5);
  --shadow-block: 4px 4px 0px rgba(0, 0, 0, 0.6);
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  --transition-glitch: 80ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background: var(--bg-deep);
  position: relative;
}

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

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

button {
  cursor: none;
  font-family: inherit;
}

/* ── Noise Overlay ────────────────────────────────────────────── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.04;
  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-size: 128px 128px;
  animation: grain-shift 0.5s steps(3) infinite;
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-2px, 1px); }
  66% { transform: translate(1px, -2px); }
}

/* ── Custom Cursor ─────────────────────────────────────────────── */
.cursor-reticle {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  transition: width 0.15s, height 0.15s;
}

.cursor-reticle.expanded {
  width: 64px;
  height: 64px;
}

.cursor-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--neon-blue);
  border-radius: 50%;
  opacity: 0.7;
}

.cursor-cross-h,
.cursor-cross-v {
  position: absolute;
  background: var(--neon-blue);
  opacity: 0.6;
}

.cursor-cross-h {
  top: 50%;
  left: 20%;
  right: 20%;
  height: 1px;
  transform: translateY(-0.5px);
}

.cursor-cross-v {
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 1px;
  transform: translateX(-0.5px);
}

.cursor-reticle.expanded .cursor-ring {
  border-color: var(--neon-green);
  opacity: 1;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.4);
}

.cursor-reticle.expanded .cursor-cross-h,
.cursor-reticle.expanded .cursor-cross-v {
  background: var(--neon-green);
  opacity: 0.9;
}

.cursor-meta {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--neon-green);
  white-space: nowrap;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.15s;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.cursor-reticle.expanded .cursor-meta {
  opacity: 1;
}

/* ── Audio Ticker ──────────────────────────────────────────────── */
.audio-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(5, 11, 20, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 6px 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.ticker-status {
  color: var(--neon-green);
  font-weight: 700;
}

.ticker-divider {
  color: var(--text-muted);
}

.ticker-track {
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ticker-wave {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 12px;
}

.ticker-wave-bar {
  width: 2px;
  background: var(--neon-blue);
  animation: wave-anim 0.6s ease-in-out infinite alternate;
}

@keyframes wave-anim {
  from { height: 3px; }
  to { height: 12px; }
}

.ticker-time {
  color: var(--text-muted);
  min-width: 42px;
  text-align: right;
}

.ticker-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--neon-blue);
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  transition: all var(--transition-glitch);
}

.ticker-btn:hover {
  background: var(--neon-blue);
  color: var(--bg-deep);
  border-color: var(--neon-blue);
}

/* ── Navigation Frame ──────────────────────────────────────────── */
.nav-frame {
  position: fixed;
  inset: 0;
  z-index: 800;
  pointer-events: none;
}

.nav-item {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  pointer-events: auto;
  padding: 8px 14px;
  transition: color 0.2s, text-shadow 0.2s;
  z-index: 1;
}

.nav-item:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.nav-tl { top: 24px; left: 24px; }
.nav-tr { top: 24px; right: 24px; }
.nav-bl { bottom: 52px; left: 24px; }
.nav-br { bottom: 52px; right: 24px; }

.nav-progress {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 52px;
  width: 2px;
  background: var(--border-subtle);
  pointer-events: none;
}

.nav-progress::after {
  content: '';
  position: absolute;
  right: 0;
  width: 2px;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  transition: height 0.15s linear;
}

/* ── Section Base ──────────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* ── HERO SECTION ──────────────────────────────────────────────── */
.section-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.hero-logo {
  margin-bottom: 20px;
}

.hero-logo-img {
  max-width: 120px;
  margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.6)); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 14rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 1.5vw, 2rem);
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}

.hero-letter {
  display: inline-block;
  animation: letter-land 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(0.12s * var(--i) + 0.3s);
}

@keyframes letter-land {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 0.5em;
  color: var(--neon-blue);
  margin-top: 1rem;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.scroll-strobe {
  width: 1px;
  height: 24px;
  background: var(--neon-blue);
  animation: strobe-pulse 1.5s ease-in-out infinite;
}

@keyframes strobe-pulse {
  0%, 100% { opacity: 0.3; height: 24px; }
  50% { opacity: 1; height: 36px; box-shadow: 0 0 12px var(--neon-blue); }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--text-muted);
}

/* ── ABOUT SECTION ─────────────────────────────────────────────── */
.section-about {
  background: var(--bg-deep);
  padding: 120px 0 160px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Grid guide lines (subtle cosmetic) */
.about-grid::before {
  content: '';
  position: absolute;
  inset: -60px 40px;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent calc(100% / 12 - 1px),
      var(--border-subtle) calc(100% / 12 - 1px),
      var(--border-subtle) calc(100% / 12)
    );
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.about-text {
  grid-column: 1 / 7;
  padding-right: 40px;
  position: relative;
  z-index: 1;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 40px;
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}

.about-body {
  max-width: 480px;
}

.about-body p {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--neon-blue);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
}

.about-images {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.about-img-wrap {
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.about-img-wrap.about-img-1 {
  align-self: flex-start;
  width: 85%;
  margin-top: 20px;
}

.about-img-wrap.about-img-2 {
  align-self: flex-end;
  width: 75%;
  margin-top: -40px;
}

.about-img {
  width: 100%;
  display: block;
  filter: contrast(1.15) saturate(0.8) brightness(0.9);
  transition: filter 0.3s;
}

.about-img-wrap:hover .about-img {
  filter: contrast(1.3) saturate(1) brightness(1);
}

.img-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--neon-blue);
  background: rgba(5, 11, 20, 0.8);
  padding: 3px 8px;
  border: 1px solid var(--border-subtle);
}

/* ── Section Hard Cuts ─────────────────────────────────────────── */
.section-cut {
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 2;
}

.section-cut-top {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-deep), transparent);
  border-bottom: 1px solid var(--border-active);
}

.section-cut-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  border-top: 1px solid var(--border-active);
}

/* ── Interlock Transition ──────────────────────────────────────── */
.interlock {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
  overflow: hidden;
  border-top: 1px solid var(--border-active);
  border-bottom: 1px solid var(--border-active);
}

.interlock-text {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-active);
  text-stroke: 1px var(--border-active);
  position: relative;
  z-index: 1;
}

.interlock-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--neon-blue);
  top: 50%;
  opacity: 0.4;
}

/* ── DOWNLOADS SECTION ─────────────────────────────────────────── */
.section-downloads {
  background: var(--bg-deep);
  padding: 100px 0 160px;
  min-height: auto;
}

.downloads-header {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.downloads-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.downloads-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Downloads Data Grid */
.downloads-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.dl-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 80px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}

.dl-row:last-child {
  border-bottom: none;
}

.dl-row:hover {
  background: rgba(0, 229, 255, 0.03);
  border-color: var(--border-active);
}

.dl-name {
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--neon-blue);
}

.dl-row:hover .dl-icon {
  border-color: var(--neon-blue);
  background: rgba(0, 229, 255, 0.1);
}

.dl-type {
  color: var(--text-secondary);
  font-size: 10px;
  text-transform: uppercase;
}

.dl-meta {
  color: var(--text-muted);
  font-size: 10px;
}

.dl-lyrics-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid transparent;
  transition: all var(--transition-glitch);
  cursor: none;
}

.dl-lyrics-link:hover {
  color: var(--neon-green);
  border-color: var(--neon-green);
}

.dl-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--neon-blue);
  padding: 8px 12px;
  text-align: center;
  transition: all var(--transition-glitch);
  position: relative;
}

.dl-btn:hover {
  background: var(--neon-green);
  color: var(--bg-deep);
  border-color: var(--neon-green);
  transform: translate(2px, -2px);
  box-shadow: var(--shadow-block);
}

.dl-row:hover .dl-btn {
  border-color: var(--neon-blue);
}

/* Waveform Preview */
.waveform-preview {
  max-width: 1400px;
  margin: 20px auto 0;
  padding: 0 40px;
  height: 60px;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.waveform-preview.active {
  opacity: 1;
}

#waveform-canvas {
  width: 100%;
  height: 60px;
}

.waveform-info {
  position: absolute;
  top: 0;
  right: 40px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--neon-green);
  padding: 4px 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 11, 20, 0.9);
}

/* ── CONTACT SECTION ───────────────────────────────────────────── */
.section-contact {
  background: var(--bg-deep);
  min-height: auto;
  padding: 100px 0 80px;
  border-top: 1px solid var(--border-subtle);
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 50px;
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-link {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s;
}

.contact-link:hover {
  background: rgba(0, 229, 255, 0.03);
  border-color: var(--border-active);
  padding-left: 10px;
}

.link-arrow {
  font-size: 18px;
  color: var(--neon-green);
  transition: transform 0.2s;
}

.contact-link:hover .link-arrow {
  transform: translateX(6px);
}

.link-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
}

.link-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-blue);
  text-align: right;
}

.contact-link:hover .link-value {
  color: var(--neon-green);
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid::before {
    display: none;
  }

  .about-text {
    grid-column: 1;
    padding-right: 0;
  }

  .about-images {
    grid-column: 1;
  }

  .about-img-wrap.about-img-1,
  .about-img-wrap.about-img-2 {
    width: 100%;
    margin-top: 0;
  }

  .dl-row {
    grid-template-columns: 2fr 1fr 80px;
  }

  .dl-meta {
    display: none;
  }

  .nav-item {
    font-size: 9px;
    padding: 6px 10px;
  }

  .nav-tl { top: 12px; left: 12px; }
  .nav-tr { top: 12px; right: 12px; }
  .nav-bl { bottom: 52px; left: 12px; }
  .nav-br { bottom: 52px; right: 12px; }

  .contact-link {
    grid-template-columns: 30px 1fr;
  }

  .link-value {
    display: none;
  }

  .cursor-reticle {
    display: none;
  }

  html, body, a, button {
    cursor: auto;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .about-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .interlock {
    height: 100px;
  }

  .interlock-text {
    font-size: 3rem;
  }

  .dl-row {
    grid-template-columns: 1.5fr 80px;
  }

  .dl-type {
    display: none;
  }
}
