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

:root {
  --text: #f5f5f5;
  --text-muted: rgba(245, 245, 245, 0.78);
  --overlay: rgba(8, 8, 12, 0.55);
  --accent: #e8e0d4;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #0a0a0f;
  overflow-x: hidden;
}

/* Fallback when video/media files are missing or unsupported */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #2a2438 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, #1a2838 0%, transparent 60%),
    linear-gradient(160deg, #0d0d14 0%, #14101c 40%, #0a1218 100%);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Hide broken/empty video so the CSS gradient fallback shows through */
.bg-video:not([src]) {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--overlay);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  gap: 1.25rem;
}

.artist-name {
  font-size: clamp(2.75rem, 12vw, 5.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
  line-height: 1.1;
}

.tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  max-width: 28ch;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

.nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-color: rgba(245, 245, 245, 0.4);
  outline: none;
}

@media (max-width: 480px) {
  .artist-name {
    letter-spacing: 0.2em;
    text-indent: 0.2em;
  }

  .nav {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }
}
