:root {
  --bg: #0e0f13;
  --panel: #16181f;
  --panel-2: #1d2029;
  --text: #e8e9ee;
  --muted: #9aa0ad;
  --accent: #5b7cff;
  --accent-2: #46d39a;
  --danger: #e06464;
  --border: #262a35;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* nav */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 18px; letter-spacing: .3px; }
.brand span { color: var(--accent); }
.nav-links a { margin-left: 18px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* hero */
.hero { text-align: center; padding: 90px 0 70px; }
.hero h1 { font-size: 44px; line-height: 1.1; margin-bottom: 18px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 28px; }

/* buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; border: none;
  cursor: pointer; font-size: 15px;
}
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); padding: 6px 12px; font-size: 13px; }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* sections */
section { padding: 50px 0; }
section h2 { font-size: 28px; text-align: center; margin-bottom: 8px; }
section .sub { text-align: center; color: var(--muted); margin-bottom: 36px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step .n { color: var(--accent); font-weight: 700; font-size: 13px; }
.step h3 { margin: 6px 0 8px; font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }

/* pricing */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.card.featured { border-color: var(--accent); }
.card h3 { font-size: 18px; }
.card .price { font-size: 34px; font-weight: 700; margin: 10px 0 2px; }
.card .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.card .credits { color: var(--accent-2); font-size: 14px; margin-bottom: 18px; }
.card .btn { width: 100%; }

/* dashboard */
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.panel h3 { font-size: 16px; margin-bottom: 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: none; }
.balance { font-size: 40px; font-weight: 700; color: var(--accent-2); }
.muted { color: var(--muted); font-size: 14px; }
.field { width: 100%; padding: 11px 13px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); margin-bottom: 10px; font-size: 14px; }
.token-box { font-family: monospace; background: var(--panel-2); border: 1px solid var(--accent-2); border-radius: 8px; padding: 12px; word-break: break-all; margin: 10px 0; font-size: 13px; }
.hidden { display: none; }
.err { color: var(--danger); font-size: 14px; min-height: 18px; }
.ok { color: var(--accent-2); font-size: 14px; min-height: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* social login */
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 14px; margin-bottom: 10px; border-radius: 8px;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); }
.social-btn .dot { width: 18px; height: 18px; border-radius: 4px; display: inline-block; }
.social-btn .roblox { background: #e2231a; }
.social-btn .google { background: #fff; }
.social-btn .discord { background: #5865f2; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 14px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 720px) {
  .steps, .cards, .grid2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
