:root {
  --bg: #101318;
  --accent: #c6ff00;
  --text: #f5f7fa;
  --text-muted: #9aa1ac;
  --error: #ff6b6b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.ball {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  margin-bottom: 1.5rem;
  animation: bounce 1.1s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--accent);
  font-weight: 600;
  margin: 0.5rem 0 0;
}

.subhead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 480px;
  margin: 1.25rem 0 2.5rem;
}

.waitlist-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
  flex-wrap: wrap;
  justify-content: center;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.email-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid #2a2f38;
  background: #171b21;
  color: var(--text);
  font-size: 1rem;
}

.email-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.submit-button {
  flex: 0 0 auto;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #101318;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.submit-button:not(:disabled):hover {
  filter: brightness(1.08);
}

.form-message {
  min-height: 1.5em;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: var(--error);
}

.footer {
  margin-top: 3rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
  }
  .submit-button {
    width: 100%;
  }
  .email-input {
    width: 100%;
  }
}
