:root {
  --bg: #0b0d12;
  --surface: #11141a;
  --surface-2: #0e1117;
  --text: #e9ebf0;
  --muted: #b7bdc9;
  --accent: #6f78e8;
  --accent-10: rgba(111, 120, 232, 0.1);
  --accent-20: rgba(111, 120, 232, 0.2);
  --border: #1a1f29;
  --shadow: rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

h1, h2, h3 {
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: 42px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { color: var(--muted); line-height: 1.65; }

.accent { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: linear-gradient(to bottom, rgba(11,13,18,0.9), rgba(11,13,18,0.6));
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: 32px; height: 32px; }
.brand-name { font-weight: 700; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); color: var(--text);
  padding: 8px; border-radius: 10px; cursor: pointer;
}
.nav-list {
  display: flex; gap: 18px; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px;
}
.nav-list a:hover { color: var(--text); background: var(--surface); }

/* Hero */
#bg-particles {
  position: fixed; inset: 0; z-index: 0;
}

.hero { position: relative; z-index: 1; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
}
.hero-title { font-size: 56px; }
.hero-subtitle { margin-bottom: 22px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 12px; border: 1px solid var(--border);
  color: var(--text); background: var(--surface); cursor: pointer; text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px var(--shadow); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--accent);
  border-color: transparent;
  color: white;
}
.btn.outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn.ghost {
  background: var(--surface-2);
}

.hero-meta { display: flex; gap: 18px; margin-top: 18px; flex-wrap: wrap; }
.meta-item { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-image {
  width: 100%; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 30px 80px -45px var(--shadow);
}

/* Cards & grids */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 60px -50px var(--shadow);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.grid.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-10);
  display: grid; place-items: center;
  margin-bottom: 10px;
}
.feature .icon img { width: 28px; height: 28px; }

.bullet-list {
  list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px;
}
.bullet-list li { display: flex; align-items: center; gap: 10px; color: var(--muted); }

.media-stack { position: relative; }
.stack-img {
  width: 100%; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: 0 24px 60px -46px var(--shadow);
}
.stack-img.offset {
  position: absolute; right: -8%; bottom: -8%;
  width: 58%; transform: rotate(-2deg);
}

/* Status */
.status-card .status-top {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.pill {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--muted); font-size: 12px;
}
.pill.ok { background: var(--accent-10); color: #cfd3ff; border-color: var(--accent-20); }
.pill.down { background: #271c1d; color: #ffb7b7; border-color: #3a2527; }

.status-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.status-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.status-item .label { color: var(--muted); font-size: 12px; }
.status-item .value { font-weight: 600; }

/* Steps & info */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.step-num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-10); color: var(--accent); font-weight: 700; margin-right: 8px;
}
.cta-row { display: flex; gap: 10px; margin-top: 12px; }

.card.info .divider {
  height: 1px; background: var(--border); margin: 16px 0;
}
.quick-links { display: flex; gap: 10px; flex-wrap: wrap; }
.quick {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none; padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--surface-2);
}
.quick:hover { color: var(--text); }

/* Rules */
.grid.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule {
  padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
}

/* Contact */
.contact-card .contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items: start; }
.contact-actions { display: flex; gap: 10px; margin-top: 12px; }
.contact-info { display: grid; gap: 10px; }
.info-row { display: flex; align-items: center; gap: 10px; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, rgba(11,13,18,0.9), rgba(11,13,18,0.6));
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.footer-left { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer-logo { width: 24px; height: 24px; }
.footer-right { display: flex; gap: 10px; }
.footer-right a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--muted); text-decoration: none;
}
.footer-right a:hover { color: var(--accent); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Loja */
.loja-card { overflow: hidden; }
.loja-header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 12px; }
.loja-auth {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; align-items: center;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 14px;
  margin-bottom: 16px;
}
.discord-user { display:flex; align-items:center; gap:12px; }
.avatar-skeleton {
  width:36px; height:36px; border-radius:50%; background: #131824; border:1px solid var(--border);
}
.user-info { display:grid; gap:6px; }
.line-skeleton { width:160px; height:10px; background:#131824; border-radius:6px; }
.line-skeleton.small { width:120px; height:8px; opacity:0.8; }
.label { display:block; font-size:12px; color: var(--muted); margin-bottom:6px; }
.input {
  width:100%; padding:12px; border-radius:10px; border:1px solid var(--border);
  background: #0f1218; color: var(--text);
}
.input:focus { outline:none; border-color: var(--accent-20); box-shadow: 0 0 0 3px var(--accent-10); }
.hint { color: var(--muted); }

.loja-grid .product .product-footer {
  margin-top: 10px; display:flex; align-items:center; justify-content: space-between;
}
.price { font-weight: 700; }

/* MP status */
.mp-status { margin-top: 10px; color: var(--muted); }
.mp-status.success { color: #c8f7c5; }
.mp-status.error { color: #ffb7b7; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .two-col, .contact-card .contact-grid { grid-template-columns: 1fr; }
  .stack-img.offset { position: relative; right: 0; bottom: 0; width: 100%; transform: none; margin-top: 12px; }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .grid.rules { grid-template-columns: repeat(2, 1fr); }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .loja-auth { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 34px; }
  .hero-title { font-size: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    position: fixed; top: 68px; right: 12px; width: min(86vw, 340px);
    background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 30px 80px -40px var(--shadow);
    display: none; flex-direction: column; padding: 10px;
  }
  .nav-list.open { display: flex; }
  .grid.cards { grid-template-columns: 1fr; }
  .grid.rules { grid-template-columns: 1fr; }
}
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* 🔥 ESSENCIAL — permite clicar nos links acima do canvas */
}