@font-face {
  font-family: "HB Body";
  src: url("fonts/body.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "HB Display";
  src: url("fonts/heading.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --ink: #080c0e;
  --ink-2: #0d1214;
  --ink-3: #141a1d;
  --paper: #f1eee5;
  --paper-2: #d8d6ce;
  --muted: #8e9693;
  --line: rgba(241, 238, 229, 0.14);
  --line-dark: rgba(8, 12, 14, 0.15);
  --red: #ff3d2e;
  --red-dark: #c82419;
  --lime: #b9f143;
  --discord: #5865f2;
  --max: 1240px;
  --pad: clamp(22px, 4vw, 64px);
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "HB Body", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
summary {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - (var(--pad) * 2)), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(84px, 10vw, 150px);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(5, 8, 10, 0.94), rgba(5, 8, 10, 0.52));
  backdrop-filter: blur(16px);
  transition: background-color 250ms ease, height 250ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(7, 10, 12, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--paper);
  background: var(--red);
  font-family: "HB Display", Arial, sans-serif;
  font-size: 21px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "HB Display", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.11em;
}

.brand small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 42px);
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: rgba(241, 238, 229, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.desktop-nav a:hover {
  color: var(--paper);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-discord {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background 200ms ease, border-color 200ms ease;
}

.header-discord svg {
  width: 18px;
  fill: #8e98ff;
}

.header-discord:hover {
  border-color: var(--discord);
  background: rgba(88, 101, 242, 0.2);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.discord-float {
  position: fixed;
  z-index: 90;
  left: 22px;
  bottom: 24px;
  display: flex;
  align-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: var(--discord);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 0 6px rgba(88, 101, 242, 0.14);
  transition: width 300ms cubic-bezier(.2, .8, .2, 1), transform 200ms ease;
}

.discord-float::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.24), transparent 65%);
  transform: translateX(-110%);
}

.discord-float:hover {
  width: 194px;
  transform: translateY(-3px);
}

.discord-float:hover::before {
  animation: sheen 850ms ease;
}

.discord-float-icon {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 56px;
}

.discord-float svg {
  width: 26px;
  fill: white;
}

.discord-float-label {
  white-space: nowrap;
  padding-right: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(860px, 100svh);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #11181c;
}

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

.hero-media {
  z-index: -4;
  background: #9fc6db;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.93) contrast(1.04);
  transform: scale(1.01);
}

.hero-scrim {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(4, 7, 8, 0.88) 0%, rgba(4, 7, 8, 0.5) 38%, rgba(4, 7, 8, 0.05) 70%),
    linear-gradient(180deg, rgba(4, 7, 8, 0.2) 32%, rgba(4, 7, 8, 0.94) 100%);
}

.hero-grid {
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(90deg, black, transparent 64%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: max(var(--pad), calc((100vw - var(--max)) / 2));
  bottom: clamp(86px, 13vh, 130px);
  width: min(720px, calc(100% - (var(--pad) * 2)));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.rules-intro h2,
.discord-copy h2 {
  margin: 0;
  font-family: "HB Display", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.058em;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.48);
}

.hero h1 em {
  display: inline-block;
  color: var(--red);
  font-style: normal;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(241, 238, 229, 0.8);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: transform 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.25), transparent 65%);
  transform: translateX(-115%);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:hover::before {
  animation: sheen 700ms ease;
}

.btn svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4b3d, var(--red-dark));
  box-shadow: 0 16px 38px rgba(255, 61, 46, 0.2);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(8, 12, 14, 0.46);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

.server-dock {
  position: absolute;
  z-index: 3;
  right: max(var(--pad), calc((100vw - var(--max)) / 2));
  bottom: clamp(84px, 13vh, 128px);
  width: min(320px, 28vw);
  min-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 10, 12, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.server-dock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(241, 238, 229, 0.76);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.server-region {
  margin-left: auto;
  color: var(--muted);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(185, 241, 67, 0.7);
}

.server-address {
  padding: 20px 18px 17px;
}

.server-address span,
.server-address strong {
  display: block;
}

.server-address span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.17em;
}

.server-address strong {
  margin-top: 5px;
  color: var(--paper);
  font-family: "HB Display", Arial, sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.copy-server {
  width: 100%;
  min-height: 48px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: var(--paper);
  background: var(--red);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 180ms ease;
}

.copy-server:hover {
  background: #ff5a4d;
}

.copy-server svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(241, 238, 229, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 26px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 3px;
  height: 7px;
  margin: 8px auto;
  border-radius: 2px;
  background: var(--red);
  animation: scrollCue 1.6s infinite;
}

.server-intro,
.join,
.faq {
  color: var(--ink);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: clamp(36px, 7vw, 110px);
  margin-bottom: clamp(44px, 6vw, 82px);
}

.section-heading .eyebrow,
.rules-intro .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2,
.rules-intro h2 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p,
.rules-intro > p {
  margin: 0 0 4px;
  color: #5f6764;
  font-size: 16px;
  line-height: 1.75;
}

.server-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: clamp(50px, 7vw, 90px);
  border-block: 1px solid var(--line-dark);
}

.server-facts article {
  min-width: 0;
  padding: 24px clamp(14px, 2.2vw, 32px);
  border-right: 1px solid var(--line-dark);
}

.server-facts article:first-child {
  padding-left: 0;
}

.server-facts article:last-child {
  border-right: 0;
}

.server-facts small,
.server-facts strong,
.server-facts span {
  display: block;
}

.server-facts small {
  color: #8d918d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.server-facts strong {
  margin-top: 8px;
  font-family: "HB Display", Arial, sans-serif;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.1;
}

.server-facts strong.status-text {
  color: #527b00;
}

.server-facts span {
  margin-top: 6px;
  color: #717874;
  font-size: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  perspective: 1200px;
}

.feature-card {
  position: relative;
  min-height: 350px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.4);
  transform-style: preserve-3d;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 46, 0.13), transparent 66%);
  transition: transform 300ms ease;
}

.feature-card:hover {
  z-index: 2;
  border-color: rgba(255, 61, 46, 0.64);
  box-shadow: 0 30px 70px rgba(34, 29, 25, 0.12);
}

.feature-card:hover::after {
  transform: scale(1.35);
}

.feature-index {
  position: absolute;
  top: 25px;
  right: 27px;
  color: #a3a7a3;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--red);
  border: 1px solid rgba(255, 61, 46, 0.28);
  background: rgba(255, 61, 46, 0.05);
}

.feature-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.feature-card h3 {
  max-width: 250px;
  margin: 68px 0 14px;
  font-family: "HB Display", Arial, sans-serif;
  font-size: 23px;
  line-height: 1.18;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: #626965;
  font-size: 14px;
}

.modes {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 61, 46, 0.11), transparent 27%),
    var(--ink);
}

.modes::before,
.rules::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
}

.section-heading-light > p {
  color: var(--muted);
}

.mode-switch {
  display: flex;
  gap: 5px;
  width: fit-content;
  margin: -38px 0 24px auto;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.mode-tab {
  min-width: 82px;
  height: 43px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: "HB Display", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: color 180ms ease, background 180ms ease;
}

.mode-tab:hover {
  color: var(--paper);
}

.mode-tab.is-active {
  color: white;
  background: var(--red);
}

.mode-stage {
  border: 1px solid var(--line);
  background: rgba(13, 18, 20, 0.88);
}

.mode-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 590px;
}

.mode-panel[hidden] {
  display: none;
}

.mode-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 61, 46, 0.07), transparent 55%),
    radial-gradient(circle, rgba(255, 61, 46, 0.16), transparent 58%),
    #0a0e10;
}

.mode-art::after {
  content: "";
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(45deg) scale(0.68);
}

.mode-art img {
  position: relative;
  z-index: 2;
  width: min(78%, 430px);
  filter: drop-shadow(0 35px 48px rgba(0, 0, 0, 0.58));
  transform: translateZ(30px);
  animation: emblemFloat 6s ease-in-out infinite;
}

.mode-art-blue {
  background:
    linear-gradient(145deg, rgba(88, 101, 242, 0.12), transparent 55%),
    radial-gradient(circle, rgba(88, 101, 242, 0.17), transparent 58%),
    #0a0e10;
}

.mode-art-blue img {
  width: min(63%, 340px);
  filter: drop-shadow(0 35px 48px rgba(40, 54, 217, 0.26));
}

.mode-word {
  position: absolute;
  bottom: -0.12em;
  left: 0.02em;
  color: rgba(255, 255, 255, 0.035);
  font-family: "HB Display", Arial, sans-serif;
  font-size: clamp(130px, 19vw, 280px);
  line-height: 0.8;
}

.mode-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 86px);
}

.mode-number {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.mode-copy h3 {
  max-width: 520px;
  margin: 0 0 24px;
  font-family: "HB Display", Arial, sans-serif;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  text-transform: uppercase;
}

.mode-copy > p:not(.mode-number) {
  margin: 0;
  color: var(--muted);
}

.mode-copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.mode-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--paper-2);
  font-size: 14px;
}

.mode-copy li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 2px;
  background: var(--red);
}

.join {
  position: relative;
  overflow: hidden;
}

.steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px 28px 32px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  transition: padding-left 240ms ease, background 240ms ease;
}

.step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--red);
  font-size: 26px;
  opacity: 0;
  transform: translate(-12px, -50%);
  transition: opacity 200ms ease, transform 200ms ease;
}

.step:hover {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.step:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.step-number {
  color: var(--red);
  font-family: "HB Display", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 6px;
  font-family: "HB Display", Arial, sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
}

.step p {
  margin: 0;
  color: #69706c;
}

.rules {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
}

.rules-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.rules-intro {
  position: sticky;
  top: 120px;
}

.rules-intro > p {
  max-width: 470px;
  margin-top: 22px;
  color: var(--muted);
}

.rules-intro img {
  width: min(350px, 80%);
  margin: 30px auto -120px;
  opacity: 0.36;
  filter: grayscale(0.55) drop-shadow(0 30px 45px rgba(0, 0, 0, 0.45));
  mask-image: linear-gradient(black 40%, transparent 82%);
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
  padding: 18px 48px 18px 0;
  cursor: pointer;
  color: var(--paper);
  font-family: "HB Display", Arial, sans-serif;
  font-size: clamp(17px, 2vw, 24px);
  text-transform: uppercase;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.12em;
}

summary i {
  position: absolute;
  right: 4px;
  width: 18px;
  height: 18px;
}

summary i::before,
summary i::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 18px;
  height: 1px;
  background: var(--muted);
  transition: transform 200ms ease;
}

summary i::after {
  transform: rotate(90deg);
}

details[open] summary i::after {
  transform: rotate(0deg);
}

details > p {
  margin: -5px 50px 26px 48px;
  color: var(--muted);
  font-size: 14px;
}

.discord-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: #3d49dc;
}

.discord-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 780px;
  height: 780px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.discord-orbit::before,
.discord-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: inherit;
}

.discord-orbit::after {
  inset: 29%;
}

.discord-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 150px 1fr 80px;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  min-height: 360px;
  padding: clamp(34px, 5vw, 70px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(17, 22, 96, 0.19);
  backdrop-filter: blur(8px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  transition: background 250ms ease, transform 250ms ease;
}

.discord-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.12), transparent 65%);
  transform: translateX(-110%);
}

.discord-card:hover {
  background: rgba(17, 22, 96, 0.3);
  transform: translateY(-5px);
}

.discord-card:hover::after {
  animation: sheen 900ms ease;
}

.discord-symbol {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 24px 55px rgba(19, 20, 81, 0.25);
  transform: rotate(-3deg);
  transition: transform 280ms ease;
}

.discord-card:hover .discord-symbol {
  transform: rotate(3deg) scale(1.04);
}

.discord-symbol svg {
  width: 82px;
  fill: white;
}

.discord-copy p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.discord-copy h2 {
  max-width: 780px;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.discord-copy span {
  display: block;
  max-width: 660px;
  margin-top: 19px;
  color: rgba(255, 255, 255, 0.76);
}

.discord-arrow {
  justify-self: end;
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms ease;
}

.discord-card:hover .discord-arrow {
  transform: translate(8px, -8px);
}

.faq .section-heading {
  grid-template-columns: 1fr;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  border-top: 1px solid var(--line-dark);
}

.faq-grid details {
  border-color: var(--line-dark);
}

.faq-grid summary {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  text-transform: none;
}

.faq-grid details > p {
  color: #646b67;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  background: #06090a;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

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

.footer-row > a {
  justify-self: end;
  color: var(--paper-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 24px;
  max-width: min(420px, calc(100% - 44px));
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  color: var(--paper);
  background: rgba(8, 12, 14, 0.95);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes sheen {
  to { transform: translateX(115%); }
}

@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px); }
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) translateZ(30px); }
  50% { transform: translateY(-12px) translateZ(30px); }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .server-dock {
    display: none;
  }

  .hero-content {
    width: min(780px, calc(100% - (var(--pad) * 2)));
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(4, 7, 8, 0.88) 0%, rgba(4, 7, 8, 0.32) 62%, rgba(4, 7, 8, 0.08)),
      linear-gradient(180deg, rgba(4, 7, 8, 0.1) 25%, rgba(4, 7, 8, 0.95) 100%);
  }

  .rules-layout {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 48px;
  }

  .discord-card {
    grid-template-columns: 120px 1fr 54px;
  }

  .discord-symbol {
    width: 120px;
    height: 120px;
  }

  .discord-symbol svg {
    width: 68px;
  }
}

@media (max-width: 780px) {
  :root {
    --pad: 20px;
  }

  html {
    scroll-padding-top: 68px;
  }

  .section-pad {
    padding-block: 78px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 66px;
  }

  .header-discord {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: block;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-toggle span {
    position: absolute;
    right: 4px;
    width: 26px;
    height: 2px;
    background: var(--paper);
    transition: transform 200ms ease, top 200ms ease;
  }

  .menu-toggle span:first-child {
    top: 16px;
  }

  .menu-toggle span:last-child {
    top: 26px;
    width: 18px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
    width: 26px;
    transform: rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    z-index: 95;
    inset: 66px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 28px;
    background: rgba(7, 10, 12, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-family: "HB Display", Arial, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
  }

  .discord-float {
    left: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .discord-float:hover {
    width: 54px;
  }

  .discord-float-icon {
    min-width: 52px;
    height: 52px;
  }

  .discord-float-label {
    display: none;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-media {
    bottom: auto;
    height: 53%;
  }

  .hero-media img {
    object-position: 60% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 7, 8, 0.08) 0%, rgba(4, 7, 8, 0.24) 34%, rgba(4, 7, 8, 1) 55%),
      linear-gradient(90deg, rgba(4, 7, 8, 0.42), rgba(4, 7, 8, 0.05));
  }

  .hero-grid {
    display: none;
  }

  .hero-content {
    top: 49%;
    bottom: auto;
    width: calc(100% - (var(--pad) * 2));
  }

  .hero h1 {
    font-size: clamp(40px, 12.5vw, 63px);
    line-height: 1;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .btn {
    min-height: 50px;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 46px;
  }

  .section-heading h2,
  .rules-intro h2 {
    font-size: clamp(36px, 10.5vw, 54px);
  }

  .server-facts {
    grid-template-columns: 1fr 1fr;
  }

  .server-facts article,
  .server-facts article:first-child {
    padding: 20px 16px;
    border-right: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .server-facts article:nth-child(2n) {
    border-right: 0;
  }

  .server-facts article:nth-child(n + 3) {
    border-bottom: 0;
  }

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

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

  .feature-card h3 {
    margin-top: 48px;
  }

  .mode-switch {
    margin: 0 0 16px;
  }

  .mode-panel {
    grid-template-columns: 1fr;
  }

  .mode-art {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mode-copy {
    padding: 40px 26px 46px;
  }

  .step {
    grid-template-columns: 54px 1fr;
    padding-right: 34px;
  }

  .step:hover {
    padding-left: 0;
  }

  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-intro {
    position: relative;
    top: 0;
  }

  .rules-intro img {
    display: none;
  }

  .rules-list summary {
    gap: 15px;
    min-height: 78px;
  }

  details > p {
    margin-left: 34px;
    margin-right: 20px;
  }

  .discord-orbit {
    width: 540px;
    height: 540px;
  }

  .discord-card {
    grid-template-columns: 82px 1fr;
    min-height: 400px;
    padding: 30px 24px;
  }

  .discord-symbol {
    width: 82px;
    height: 82px;
    border-radius: 24px;
  }

  .discord-symbol svg {
    width: 47px;
  }

  .discord-copy {
    grid-column: 1 / -1;
  }

  .discord-copy h2 {
    font-size: clamp(36px, 10vw, 56px);
  }

  .discord-arrow {
    grid-row: 1;
    grid-column: 2;
    font-size: 42px;
  }

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

  .footer-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-row > a {
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 13px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    height: 46%;
  }

  .hero-content {
    top: 43%;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .server-facts {
    grid-template-columns: 1fr;
  }

  .server-facts article,
  .server-facts article:first-child,
  .server-facts article:nth-child(2n),
  .server-facts article:nth-child(n + 3) {
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .server-facts article:last-child {
    border-bottom: 0;
  }

  .mode-art {
    min-height: 330px;
  }

  .step {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* HELLBOUND HUD refinements */
.section-pad {
  position: relative;
}

.site-frame {
  position: fixed;
  z-index: 500;
  inset: 7px;
  border: 1px solid rgba(255, 61, 46, 0.18);
  box-shadow: inset 0 0 38px rgba(255, 61, 46, 0.035);
  pointer-events: none;
}

.site-frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  color: rgba(255, 61, 46, 0.78);
  border-color: rgba(255, 61, 46, 0.78);
}

.site-frame i:nth-child(1) {
  top: -1px;
  left: -1px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.site-frame i:nth-child(2) {
  top: -1px;
  right: -1px;
  border-top: 3px solid;
  border-right: 3px solid;
}

.site-frame i:nth-child(3) {
  right: -1px;
  bottom: -1px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.site-frame i:nth-child(4) {
  bottom: -1px;
  left: -1px;
  border-bottom: 3px solid;
  border-left: 3px solid;
}

.brand-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 62px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-emblem img {
  width: 51px;
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 9px rgba(255, 42, 29, 0.35));
}

.site-header.is-scrolled .brand-emblem {
  width: 45px;
  height: 54px;
}

.site-header.is-scrolled .brand-emblem img {
  width: 44px;
}

.discord-float {
  top: 50%;
  right: 22px;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
}

.discord-float:hover {
  transform: translateY(calc(-50% - 3px));
}

.hero {
  min-height: 760px;
  height: clamp(760px, 50vw, 960px);
}

.hero-media {
  background: #080d10;
}

.hero-media img {
  object-fit: contain;
  object-position: center top;
  filter: saturate(0.98) contrast(1.03);
  transform: none;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(4, 7, 8, 0.03) 0%, rgba(4, 7, 8, 0.08) 46%, rgba(4, 7, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(4, 7, 8, 0.42) 0%, rgba(4, 7, 8, 0.05) 54%, rgba(4, 7, 8, 0.02) 100%);
}

.server-intro,
.modes,
.join,
.rules,
.discord-section,
.faq {
  border-top: 1px solid rgba(255, 61, 46, 0.17);
}

.section-pad::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -1px;
  left: 7%;
  width: min(180px, 24vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 18px rgba(255, 61, 46, 0.5);
  animation: borderScan 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.status-text {
  position: relative;
  display: inline-block !important;
  width: fit-content;
  transform-origin: left bottom;
  text-shadow: 0 0 0 rgba(82, 123, 0, 0);
  animation: recruitPulse 1.45s ease-in-out infinite;
}

.status-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(185, 241, 67, 0.9);
  transform: translateY(-50%);
  animation: signalBlink 800ms steps(2, end) infinite;
}

.feature-card,
.mode-stage,
.steps,
.rules-list,
.faq-grid {
  box-shadow: inset 0 0 0 1px rgba(255, 61, 46, 0.025), 0 18px 50px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 61, 46, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 61, 46, 0.14), rgba(255, 61, 46, 0.025)),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(255, 61, 46, 0.035) 6px 7px);
  clip-path: polygon(14% 0, 100% 0, 100% 76%, 76% 100%, 0 100%, 0 14%);
  box-shadow: inset 0 0 20px rgba(255, 61, 46, 0.06);
}

.feature-icon svg {
  width: 34px;
  stroke-width: 1.25;
}

.mode-word {
  display: none;
}

.mode-art {
  background:
    linear-gradient(145deg, rgba(255, 61, 46, 0.07), transparent 55%),
    radial-gradient(circle, rgba(255, 61, 46, 0.14), transparent 56%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255, 255, 255, 0.018) 38px 39px),
    #0a0e10;
}

.step {
  cursor: pointer;
  outline-offset: -3px;
}

.step p {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-7px);
  transition: max-height 260ms ease, opacity 200ms ease, transform 260ms ease, margin-top 260ms ease;
}

.step:hover p,
.step:focus p,
.step.is-guide-open p {
  max-height: 90px;
  margin-top: 8px;
  opacity: 1;
  transform: none;
}

.step:hover,
.step:focus,
.step.is-guide-open {
  padding-left: 20px;
  background: rgba(255, 255, 255, 0.52);
}

.rules-list details {
  position: relative;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.rules-list details[open] {
  background: rgba(255, 61, 46, 0.055);
  box-shadow: inset 3px 0 0 var(--red);
}

.rules-list details[open] summary {
  color: white;
}

.discord-section {
  padding-block: clamp(70px, 7vw, 100px);
  background:
    radial-gradient(circle at 14% 50%, rgba(88, 101, 242, 0.2), transparent 24%),
    #0a0e12;
}

.discord-orbit {
  left: 16%;
  width: 420px;
  height: 420px;
  border-color: rgba(88, 101, 242, 0.12);
}

.discord-card {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 28px;
  min-height: 176px;
  padding: 28px 34px;
  border-color: rgba(123, 134, 255, 0.46);
  background: linear-gradient(110deg, rgba(88, 101, 242, 0.24), rgba(13, 18, 20, 0.88) 48%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 22px 70px rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.discord-card:hover {
  background: linear-gradient(110deg, rgba(88, 101, 242, 0.32), rgba(13, 18, 20, 0.9) 52%);
  transform: translateY(-3px);
}

.discord-symbol {
  width: 80px;
  height: 80px;
  border-radius: 23px;
  background: var(--discord);
  transform: rotate(-2deg);
}

.discord-symbol svg {
  width: 46px;
}

.discord-copy p {
  margin-bottom: 8px;
}

.discord-copy h2 {
  font-size: clamp(28px, 3.6vw, 48px);
}

.discord-copy span {
  margin-top: 8px;
  font-size: 14px;
}

.discord-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.discord-signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(185, 241, 67, 0.75);
  animation: signalBlink 1.1s steps(2, end) infinite;
}

.footer-row {
  grid-template-columns: 1fr auto;
}

@keyframes recruitPulse {
  0%, 100% { transform: translateY(0) scale(1); text-shadow: 0 0 0 rgba(82, 123, 0, 0); }
  40% { transform: translateY(-4px) scale(1.035); text-shadow: 0 0 13px rgba(105, 159, 0, 0.38); }
  55% { transform: translateY(0) scale(1); }
  68% { transform: translateY(-2px) scale(1.018); }
}

@keyframes signalBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0.35; }
}

@keyframes borderScan {
  from { transform: translateX(0); opacity: 0.35; }
  to { transform: translateX(56vw); opacity: 0.9; }
}

@media (max-width: 780px) {
  .site-frame {
    inset: 4px;
  }

  .brand-emblem,
  .site-header.is-scrolled .brand-emblem {
    width: 42px;
    height: 54px;
  }

  .brand-emblem img,
  .site-header.is-scrolled .brand-emblem img {
    width: 41px;
  }

  .discord-float {
    top: auto;
    right: 14px;
    bottom: 86px;
    left: auto;
    transform: none;
  }

  .discord-float:hover {
    transform: none;
  }

  .hero {
    min-height: 720px;
    height: auto;
    padding: calc(50vw + 48px) var(--pad) 72px;
  }

  .hero-media {
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .hero-media img {
    object-fit: contain;
    object-position: center top;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(4, 7, 8, 0.03) 0%, rgba(4, 7, 8, 0.12) calc(50vw - 26px), #080c0e calc(50vw + 32px), #080c0e 100%);
  }

  .hero-content {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    width: 100%;
  }

  .server-dock {
    display: none;
  }

  .step:hover,
  .step:focus,
  .step.is-guide-open {
    padding-left: 10px;
  }

  .discord-card {
    grid-template-columns: 66px 1fr;
    min-height: 0;
    padding: 24px 22px;
  }

  .discord-symbol {
    width: 64px;
    height: 64px;
    border-radius: 19px;
  }

  .discord-symbol svg {
    width: 38px;
  }

  .discord-copy {
    grid-column: 2;
  }

  .discord-copy h2 {
    font-size: clamp(25px, 7vw, 38px);
  }

  .discord-copy span {
    font-size: 13px;
  }

  .discord-signal {
    grid-column: 1 / -1;
  }

  .footer-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-text,
  .status-text::before,
  .discord-signal i,
  .section-pad::after {
    animation: none !important;
  }
}

/* Full-banner hero: menu and artwork use separate rows */
.site-header,
.site-header.is-scrolled {
  height: 82px;
  border-bottom: 1px solid rgba(255, 61, 46, 0.22);
  background: #050708;
  backdrop-filter: none;
}

.hero {
  min-height: 0;
  height: 50vw;
  max-height: none;
  margin-top: 82px;
  background: #080c0e;
}

.hero-media {
  height: 100%;
  background: #080c0e;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(4, 7, 8, 0.02) 0%, rgba(4, 7, 8, 0.02) 48%, rgba(4, 7, 8, 0.76) 100%),
    linear-gradient(90deg, rgba(4, 7, 8, 0.46) 0%, rgba(4, 7, 8, 0.08) 56%, rgba(4, 7, 8, 0.02) 100%);
}

.hero-content {
  bottom: clamp(22px, 4vw, 68px);
  width: min(720px, calc(100% - (var(--pad) * 2)));
  padding: 22px 30px 24px 24px;
  border-left: 2px solid var(--red);
  background: linear-gradient(90deg, rgba(5, 8, 10, 0.78), rgba(5, 8, 10, 0.32) 72%, transparent);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.hero-content::before,
.hero-content::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 58px;
  height: 1px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 61, 46, 0.5);
}

.hero-content::before {
  top: 0;
}

.hero-content::after {
  bottom: 0;
}

.hero h1 {
  font-size: clamp(38px, 5.1vw, 76px);
}

.hero-lead {
  margin-top: 16px;
  font-size: clamp(14px, 1.25vw, 18px);
}

.hero-actions {
  margin-top: 20px;
}

.server-dock {
  bottom: clamp(28px, 4vw, 62px);
}

.scroll-cue {
  bottom: 12px;
}

@media (min-width: 781px) and (max-width: 1080px) {
  .hero-content {
    bottom: 22px;
    width: min(650px, calc(100% - (var(--pad) * 2)));
    padding-block: 16px 18px;
  }

  .hero h1 {
    font-size: clamp(38px, 5.5vw, 56px);
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero-lead {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 15px;
  }

  .hero .btn {
    min-height: 46px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-scrolled {
    height: 66px;
  }

  .hero {
    min-height: 0;
    height: 50vw;
    margin-top: 66px;
    padding: 0;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .hero-media img {
    object-fit: contain;
    object-position: center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 7, 8, 0.02), rgba(4, 7, 8, 0.7)),
      linear-gradient(90deg, rgba(4, 7, 8, 0.58), rgba(4, 7, 8, 0.02));
  }

  .hero-content {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 8px;
    left: 13px;
    width: min(82%, 340px);
    padding: 8px 12px 9px 11px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  }

  .hero-content::before,
  .hero-content::after {
    width: 34px;
  }

  .hero .eyebrow {
    gap: 6px;
    margin-bottom: 5px;
    font-size: 7px;
    letter-spacing: 0.11em;
  }

  .hero .eyebrow span {
    width: 16px;
  }

  .hero h1 {
    font-size: clamp(21px, 6.3vw, 31px);
    line-height: 0.94;
  }

  .hero-lead,
  .hero .btn-ghost,
  .scroll-cue {
    display: none;
  }

  .hero-actions {
    display: flex;
    margin-top: 8px;
  }

  .hero .btn-primary {
    width: auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 8px;
  }

  .hero .btn-primary svg {
    width: 13px;
  }
}

.step {
  grid-template-columns: 1fr;
  padding-left: 22px;
}

.step:hover,
.step:focus,
.step.is-guide-open {
  padding-left: 30px;
}

.rules-list summary {
  gap: 0;
}

.rules-list details > p {
  margin-left: 0;
}

@media (max-width: 780px) {
  .step,
  .step:hover,
  .step:focus,
  .step.is-guide-open {
    grid-template-columns: 1fr;
    padding-left: 12px;
  }

  .rules-list details > p {
    margin-left: 0;
  }
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding-inline: 25px;
}

.feature-card h3 {
  font-size: clamp(19px, 1.7vw, 23px);
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* CAMP-inspired survival game interface */
:root {
  --camp-green: #c7e857;
  --camp-olive: #242b22;
  --camp-panel: #111512;
  --camp-panel-2: #181e19;
}

body {
  background:
    radial-gradient(circle at 10% 16%, rgba(199, 232, 87, 0.035), transparent 28%),
    #070908;
}

.server-intro {
  position: relative;
  color: var(--paper);
  background:
    radial-gradient(circle at 86% 12%, rgba(199, 232, 87, 0.09), transparent 24%),
    linear-gradient(145deg, #0b0e0c 0%, #111611 58%, #080a09 100%);
}

.server-intro::before,
.join::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.55) 0.65px, transparent 0.65px),
    linear-gradient(115deg, transparent 68%, rgba(199, 232, 87, 0.08) 68% 69%, transparent 69%);
  background-size: 5px 5px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, black 28%, black 72%, transparent);
}

.server-intro .container,
.join .container {
  position: relative;
  z-index: 2;
}

.server-intro .section-heading h2,
.join .section-heading h2 {
  color: var(--paper);
}

.server-intro .section-heading > p,
.join .section-heading > p {
  color: #959e97;
}

.server-intro .eyebrow,
.join .eyebrow {
  color: var(--camp-green);
}

.server-facts {
  position: relative;
  margin-bottom: clamp(38px, 5vw, 64px);
  border: 1px solid rgba(199, 232, 87, 0.22);
  background: rgba(8, 11, 9, 0.74);
  box-shadow: inset 0 0 38px rgba(199, 232, 87, 0.025), 0 28px 70px rgba(0, 0, 0, 0.22);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.server-facts::before {
  content: "SERVER STATUS / LIVE DATA";
  position: absolute;
  top: -10px;
  left: 28px;
  padding: 0 9px;
  color: var(--camp-green);
  background: #0d110e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.server-facts article,
.server-facts article:first-child {
  padding: 27px clamp(18px, 2.4vw, 34px);
  border-color: rgba(199, 232, 87, 0.13);
}

.server-facts small {
  color: #788079;
}

.server-facts strong {
  color: var(--paper);
}

.server-facts strong.status-text {
  color: var(--camp-green);
}

.feature-grid {
  gap: 14px;
}

.feature-card {
  min-height: 380px;
  border: 1px solid rgba(199, 232, 87, 0.16);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(199, 232, 87, 0.045), transparent 42%),
    linear-gradient(180deg, #171c18, #0c0f0d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 22px 55px rgba(0, 0, 0, 0.2);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--camp-green), transparent);
  box-shadow: 0 0 14px rgba(199, 232, 87, 0.35);
}

.feature-card::after {
  right: -58px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(199, 232, 87, 0.08);
  background:
    radial-gradient(circle, rgba(199, 232, 87, 0.09), transparent 66%),
    repeating-radial-gradient(circle, transparent 0 13px, rgba(199, 232, 87, 0.035) 13px 14px);
}

.feature-card:nth-child(even) {
  background:
    linear-gradient(145deg, rgba(255, 61, 46, 0.065), transparent 42%),
    linear-gradient(180deg, #1b1716, #0e0c0b);
}

.feature-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--red), transparent);
  box-shadow: 0 0 14px rgba(255, 61, 46, 0.35);
}

.feature-card:hover {
  border-color: rgba(199, 232, 87, 0.58);
  box-shadow: inset 0 0 32px rgba(199, 232, 87, 0.025), 0 32px 70px rgba(0, 0, 0, 0.38);
}

.feature-card:nth-child(even):hover {
  border-color: rgba(255, 61, 46, 0.58);
}

.feature-icon {
  color: var(--camp-green);
  border-color: rgba(199, 232, 87, 0.42);
  background:
    linear-gradient(145deg, rgba(199, 232, 87, 0.13), rgba(199, 232, 87, 0.02)),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(199, 232, 87, 0.035) 6px 7px);
}

.feature-card:nth-child(even) .feature-icon {
  color: var(--red);
  border-color: rgba(255, 61, 46, 0.42);
  background: linear-gradient(145deg, rgba(255, 61, 46, 0.13), rgba(255, 61, 46, 0.02));
}

.feature-card h3 {
  margin-top: 62px;
  color: var(--paper);
}

.feature-card p {
  color: #909992;
}

.modes {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 61, 46, 0.1), transparent 28%),
    linear-gradient(160deg, #070908, #101410 58%, #070908);
}

.mode-switch {
  border-color: rgba(199, 232, 87, 0.2);
  background: #0b0e0c;
}

.mode-tab.is-active {
  color: #090b09;
  background: var(--camp-green);
}

.mode-stage {
  border-color: rgba(199, 232, 87, 0.2);
  background: #0b0e0c;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.mode-art {
  border-color: rgba(199, 232, 87, 0.12);
  background:
    radial-gradient(circle, rgba(255, 61, 46, 0.15), transparent 53%),
    repeating-radial-gradient(circle, transparent 0 45px, rgba(255, 61, 46, 0.03) 45px 46px),
    #080a09;
}

.mode-art-blue {
  background:
    radial-gradient(circle, rgba(88, 101, 242, 0.18), transparent 53%),
    repeating-radial-gradient(circle, transparent 0 45px, rgba(88, 101, 242, 0.035) 45px 46px),
    #080a09;
}

.mode-copy h3 {
  color: var(--paper);
}

.join {
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 90%, rgba(199, 232, 87, 0.07), transparent 28%),
    #0e120f;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
  box-shadow: none;
}

.step {
  min-height: 152px;
  padding: 30px 62px 30px 28px;
  border: 1px solid rgba(199, 232, 87, 0.16);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(199, 232, 87, 0.055), transparent 48%),
    #151a16;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 2px;
  background: var(--camp-green);
  box-shadow: 0 0 13px rgba(199, 232, 87, 0.38);
}

.step::after {
  right: 24px;
  color: var(--camp-green);
}

.step:hover,
.step:focus,
.step.is-guide-open {
  padding-left: 34px;
  border-color: rgba(199, 232, 87, 0.5);
  background:
    linear-gradient(145deg, rgba(199, 232, 87, 0.1), transparent 48%),
    #192019;
}

.step h3 {
  color: var(--paper);
}

.step p {
  color: #9ca59e;
}

.rules {
  background:
    radial-gradient(circle at 18% 74%, rgba(255, 61, 46, 0.08), transparent 22%),
    #080a09;
}

.rules-list {
  border-top-color: rgba(199, 232, 87, 0.2);
}

.rules-list details {
  border-color: rgba(199, 232, 87, 0.13);
}

.rules-list details[open] {
  background: rgba(199, 232, 87, 0.045);
  box-shadow: inset 3px 0 0 var(--camp-green);
}

.discord-section {
  background:
    radial-gradient(circle at 18% 50%, rgba(88, 101, 242, 0.18), transparent 22%),
    linear-gradient(145deg, #111625, #080a0d 68%);
}

.discord-card {
  border-color: rgba(123, 134, 255, 0.38);
  background:
    linear-gradient(110deg, rgba(88, 101, 242, 0.22), rgba(14, 17, 24, 0.94) 46%),
    repeating-linear-gradient(90deg, transparent 0 45px, rgba(255, 255, 255, 0.018) 45px 46px);
}

.faq {
  background: #eceae1;
}

.faq-grid details {
  background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 1080px) {
  .feature-card {
    min-height: 330px;
  }
}

@media (max-width: 780px) {
  .server-facts::before {
    left: 18px;
  }

  .feature-card {
    min-height: 290px;
  }

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

  .step,
  .step:hover,
  .step:focus,
  .step.is-guide-open {
    min-height: 128px;
    padding: 24px 46px 24px 20px;
  }
}

/* Deeper black treatment matching the CAMP presentation */
:root {
  --camp-green: #8672ff;
  --camp-olive: #18161f;
  --camp-panel: #0c0c0f;
  --camp-panel-2: #131218;
}

html,
body,
.server-intro,
.modes,
.join,
.rules,
.discord-section,
.faq,
.site-footer {
  background-color: #050506;
}

body {
  background:
    radial-gradient(circle at 82% 18%, rgba(134, 114, 255, 0.055), transparent 24%),
    radial-gradient(circle at 8% 62%, rgba(255, 61, 46, 0.04), transparent 23%),
    #050506;
}

.server-intro,
.join,
.faq {
  color: var(--paper);
  background:
    radial-gradient(circle at 50% 2%, rgba(134, 114, 255, 0.075), transparent 27%),
    linear-gradient(180deg, #070708 0%, #050506 100%);
}

.server-intro::before,
.join::before,
.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.42) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 67%);
}

.server-intro .section-heading,
.modes .section-heading,
.join .section-heading,
.faq .section-heading {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.server-intro .section-heading .eyebrow,
.modes .section-heading .eyebrow,
.join .section-heading .eyebrow,
.faq .section-heading .eyebrow {
  justify-content: center;
}

.server-intro .section-heading > p,
.modes .section-heading > p,
.join .section-heading > p {
  max-width: 640px;
  margin-inline: auto;
  color: #8f8d98;
}

.server-intro .section-heading h2,
.modes .section-heading h2,
.join .section-heading h2,
.faq .section-heading h2 {
  color: #f3f1ea;
  text-shadow: 0 12px 46px rgba(0, 0, 0, 0.45);
}

.server-intro .eyebrow,
.modes .eyebrow,
.join .eyebrow,
.faq .eyebrow {
  color: var(--camp-green);
}

.server-facts {
  border-color: rgba(134, 114, 255, 0.25);
  background: rgba(12, 12, 15, 0.96);
  box-shadow: inset 0 0 46px rgba(134, 114, 255, 0.02), 0 34px 80px rgba(0, 0, 0, 0.34);
}

.server-facts::before {
  color: #a497ff;
  background: #09090b;
}

.server-facts article,
.server-facts article:first-child {
  border-color: rgba(134, 114, 255, 0.13);
}

.server-facts strong.status-text {
  color: var(--lime);
}

.feature-card {
  border-color: rgba(134, 114, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(134, 114, 255, 0.085), transparent 46%),
    linear-gradient(180deg, #121116, #09090b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 32px 80px rgba(0, 0, 0, 0.34);
}

.feature-card::before {
  background: linear-gradient(90deg, #8f7cff, transparent);
  box-shadow: 0 0 18px rgba(134, 114, 255, 0.52);
}

.feature-card::after {
  border-color: rgba(134, 114, 255, 0.1);
  background:
    radial-gradient(circle, rgba(134, 114, 255, 0.1), transparent 66%),
    repeating-radial-gradient(circle, transparent 0 13px, rgba(134, 114, 255, 0.04) 13px 14px);
}

.feature-card:hover {
  border-color: rgba(134, 114, 255, 0.68);
  box-shadow: inset 0 0 42px rgba(134, 114, 255, 0.035), 0 38px 90px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  color: #a497ff;
  border-color: rgba(134, 114, 255, 0.5);
  background:
    linear-gradient(145deg, rgba(134, 114, 255, 0.18), rgba(134, 114, 255, 0.025)),
    repeating-linear-gradient(0deg, transparent 0 6px, rgba(134, 114, 255, 0.04) 6px 7px);
}

.modes {
  background:
    radial-gradient(circle at 50% 8%, rgba(134, 114, 255, 0.07), transparent 26%),
    #050506;
}

.mode-switch {
  margin: -28px auto 24px;
  border-color: rgba(134, 114, 255, 0.25);
  background: #0a090d;
}

.mode-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #745fff, #4d3bd1);
  box-shadow: 0 0 24px rgba(116, 95, 255, 0.22);
}

.mode-stage {
  border-color: rgba(134, 114, 255, 0.23);
  background: #08080a;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.46);
}

.join {
  background:
    radial-gradient(circle at 50% 10%, rgba(134, 114, 255, 0.07), transparent 25%),
    #050506;
}

.step {
  border-color: rgba(134, 114, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(134, 114, 255, 0.075), transparent 48%),
    #111014;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
}

.step::before {
  background: #8f7cff;
  box-shadow: 0 0 17px rgba(134, 114, 255, 0.5);
}

.step::after {
  color: #a497ff;
}

.step:hover,
.step:focus,
.step.is-guide-open {
  border-color: rgba(134, 114, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(134, 114, 255, 0.13), transparent 48%),
    #15131b;
}

.rules {
  background:
    radial-gradient(circle at 23% 58%, rgba(255, 61, 46, 0.06), transparent 23%),
    #050506;
}

.rules-list {
  border-top-color: rgba(134, 114, 255, 0.22);
}

.rules-list details {
  border-color: rgba(134, 114, 255, 0.14);
}

.rules-list details[open] {
  background: rgba(134, 114, 255, 0.05);
  box-shadow: inset 3px 0 0 #8f7cff;
}

.discord-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(88, 101, 242, 0.2), transparent 23%),
    #050506;
}

.faq {
  background:
    radial-gradient(circle at 50% 0%, rgba(134, 114, 255, 0.07), transparent 28%),
    #050506;
}

.faq-grid {
  border-top-color: rgba(134, 114, 255, 0.18);
}

.faq-grid details {
  border-color: rgba(134, 114, 255, 0.14);
  background: rgba(15, 14, 18, 0.74);
}

.faq-grid summary {
  color: var(--paper);
}

.faq-grid details > p {
  color: #8f8d98;
}

.site-footer {
  border-top-color: rgba(134, 114, 255, 0.14);
  background: #030304;
}

@media (max-width: 780px) {
  .server-intro .section-heading,
  .modes .section-heading,
  .join .section-heading,
  .faq .section-heading {
    justify-items: start;
    text-align: left;
  }

  .server-intro .section-heading .eyebrow,
  .modes .section-heading .eyebrow,
  .join .section-heading .eyebrow,
  .faq .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .mode-switch {
    margin: 0 0 18px;
  }
}


/* CAMP-inspired black-smoke hero and framed navigation */
@font-face {
  font-family: "HB Tech";
  src: url("fonts/display-v2.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
}

:root {
  --camp-green: #ff9a1f;
  --camp-amber: #ff9a1f;
  --camp-red: #ff3d2e;
  --camp-blue: #46b7ff;
}

.site-frame {
  inset: 6px;
  border-color: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 54px rgba(0, 0, 0, 0.38);
}

.site-frame i {
  width: 18px;
  height: 18px;
  color: rgba(255, 154, 31, 0.62);
  border-color: rgba(255, 154, 31, 0.62);
}

.site-frame i:nth-child(1),
.site-frame i:nth-child(2),
.site-frame i:nth-child(3),
.site-frame i:nth-child(4) {
  border-width: 1px;
}

.site-header,
.site-header.is-scrolled {
  inset: 14px 26px auto;
  width: auto;
  height: 66px;
  padding: 0;
  grid-template-columns: minmax(220px, 0.78fr) minmax(420px, 2fr) 132px;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(22, 22, 24, 0.95), rgba(10, 10, 12, 0.93)),
    rgba(7, 7, 8, 0.93);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  transition: inset 220ms ease, height 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  inset: 8px 26px auto;
  height: 60px;
  background: rgba(7, 7, 9, 0.97);
}

.brand {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.brand-emblem,
.site-header.is-scrolled .brand-emblem {
  width: 44px;
  height: 54px;
}

.brand-emblem img,
.site-header.is-scrolled .brand-emblem img {
  width: 43px;
  filter: drop-shadow(0 0 10px rgba(255, 61, 46, 0.38));
}

.brand strong {
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 15px;
  letter-spacing: 0.14em;
}

.brand small {
  margin-top: 5px;
  color: #797981;
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 7px;
  letter-spacing: 0.14em;
}

.desktop-nav {
  height: 100%;
  justify-content: center;
  gap: clamp(28px, 3.4vw, 62px);
}

.desktop-nav a {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0;
  color: rgba(245, 245, 245, 0.72);
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.desktop-nav a::after {
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--camp-red), var(--camp-amber));
  box-shadow: 0 0 11px rgba(255, 92, 33, 0.72);
}

.desktop-nav a:hover::after {
  right: 0;
  left: 0;
}

.header-discord {
  width: 100%;
  height: 100%;
  min-height: 0;
  justify-content: center;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.012);
  clip-path: none;
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.header-discord:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.22), rgba(88, 101, 242, 0.04));
}

.hero {
  height: clamp(680px, 56.28vw, 940px);
  min-height: 680px;
  margin-top: 0;
  background: #020203;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 36px;
  width: 1px;
  background: linear-gradient(transparent 12%, rgba(255, 255, 255, 0.28) 24%, rgba(255, 255, 255, 0.28) 74%, transparent 88%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 35%;
  left: 31px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffad2f;
  box-shadow: 0 0 8px rgba(255, 173, 47, 0.92), 0 0 24px rgba(255, 98, 31, 0.66);
  pointer-events: none;
}

.hero-media {
  background: #020203;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.04);
  transform: none;
}

.hero-scrim {
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 37%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 23%, transparent 68%, rgba(0, 0, 0, 0.78));
}

.hero-grid {
  opacity: 0.07;
  background-image: linear-gradient(rgba(70, 183, 255, 0.22) 1px, transparent 1px);
  background-size: 100% 52px;
  mask-image: linear-gradient(90deg, transparent, black 44%, black 56%, transparent);
}

.hero-content {
  top: 51%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(760px, 67vw);
  padding: 0;
  border: 0;
  background: transparent;
  clip-path: none;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-content::before,
.hero-content::after {
  display: none;
}

.hero .eyebrow {
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  color: rgba(230, 230, 233, 0.72);
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px #000;
}

.hero .eyebrow span {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--camp-amber));
  box-shadow: 0 0 9px rgba(255, 154, 31, 0.48);
}

.hero .eyebrow span:last-child {
  background: linear-gradient(90deg, var(--camp-amber), transparent);
}

.hero h1 {
  max-width: none;
  color: #f8f8f8;
  font-family: "HB Tech", "Courier New", monospace;
  font-size: clamp(38px, 4.15vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.075em;
  text-shadow: 0 4px 3px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.9);
}

.hero h1 em {
  color: #f8f8f8;
  font-style: normal;
  letter-spacing: -0.075em;
}

.hero-actions {
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.hero .btn {
  isolation: isolate;
  min-width: 190px;
  min-height: 48px;
  padding: 0 32px;
  overflow: hidden;
  border: 0;
  color: #ffd04a;
  background: linear-gradient(90deg, #cf6b16, #ffb51b 42%, #ff6331);
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%);
  box-shadow: 0 0 24px rgba(255, 126, 24, 0.18);
  font-family: "HB Tech", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.hero .btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  background:
    linear-gradient(110deg, rgba(255, 191, 49, 0.1), transparent 44%),
    rgba(8, 8, 9, 0.93);
  clip-path: inherit;
  transform: none;
}

.hero .btn::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 7px;
  bottom: 7px;
  left: 15px;
  width: 1px;
  background: rgba(255, 185, 45, 0.46);
  box-shadow: calc(100% + 157px) 0 0 rgba(255, 91, 42, 0.46);
  pointer-events: none;
}

.hero .btn > * {
  position: relative;
  z-index: 1;
}

.hero .btn-ghost {
  color: #e7e7e9;
  background: linear-gradient(90deg, rgba(164, 164, 170, 0.65), rgba(255, 255, 255, 0.86), rgba(164, 164, 170, 0.65));
}

.hero .btn-ghost::before {
  background: rgba(8, 8, 9, 0.9);
}

.hero .btn:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.14);
  box-shadow: 0 0 32px rgba(255, 126, 24, 0.3);
}

.server-dock {
  display: none;
}

.scroll-cue {
  bottom: 20px;
  left: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-family: "HB Tech", "Courier New", monospace;
  transform: translateX(-50%);
}

.scroll-cue i {
  border-color: rgba(255, 154, 31, 0.55);
}

.discord-float {
  right: 18px;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44), 0 0 0 5px rgba(88, 101, 242, 0.1);
}

.server-intro .eyebrow,
.modes .eyebrow,
.join .eyebrow,
.faq .eyebrow {
  color: var(--camp-amber);
}

.server-facts,
.feature-card,
.mode-stage,
.step,
.faq-grid details {
  border-color: rgba(255, 154, 31, 0.19);
}

.server-facts::before,
.feature-icon,
.step::after {
  color: #ffb23e;
}

.feature-card::before,
.step::before {
  background: linear-gradient(90deg, #ff9a1f, transparent);
  box-shadow: 0 0 18px rgba(255, 117, 31, 0.46);
}

.feature-card:hover,
.step:hover,
.step:focus,
.step.is-guide-open {
  border-color: rgba(255, 154, 31, 0.58);
}

.feature-icon {
  border-color: rgba(255, 154, 31, 0.46);
  background: linear-gradient(145deg, rgba(255, 116, 31, 0.16), rgba(255, 154, 31, 0.018));
}

.mode-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #ff9a1f, #d94224);
  box-shadow: 0 0 24px rgba(255, 101, 31, 0.24);
}

.rules-list details[open] {
  background: rgba(255, 154, 31, 0.045);
  box-shadow: inset 3px 0 0 var(--camp-amber);
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: minmax(190px, 0.8fr) minmax(360px, 2fr) 112px;
  }

  .desktop-nav {
    gap: 25px;
  }

  .brand {
    padding-inline: 14px;
  }

  .header-discord {
    font-size: 9px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-scrolled {
    inset: 8px 10px auto;
    height: 58px;
    grid-template-columns: 1fr 48px;
  }

  .brand {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .brand-emblem,
  .site-header.is-scrolled .brand-emblem {
    width: 38px;
    height: 48px;
  }

  .brand-emblem img,
  .site-header.is-scrolled .brand-emblem img {
    width: 37px;
  }

  .brand strong {
    font-size: 13px;
  }

  .menu-toggle {
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-nav {
    top: 74px;
    right: 10px;
    left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(7, 7, 9, 0.97);
  }

  .mobile-nav a {
    font-family: "HB Tech", "Courier New", monospace;
    font-size: 12px;
  }

  .hero {
    height: 680px;
    min-height: 680px;
    margin-top: 0;
  }

  .hero-media {
    inset: 0;
  }

  .hero-media img {
    object-fit: cover;
    object-position: center;
    opacity: 0.78;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 28%, transparent 66%, rgba(0, 0, 0, 0.86)),
      radial-gradient(ellipse at center, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.52));
  }

  .hero::before {
    left: 18px;
  }

  .hero::after {
    left: 13px;
  }

  .hero-content {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: calc(100% - 52px);
    padding: 0;
    background: transparent;
    transform: translate(-50%, -50%);
  }

  .hero .eyebrow {
    display: flex;
    margin-bottom: 16px;
    font-size: 7px;
  }

  .hero h1 {
    font-size: clamp(29px, 8.3vw, 43px);
    line-height: 1.08;
    letter-spacing: -0.075em;
  }

  .hero h1 em {
    letter-spacing: -0.075em;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 26px;
  }

  .hero .btn,
  .hero .btn-primary {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 19px;
    font-size: 7px;
  }

  .hero .btn-ghost {
    display: inline-flex;
  }

  .hero .btn::after {
    display: none;
  }

  .scroll-cue {
    display: flex;
  }

  .discord-float {
    top: auto;
    right: 14px;
    bottom: 16px;
    transform: none;
  }

  .discord-float:hover {
    transform: translateY(-3px);
  }
}


/* Compact information layout, white LED frames and unified techno type */
@font-face {
  font-family: "HB Tech Text";
  src: url("fonts/body-tech.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

body,
button,
summary,
input,
textarea,
select {
  font-family: "HB Tech Text", "DejaVu Sans Mono", monospace;
}

h1,
h2,
h3,
h4,
.brand strong,
.brand small,
.desktop-nav,
.mobile-nav,
.header-discord,
.eyebrow,
.btn,
.server-facts strong,
.server-facts small,
.mode-tab,
.rules-list summary,
.faq-grid summary,
.discord-signal,
.site-footer {
  font-family: "HB Tech", "DejaVu Sans Mono", monospace;
}

.site-header,
.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.36),
    inset 0 0 18px rgba(255, 255, 255, 0.025);
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.header-discord {
  font-size: 11px;
  font-weight: 700;
}

.hero .btn,
.hero .btn-primary {
  min-width: 208px;
  min-height: 52px;
  padding-inline: 34px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.92);
}

.hero .btn-ghost {
  color: #fff;
}

.section-pad {
  padding-block: clamp(72px, 7.2vw, 108px);
}

.section-heading {
  margin-bottom: clamp(34px, 4vw, 54px);
}

.section-heading h2,
.rules-intro h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.section-heading > p,
.rules-intro > p,
.feature-card p,
.mode-copy > p:not(.mode-number),
.mode-copy li,
.step p,
.rules-list details > p,
.faq-grid details > p,
.discord-copy span {
  font-family: "HB Tech Text", "DejaVu Sans Mono", monospace;
  letter-spacing: -0.015em;
}

.server-facts {
  margin-bottom: clamp(30px, 4vw, 48px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.022),
    0 0 14px rgba(255, 255, 255, 0.035),
    0 20px 54px rgba(0, 0, 0, 0.3);
}

.server-facts article,
.server-facts article:first-child {
  padding: 19px clamp(15px, 1.8vw, 26px);
  border-color: rgba(255, 255, 255, 0.14);
}

.server-facts strong {
  margin-top: 6px;
  font-size: clamp(15px, 1.55vw, 21px);
}

.feature-grid {
  gap: 12px;
}

.feature-card {
  min-height: 265px;
  padding: 24px 22px;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.024),
    0 0 13px rgba(255, 255, 255, 0.028),
    0 18px 42px rgba(0, 0, 0, 0.26);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 11px rgba(255, 255, 255, 0.07);
}

.feature-icon svg {
  width: 24px;
}

.feature-card h3 {
  margin: 34px 0 10px;
  font-size: clamp(16px, 1.42vw, 20px);
  line-height: 1.18;
}

.feature-card p {
  font-size: 12px;
  line-height: 1.58;
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.045),
    0 0 18px rgba(255, 255, 255, 0.11),
    0 24px 54px rgba(0, 0, 0, 0.38);
}

.mode-stage {
  border-color: rgba(255, 255, 255, 0.27);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.02),
    0 0 15px rgba(255, 255, 255, 0.035),
    0 28px 68px rgba(0, 0, 0, 0.36);
}

.mode-panel {
  min-height: 470px;
}

.mode-art {
  min-height: 440px;
}

.mode-art img {
  width: min(68%, 350px);
}

.mode-art-blue img {
  width: min(56%, 285px);
}

.mode-copy {
  padding: clamp(34px, 4.2vw, 60px);
}

.mode-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3.1vw, 42px);
}

.mode-copy ul {
  gap: 9px;
  margin-top: 22px;
}

.steps {
  gap: 12px;
}

.step,
.step:hover,
.step:focus,
.step.is-guide-open {
  min-height: 126px;
  padding: 24px 54px 24px 24px;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.02),
    0 0 12px rgba(255, 255, 255, 0.026);
}

.step h3 {
  font-size: clamp(18px, 1.9vw, 25px);
}

.step:hover,
.step:focus,
.step.is-guide-open {
  border-color: rgba(255, 255, 255, 0.64);
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(255, 255, 255, 0.1);
}

.rules-list {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.rules-list details,
.faq-grid details {
  border-color: rgba(255, 255, 255, 0.2);
}

.rules-list summary {
  min-height: 72px;
  font-size: clamp(15px, 1.65vw, 20px);
}

.rules-list details[open],
.faq-grid details[open] {
  box-shadow:
    inset 2px 0 0 var(--camp-amber),
    0 0 15px rgba(255, 255, 255, 0.055);
}

.discord-card {
  min-height: 154px;
  padding: 24px 30px;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.035),
    0 0 16px rgba(255, 255, 255, 0.055),
    0 20px 58px rgba(0, 0, 0, 0.34);
}

.discord-symbol {
  width: 68px;
  height: 68px;
  border-radius: 19px;
}

.discord-symbol svg {
  width: 39px;
}

.discord-copy h2 {
  font-size: clamp(25px, 3vw, 40px);
}

.faq-grid {
  gap: 0 26px;
  border-top-color: rgba(255, 255, 255, 0.23);
}

.faq-grid details {
  padding-inline: 16px;
  background: rgba(15, 14, 18, 0.7);
  box-shadow: inset 0 0 13px rgba(255, 255, 255, 0.018);
}

.faq-grid summary {
  min-height: 70px;
  font-size: 15px;
}

@media (max-width: 1080px) {
  .feature-card {
    min-height: 245px;
  }

  .desktop-nav a {
    font-size: 11px;
  }
}

@media (max-width: 780px) {
  .section-pad {
    padding-block: 62px;
  }

  .feature-card {
    min-height: 220px;
  }

  .feature-card h3 {
    margin-top: 26px;
  }

  .mode-panel {
    min-height: 0;
  }

  .mode-art {
    min-height: 320px;
  }

  .step,
  .step:hover,
  .step:focus,
  .step.is-guide-open {
    min-height: 112px;
    padding: 21px 46px 21px 19px;
  }

  .hero .btn,
  .hero .btn-primary {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 8.5px;
  }

  .mobile-nav a {
    font-size: 13px;
  }
}

/* Final legibility pass */
.site-header,
.site-header.is-scrolled {
  height: 70px;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.14),
    0 22px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 22px rgba(255, 255, 255, 0.035);
}

.site-header.is-scrolled {
  height: 64px;
}

.desktop-nav a {
  font-size: 14px;
}

.header-discord {
  font-size: 13px;
}

.hero .btn,
.hero .btn-primary {
  min-width: 224px;
  min-height: 56px;
  font-size: 13px;
}

.server-facts,
.feature-card,
.mode-stage,
.step,
.discord-card,
.faq-grid details {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.03),
    0 0 16px rgba(255, 255, 255, 0.065),
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.rules-list {
  border-top-color: rgba(255, 255, 255, 0.38);
}

.rules-list details {
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 1080px) and (min-width: 781px) {
  .desktop-nav a {
    font-size: 12px;
  }

  .hero .btn,
  .hero .btn-primary {
    min-width: 205px;
    font-size: 11px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-scrolled {
    height: 60px;
  }

  .hero .btn,
  .hero .btn-primary {
    min-width: 0;
    min-height: 47px;
    font-size: 9px;
  }
}

/* Vietnamese-safe game typography */
@font-face {
  font-family: "HB Game UI";
  src: url("fonts/game-ui-regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "HB Game UI";
  src: url("fonts/game-ui-bold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

html,
body,
button,
summary,
input,
textarea,
select,
p,
li,
a,
span,
small,
strong,
h1,
h2,
h3,
h4,
.brand strong,
.brand small,
.desktop-nav,
.desktop-nav a,
.mobile-nav,
.header-discord,
.eyebrow,
.btn,
.server-facts strong,
.server-facts small,
.mode-tab,
.mode-copy h3,
.rules-list summary,
.faq-grid summary,
.discord-signal,
.site-footer {
  font-family: "HB Game UI", "DejaVu Sans", Arial, sans-serif;
}

body {
  font-weight: 400;
}

h1,
h2,
h3,
h4,
.brand strong,
.desktop-nav a,
.header-discord,
.eyebrow,
.btn,
.server-facts strong,
.mode-tab,
.rules-list summary,
.faq-grid summary {
  font-weight: 700;
}

.hero h1,
.hero h1 em {
  letter-spacing: -0.035em;
}

.desktop-nav a,
.header-discord,
.hero .btn,
.hero .btn-primary {
  letter-spacing: 0.045em;
}


/* Equipment visuals, full-width sticky menu and readable small text */
body,
button,
summary,
input,
textarea,
select,
p,
li,
small,
.brand small,
.desktop-nav a,
.mobile-nav a,
.header-discord,
.eyebrow,
.btn,
.server-facts small,
.server-facts span,
.mode-copy > p,
.mode-copy li,
.step p,
.rules-list summary,
.rules-list details > p,
.faq-grid summary,
.faq-grid details > p,
.discord-float-label,
.site-footer {
  font-family: Arial, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
.brand strong,
.header-game-mark,
.mode-copy h3 {
  font-family: "HB Game UI", "DejaVu Sans", Arial, sans-serif;
}

.site-header,
.site-header.is-scrolled {
  inset: 0 0 auto;
  width: 100%;
  height: 72px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(470px, 2fr) 102px 128px;
  border-width: 0 0 1px;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.42),
    0 0 14px rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  height: 64px;
}

.header-game-mark {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  color: #f5f5f3;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 0 13px rgba(255, 255, 255, 0.16);
}

.header-discord {
  border-left-color: rgba(255, 255, 255, 0.24);
}

.hero {
  padding-top: 0;
}

.server-facts {
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.38);
  clip-path: none;
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(255, 255, 255, 0.028),
    0 20px 48px rgba(0, 0, 0, 0.28);
}

.server-facts::before {
  display: none;
}

.server-facts article {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.server-facts article:first-child {
  padding-left: clamp(15px, 1.8vw, 26px);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.025);
}

.mode-panel {
  grid-template-columns: 1.08fr 0.92fr;
}

.mode-art {
  min-height: 420px;
  padding: 28px;
}

.mode-art > img {
  display: none;
}

.gear-grid {
  position: relative;
  z-index: 3;
  width: min(94%, 650px);
  margin-inline: auto;
}

.gear-grid-pvp {
  display: grid;
  place-items: center;
  width: min(86%, 540px);
}

.gear-grid-pve {
  display: grid;
  place-items: center;
  width: min(86%, 540px);
}

.gear-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: #050506;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.075),
    0 18px 38px rgba(0, 0, 0, 0.42);
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gear-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 24px rgba(255, 154, 31, 0.04);
}

.gear-card:hover {
  z-index: 4;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 0 21px rgba(255, 255, 255, 0.14),
    0 22px 44px rgba(0, 0, 0, 0.52);
  transform: translateY(-4px);
}

.mode-art .gear-card img,
.mode-art-blue .gear-card img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}

.gear-card-main {
  width: 100%;
}

@media (max-width: 1080px) and (min-width: 781px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: minmax(220px, 1fr) 94px 120px;
  }

  .desktop-nav {
    display: none;
  }

  .header-game-mark {
    display: grid;
  }

  .header-discord {
    display: flex;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-scrolled {
    inset: 0 0 auto;
    width: 100%;
    height: 60px;
    grid-template-columns: 1fr 48px;
  }

  .header-game-mark,
  .header-discord {
    display: none;
  }

  .mobile-nav {
    top: 60px;
    right: 0;
    left: 0;
  }

  .mode-art {
    min-height: 310px;
    padding: 18px;
  }

  .gear-grid {
    width: 100%;
  }

  .gear-grid-pvp {
    width: 100%;
  }
}

/* Final visual alignment: equal hero CTAs, one PvP image and a wide rules image */
.hero-actions .btn,
.hero-actions .btn-primary {
  width: 280px;
  min-width: 280px;
  min-height: 56px;
  padding: 0 24px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.hero-actions .btn svg {
  position: absolute;
  right: 22px;
  width: 16px;
}

.section-heading > p,
.rules-intro > p,
.feature-card p,
.mode-copy > p:not(.mode-number),
.mode-copy li,
.step p,
.rules-list details > p,
.faq-grid details > p,
.discord-copy span,
.server-facts small {
  font-family: Arial, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.rules-visual {
  margin-bottom: clamp(38px, 5vw, 66px);
}

.rules-gear-card {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: #050506;
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.08),
    0 24px 56px rgba(0, 0, 0, 0.48),
    inset 0 0 22px rgba(255, 154, 31, 0.035);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.rules-gear-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 154, 31, 0.12);
  pointer-events: none;
}

.rules-gear-card img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-emblem,
.site-header.is-scrolled .brand-emblem {
  width: 52px;
  height: 52px;
}

.brand-emblem img,
.site-header.is-scrolled .brand-emblem img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 3px;
  filter: drop-shadow(0 0 10px rgba(255, 61, 46, 0.34));
}

.brand > span:last-child {
  display: flex;
  align-items: center;
}

@media (max-width: 780px) {
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .hero-actions .btn,
  .hero-actions .btn-primary {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero-actions .btn svg {
    right: 10px;
    width: 13px;
  }

  .rules-visual {
    margin-bottom: 34px;
  }

  .brand-emblem,
  .site-header.is-scrolled .brand-emblem {
    width: 42px;
    height: 42px;
  }

  .brand-emblem img,
  .site-header.is-scrolled .brand-emblem img {
    width: 41px;
    height: 41px;
  }
}

/* Final header and footer placement */
.site-header,
.site-header.is-scrolled {
  grid-template-columns: minmax(230px, 0.78fr) minmax(450px, 2fr) 132px;
}

.site-footer {
  padding-block: 22px;
}

.footer-row {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 72px;
  gap: 20px;
}

.footer-row .brand {
  width: max-content;
  min-width: 0;
  padding: 0;
  border: 0;
}

.footer-row .brand-emblem {
  width: 52px;
  height: 52px;
}

.footer-row .brand-emblem img {
  width: 50px;
  height: 50px;
}

.footer-game-mark {
  justify-self: center;
  color: #f5f5f3;
  font-family: "HB Game UI", "DejaVu Sans", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
}

.footer-row > a {
  justify-self: end;
}

@media (max-width: 1080px) and (min-width: 781px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: minmax(220px, 1fr) 132px;
  }
}

@media (max-width: 780px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: 1fr 48px;
  }

  .footer-row {
    grid-template-columns: 1fr auto;
    gap: 18px 12px;
    align-items: center;
  }

  .footer-game-mark {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  .footer-row .brand {
    grid-row: 2;
    grid-column: 1;
  }

  .footer-row > a {
    grid-row: 2;
    grid-column: 2;
    justify-self: end;
    text-align: right;
  }
}

@media (max-width: 560px) {
  .hero-actions {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 284px);
  }

  .hero-actions .btn,
  .hero-actions .btn-primary {
    min-height: 46px;
    font-size: 11px;
  }
}

/* Subtle attention motion for the floating Discord icon */
.discord-float {
  animation: discordRipple 3.8s ease-out infinite;
  will-change: box-shadow;
}

.discord-float svg {
  transform-origin: center;
  animation: discordWiggle 4.6s ease-in-out infinite;
}

.discord-float::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.45);
  pointer-events: none;
}

.discord-float:hover::after,
.discord-float:focus-visible::after {
  animation: discordInnerWave 950ms ease-out infinite;
}

.discord-float:active .discord-float-icon {
  transform: scale(0.92);
}

@keyframes discordRipple {
  0%, 68%, 100% {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44), 0 0 0 5px rgba(var(--social-wave-rgb, 88, 101, 242), 0.12), 0 0 0 5px rgba(var(--social-wave-rgb, 88, 101, 242), 0);
  }
  82% {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.44), 0 0 0 9px rgba(var(--social-wave-rgb, 88, 101, 242), 0.2), 0 0 0 18px rgba(var(--social-wave-rgb, 88, 101, 242), 0.07);
  }
}

@keyframes discordWiggle {
  0%, 76%, 100% { transform: rotate(0); }
  79%, 86% { transform: rotate(-5deg); }
  82%, 89% { transform: rotate(5deg); }
}

@keyframes discordInnerWave {
  0% { opacity: 0.55; transform: scale(0.35); }
  100% { opacity: 0; transform: scale(1.9); }
}

@media (prefers-reduced-motion: reduce) {
  .discord-float,
  .discord-float svg,
  .discord-float::after {
    animation: none !important;
  }
}

/* Paired fixed social icons and a larger reading scale */
.social-float-stack {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.social-float-stack .discord-float {
  position: relative;
  inset: auto;
  flex: none;
  transform: none;
  pointer-events: auto;
}

.social-float-stack .discord-float:hover {
  transform: translateY(-3px);
}

.social-float-facebook {
  --social-wave-rgb: 24, 119, 242;
  background: #1877f2;
}

.social-float-facebook svg {
  width: 25px;
  height: 25px;
}

.social-float-stack .discord-float-label {
  font-size: 14px;
}

.section-heading > p,
.rules-intro > p,
.mode-copy > p:not(.mode-number),
.step p,
.rules-list details > p,
.faq-grid details > p {
  font-size: 18px;
  line-height: 1.65;
}

.feature-card h3 {
  margin-top: 32px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

.mode-copy li {
  font-size: 16px;
}

.server-facts small,
.scroll-cue {
  font-size: 11px;
}

.eyebrow,
.footer-row > a {
  font-size: 13px;
}

.hero .eyebrow {
  font-size: 11px;
}

@media (max-width: 780px) {
  .social-float-stack {
    top: auto;
    right: 14px;
    bottom: 16px;
    gap: 14px;
    transform: none;
  }

  .social-float-stack .discord-float,
  .social-float-stack .discord-float:hover {
    width: 54px;
    height: 54px;
  }

  .social-float-stack .discord-float-icon {
    min-width: 52px;
    height: 52px;
  }

  .social-float-stack .discord-float-label {
    display: none;
  }

  .feature-card h3 {
    margin-top: 24px;
  }

  .hero .eyebrow {
    font-size: 9px;
  }
}

/* Link action and resilient touch layouts */
.join-discord-action { display: flex; justify-content: center; margin-top: 32px; }
.join-discord-action .btn { min-height: 56px; padding-inline: 30px; font-size: 15px; white-space: normal; text-align: center; }
.join-discord-action .btn span { margin-left: 12px; font-size: 20px; line-height: 1; }
@media (max-width: 780px) {
  .hero { height: auto; min-height: 0; padding: calc(60px + 56.28vw + 24px) var(--pad) 76px; }
  .hero-media { top: 60px; bottom: auto; height: auto; aspect-ratio: 1672 / 941; }
  .hero-media img { object-fit: contain; object-position: center; opacity: 1; }
  .hero-scrim { background: linear-gradient(180deg, transparent 0%, transparent calc(60px + 52vw), #020203 calc(60px + 59vw), #020203 100%); }
  .hero-content { position: relative; top: auto; left: auto; width: min(100%, 620px); margin-inline: auto; transform: none; }
  .hero h1 { font-size: clamp(28px, 7.5vw, 47px); overflow-wrap: anywhere; }
  .hero-actions .btn { font-size: clamp(10px, 1.7vw, 13px); }
  .hero-actions .btn svg { display: none; }
  .social-float-stack { right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .site-footer { padding-bottom: max(86px, calc(70px + env(safe-area-inset-bottom))); }
  .step p { max-height: none; margin-top: 8px; opacity: 1; overflow: visible; transform: none; }
  .step { cursor: default; }
  .mode-copy, .rules-intro, .rules-list details { min-width: 0; }
  .section-heading > p, .rules-intro > p, .mode-copy > p:not(.mode-number), .step p, .rules-list details > p, .faq-grid details > p { font-size: 17px; }
}
@media (max-width: 430px) {
  .hero { padding-bottom: 54px; }
  .hero-actions { width: min(100%, 300px); }
  .hero-actions .btn, .hero-actions .btn-primary { min-height: 48px; font-size: 12px; }
  .hero .eyebrow { gap: 6px; font-size: 9px; letter-spacing: 0; }
  .hero .eyebrow span { width: 18px; }
  .footer-row .brand { gap: 6px; }
  .footer-row .brand strong { font-size: 11px; letter-spacing: 0.04em; }
  .footer-row .brand-emblem, .footer-row .brand-emblem img { width: 36px; height: 36px; }
  .footer-row > a { font-size: 12px; }
  .join-discord-action .btn { width: 100%; padding-inline: 12px; }
}
@media (max-width: 350px) {
  .footer-row { grid-template-columns: 1fr; justify-items: center; }
  .footer-row .brand, .footer-row > a { grid-column: 1; justify-self: center; }
  .footer-row .brand { grid-row: 2; }
  .footer-row > a { grid-row: 3; }
}
/* WordPress toolbar does not cover the fixed site navigation. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-nav { top: 92px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } body.admin-bar .mobile-nav { top: 106px; } }

/* Give the two-line server heading enough room for Vietnamese accents. */
.server-intro .section-heading h2 { line-height: 1.22; }
.server-intro .section-heading { row-gap: 24px; }
@media (max-width: 780px) {
  .server-intro .section-heading { row-gap: 20px; }
}

/* A narrow white neon trace travels around the Discord call-to-action. */
.join-discord-action .btn svg.neon-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.join-discord-action .neon-edge path { fill: none; vector-effect: non-scaling-stroke; }
.join-discord-action .neon-edge-base { stroke: rgba(255,255,255,.55); stroke-width: 1.2; }
.join-discord-action .neon-edge-runner {
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 40 610;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 7px rgba(255,255,255,.9));
  animation: discordNeonRun 3s linear infinite;
}
@keyframes discordNeonRun { to { stroke-dashoffset: -650; } }
@media (prefers-reduced-motion: reduce) {
  .join-discord-action .neon-edge-runner { animation: none; stroke-dasharray: none; }
}

/* Soft orange neon sweeps across the hero headline on hover. */
.hero h1:hover,
.hero h1:hover em {
  color: #ffc28e;
  text-shadow: 0 0 10px rgba(255, 159, 90, .38), 0 0 28px rgba(255, 119, 48, .18);
}
@supports (-webkit-background-clip: text) {
  .hero h1:hover,
  .hero h1:hover em {
    color: transparent;
    background-image: linear-gradient(105deg, #fff 24%, #fff 40%, #ffd4a9 48%, #ffab6c 52%, #fff 62%, #fff 100%);
    background-size: 240% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    animation: heroOrangeSweep 2s linear infinite;
  }
}
@keyframes heroOrangeSweep {
  from { background-position: 110% 0; }
  to { background-position: -110% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1:hover, .hero h1:hover em { animation: none; background-position: 50% 0; }
}

.wp-content { min-height: 65vh; padding-top: 148px; background: #080c0e; }
.wp-content h1 { font-family: "HB Game UI", Arial, sans-serif; font-size: clamp(32px, 5vw, 56px); }
.wp-content .entry-content { max-width: 760px; font-size: 18px; }
.wp-content a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
