:root {
  --bg: #0b0d0d;
  --bg-soft: #111414;
  --card: #151818;
  --text: #f3f1eb;
  --muted: #9c9e99;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #dd4b2f;
  --accent-light: #f06948;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header.scrolled {
  background: rgba(10, 12, 12, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 20px;
}

.logo img {
  width: 38px;
  height: 38px;
}

.logo strong {
  color: var(--accent-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  color: rgba(255,255,255,.74);
  transition: color .2s ease;
}

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

.nav__discord {
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.2);
}

.menu-button {
  display: none;
  border: 0;
  padding: 5px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7,8,8,.96) 0%, rgba(7,8,8,.72) 48%, rgba(7,8,8,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 24%),
    url("images/hero-bg.svg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 55%, rgba(221,75,47,.12));
}

.hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  left: -180px;
  top: 22%;
  border-radius: 50%;
  background: rgba(221,75,47,.15);
  filter: blur(120px);
  z-index: -1;
}

.hero__content {
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero__eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cd964;
  box-shadow: 0 0 0 7px rgba(76,217,100,.12);
}

.hero h1,
h2 {
  margin: 0;
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 900;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(58px, 8.2vw, 118px);
}

.hero h1 span,
h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.45);
}

.hero__description {
  max-width: 630px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  min-width: 258px;
  flex-direction: column;
  border-color: var(--accent);
  background: var(--accent);
}

.button--primary:hover {
  background: var(--accent-light);
}

.button--primary small {
  margin-top: 2px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 600;
}

.button--ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.22);
}

.button--ghost:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}

.server-stats {
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.server-stats article {
  padding: 24px 24px 24px 0;
}

.server-stats article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.server-stats__value,
.server-stats__label {
  display: block;
}

.server-stats__value {
  font-size: 25px;
  font-weight: 800;
}

.server-stats__value b {
  color: var(--accent-light);
}

.server-stats__label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.scroll-down {
  position: absolute;
  right: 42px;
  bottom: 34px;
  width: 22px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 20px;
}

.scroll-down span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 7px;
  border-radius: 4px;
  background: #fff;
  transform: translateX(-50%);
  animation: scroll 1.7s infinite;
}

@keyframes scroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

.section {
  padding: 120px 0;
}

.section h2 {
  font-size: clamp(42px, 5.6vw, 74px);
}

.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
}

.about__text {
  color: var(--muted);
  font-size: 17px;
}

.about__text p {
  margin: 0;
}

.about__text p + p {
  margin-top: 18px;
}

.features {
  background: var(--bg-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading > p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 320px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
  transition: background-color .2s ease, transform .2s ease;
}

.feature-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: rgba(255,255,255,.035);
}

.feature-card__number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 800;
}

.feature-card__icon {
  margin-bottom: 70px;
  font-size: 36px;
  filter: grayscale(1);
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wipe {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(221,75,47,.12), transparent 38%),
    var(--bg);
}

.wipe__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 80px;
}

.wipe__map {
  position: relative;
}

.wipe__map img {
  width: 100%;
  opacity: .72;
}

.wipe__marker {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(221,75,47,.12);
}

.wipe__marker--one { top: 34%; left: 32%; }
.wipe__marker--two { top: 58%; left: 58%; }
.wipe__marker--three { top: 44%; left: 72%; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 44px;
  border: 1px solid var(--line);
}

.countdown div {
  padding: 24px 12px;
  text-align: center;
}

.countdown div + div {
  border-left: 1px solid var(--line);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-size: 30px;
}

.countdown span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.wipe__note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.rules {
  background: var(--bg-soft);
}

.rules__list {
  border-top: 1px solid var(--line);
}

.rules__list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.rules__list span {
  color: var(--accent-light);
  font-weight: 800;
}

.rules__list p {
  max-width: 860px;
  margin: 0;
  color: #c9cbc6;
}

.cta {
  padding: 80px 0;
  background: var(--accent);
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta .section-label {
  color: rgba(255,255,255,.72);
}

.cta h2 {
  font-size: clamp(36px, 5vw, 62px);
}

.cta h2 span {
  -webkit-text-stroke-color: rgba(255,255,255,.75);
}

.cta .button--primary {
  background: #111;
  border-color: #111;
}

.cta .button--primary:hover {
  background: #222;
}

.footer {
  padding: 34px 0;
  background: #080909;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer__links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 120;
  left: 50%;
  bottom: 28px;
  padding: 13px 20px;
  color: #fff;
  background: #202424;
  border: 1px solid var(--line);
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

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

@media (max-width: 900px) {
  .menu-button {
    display: block;
    position: relative;
    z-index: 31;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: rgba(8,9,9,.98);
    transform: translateX(100%);
    transition: transform .25s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    font-size: 18px;
  }

  .server-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .server-stats article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .server-stats article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .about__grid,
  .wipe__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    gap: 40px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wipe__content {
    order: -1;
  }

  .cta__inner,
  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header__inner {
    min-height: 70px;
  }

  .hero {
    min-height: 900px;
  }

  .hero__content {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero__description {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .server-stats {
    margin-top: 42px;
  }

  .server-stats article,
  .server-stats article + article {
    padding: 18px 14px;
  }

  .server-stats__value {
    font-size: 20px;
  }

  .scroll-down {
    display: none;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-card__icon {
    margin-bottom: 45px;
  }

  .countdown strong {
    font-size: 22px;
  }

  .countdown div {
    padding: 18px 5px;
  }

  .rules__list article {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .cta {
    padding: 65px 0;
  }
}
