:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-2: #090f1a;
  --panel: rgba(11, 17, 29, 0.82);
  --panel-strong: rgba(15, 23, 38, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f9ff;
  --muted: #aeb8c7;
  --accent: #d9a441;
  --accent-2: #35a7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(53, 167, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #05070d 0%, #070b13 42%, #04060a 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 58%);
  z-index: -1;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(217, 164, 65, 0.22);
  background:
    linear-gradient(90deg, rgba(217, 164, 65, 0.1), transparent 30%, rgba(53, 167, 255, 0.08) 100%),
    rgba(5, 7, 13, 0.8);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.08), transparent 22%, rgba(53, 167, 255, 0.14) 58%, transparent);
  opacity: 0.85;
}

.site-header::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
}

.brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
  padding: 0.85rem 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand::after {
  content: "";
  align-self: center;
  height: 1px;
  margin-left: clamp(0.75rem, 2vw, 1.5rem);
  background: linear-gradient(90deg, rgba(217, 164, 65, 0.38), rgba(53, 167, 255, 0.22), transparent);
  opacity: 0.72;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 14px rgba(217, 164, 65, 0.28));
}

.brand-lockup {
  display: grid;
  gap: 0.2rem;
  width: max-content;
  justify-self: start;
  min-width: 0;
}

.brand-kicker {
  color: var(--accent-2);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-name {
  color: var(--text);
  font-size: clamp(1.55rem, 3.5vw, 2.8rem);
  line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 0%, #ead39f 48%, #d9a441 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 18px rgba(217, 164, 65, 0.28), 0 1px 0 rgba(0, 0, 0, 0.9);
  text-align: left;
}

.section-inner {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(2.6rem, 5vw, 4.25rem) 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 6.35rem 0 3.1rem;
}

.hero-fallback,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-fallback,
.hero-video {
  object-fit: cover;
  z-index: -3;
}

.hero-video {
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.72) 48%, rgba(5, 7, 13, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.12), #05070d 96%);
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  display: block;
}

.hero-copy-block {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Rajdhani", "Inter", sans-serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(4rem, 11vw, 8.8rem);
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.tagline {
  margin-bottom: 1rem;
  color: var(--accent-2);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}

.hero-copy,
.section-lead,
.about-section p,
.community-section p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 1.45rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #f2c86f);
  color: #13100a;
  box-shadow: 0 16px 50px rgba(217, 164, 65, 0.24);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.split-layout,
.media-layout,
.discover-layout,
.history-layout,
.recruitment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.status-band {
  position: relative;
  margin-top: -1rem;
  padding-bottom: 0.35rem;
  z-index: 2;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.status-card {
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 22, 0.84);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.status-card-live {
  border-color: rgba(53, 167, 255, 0.3);
  background:
    linear-gradient(135deg, rgba(53, 167, 255, 0.1), rgba(53, 167, 255, 0.03)),
    rgba(8, 13, 22, 0.84);
}

.status-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-value {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.status-detail {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.connect-panel,
.media-panel,
.cta-panel,
.server-list-card,
.faq-item,
.timeline-panel,
.timeline-item,
.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.connect-panel {
  padding: clamp(1rem, 2.5vw, 1.3rem);
}

.steps {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: #dce4f2;
}

.steps span {
  min-width: 64px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(53, 167, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(3, 8, 14, 0.85);
}

code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #eaf6ff;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
}

.copy-button {
  min-height: 42px;
  padding: 0.7rem 1rem;
  background: rgba(53, 167, 255, 0.14);
  border-color: rgba(53, 167, 255, 0.44);
  color: #dff3ff;
}

.copy-status {
  min-height: 1.4rem;
  margin: 0.65rem 0 0;
  color: var(--accent-2);
  font-size: 0.9rem;
}

.about-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.narrow {
  max-width: 900px;
}

.discover-section p:not(.eyebrow),
.history-section p:not(.eyebrow),
.recruitment-section p:not(.eyebrow),
.faq-item p {
  color: var(--muted);
}

.history-section {
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.035), rgba(53, 167, 255, 0.025));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-panel {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1rem, 2.5vw, 1.2rem);
}

.timeline-item {
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.timeline-item span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.timeline-item p {
  margin-bottom: 0;
}

.server-list-card {
  padding: clamp(1rem, 2.5vw, 1.3rem);
}

.server-list-card p {
  color: var(--muted);
}

.server-list-card .button {
  margin-top: 0.4rem;
}

.footprint-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(53, 167, 255, 0.035));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.footprint-layout {
  position: relative;
  min-height: 640px;
  padding: clamp(0.7rem, 3vw, 1.4rem) 0;
  overflow: hidden;
}

.footprint-layout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: min(68%, 820px);
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 7, 13, 0.97) 0%, rgba(5, 7, 13, 0.9) 56%, rgba(5, 7, 13, 0.44) 82%, transparent 100%);
  pointer-events: none;
}

.footprint-section p:not(.eyebrow) {
  color: var(--muted);
}

.footprint-copy {
  position: relative;
  z-index: 2;
  max-width: min(760px, 56%);
  padding-right: 1rem;
}

.footprint-resilience {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(217, 164, 65, 0.35);
}

.footprint-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.footprint-stat,
.footprint-map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.footprint-stat {
  min-height: 172px;
  padding: 0.9rem;
}

.footprint-stat span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footprint-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.footprint-stat p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.footprint-map-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58%, 740px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.map-stage {
  position: relative;
  min-height: 100%;
  height: 100%;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 50%, rgba(217, 164, 65, 0.08), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(53, 167, 255, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.08), rgba(5, 7, 13, 0.28) 24%, rgba(5, 7, 13, 0.56) 100%);
  background-size: 52px 52px, 52px 52px, auto;
  isolation: isolate;
}

.map-surface {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 560;
  margin-top: clamp(2rem, 6vw, 4.5rem);
}

.map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(53, 167, 255, 0.09) 45%, transparent 70%);
  opacity: 0.5;
  transform: translateX(-30%);
  animation: mapSweep 9s ease-in-out infinite;
  pointer-events: none;
}

.world-map {
  width: 100%;
  height: 100%;
  margin-top: 0;
  opacity: 0.62;
  transform: scale(1);
  transform-origin: center;
}

.world-map-base path {
  fill: rgba(205, 221, 239, 0.11);
  stroke: rgba(205, 221, 239, 0.15);
  stroke-width: 6;
  stroke-linejoin: round;
}

.map-ping {
  position: absolute;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.55);
  background: rgba(217, 164, 65, 0.22);
  box-shadow: 0 0 0 10px rgba(217, 164, 65, 0.08);
  cursor: default;
  animation: pingFloat 3.6s ease-in-out infinite;
}

.map-ping span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d086, var(--accent));
  box-shadow: 0 0 16px rgba(217, 164, 65, 0.85);
}

.map-ping::before,
.map-ping::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(217, 164, 65, 0.26);
  border-radius: 50%;
  animation: pingPulse 2.8s ease-out infinite;
}

.map-ping::after {
  animation-delay: 1.1s;
}

.map-ping-label {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  width: max-content;
  max-width: 160px;
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(6, 10, 17, 0.9);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-ping:hover .map-ping-label,
.map-ping:focus-visible .map-ping-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.map-ping:focus-visible {
  outline: 2px solid rgba(53, 167, 255, 0.52);
  outline-offset: 4px;
}

.ping-na,
.ping-eu {
  animation-delay: 0.1s;
}

.ping-east,
.ping-au {
  animation-delay: 0.9s;
}

.ping-sa,
.ping-uk {
  animation-delay: 1.6s;
}

.ping-na { top: 31%; left: 14%; }
.ping-east { top: 41%; left: 20%; }
.ping-sa { top: 68%; left: 23%; }
.ping-uk { top: 32%; left: 47%; }
.ping-eu { top: 39%; left: 52%; }
.ping-au { top: 65%; left: 74%; }

@keyframes pingPulse {
  0% {
    opacity: 0.6;
    transform: scale(0.72);
  }

  70% {
    opacity: 0;
    transform: scale(1.7);
  }

  100% {
    opacity: 0;
    transform: scale(1.85);
  }
}

@keyframes pingFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes mapSweep {
  0%,
  100% {
    transform: translateX(-32%);
    opacity: 0.2;
  }

  50% {
    transform: translateX(28%);
    opacity: 0.6;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature-card {
  min-height: 180px;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 38, 0.9), rgba(8, 13, 22, 0.9));
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.24);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(217, 164, 65, 0.1);
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 800;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.media-section {
  background: linear-gradient(180deg, rgba(53, 167, 255, 0.035), rgba(217, 164, 65, 0.035));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.media-panel {
  position: relative;
  overflow: hidden;
}

.preview-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #02040a;
}

.theme-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-height: 38px;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(6, 10, 17, 0.74);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(53, 167, 255, 0.34);
  background: rgba(12, 19, 31, 0.88);
}

.theme-toggle[aria-pressed="true"] {
  border-color: rgba(217, 164, 65, 0.3);
  background: rgba(217, 164, 65, 0.16);
  color: #fff4d4;
}

.media-panel audio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.faq-item {
  padding: 0.95rem;
}

.faq-item p {
  margin-bottom: 0;
}

.recruitment-section {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(53, 167, 255, 0.035));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.recruitment-section .button {
  margin-top: 0.7rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.recruitment-media {
  display: grid;
  gap: 0.85rem;
}

.discord-join-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(88, 101, 242, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(88, 101, 242, 0.14), rgba(53, 167, 255, 0.055)),
    rgba(8, 13, 22, 0.82);
  box-shadow: var(--shadow);
}

.discord-join-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: var(--radius);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.42));
}

.discord-join-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.discord-join-card p {
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.discord-join-card .button {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.role-card {
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(15, 23, 38, 0.92), rgba(8, 13, 22, 0.92));
}

.role-card span {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 32px;
  margin-bottom: 0.9rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(53, 167, 255, 0.42);
  border-radius: var(--radius);
  color: #dff3ff;
  background: rgba(53, 167, 255, 0.12);
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 800;
}

.role-card p {
  margin-bottom: 0;
}

.cta-panel {
  max-width: 900px;
  padding: clamp(1.2rem, 4vw, 2.15rem);
  text-align: center;
}

.cta-panel .button {
  margin-top: 0.8rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  color: var(--muted);
  background: #03050a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-inner a {
  color: var(--text);
  font-weight: 700;
}

.legal-page {
  min-height: 100svh;
  padding: 7rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.84), rgba(5, 7, 13, 0.98)),
    url("assets/countyline-fallback.jpg") center / cover fixed;
}

.legal-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 22, 0.92);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(18px);
}

.legal-shell h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.legal-shell h2 {
  margin-top: 2rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
}

.legal-shell ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .status-grid,
  .split-layout,
  .media-layout,
  .discover-layout,
  .history-layout,
  .recruitment-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .faq-grid,
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footprint-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footprint-layout {
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .footprint-layout::before {
    display: none;
  }

  .footprint-copy {
    max-width: none;
  }

  .footprint-map-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .map-stage {
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: calc(var(--radius) - 2px);
    background:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      radial-gradient(circle at 18% 50%, rgba(217, 164, 65, 0.08), transparent 28%),
      radial-gradient(circle at 82% 24%, rgba(53, 167, 255, 0.12), transparent 32%),
      linear-gradient(180deg, rgba(5, 7, 13, 0.24), rgba(5, 7, 13, 0.5));
    background-size: 52px 52px, 52px 52px, auto;
  }

  .world-map {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0;
  }

  .brand {
    grid-template-columns: auto minmax(0, 1fr);
    width: min(calc(100% - 24px), var(--max));
    gap: 0.75rem;
    padding: 0.8rem 0;
  }

  .brand::after {
    display: none;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-lockup {
    display: grid;
    gap: 0.15rem;
  }

  .brand-kicker {
    font-size: 0.6rem;
  }

  .brand-name {
    font-size: clamp(1.2rem, 6vw, 1.75rem);
  }

  .hero {
    min-height: auto;
    padding-top: 6.95rem;
    padding-bottom: 2.75rem;
  }

  .section-inner {
    width: min(calc(100% - 24px), var(--max));
  }

  .section-pad {
    padding: 2.6rem 0;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .legal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .status-band {
    margin-top: -0.35rem;
  }

  .button {
    width: 100%;
  }

  .theme-toggle {
    right: 12px;
    bottom: 12px;
    width: auto;
    padding-inline: 0.8rem;
  }

  .discord-join-card {
    grid-template-columns: 76px 1fr;
  }

  .discord-join-card img {
    width: 76px;
    height: 76px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 13, 0.94), rgba(5, 7, 13, 0.72)),
      linear-gradient(180deg, rgba(5, 7, 13, 0.08), #05070d 96%);
  }

  .command-box {
    grid-template-columns: 1fr;
  }

  .copy-button {
    width: 100%;
  }

  .feature-grid,
  .faq-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .footprint-stats {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 360px;
  }

  .map-ping-label {
    max-width: 128px;
    white-space: normal;
    text-align: center;
  }

  .feature-card {
    min-height: auto;
  }

  .footer-inner {
    display: grid;
    text-align: center;
    justify-items: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .legal-page {
    padding-top: 6.75rem;
    background-attachment: scroll;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.55rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-kicker {
    font-size: 0.54rem;
  }

  .hero {
    padding-top: 6.25rem;
    padding-bottom: 2.2rem;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 3.8rem);
    line-height: 0.9;
  }

  .tagline {
    font-size: 1.08rem;
  }

  .hero-copy,
  .section-lead,
  .about-section p,
  .community-section p {
    font-size: 0.98rem;
  }

  .footprint-stat {
    min-height: auto;
  }

  .map-stage {
    min-height: 280px;
    padding: 0.7rem;
    background-size: 38px 38px, 38px 38px, auto;
  }

  .map-surface {
    margin-top: 0;
  }

  .map-ping {
    width: 16px;
    height: 16px;
  }

  .map-ping span {
    width: 7px;
    height: 7px;
  }

  .map-ping-label {
    display: none;
  }

  .ping-na { top: 31%; left: 14%; }
  .ping-east { top: 41%; left: 20%; }
  .ping-sa { top: 68%; left: 23%; }
  .ping-uk { top: 32%; left: 47%; }
  .ping-eu { top: 39%; left: 52%; }
  .ping-au { top: 65%; left: 74%; }

  .steps li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .steps span {
    min-width: 0;
  }

  .discord-join-card {
    grid-template-columns: 64px 1fr;
    gap: 0.85rem;
    padding: 0.85rem;
    text-align: left;
    justify-items: stretch;
    align-items: start;
  }

  .discord-join-card img {
    width: 64px;
    height: 64px;
    align-self: start;
  }

  .discord-join-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
  }

  .discord-join-card p {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
  }

  .discord-join-card .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .hero-video {
    display: none;
  }
}