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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #050507;
  color: #f0e8e8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

/* Lets mouse clicks pass through empty areas to the WebGPU listener */
.ui-layer {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.5rem;
  pointer-events: none;
}

/* --- MAIN HUB PAGE --- */
.hub-container {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
}

.label-header {
  text-align: center;
  user-select: none;
}

.label-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.label-tagline {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: rgba(240, 232, 232, 0.65);
  text-transform: uppercase;
}

.artist-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.artist-btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  min-height: 125px;
  text-decoration: none;
  color: #f0e8e8;
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.artist-btn:hover {
  transform: translateY(-4px);
  background: rgba(160, 32, 32, 0.28);
  border-color: rgba(255, 110, 110, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(180, 40, 40, 0.25);
}

.artist-index {
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(255, 120, 120, 0.75);
  letter-spacing: 0.15em;
}

.artist-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 0.4rem;
}

.artist-genre {
  font-size: 0.78rem;
  color: rgba(240, 232, 232, 0.6);
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
}

/* --- ARTIST PROFILE PAGE --- */
.artist-page {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.top-nav {
  display: flex;
}

.back-btn {
  pointer-events: auto;
  text-decoration: none;
  color: rgba(240, 232, 232, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  padding: 0.6rem 1.2rem;
  background: rgba(12, 12, 16, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.artist-card {
  pointer-events: auto;
  background: rgba(12, 12, 16, 0.66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
}

.artist-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ff8a8a;
  background: rgba(180, 40, 40, 0.22);
  border: 1px solid rgba(255, 100, 100, 0.3);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.artist-page-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.artist-bio {
  line-height: 1.75;
  color: rgba(240, 232, 232, 0.85);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.artist-bio h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.artist-bio ul {
  padding-left: 1.2rem;
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-btn {
  text-decoration: none;
  color: #f0e8e8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.platform-btn:hover {
  background: rgba(190, 45, 45, 0.38);
  border-color: rgba(255, 120, 120, 0.65);
  transform: translateY(-2px);
}