:root {
  --bg: #0b0f14;
  --panel: #121821;
  --panel-2: #171e29;
  --border: #243041;
  --text: #e8eef7;
  --muted: #8fa0b8;
  --accent: #ff5c6c;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --ok: #3ecf8e;
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, system-ui, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.brand span { color: var(--accent); }

.lead {
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 640px;
}

.hero {
  background: linear-gradient(135deg, rgba(255, 92, 108, 0.12), rgba(88, 101, 242, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 1.85rem;
}

.hero p { color: #c8d4e6; margin: 0 0 18px; }

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--discord);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.btn-discord:hover {
  background: var(--discord-hover);
  color: #fff;
}

.btn-discord svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
}
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(62, 207, 142, 0.15);
  color: var(--ok);
  width: fit-content;
}

.card .tag.core {
  background: rgba(88, 101, 242, 0.18);
  color: #aab4ff;
}

.card p, .card li {
  color: #c8d4e6;
  font-size: 0.92rem;
  margin: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.card .actions {
  margin-top: auto;
  padding-top: 8px;
}

.section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 42px;
  color: #c8d4e6;
  font-size: 0.95rem;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

code {
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.88em;
}

.note {
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #c8d4e6;
  margin-top: 16px;
}

.footer {
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a { color: #7eb8ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .hero { padding: 20px; }
}
