:root {
  --bg: #0b0813;
  --bg-alt: #120b21;
  --card: #1a1130;
  --border: #2a1d4d;
  --primary: #a855f7;
  --primary-2: #ec4899;
  --text: #ede9fe;
  --muted: #a89bc9;
  --neon-glow: 0 0 24px rgba(168, 85, 247, 0.45);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ── Navbar ─────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 8, 19, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  color: var(--primary);
  text-shadow: var(--neon-glow);
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ── Botões ─────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-invite {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--neon-glow);
}

.btn-invite:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  box-shadow: var(--neon-glow);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* ── Hero ───────────────── */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at top left, rgba(168, 85, 247, 0.25), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.2), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  justify-content: center;
}

.badge-ring {
  display: grid;
  place-items: center;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card), transparent 70%);
  border: 1px solid var(--border);
  box-shadow: var(--neon-glow);
  position: relative;
  animation: float 5s ease-in-out infinite;
}

.badge-core {
  font-size: 5rem;
  color: var(--primary);
  text-shadow: var(--neon-glow);
}

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

/* ── Seções ─────────────── */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
}

/* ── Lists ──────────────── */
.feature-list {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
}

.feature-list li {
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

/* ── Cards ──────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--neon-glow);
}

.card h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Raridades ──────────── */
.rarity {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0 4px;
  border: 1px solid;
}

.rarity-common { color: #9ca3af; border-color: #4b5563; }
.rarity-rare { color: #3b82f6; border-color: #2563eb; }
.rarity-epic { color: #a855f7; border-color: #9333ea; }
.rarity-legendary { color: #f59e0b; border-color: #d97706; text-shadow: 0 0 12px rgba(245, 158, 11, 0.6); }

/* ── Stack ──────────────── */
.stack-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stack-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  color: var(--primary);
}

/* ── CTA ────────────────── */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
}

.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  margin-bottom: 22px;
}

/* ── Footer ─────────────── */
.footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

/* ── Responsivo ─────────── */
@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 8, 19, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 5%;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}