* {
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f1a;
  color: white;
}

.bg {
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 30%, rgba(120, 90, 255, 0.45), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0, 200, 255, 0.35), transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(40, 20, 120, 0.4), transparent 65%);
  filter: blur(110px);
  animation: float 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes float {
  from {
    transform: translate(-4%, -3%);
  }
  to {
    transform: translate(4%, 3%);
  }
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.brand {
  font-size: 14px;
  letter-spacing: 4px;
  opacity: 0.65;
  margin-bottom: 18px;
}

.speed {
  font-size: clamp(72px, 12vw, 110px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.unit {
  font-size: 18px;
  opacity: 0.75;
  margin-top: 6px;
}

.label {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.55;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(15, 18, 40, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-links {
  position: fixed;
  bottom: 14px;
  right: 18px;
  display: flex;
  gap: 14px;
  z-index: 2;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: white;
  opacity: 1;
}
