:root {
  --bg: #0b0e13;
  --primary: #00ff84;
  --accent: #2de2a6;
  --text: #e6f1f5;
  --muted: #a8bdcc;
  --card: #121722;
  --border: rgba(255, 255, 255, 0.09);
  --ring: rgba(0, 255, 132, 0.45);
  --tg1: #37aee2;
  --tg2: #1e96c8; /* Telegram brand */
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(
      1000px 500px at 85% -20%,
      rgba(0, 255, 132, 0.12),
      transparent
    ),
    radial-gradient(
      600px 400px at 20% 120%,
      rgba(45, 226, 166, 0.1),
      transparent
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 10px;
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 19, 0.78);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}
header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

/* Nav (short) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: var(--primary);
}
nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.ghost {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
}
.ghost:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--primary), #44ffd1);
  color: #022312;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 255, 132, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 255, 132, 0.32);
}
.btn-ghost {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.03);
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--tg1), var(--tg2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(30, 150, 200, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(30, 150, 200, 0.45);
}
.btn-telegram svg {
  fill: #fff;
}

/* Hero */
.hero {
  padding: 86px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  margin: 14px 0;
  display: inline-block;
  position: relative;
}
.hero h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #2de2a6, #00ff84, #2de2a6);
  background-size: 200% 100%;
  animation: underline 4s ease infinite;
  border-radius: 999px;
  opacity: 0.6;
}
@keyframes underline {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
.hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 auto;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 132, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
}
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(45, 226, 166, 0.1);
  border: 1px dashed rgba(45, 226, 166, 0.45);
  color: var(--accent);
}

/* Sections */
h2 {
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  max-width: 860px;
}
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  will-change: transform, box-shadow;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.card h3 {
  margin: 6px 0 8px;
  font-size: 18px;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.kicker {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
}

/* Steps + reveal */
.steps {
  counter-reset: step;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step:before {
  counter-increment: step;
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 255, 132, 0.12);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding: 30px 0;
  color: var(--muted);
}

/* Mobile sticky Telegram CTA */
.mobile-bottom-button {
  position: fixed;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--tg1), var(--tg2));
  display: none;
  justify-content: center;
  align-items: center;
  padding: 12px;
  z-index: 9998;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.mobile-bottom-button.show {
  transform: translateY(0);
}
.mobile-bottom-button .telegram-button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}
.mobile-bottom-button svg {
  flex-shrink: 0;
  fill: #ffffff;
}

/* Referral bar (FULL width at bottom on mobile) */
.referral-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0088cc, #36aee2);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}
.referral-bar a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.referral-bar svg {
  fill: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 18px;
  }
  .hero {
    padding: 72px 0 54px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero p {
    font-size: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hamburger {
    display: flex;
  }
  nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 14, 19, 0.94);
    padding: 18px;
    border-bottom: 1px solid var(--border);
  }
  nav.active {
    display: flex;
  }
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step:before {
    margin-bottom: 10px;
  }
  .referral-bar {
    display: block;
  }
  .mobile-bottom-button {
    display: flex;
    bottom: 56px; /* sit above the referral bar */
  }
  body {
    padding-bottom: 112px; /* room for both bars */
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta,
  .btn-telegram,
  .card {
    transition: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}