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

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #040c0a;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82vw, 82vh);
  height: min(82vw, 82vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2,8,7,0.58) 0%, rgba(2,8,7,0.4) 30%, rgba(2,8,7,0.22) 48%, rgba(2,8,7,0.08) 66%, rgba(2,8,7,0) 85%);
  filter: blur(14px);
  pointer-events: none;
}

.glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 58vh);
  height: min(58vw, 58vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,198,182,0.4) 0%, rgba(30,198,182,0) 70%);
  filter: blur(24px);
  animation: glowPulse 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.1); }
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

#kerf-canvas {
  display: block;
  width: min(52vw, 52vh);
  height: min(52vw, 52vh);
}

.tagline {
  margin: 0 0 0 0.4em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
}

.noscript-fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 14px;
  background: #040c0a;
}
