:root {
  --ink: #0b0b12;
  --glow: #fff6d8;
  --pink: #ff7bd6;
  --blue: #69e7ff;
  --mint: #8bffdb;
  --gold: #ffe19a;
  --shadow: rgba(11, 11, 18, 0.2);
}

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

body {
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 10%, #2d0c45, transparent 45%),
    radial-gradient(circle at 80% 0%, #103d5b, transparent 40%),
    radial-gradient(circle at 50% 100%, #082018, transparent 45%),
    linear-gradient(130deg, #09040f 10%, #120318 40%, #120a24 60%, #04111c 100%);
  min-height: 100vh;
  color: white;
  overflow: hidden;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.hud {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: rgba(12, 8, 20, 0.6);
  box-shadow: 0 20px 40px var(--shadow);
  backdrop-filter: blur(10px);
}

.back {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: rgba(255, 255, 255, 0.6);
}

h1 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.6rem);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.legend {
  position: absolute;
  right: 2.5rem;
  bottom: 2rem;
  z-index: 2;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
  letter-spacing: 0.03rem;
}

.legend span {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 800px) {
  .hud {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }

  .legend {
    right: 1rem;
    left: 1rem;
    text-align: center;
  }
}
