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

:root {
  --bg: #09080c;
  --panel: #111015;
  --panel-2: #15131a;
  --line: #232029;
  --text: #f5f3f7;
  --muted: #97909f;
  --purple: #8f4bea;
  --purple-dark: #6f2fc8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.wrap {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 12, .96);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a {
  color: #9d96a4;
  font-size: 13px;
  font-weight: 600;
  padding: 27px 0 25px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: #fff;
}

nav a.active {
  border-color: var(--purple);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(143,75,234,.06), transparent 42%),
    #0b0a0f;
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
}

.server-label {
  color: #b98bf4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(58px, 8vw, 104px);
  line-height: .95;
  letter-spacing: -.07em;
  margin-bottom: 24px;
}

.hero-copy > p {
  color: var(--muted);
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.btn {
  min-height: 46px;
  padding: 0 17px;
  border-radius: 8px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: .18s ease;
}

.btn-main {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.btn-main:hover {
  background: #9a58ed;
}

.btn-dark {
  background: #121117;
  border-color: #2a2730;
  color: #d7d2dc;
}

.btn-dark:hover {
  background: #18161d;
  border-color: #37323e;
}

.server-data {
  display: flex;
  gap: 42px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #201d25;
}

.server-data div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.server-data span {
  color: #6f6876;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.server-data strong {
  color: #d7d2dc;
  font-size: 13px;
}

.hero-logo {
  display: flex;
  justify-content: flex-end;
}

.hero-logo img {
  width: min(420px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid #2a2630;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.info {
  padding: 100px 0;
}

.section-title {
  max-width: 650px;
  margin-bottom: 34px;
}

.section-title > span,
.discord-box > div > span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.section-title h2,
.discord-box h2 {
  margin-top: 7px;
  font-size: 38px;
  letter-spacing: -.04em;
}

.section-title p,
.discord-box p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}

.step {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: #6c6472;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 50px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 13px;
}

.step p strong {
  color: #c9a8f4;
}

.discord-box {
  margin-top: 24px;
  padding: 34px;
  border: 1px solid #2a2432;
  background: #100d15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.discord-box > div {
  max-width: 700px;
}

footer {
  border-top: 1px solid var(--line);
  color: #6f6876;
}

.footer-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.footer-logo {
  color: #cfc9d5;
  font-size: 13px;
}

.footer-logo img {
  width: 30px;
  height: 30px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 11px 14px;
  background: #17141c;
  border: 1px solid #302b38;
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 50;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 850px) {
  nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-logo {
    justify-content: flex-start;
  }

  .hero-logo img {
    width: min(360px, 100%);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 28px;
  }
}

@media (max-width: 580px) {
  .hero-grid {
    padding: 55px 0;
    gap: 45px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-buttons,
  .server-data,
  .discord-box,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-buttons .btn,
  .discord-box .btn {
    width: 100%;
  }

  .server-data {
    gap: 18px;
  }

  .info {
    padding: 70px 0;
  }

  .section-title h2,
  .discord-box h2 {
    font-size: 31px;
  }
}
