:root {
  --bg1: #07111f;
  --bg2: #0f1f33;
  --accent: #22c55e;
  --accent2: #38bdf8;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, .18), transparent 30%),
    radial-gradient(circle at top right, rgba(34, 197, 94, .15), transparent 26%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  color: #e5eefb;
}

.glass {
  background: rgba(8, 15, 28, .68);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.fade-in {
  animation: fadeIn .45s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-button {
  padding: .5rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
  color: #cbd5e1;
}

.nav-button:hover,
.mobile-button:hover {
  color: white;
  background: rgba(255,255,255,.05);
}

.join-button,
.mobile-join-button {
  padding: .65rem 1.25rem;
  border-radius: .75rem;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
  color: #020617;
  font-weight: 600;
}

.mobile-button,
.mobile-join-button {
  text-align: left;
  padding: .75rem 1rem;
  border-radius: .75rem;
  color: #e2e8f0;
}

.input-field {
  width: 100%;
  border-radius: .75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: .75rem 1rem;
  color: white;
  outline: none;
}

.input-field:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,.3);
}