:root {
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg-base: #000000;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --glow-blue: rgba(90, 160, 220, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--bg-base);
  overflow: hidden;
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.bg-glow--left {
  width: 55vw;
  height: 70vh;
  left: -18vw;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle,
    rgba(100, 180, 240, 0.45) 0%,
    rgba(60, 130, 200, 0.18) 45%,
    transparent 70%
  );
}

.bg-glow--right {
  width: 45vw;
  height: 55vh;
  right: -12vw;
  bottom: -8vh;
  background: radial-gradient(
    circle,
    rgba(80, 165, 235, 0.4) 0%,
    rgba(50, 120, 190, 0.15) 50%,
    transparent 72%
  );
}

.bg-grid {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  opacity: 0.85;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    transparent 30%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.content {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.logo-orb {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: left center;
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1;
  text-transform: lowercase;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.subtext {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  max-width: 520px;
}

.register-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 480px;
  margin-top: 0.5rem;
}

.email-input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.email-input:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(140, 175, 210, 0.45);
}

.register-btn {
  flex-shrink: 0;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000000;
  background-color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.register-btn:hover {
  opacity: 0.88;
}

.register-btn:active {
  transform: scale(0.98);
}

@media (max-width: 520px) {
  .register-form {
    flex-direction: column;
    align-items: stretch;
  }

  .register-btn {
    width: 100%;
    padding: 1rem 1.5rem;
  }
}
