:root {
  --bg: #070406;
  --bg-2: #10080c;
  --card: #161016;
  --line: rgba(220, 40, 50, 0.22);
  --text: #f3ecec;
  --muted: #a89898;
  --red: #dc1c2c;
  --red-2: #ff3b4a;
  --red-dim: #8a121c;
  --gold: #c9a36a;
  --ok: #2ee59a;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(180, 10, 24, 0.14);
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 620px at 50% -8%, rgba(220, 28, 44, 0.28), transparent 58%),
    radial-gradient(780px 460px at 92% 18%, rgba(140, 18, 36, 0.22), transparent 52%),
    radial-gradient(640px 380px at 6% 72%, rgba(201, 163, 106, 0.08), transparent 50%),
    linear-gradient(180deg, #0b0507 0%, var(--bg) 38%, #0a0406 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.moon-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.bg-stars {
  position: absolute; inset: 0;
  background: url("../img/stars.svg") center top / cover no-repeat;
  opacity: 0.85;
  animation: twinkle 8s ease-in-out infinite;
}
.bg-haze {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 48% 34% at 72% 18%, rgba(220, 28, 44, 0.2), transparent 70%),
    radial-gradient(ellipse 40% 28% at 18% 82%, rgba(201, 163, 106, 0.1), transparent 68%),
    radial-gradient(ellipse 55% 40% at 50% 108%, rgba(180, 12, 28, 0.16), transparent 62%);
  filter: blur(8px);
}
.bg-moon {
  position: absolute; border-radius: 50%;
}
.bg-moon-r {
  right: -70px; top: 88px;
  width: 420px; height: 420px;
  background:
    radial-gradient(circle at 38% 40%, rgba(255, 236, 206, 0.22), rgba(201, 163, 106, 0.1) 42%, transparent 58%);
  box-shadow:
    inset -56px 8px 0 0 rgba(232, 196, 140, 0.16),
    0 0 80px 20px rgba(220, 28, 44, 0.08);
}
.bg-moon-l {
  left: -120px; bottom: 8%;
  width: 280px; height: 280px;
  background:
    radial-gradient(circle at 62% 42%, rgba(255, 230, 190, 0.1), transparent 56%);
  box-shadow: inset 40px 6px 0 0 rgba(201, 163, 106, 0.1);
  opacity: 0.9;
}
.bg-rings {
  position: absolute; right: -40px; top: 110px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(201, 163, 106, 0.12);
  box-shadow:
    0 0 0 46px rgba(220, 28, 44, 0.035),
    0 0 0 92px rgba(201, 163, 106, 0.03);
}
.bg-grain {
  position: absolute; inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .bg-stars { animation: none; }
}

#pricing, #features, #servers, #faq { scroll-margin-top: 88px; }
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 4, 6, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: 0.01em; }
.brand img, .moon { width: 34px; height: 34px; border-radius: 8px; }
.moon { display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav-links a, .pill {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 14px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; font-size: 15px;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(220,28,44,.35); }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { background: #1a1214; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.nav-right { display: flex; gap: 8px; align-items: center; }
.nav-discord {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px;
  background: #5865F2; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(88, 101, 242, .35);
}
.nav-discord svg { width: 18px; height: 18px; display: block; }
.nav-discord:hover { filter: brightness(1.08); }
.langs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.lang {
  display: inline-flex; align-items: center; gap: 7px;
  background: #1a1214; color: #d8cccc; border: 1px solid rgba(255,255,255,.08);
  padding: 6px 12px 6px 8px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600;
}
.lang .flag {
  width: 20px; height: 14px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.lang.active { background: #fff; color: #111; border-color: #fff; }

.hero { position: relative; z-index: 1; text-align: center; padding: 72px 0 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #140b0e; border: 1px solid var(--line); color: var(--muted);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 22px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.04em;
  max-width: 860px; margin: 0 auto 18px;
}
.hero p.lead { color: var(--muted); max-width: 680px; margin: 0 auto 26px; font-size: 18px; line-height: 1.5; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fine { color: #7d6e6e; font-size: 13px; }

.demo-wrap { position: relative; z-index: 1; padding: 20px 0 80px; }
.demo-wrap::before {
  content: "";
  position: absolute; left: 50%; top: 46%;
  width: min(920px, 94%); height: 78%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(220, 28, 44, 0.16), transparent 68%);
  pointer-events: none; z-index: 0;
}
.demo {
  position: relative; z-index: 1;
  width: min(780px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #1d1013, #12090b);
  border: 1px solid rgba(220,28,44,.35);
  border-radius: 18px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(201,163,106,.08);
  overflow: hidden;
}
.demo-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: #0e0809; border-bottom: 1px solid rgba(255,255,255,.05);
}
.demo-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.demo-brand img { width: 22px; height: 22px; border-radius: 50%; }
.demo-meta { color: #8a7a7a; font-size: 12px; }
.toggles { display: flex; gap: 8px; align-items: center; }
.sw {
  border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 800; cursor: pointer; font-size: 12px;
}
.sw.off { background: #2a1a1c; color: #c9b4b4; }
.sw.on { background: var(--red); color: #fff; }
.tabs {
  display: flex; gap: 6px; padding: 10px 12px; background: #160b0d;
}
.tabs button {
  flex: 1; border: 0; background: #221416; color: #c9b8b8; padding: 8px 6px;
  border-radius: 10px; cursor: pointer; font-weight: 700;
}
.tabs button.active { background: var(--red); color: #fff; }
.panel { padding: 16px 16px 22px; min-height: 560px; }
.panel h3 { margin-bottom: 6px; }
.panel .sub { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.wide-btn {
  width: 100%; border: 0; border-radius: 12px; padding: 11px 14px; margin-bottom: 8px;
  background: #2a1518; color: #f3d6d6; font-weight: 700; cursor: pointer; text-align: left;
}
.wide-btn.accent { background: var(--red); color: #fff; text-align: center; }
.mods { display: grid; gap: 7px; }
.mods.two { grid-template-columns: 1fr 1fr; }
.chips-demo { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.chips-demo span {
  background: #241416; border-radius: 999px; padding: 5px 10px; font-size: 12px; color: #d8c4c4;
}
.statline { display: flex; gap: 8px; margin-bottom: 12px; }
.statline div {
  flex: 1; background: #1c1012; border-radius: 10px; padding: 8px 10px; font-size: 12px; color: #b9a8a8;
}
.statline b { display: block; color: #fff; font-size: 15px; }
.mod {
  display: flex; align-items: center; justify-content: space-between;
  background: #1c1012; border: 1px solid rgba(255,255,255,.05);
  padding: 10px 12px; border-radius: 12px;
}
.mod b { font-size: 14px; }
.mini { font-size: 12px; padding: 5px 10px; background: #2a171a; color: #f0d0d0; border: 0; border-radius: 8px; cursor: pointer; }
.slider { margin: 14px 0; }
.slider label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type=range] { width: 100%; accent-color: var(--red); }
.profiles { display: flex; gap: 6px; margin: 12px 0; }
.profiles button {
  width: 36px; height: 32px; border-radius: 8px; border: 0; background: #2a171a; color: #fff; cursor: pointer; font-weight: 800;
}
.profiles button.active { background: var(--red); }
.hidden { display: none; }
.loot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.box { background: #1c1012; border-radius: 12px; padding: 10px; min-height: 84px; border: 1px dashed rgba(220,28,44,.25); color: #8a7a7a; font-size: 12px; }

.section { position: relative; z-index: 1; padding: 72px 0; }
.section h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.03em; text-align: center; margin-bottom: 10px; }
.section .intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--card); border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px; padding: 20px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(220, 28, 44, 0.2), rgba(220, 28, 44, 0.08));
  border: 1px solid rgba(220, 28, 44, 0.32);
  color: #ff5a66;
  display: grid; place-items: center; margin-bottom: 14px;
}
.card .ico svg { width: 22px; height: 22px; display: block; }
.card h3 { margin-bottom: 8px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.45; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: 16px; padding: 22px; border: 1px solid rgba(255,255,255,.05); }
.num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; font-weight: 900; margin-bottom: 12px;
}

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.price {
  text-align: left;
  background: #140d10;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px; padding: 26px 24px 24px;
  display: flex; flex-direction: column;
}
.price.featured {
  border-color: rgba(220,28,44,.55);
  background: linear-gradient(180deg, #1c1013, #12090b);
  box-shadow: 0 18px 50px rgba(180, 10, 24, 0.18);
  transform: translateY(-6px);
}
.price .plan { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.price .tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--red);
  border-radius: 999px; padding: 3px 8px; margin-left: 8px; vertical-align: middle;
}
.price .amt { font-size: 36px; font-weight: 750; letter-spacing: -0.03em; color: #fff; margin: 10px 0 2px; }
.price .amt span { font-size: 16px; color: var(--muted); font-weight: 600; }
.price .per { color: #8a7a7a; font-size: 13px; margin-bottom: 16px; }
.price ul { list-style: none; text-align: left; margin: 0 0 20px; color: var(--muted); flex: 1; }
.price li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 14px; }
.price li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.price .btn { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span {
  background: #171012; border: 1px solid rgba(255,255,255,.06);
  padding: 8px 12px; border-radius: 999px; font-size: 13px; color: #d8c8c8;
}
.chips span.hot { border-color: var(--red); color: #fff; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #171012; border-radius: 14px; padding: 14px 16px; margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.05);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin-top: 8px; font-size: 14px; }

.cta {
  text-align: center;
  background: linear-gradient(180deg, #1a0b0e, #10080a);
  border: 1px solid rgba(220,28,44,.25);
  border-radius: 24px; padding: 48px 20px;
}

footer { position: relative; z-index: 1; padding: 40px 0 28px; color: #7d6e6e; font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot b { color: #fff; display: block; margin-bottom: 8px; }
.foot a { display: block; padding: 4px 0; color: #9a8888; }
.help-dock {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.help-fab {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff;
  box-shadow: 0 12px 28px rgba(220, 28, 44, .45);
  display: grid; place-items: center;
}
.help-fab svg { width: 24px; height: 24px; display: block; }
.help-fab .i-x { display: none; }
.help-fab.open .i-chat { display: none; }
.help-fab.open .i-x { display: block; }
.help-fab:hover { background: var(--red-2); }
.help-panel {
  width: min(360px, calc(100vw - 36px));
  background: #140c0e;
  border: 1px solid rgba(220, 28, 44, .28);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.help-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 14px;
  background: linear-gradient(180deg, #1c1013, #140c0e);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.help-head img { width: 28px; height: 28px; border-radius: 8px; }
.help-head b { display: block; font-size: 14px; }
.help-head span { display: block; font-size: 11px; color: #8a7a7a; }
.help-new {
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.1);
  background: #1c1012;
  color: #c9b4b4;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
}
.help-new:hover { color: #fff; border-color: rgba(220,28,44,.4); }
.help-x {
  border: 0; background: transparent; color: #c9b4b4;
  font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.help-msg.sys {
  background: transparent; color: #8a7a7a; align-self: center;
  font-size: 12px; max-width: 100%; text-align: center;
}
.help-msgs {
  height: 220px; overflow: auto; padding: 12px 12px 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.help-msg {
  max-width: 86%; padding: 9px 11px; border-radius: 12px;
  font-size: 13px; line-height: 1.4;
}
.help-msg.bot { background: #221416; color: #f3ecec; align-self: flex-start; }
.help-msg.staff { background: #2a1810; color: #f3ecec; align-self: flex-start; border: 1px solid rgba(201,163,106,.35); }
.help-msg.user { background: var(--red); color: #fff; align-self: flex-end; }
.help-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.help-chips button {
  border: 1px solid rgba(255,255,255,.08); background: #1c1012; color: #d8c8c8;
  border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer;
}
.help-chips button:hover { border-color: rgba(220,28,44,.4); color: #fff; }
.help-mail {
  display: block;
  margin: 8px 12px 0;
  padding: 8px 10px;
  border: 1px solid rgba(220,28,44,.35);
  border-radius: 999px;
  text-align: center;
  color: #f3ecec;
  font-size: 13px;
  font-weight: 600;
}
.help-mail:hover { background: rgba(220,28,44,.12); color: #fff; }
.help-form {
  display: flex; gap: 8px; padding: 10px 12px 8px; align-items: center;
}
.help-form input {
  flex: 1; border: 1px solid rgba(255,255,255,.08); background: #1c1012;
  color: #fff; border-radius: 999px; padding: 9px 12px; font: inherit; font-size: 13px;
}
.help-form button {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.help-form svg { width: 16px; height: 16px; }
.help-form { padding-bottom: 12px; }
a.wide-btn { display: block; text-decoration: none; box-sizing: border-box; }

@media (max-width: 860px) {
  .grid, .steps, .prices { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .bg-moon-l, .bg-rings { display: none; }
  .bg-moon-r { width: 260px; height: 260px; right: -90px; top: 60px; }
}
