:root {
  --bg: #080605;
  --blue: #416ab3;
  --orange: #f78f1e;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  /* Dim, dark gradient backdrop (canvas is transparent and sits on top) */
  background:
    radial-gradient(ellipse at 50% 38%, #14110e 0%, #0b0908 46%, #050403 100%);
  background-color: var(--bg);
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Full-screen animation layer */
#constellation {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  display: block;
  z-index: 0;
}

/* Centered foreground */
.stage {
  position: relative;
  z-index: 1;
  height: 100svh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.75rem, 5vh, 3rem);
  pointer-events: none; /* let the canvas receive pointer moves; re-enable on the button */
  /* Radial vignette lifts the center so the logo reads over the animation */
  background: radial-gradient(
    ellipse at center,
    rgba(8, 6, 5, 0) 30%,
    rgba(8, 6, 5, 0.55) 75%,
    rgba(8, 6, 5, 0.8) 100%
  );
}

.logo {
  width: clamp(180px, 31vw, 378px);
  height: auto;
  user-select: none;
  filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.6));
}

.cta {
  pointer-events: auto;
  font: inherit;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.82);
  background: #000;
  border: 1px solid rgba(247, 143, 30, 0.45);
  border-radius: 999px;
  padding: 0.68em 1.75em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(247, 143, 30, 0.1);
  border-color: rgba(247, 143, 30, 0.85);
  color: var(--white);
  outline: none;
}
