:root {
  --bg: #070808;
  --bg-soft: #101313;
  --text: #f4f1e8;
  --muted: #b6b3a8;
  --line: rgba(244, 241, 232, 0.16);
  --ember: #ff5a1f;
  --ember-dark: #8a1c0d;
  --acid: #9bdc32;
  --stone: #242927;
  --shadow: rgba(0, 0, 0, 0.65);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

button {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 8, 8, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.site-nav,
.hero-actions,
.status-panel,
.join-steps {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  background: linear-gradient(135deg, var(--ember), var(--acid));
  color: #0a0c0b;
  display: grid;
  font-size: 13px;
  font-weight: 900;
  height: 36px;
  letter-spacing: 0;
  place-items: center;
  width: 36px;
}

.site-nav {
  gap: clamp(16px, 4vw, 38px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  padding: 122px clamp(18px, 5vw, 72px) 44px;
  place-items: end start;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/hero-anarchy.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.94), rgba(7, 8, 8, 0.42) 54%, rgba(7, 8, 8, 0.82)),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 8, 8, 0.08) 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px);
}

.hero-content,
.status-panel {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 770px;
}

.eyebrow {
  color: var(--acid);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(58px, 12vw, 132px);
  line-height: 0.86;
  margin-bottom: 24px;
  max-width: 8ch;
  text-shadow: 0 14px 50px var(--shadow);
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  margin-bottom: 22px;
}

h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  max-width: 680px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.copy-ip,
.discord-link {
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 52px;
  padding: 0 20px;
}

.copy-ip {
  align-items: center;
  background: var(--ember);
  color: #130503;
  display: inline-flex;
  font-weight: 900;
  gap: 12px;
}

.copy-ip:hover {
  background: #ff7442;
}

.copy-icon {
  border: 2px solid currentColor;
  height: 18px;
  position: relative;
  width: 14px;
}

.copy-icon::before {
  border: 2px solid currentColor;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  top: -7px;
  width: 14px;
}

.discord-link {
  align-items: center;
  background: rgba(244, 241, 232, 0.08);
  border-color: var(--line);
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
}

.discord-link:hover {
  background: rgba(244, 241, 232, 0.14);
}

.status-panel {
  align-self: end;
  background: rgba(16, 19, 19, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px var(--shadow);
  justify-self: end;
  margin-top: 58px;
  max-width: 584px;
  padding: 20px;
}

.server-banner {
  display: block;
  line-height: 0;
}

.server-banner img {
  display: block;
  height: auto;
  max-width: 100%;
}

.section {
  padding: clamp(64px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

.dark-band {
  background:
    linear-gradient(180deg, var(--bg), var(--bg-soft)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255, 255, 255, 0.02) 42px 43px);
}

.section-heading {
  max-width: 860px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.feature-card {
  background: linear-gradient(180deg, rgba(244, 241, 232, 0.08), rgba(244, 241, 232, 0.035));
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 28px;
}

.feature-number {
  color: var(--ember);
  display: block;
  font-weight: 900;
  margin-bottom: 48px;
}

.feature-card p,
.rules-copy p,
.join-band p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.split-band {
  background:
    linear-gradient(135deg, rgba(138, 28, 13, 0.32), transparent 42%),
    var(--stone);
  display: grid;
  gap: clamp(32px, 8vw, 96px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
}

.rules-copy {
  max-width: 620px;
}

.rules-list {
  counter-reset: rules;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rules-list li {
  background: rgba(7, 8, 8, 0.4);
  border-left: 4px solid var(--ember);
  color: var(--text);
  line-height: 1.55;
  padding: 18px 20px;
}

.join-band {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 8, 8, 0.92), rgba(7, 8, 8, 0.68)),
    radial-gradient(circle at 84% 50%, rgba(155, 220, 50, 0.2), transparent 30%),
    #0b0d0c;
  display: flex;
  gap: 34px;
  justify-content: space-between;
}

.join-band > div:first-child {
  max-width: 650px;
}

.join-steps {
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.join-steps div {
  background: rgba(244, 241, 232, 0.08);
  border: 1px solid var(--line);
  font-weight: 800;
  padding: 14px 16px;
}

.join-steps span {
  color: var(--acid);
  margin-right: 10px;
}

.site-footer {
  align-items: center;
  background: #050606;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
}

.site-footer p {
  margin: 0;
  max-width: 900px;
}

.site-footer a {
  color: var(--acid);
  flex: 0 0 auto;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: 100svh;
    padding-top: 142px;
  }

  .status-panel,
  .feature-grid,
  .split-band,
  .join-band,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-panel {
    justify-self: stretch;
  }

  .join-steps {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-nav {
    gap: 14px;
    justify-content: space-between;
  }

  .hero-actions,
  .copy-ip,
  .discord-link {
    width: 100%;
  }

  .copy-ip,
  .discord-link {
    justify-content: center;
  }

  h1 {
    font-size: clamp(48px, 18vw, 74px);
  }
}
