:root {
  --bg: #0b0f16;
  --card: #141a24;
  --card-2: #182029;
  --line: #232c3b;
  --text: #e8eef7;
  --muted: #93a3b8;
  --grass: #5cb85c;
  --grass-2: #7ac97a;
  --grass-dark: #3d8a3d;
  --gold: #f2b134;
  --discord: #5865f2;
  --radius: 16px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: Consolas, "Courier New", monospace; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }

.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow-1 {
  width: 780px; height: 780px; top: -320px; left: -140px;
  background: radial-gradient(circle, rgba(92,184,92,.34), transparent 68%);
}
.bg-glow-2 {
  width: 700px; height: 700px; top: -180px; right: -180px;
  background: radial-gradient(circle, rgba(88,101,242,.26), transparent 68%);
}

.bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 35%, transparent 78%);
}

.bg-blocks span {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  background: linear-gradient(180deg, rgba(122,201,122,.20), rgba(92,184,92,.05));
  border: 1px solid rgba(122,201,122,.24);
  border-radius: 4px;
  animation: float 9s var(--d) ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-26px) rotate(8deg); }
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,22,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: .4px;
}
.logo img {
  width: 36px; height: 36px; object-fit: contain; border-radius: 9px;
  box-shadow: 0 4px 14px rgba(92,184,92,.3);
}

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 9px;
  font-size: 15px; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border: 0; border-radius: 13px;
  font-family: inherit; font-size: 16px; font-weight: 700; white-space: nowrap;
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 5px 0 rgba(0,0,0,.4), 0 10px 24px rgba(0,0,0,.28);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: left .5s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.4); }

.btn-buy { background: linear-gradient(180deg, var(--grass-2), var(--grass-dark)); color: #06210a; }
.btn-discord { background: linear-gradient(180deg, #6d78f6, #4550c2); color: #fff; }
.btn-ghost {
  background: var(--line); color: var(--text);
  box-shadow: none; border: 1px solid var(--line);
}
.btn-ghost:hover { box-shadow: none; border-color: var(--grass); background: #1e2836; }
.btn-ghost::after { display: none; }
.btn-sm { padding: 9px 17px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 17px 38px; font-size: 18px; border-radius: 14px; }

/* ---------- status badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 17px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(20,26,36,.85);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.badge.is-online { color: var(--grass-2); border-color: rgba(92,184,92,.45); background: rgba(92,184,92,.10); }
.badge.is-online .dot { animation: pulse 1.7s ease-in-out infinite; }
.badge.is-offline { color: #f2645a; border-color: rgba(242,100,90,.4); background: rgba(242,100,90,.09); }
.badge.is-wait .dot { animation: pulse 1s linear infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
  50% { opacity: .5; box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* ---------- hero ---------- */
.hero { text-align: center; padding: 76px 0 20px; }

.hero-logo {
  width: 148px; height: 148px; margin: 0 auto 24px;
  object-fit: contain; image-rendering: pixelated;
  filter: drop-shadow(0 16px 38px rgba(92,184,92,.38));
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-title {
  font-size: clamp(46px, 9.5vw, 82px);
  line-height: 1; font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(180deg, #ffffff 25%, var(--grass-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,.35));
}

.hero-sub {
  margin: 18px auto 0; max-width: 640px;
  font-size: clamp(17px, 2.4vw, 21px); color: var(--muted);
}

.hero-tags { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.tag {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(20,26,36,.7);
  font-size: 13px; font-weight: 600; color: var(--muted);
}

/* ---------- ip box ---------- */
.ip-box {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 26px; padding: 11px 12px 11px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(20,26,36,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.ip-box-inline {
  display: flex; margin-top: 16px; border-radius: 13px;
  padding: 10px 10px 10px 16px;
}
.ip-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.ip-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.2px; }
.ip-value { font-size: 18px; font-weight: 700; color: var(--gold); }

.actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hero-stats {
  margin: 52px auto 0; max-width: 720px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.hstat {
  padding: 16px 10px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(20,26,36,.6);
}
.hstat b { display: block; font-size: 22px; color: var(--grass-2); }
.hstat span { font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 62px 0; }

.eyebrow {
  display: block; margin-bottom: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--grass);
}

.section h2 {
  font-size: clamp(26px, 4.2vw, 36px); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -.4px;
}
.section h2::after {
  content: ""; display: block; width: 62px; height: 4px;
  margin-top: 12px; border-radius: 3px;
  background: linear-gradient(90deg, var(--grass), transparent);
}

.section-lead { color: var(--muted); margin-bottom: 28px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.about-grid > p { color: var(--muted); font-size: 17px; }
.about-points { display: grid; gap: 12px; }
.apoint {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 17px; border: 1px solid var(--line);
  border-radius: 13px; background: var(--card);
}
.apoint i {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(92,184,92,.16); color: var(--grass-2);
  font-style: normal; font-size: 13px; font-weight: 800;
}
.apoint b { display: block; font-size: 15.5px; }
.apoint span { font-size: 13.5px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px;
  width: 2px; background: linear-gradient(180deg, var(--grass), var(--line));
  opacity: .5;
}
.step {
  position: relative; display: flex; gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.step:hover {
  transform: translateX(4px);
  border-color: rgba(92,184,92,.5);
  box-shadow: 0 14px 34px rgba(0,0,0,.3);
}
.step-num {
  flex: none; position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 800; color: #06210a;
  background: linear-gradient(180deg, var(--grass-2), var(--grass-dark));
  box-shadow: 0 6px 0 rgba(0,0,0,.35), 0 0 0 6px var(--bg);
}
.step-body { min-width: 0; }
.step-body h3 { font-size: 19px; margin-bottom: 7px; }
.step-body p { color: var(--muted); font-size: 15.5px; }
.step-body b { color: var(--text); }

.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card {
  padding: 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(92,184,92,.5);
  background: var(--card-2);
}
.card-ico {
  width: 48px; height: 48px; margin-bottom: 14px;
  display: grid; place-items: center;
  font-size: 23px; border-radius: 13px;
  background: rgba(92,184,92,.12); border: 1px solid rgba(92,184,92,.22);
}
.card h3 { font-size: 18px; margin-bottom: 7px; }
.card p { font-size: 15px; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line); border-radius: 13px;
  background: var(--card); overflow: hidden;
  transition: border-color .15s;
}
.faq details[open] { border-color: rgba(92,184,92,.45); }
.faq summary {
  padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; position: relative; padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--grass); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.footer {
  margin-top: 50px; padding: 40px 0;
  border-top: 1px solid var(--line);
  background: #080b11;
}
.footer-inner { text-align: center; color: var(--muted); font-size: 14.5px; }
.footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 10px; font-size: 19px; font-weight: 800; color: var(--text);
}
.footer-logo img { border-radius: 9px; }
.footer-note { margin-top: 5px; font-size: 13px; opacity: .6; }
.footer code { color: var(--gold); }
.footer-links { margin-top: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--grass-2); }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; z-index: 60;
  transform: translate(-50%, 20px);
  padding: 13px 24px; border-radius: 999px;
  background: var(--grass-2); color: #06210a;
  font-weight: 700; font-size: 15px;
  opacity: 0; pointer-events: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 10px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: center; flex-wrap: wrap; gap: 2px; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .header .btn-discord { margin-left: auto; }
  .hero { padding-top: 44px; }
  .hero-logo { width: 112px; height: 112px; }
  .ip-box { width: 100%; border-radius: 15px; justify-content: space-between; }
  .ip-box-inline { width: auto; flex-wrap: wrap; }
  .btn-lg { width: 100%; }
  .cta { flex-direction: column; }
  .step { padding: 20px 18px; gap: 14px; flex-direction: column; }
  .step-num { width: 46px; height: 46px; font-size: 20px; }
  .steps::before { left: 22px; }
  .section { padding: 46px 0; }
  .bg-blocks { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
