:root {
  --bg: #070707;
  --panel: rgba(0, 0, 0, 0.12);
  --panel-2: rgba(46, 46, 46, 0.5);
  --line: #2d2d2d;
  --text: #ffffff;
  --muted: #c2c2c2;
  --footer: #757575;
  --red: #e1000d;
  --inner: 1062px;
  --font: "Outfit", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 118px;
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding: 0 calc((100% - var(--inner)) / 2);
  background: rgba(20, 20, 20, 0.62);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 246px;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(225, 0, 13, 0.26));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  font-size: 24px;
  font-weight: 800;
}

.brand small {
  margin-top: 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  transition: color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(46, 46, 46, 0.48);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.stage {
  position: relative;
  isolation: isolate;
  min-height: 2735px;
  padding: 464px 0 92px;
  overflow: hidden;
  background: #070707;
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.stage::before {
  left: 50%;
  top: -548px;
  width: max(100%, 1440px);
  height: 3283px;
  max-width: none;
  background: url("images/landing-bg.png") center / cover no-repeat;
  transform: translateX(-50%);
}

.stage::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 62%, rgba(0, 0, 0, 0.78) 100%);
}

.stage__inner {
  position: relative;
  z-index: 1;
  width: min(var(--inner), calc(100% - 48px));
  margin: 0 auto;
}

.steps {
  width: 450px;
  height: 1143px;
  margin-left: -29px;
  padding: 36px 32px 22px;
  background: var(--panel);
}

.step {
  position: relative;
  padding-bottom: 0;
}

.step:nth-child(1) {
  height: 401px;
}

.step:nth-child(2) {
  height: 394px;
}

.step:last-child {
  height: auto;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 28px;
  width: 49px;
  height: 49px;
  background: url("images/step-arrow.svg") center / 49px 14.7279px no-repeat;
  transform: rotate(90deg);
  transform-origin: center;
}

.step__eyebrow {
  display: block;
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.step h1,
.step h2,
.about h2,
.section-title h2,
.faq h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0;
  text-transform: uppercase;
}

.step h1,
.step h2 {
  margin: 9px 0 24px;
  font-size: 40px;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: 2px;
}

.step p {
  width: 278px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.8px;
}

.step__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 385px;
  max-width: 100%;
  height: 100px;
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.step__button:hover {
  background: rgba(225, 0, 13, 0.7);
  box-shadow: 0 18px 40px rgba(225, 0, 13, 0.18);
  transform: translateY(-2px);
}

.about {
  position: absolute;
  left: 50%;
  top: 615px;
  width: 515px;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.6);
}

.about__gun {
  position: absolute;
  left: -108px;
  top: -332px;
  width: 590px;
  max-width: none;
  pointer-events: none;
  transform: rotate(-150deg) scaleY(-1);
  transform-origin: center;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.42));
}

.about h2 {
  position: relative;
  margin-bottom: 18px;
  padding-bottom: 14px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.about h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 365px;
  max-width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.about p {
  margin: 0 0 15px;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.34;
}

.social {
  margin-top: 108px;
}

.section-title h2 {
  margin-bottom: 5px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}

.section-title p {
  margin: 0 0 27px;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
}

.social-grid {
  display: grid;
  grid-template-columns: 406px 296px 297px;
  grid-template-rows: 119px 119px;
  gap: 32px 31px;
}

.social-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--line);
  background: #111 url("images/social-bg.png") center / cover no-repeat;
  color: var(--text);
  text-transform: uppercase;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  transition: background 180ms ease;
}

.social-card span {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.social-card:hover::before {
  background: rgba(225, 0, 13, 0.28);
}

.social-card--discord,
.social-card--forum {
  grid-row: span 2;
}

.social-card--apply {
  grid-column: 3;
  grid-row: 1;
}

.social-card--rules {
  grid-column: 3;
  grid-row: 2;
}

.faq {
  margin-top: 94px;
}

.faq h2 {
  margin-bottom: 28px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.faq article {
  min-height: 140px;
  padding: 24px 24px 18px;
  border: 2px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.faq h3 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.faq p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.38;
}

.footer {
  background: #080808;
  color: var(--footer);
  font-family: "Jost", var(--font);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--inner), calc(100% - 48px));
  margin: 0 auto;
  padding: 29px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  letter-spacing: 0.26px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer a {
  color: var(--footer);
}

.footer a:hover {
  color: var(--text);
}

.footer p {
  margin: 0;
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: rise-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding: 0 24px;
  }

  .stage__inner {
    width: min(1000px, calc(100% - 40px));
  }

  .steps {
    width: 420px;
  }

  .about {
    left: 52%;
  }

  .social-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    height: 88px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 12, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 8px;
  }

  .stage {
    min-height: 0;
    padding: 170px 0 72px;
  }

  .stage::before {
    top: -220px;
    width: 100%;
    height: calc(100% + 220px);
  }

  .stage__inner {
    width: min(680px, calc(100% - 32px));
  }

  .steps {
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 28px 22px;
    background: rgba(0, 0, 0, 0.34);
  }

  .step,
  .step:nth-child(1),
  .step:nth-child(2),
  .step:last-child {
    height: auto;
    padding-bottom: 70px;
  }

  .step h1,
  .step h2 {
    font-size: 34px;
  }

  .step p {
    width: 100%;
  }

  .step__button {
    width: 100%;
    height: 76px;
    font-size: 24px;
  }

  .about {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 92px;
    padding-top: 270px;
  }

  .about__gun {
    left: 50%;
    top: -8px;
    width: min(420px, 86vw);
    transform: translateX(-50%) rotate(-150deg) scaleY(-1);
  }

  .about h2 {
    font-size: 42px;
  }

  .social {
    margin-top: 78px;
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    gap: 18px;
  }

  .social-card,
  .social-card--discord,
  .social-card--forum,
  .social-card--apply,
  .social-card--rules {
    grid-column: auto;
    grid-row: auto;
    min-height: 150px;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 12px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 9px;
  }

  .stage__inner {
    width: calc(100% - 24px);
  }

  .step__eyebrow {
    font-size: 16px;
  }

  .step h1,
  .step h2 {
    font-size: 30px;
  }

  .about {
    padding-top: 250px;
  }

  .about h2,
  .section-title h2,
  .faq h2 {
    font-size: 32px;
  }

  .about p {
    font-size: 14px;
  }

  .social-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .social-card span {
    font-size: 30px;
  }

  .faq article {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
