:root {
  --bg: #050314;
  --bg-alt: #09071f;
  --accent-1: #ff2fd0;
  --accent-2: #6b5bff;
  --accent-3: #23d5ff;
  --text: #f5f5ff;
  --muted: #9ea0c7;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.55);
  --blur: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at top, #1a1030 0%, #050314 55%, #020008 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* Waveform background */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 18px,
      rgba(255, 47, 208, 0.015) 18px,
      rgba(255, 47, 208, 0.015) 20px
    );
}

.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 15% at 20% 30%, rgba(255,47,208,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 12% at 80% 60%, rgba(35,213,255,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 70% 10% at 50% 80%, rgba(107,91,255,0.04) 0%, transparent 70%);
}

.bg-glow {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 18px 7vw;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(255, 47, 208, 0.16), transparent 55%),
              linear-gradient(to right, rgba(5, 3, 20, 0.96), rgba(5, 3, 20, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  text-align: center;
}

.logo {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-1);
}

@keyframes logoPulse {
  0%   { box-shadow: 0 0 20px rgba(255,47,208,0.8); }
  16%  { box-shadow: 0 0 25px rgba(255,102,0,0.8); }
  33%  { box-shadow: 0 0 25px rgba(204,255,0,0.8); }
  50%  { box-shadow: 0 0 25px rgba(0,245,255,0.8); }
  66%  { box-shadow: 0 0 25px rgba(107,91,255,0.8); }
  83%  { box-shadow: 0 0 25px rgba(255,47,208,0.8); }
  100% { box-shadow: 0 0 20px rgba(255,102,0,0.8); }
}

.logo-img {
  height: 52px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,47,208,0.35), rgba(5,3,20,0.95));
  padding: 5px;
  animation: logoPulse 3s ease-in-out infinite;
}

.nav a {
  margin-left: 1.8rem;
  font-size: 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
  transition: width 0.22s ease-out;
}

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

.nav a:hover::after {
  width: 100%;
}

/* Hero */
main {
  padding: 0 7vw 72px;
}

.hero {
  padding: 96px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 90%;
  background-image: url('header_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  mask-image: linear-gradient(to right, transparent 0%, black 35%, black 70%, transparent 100%),
              linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 95%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%, black 60%, transparent 100%),
              linear-gradient(to bottom, transparent 5%, black 25%, black 75%, transparent 95%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes shimmer {
  0%   { opacity: 0.3; filter: brightness(0.9) saturate(1); }
  50%  { opacity: 0.5; filter: brightness(1.2) saturate(1.4); }
  100% { opacity: 0.3; filter: brightness(0.9) saturate(1); }
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.tagline {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--accent-3);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  background: linear-gradient(90deg, 
    #00b4ff 0%,
    #9b00ff 20%,
    #ff2fd0 35%,
    #ccff00 50%,
    #00f5ff 65%,
    #ff2fd0 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.87rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(90deg,
    #00b4ff 0%,
    #9b00ff 20%,
    #ff2fd0 35%,
    #ccff00 50%,
    #00f5ff 65%,
    #ff2fd0 100%
  );
  color: #050314;
  box-shadow: 0 0 20px rgba(255,47,208,0.5), 0 0 40px rgba(0,245,255,0.3);
  font-weight: 700;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,47,208,0.7), 0 0 60px rgba(0,245,255,0.4);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
  background: rgba(7, 4, 24, 0.9);
}

.btn.ghost:hover {
  background: rgba(16, 9, 45, 0.95);
  border-color: var(--accent-2);
}

/* Sections */
.section-title {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Artists */
.artists {
  padding: 16px 0 64px;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.4rem;
}

.artist-card {
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(7, 4, 24, 0.98), rgba(10, 7, 32, 0.98));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Individual artist card colors */
.artist-harland {
  border-color: rgba(255, 180, 50, 0.3);
}
.artist-harland:hover {
  box-shadow: 0 0 30px rgba(255, 180, 50, 0.2);
}

.artist-kaelith {
  border-color: rgba(255, 47, 208, 0.3);
}
.artist-kaelith:hover {
  box-shadow: 0 0 30px rgba(255, 47, 208, 0.2);
}

.artist-sylraen {
  border-color: rgba(180, 130, 255, 0.3);
}
.artist-sylraen:hover {
  box-shadow: 0 0 30px rgba(180, 130, 255, 0.2);
}

.artist-elion {
  border-color: rgba(35, 130, 255, 0.3);
}
.artist-elion:hover {
  box-shadow: 0 0 30px rgba(35, 130, 255, 0.2);
}

.artist-alaric {
  border-color: rgba(35, 213, 255, 0.3);
}
.artist-alaric:hover {
  box-shadow: 0 0 30px rgba(35, 213, 255, 0.2);
}

.artist-wren {
  border-color: rgba(200, 30, 30, 0.3);
}
.artist-wren:hover {
  box-shadow: 0 0 30px rgba(200, 30, 30, 0.2);
}

.artist-solano {
  border-color: rgba(150, 255, 50, 0.3);
}
.artist-solano:hover {
  box-shadow: 0 0 30px rgba(150, 255, 50, 0.2);
}

.artist-ezra {
  border-color: rgba(232, 232, 240, 0.3);
}
.artist-ezra:hover {
  box-shadow: 0 0 30px rgba(232, 232, 240, 0.2);
}

.artist-card:hover {
  transform: translateY(-3px);
}

.artist-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.artist-tag {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
}

.artist-desc {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.artist-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* Sounds */
.sounds {
  padding: 32px 0 64px;
}

.sounds-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.sounds-panel,
.link-list {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(7, 4, 24, 0.98), rgba(11, 7, 35, 0.98));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.4rem;
}

.sounds-panel h3,
.link-list h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.sounds-panel p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.player-placeholder {
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: radial-gradient(circle at top, rgba(35, 213, 255, 0.14), transparent 65%);
}

.link-list ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.link-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.link-list span {
  color: var(--text);
}

.link-list a {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.85rem;
}

.link-list a:hover {
  text-decoration: underline;
}

/* About */
.about {
  padding: 32px 0 40px;
}

.about-text {
  max-width: 620px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

/* Footer */
.site-footer {
  padding: 20px 7vw 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 800px) {
  .site-header {
    padding-inline: 5vw;
  }

  main {
    padding-inline: 5vw;
  }

  .hero {
    padding-top: 72px;
  }

  .nav a {
    margin-left: 1.1rem;
    font-size: 0.78rem;
  }

  .sounds-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.6rem;
  }

  .nav a {
    margin-left: 0;
    margin-right: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
