:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #181818;
  --text: #f6f6f6;
  --muted: #b7b7b7;
  --line: #2a2a2a;
  --yellow: #ffd100;
  --green: #48d05f;
  --orange: #f48c2f;
  --page-pad: clamp(24px, 2.8vw, 56px);
  --max: 100%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--page-pad);
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.header-actions,
.hero-actions,
.section-heading,
.rule-row,
.site-footer {
  display: flex;
  align-items: center;
}

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

.brand-mark,
.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--yellow);
  color: #000;
  font-weight: 900;
}

.brand-name {
  text-transform: uppercase;
  letter-spacing: 0;
}

.desktop-nav {
  gap: 30px;
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a,
.mobile-menu a,
.site-footer a,
.section-heading a,
.text-link {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover,
.section-heading a:hover,
.text-link:hover {
  color: var(--yellow);
}

.header-actions {
  gap: 12px;
}

.icon-button {
  width: 38px;
  height: 38px;
  background: #5865f2;
  color: #fff;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.mobile-menu {
  position: fixed;
  z-index: 19;
  inset: 72px 0 auto;
  display: none;
  grid-template-columns: 1fr;
  background: #050505;
  border-bottom: 1px solid var(--line);
}

.mobile-menu a {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.mobile-menu.is-open {
  display: grid;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-slides {
  overflow: hidden;
}

.hero-slide {
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.48) 45%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 32%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 140px var(--page-pad) 92px;
}

.eyebrow,
.card-meta {
  color: var(--yellow);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(70px, 14vw, 168px);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid #fff;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #000;
}

.button.secondary {
  background: rgba(0, 0, 0, 0.35);
}

.hero-next {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 38px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots button.is-active {
  width: 58px;
  background: var(--yellow);
}

.section {
  width: 100%;
  margin: 0 auto;
  padding: 86px var(--page-pad);
}

.section-heading {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

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

.section-heading a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.split-heading {
  align-items: end;
}

.split-heading p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-image img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 52px);
}

.feature-copy h3,
.news-card h3,
.info-tile h3,
.mod-column h3,
.support-panel h2,
.useful-link-card strong {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.feature-copy p:not(.card-meta),
.info-tile p,
.support-panel p,
.useful-link-card p,
.rule-panel {
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  width: fit-content;
  margin-top: 18px;
  color: #fff;
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.media-strip {
  width: 100%;
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.media-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 14px;
  animation: media-scroll 36s linear infinite;
}

.media-strip:hover .media-track {
  animation-play-state: paused;
}

.media-track img {
  width: min(48vw, 420px);
  height: 235px;
  border-radius: 6px;
  object-fit: cover;
}

@keyframes media-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.news-card,
.info-tile,
.mod-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.news-card:hover,
.info-tile:hover,
.mod-column:hover {
  transform: translateY(-4px);
  border-color: #555;
}

.news-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.tile-grid,
.mods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.factions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.faction-card {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0a0a;
}

.faction-card::before,
.faction-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.faction-card::before {
  opacity: 0.55;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, transparent 0 28%, rgba(255, 255, 255, 0.07) 28% 29%, transparent 29% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 80px);
}

.faction-card::after {
  inset: 14px;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.42;
}

.faction-card > * {
  position: relative;
  z-index: 1;
}

.faction-card-gold {
  color: #d6a542;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(214, 165, 66, 0.35), transparent 34%),
    #090807;
}

.faction-card-red {
  color: #b51d1d;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(181, 29, 29, 0.38), transparent 34%),
    #070707;
}

.faction-mark {
  position: absolute;
  top: 36px;
  left: 36px;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-family: Anton, Impact, sans-serif;
  font-size: 38px;
  color: currentColor;
}

.faction-card h3 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(54px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.faction-card p:not(.card-meta) {
  max-width: 560px;
  color: #d5d5d5;
  font-size: 18px;
  line-height: 1.6;
}

.faction-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
}

.faction-card li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.faction-card-poster {
  min-height: 760px;
  padding: 0;
  background: #050505;
}

.faction-card-poster::before {
  display: none;
}

.faction-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 14px;
  background: #050505;
  object-fit: contain;
}

.faction-poster-action {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.info-tile {
  min-height: 270px;
  padding: 24px;
}

.info-tile span {
  color: var(--orange);
  font-weight: 900;
}

.info-tile h3 {
  margin-top: 60px;
  font-size: 26px;
}

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

.rule-row {
  width: 100%;
  gap: 24px;
  justify-content: space-between;
  min-height: 96px;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.rule-row span {
  width: 185px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rule-row strong {
  flex: 1;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.18;
}

.rule-row em {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
  font-weight: 900;
}

.rule-panel {
  display: none;
  max-width: 820px;
  padding: 0 0 24px 210px;
}

.rule-row.is-open + .rule-panel {
  display: block;
}

.mods-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mod-column {
  padding: 24px;
}

.mod-column h3 {
  margin-bottom: 20px;
}

.mod-column a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mod-column a:hover {
  color: var(--yellow);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #151515, #0b0b0b 62%, rgba(255, 209, 0, 0.08));
}

.qr-code {
  width: 220px;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
}

.useful-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.useful-link-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease;
}

.useful-link-card:hover {
  transform: translateY(-4px);
  border-color: #555;
}

.useful-link-card span {
  margin-bottom: auto;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.useful-link-card strong {
  display: block;
  margin-top: 70px;
  color: var(--text);
}

.useful-link-card p {
  margin: 16px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin: 0 auto;
  padding: 42px var(--page-pad) 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  max-width: 700px;
  margin: 8px 0 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-content {
    padding-bottom: 72px;
  }

  .feature-card,
  .support-panel,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .tile-grid,
  .mods-grid,
  .factions-grid,
  .useful-links-grid {
    grid-template-columns: 1fr;
  }

  .faction-card {
    min-height: 520px;
  }

  .faction-card-poster {
    min-height: 680px;
  }

  .faction-poster-action {
    align-items: stretch;
    flex-direction: column;
  }

  .media-track img {
    width: 78vw;
    height: 190px;
  }

  .feature-image img {
    min-height: 280px;
    height: auto;
  }

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

  .rule-row {
    display: grid;
    grid-template-columns: 1fr 40px;
    gap: 12px;
  }

  .rule-row span,
  .rule-row strong {
    width: auto;
  }

  .rule-row strong {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .rule-row em {
    grid-column: 2;
    grid-row: 1;
  }

  .rule-panel {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 16px;
  }

  .site-header {
    padding: 0 var(--page-pad);
  }

  .brand-name {
    display: none;
  }

  .section {
    width: 100%;
    padding: 64px var(--page-pad);
  }

  .hero-content {
    width: 100%;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  .hero h1 {
    font-size: clamp(60px, 18vw, 92px);
  }

  .hero-next {
    display: none;
  }

  .hero-dots {
    left: 20px;
    right: auto;
    bottom: 20px;
    transform: none;
  }

  .hero-dots button {
    width: 24px;
  }

  .hero-dots button.is-active {
    width: 40px;
  }

  .button {
    width: 100%;
  }
}
