:root {
  --bg: #070b14;
  --bg-elevated: #0d1424;
  --bg-panel: rgba(13, 20, 36, 0.92);
  --line: rgba(56, 189, 248, 0.2);
  --text: #eef3ff;
  --muted: #8b9bb8;
  --accent: #38bdf8;
  --accent-deep: #2563eb;
  --accent-soft: #67e8f9;
  --danger: #fb7185;
  --discord: #5865f2;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --font-display: "Clash Display", "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(88, 101, 242, 0.22), transparent 26rem),
    radial-gradient(circle at 92% 12%, rgba(56, 189, 248, 0.16), transparent 22rem),
    linear-gradient(180deg, #070b14 0%, #0a1220 50%, #070b14 100%);
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5865f2, #38bdf8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35);
}

.nav { display: flex; gap: 1.1rem; align-items: center; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(100vh - 7.5rem);
  padding: 1.5rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.12);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #57f287;
  box-shadow: 0 0 12px #57f287;
}

.hero-copy h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.hero-copy p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 36rem;
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #c5d0e6;
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5865f2, #38bdf8);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.auth-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 0.3rem;
}

.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(135deg, #5865f2, #38bdf8);
  color: #fff;
}

.form { display: none; gap: 0.85rem; }
.form.active { display: grid; }

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 11, 20, 0.72);
  color: var(--text);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  outline: none;
}

input:focus {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #38bdf8);
  box-shadow: 0 16px 36px rgba(88, 101, 242, 0.28);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.alert {
  display: none;
  margin-top: 0.9rem;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(251, 113, 133, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  font-size: 0.92rem;
  line-height: 1.55;
}

.alert.show { display: block; }

.legal { padding: 1.5rem 0 4rem; }

.legal-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}

.legal h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal .meta { color: var(--muted); margin-bottom: 1.6rem; }

.legal h2 {
  margin: 1.6rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.legal p, .legal li { color: #c5d0e6; line-height: 1.75; }
.legal ul { padding-left: 1.2rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.6rem;
    padding-top: 0.5rem;
  }
  .hero-copy h1 { max-width: none; }
}
