:root {
  --bg: #050814;
  --surface: rgba(14, 23, 50, .78);
  --line: rgba(120, 160, 255, .22);
  --line-hi: rgba(77, 171, 247, .55);
  --ink: #eef3ff;
  --muted: #96a8ce;
  --blue: #4dabf7;
  --violet: #9775fa;
  --gold: #ffd43b;
  --orange: #f76707;
  --green: #51cf66;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  font: 15.5px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 680px at 78% -8%, rgba(28, 39, 96, .85), transparent 60%),
              radial-gradient(900px 560px at -8% 105%, rgba(56, 20, 96, .65), transparent 55%),
              var(--bg);
  min-height: 100vh;
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.nav, main, .foot { position: relative; z-index: 1; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 28px;
  background: rgba(5, 8, 20, .78); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .16em; font-size: 15px; }
.glyph { color: var(--gold); margin-right: 4px; }
.links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.links a:hover { color: var(--ink); }
.btn-outline { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line-hi); color: var(--blue) !important; }

main { max-width: 1080px; margin: 0 auto; padding: 0 22px 64px; }
.hero { padding: 84px 0 56px; text-align: center; }
.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  padding: 5px 14px; border-radius: 99px;
  background: rgba(77, 171, 247, .14); border: 1px solid rgba(77, 171, 247, .35); color: var(--blue);
}
h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.1; margin: 18px auto 16px; max-width: 820px; letter-spacing: -.02em; }
.grad { background: linear-gradient(90deg, #4dabf7, #b197fc, #ffd43b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 680px; margin: 0 auto 28px; color: var(--muted); font-size: 17px; }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary, .btn-ghost {
  text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 11px; font-size: 15px; transition: transform .12s, filter .12s;
}
.btn-primary { background: linear-gradient(135deg, #f76707, #e8590c); color: #fff; box-shadow: 0 8px 26px rgba(247, 103, 7, .35); }
.btn-secondary { background: rgba(77, 171, 247, .16); color: var(--blue); border: 1px solid var(--line-hi); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-primary:hover, .btn-secondary:hover, .btn-ghost:hover { transform: translateY(-1px); filter: brightness(1.08); }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
  margin-top: 46px; padding: 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.stats b { display: block; font-size: 24px; color: var(--gold); }
.stats span { font-size: 12.5px; color: var(--muted); }

.section { padding: 48px 0 12px; }
.sec-head { max-width: 680px; margin-bottom: 24px; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--blue); }
h2 { font-size: 28px; margin: 6px 0 8px; }
.sec-head p { color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 22px;
  backdrop-filter: blur(8px); transition: border-color .16s, transform .14s;
}
.card:hover { border-color: var(--line-hi); transform: translateY(-2px); }
.card .ico { font-size: 24px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card h3 a { color: var(--blue); text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
code { background: rgba(120, 160, 255, .14); padding: 1px 6px; border-radius: 5px; font-size: 13px; color: #c5e2ff; }
.glow-blue { border-top: 2px solid var(--blue); }
.glow-green { border-top: 2px solid var(--green); }
.glow-gold { border-top: 2px solid var(--gold); }
.glow-violet { border-top: 2px solid var(--violet); }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rule { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 16px 18px; }
.rule b { display: block; margin-bottom: 5px; color: var(--gold); font-size: 14.5px; }
.rule span { color: var(--muted); font-size: 13.5px; }

.foot {
  border-top: 1px solid var(--line); padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: 13.5px; background: rgba(5, 8, 20, .65);
}
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--blue); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { #stars { display: none; } }
