@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --black: #08080d;
  --surface: #101019;
  --surface-2: #171720;
  --gold: #a855f7;
  --gold-bright: #c084fc;
  --gold-muted: #7e22ce;
  --text: #eeeeF2;
  --muted: #9393a3;
  --line: rgba(168, 85, 247, 0.22);
  --white-line: rgba(255, 255, 255, 0.08);
  --heading: "Cinzel", Georgia, serif;
  --ui: "Rajdhani", sans-serif;
  --body: "Outfit", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(168, 85, 247, 0.06), transparent 25rem),
    var(--black);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

::selection { background: var(--gold); color: #08080d; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin-top: 0; }

h1, h2, h3 {
  margin-top: 0;
  font-family: var(--heading);
  line-height: 1.08;
}

h2 {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.035em;
}

h3 { color: var(--text); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 8, 13, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: saturate(1.08) drop-shadow(0 0 12px rgba(168, 85, 247, 0.34));
}

.brand > span > span,
.site-footer .brand span span { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.6vw, 1.5rem);
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  color: #b5b5c1;
  white-space: nowrap;
  transition: color 160ms ease;
}

.main-nav a:not(.nav-action)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--gold-bright); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.main-nav .nav-action,
.button {
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}

.main-nav .nav-action {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #09090e;
}

.main-nav .nav-login {
  margin-left: 0.4rem;
  background: transparent;
  color: var(--gold);
}

.main-nav .nav-action:hover { color: #09090e; background: var(--gold-bright); }
.main-nav .nav-login:hover { color: var(--text); background: rgba(168, 85, 247, 0.14); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(8, 8, 13, 0.85);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 8rem 1.25rem 6rem;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, transparent 0 10%, rgba(8, 8, 13, 0.2) 48%, rgba(8, 8, 13, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 8, 13, 0.22), rgba(8, 8, 13, 0.08) 45%, var(--black));
}

.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.75) contrast(1.08);
  transform: scale(1.03) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 700ms ease-out;
}

.hero-content {
  width: min(830px, 100%);
  animation: heroIn 900ms ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { transform: scaleX(-1); }

.hero h1 {
  margin-bottom: 1.4rem;
  color: #fff;
  font-size: clamp(3rem, 7.4vw, 7.1rem);
  letter-spacing: -0.045em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.75);
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
  color: var(--gold-bright);
  text-shadow: 0 0 25px rgba(168, 85, 247, 0.42), 0 8px 35px #000;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #c5c5cf;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-width: 165px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  font-family: var(--ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--gold); color: #09090e; }
.button-primary:hover { background: var(--gold-bright); }
.button-ghost { background: rgba(8, 8, 13, 0.35); color: var(--gold-bright); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(168, 85, 247, 0.14); color: #fff; }

.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: #a7a7b1;
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-cue i { width: 1px; height: 2.5rem; background: linear-gradient(var(--gold), transparent); }

.server-bar {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(1160px, calc(100% - 2rem));
  grid-template-columns: 1.2fr repeat(4, 1fr);
  margin: -2rem auto 0;
  border: 1px solid var(--line);
  background: rgba(14, 14, 22, 0.96);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}
.server-bar > div {
  display: flex;
  min-height: 75px;
  flex-direction: column;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-right: 1px solid var(--white-line);
}
.server-bar > div:last-child { border-right: 0; }
.server-bar span {
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.server-bar strong { margin-top: 0.2rem; font-family: var(--heading); font-size: 0.95rem; }
.server-bar .server-live { flex-direction: row; align-items: center; justify-content: flex-start; gap: 0.65rem; }
.server-live i { width: 8px; height: 8px; border-radius: 50%; background: #47df88; box-shadow: 0 0 14px #47df88; }
.server-live span { color: #7be5a8; }

.section {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 8rem clamp(1rem, 4vw, 2rem);
}
.section-title { max-width: 720px; margin: 0 auto 4rem; text-align: center; }
.section-title > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.section-title-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}
.section-title-row .eyebrow { justify-content: flex-start; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature-card {
  position: relative;
  min-height: 275px;
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(23, 23, 32, 0.72), rgba(12, 12, 18, 0.72));
  transition: background 200ms ease, transform 200ms ease;
}
.feature-card:hover { z-index: 2; background: rgba(168, 85, 247, 0.1); transform: translateY(-4px); }
.feature-number {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  color: rgba(168, 85, 247, 0.48);
  font-family: var(--ui);
  font-size: 0.7rem;
}
.feature-icon { margin-bottom: 2.6rem; color: var(--gold); font-size: 1.8rem; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.feature-card p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.server-showcase {
  display: grid;
  width: min(1440px, calc(100% - 2rem));
  min-height: 680px;
  grid-template-columns: 1.2fr 0.8fr;
  margin: 1rem auto;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.showcase-art { position: relative; min-height: 520px; }
.showcase-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 55%, var(--surface)), linear-gradient(0deg, rgba(16, 16, 25, 0.4), transparent);
}
.showcase-art img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: saturate(0.7); }
.showcase-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.showcase-content .eyebrow { justify-content: flex-start; }
.showcase-content > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 1.5rem 0 2rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-grid div { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid span { display: block; color: var(--muted); font-family: var(--ui); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-grid strong { display: block; margin-top: 0.25rem; color: var(--gold-bright); font-family: var(--heading); font-size: 0.85rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-family: var(--ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.text-link span, .text-link b { transition: transform 160ms ease; }
.text-link:hover span, .text-link:hover b { transform: translateX(4px); }

.steps { border-top: 1px solid var(--line); }
.steps article {
  display: grid;
  min-height: 210px;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}
.steps article:hover { background: rgba(168, 85, 247, 0.06); }
.steps article > span { color: rgba(168, 85, 247, 0.45); font-family: var(--heading); font-size: 3.5rem; }
.steps h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.steps p { max-width: 580px; color: var(--muted); line-height: 1.6; }

.news-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; }
.news-card {
  min-height: 235px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease;
}
.news-card:hover { border-color: rgba(168, 85, 247, 0.62); transform: translateY(-3px); }
.news-card-featured { grid-row: span 2; }
.news-art { height: 250px; overflow: hidden; }
.news-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7); transition: transform 500ms ease; }
.news-card:hover .news-art img { transform: scale(1.03); }
.news-content { padding: 1.5rem; }
.news-content > span { color: var(--gold); font-family: var(--ui); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.news-content time { float: right; color: var(--muted); font-family: var(--ui); font-size: 0.68rem; }
.news-content h3 { margin: 1.2rem 0 0.6rem; font-size: 1.25rem; }
.news-card-featured h3 { font-size: 1.65rem; }
.news-content p { color: var(--muted); line-height: 1.6; }

.community-cta {
  position: relative;
  display: grid;
  width: min(1160px, calc(100% - 2rem));
  min-height: 440px;
  grid-template-columns: 0.7fr 1.3fr;
  place-items: center;
  gap: 2rem;
  margin: 2rem auto 8rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 25% 50%, rgba(168, 85, 247, 0.13), transparent 24rem), var(--surface);
}
.community-emblem img { width: min(100%, 300px); filter: saturate(1.08) drop-shadow(0 0 30px rgba(168, 85, 247, 0.32)); }
.community-cta .eyebrow, .community-cta .hero-actions { justify-content: flex-start; }
.community-cta p:not(.eyebrow) { max-width: 580px; color: var(--muted); line-height: 1.7; }

.site-footer {
  display: grid;
  width: min(1160px, calc(100% - 2rem));
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p { margin: 0; text-align: right; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; font-family: var(--ui); font-size: 0.75rem; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--gold); }
.site-footer small { text-align: right; }

/* Inner pages */
body.inner-page { background: var(--black); }
.page-shell { min-height: 100svh; padding-top: 76px; }
.page-hero {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5rem 1rem 3rem;
  background:
    linear-gradient(rgba(8, 8, 13, 0.48), var(--black)),
    url("assets/images/cover_photo.png") center 35% / cover;
  text-align: center;
}
.page-hero::after { position: absolute; inset: auto 15% 0; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; color: var(--text); font-size: clamp(2.8rem, 7vw, 5.8rem); text-transform: uppercase; }
.page-hero > p:not(.eyebrow) { max-width: 680px; color: #b9b9c5; line-height: 1.65; }
.inner-page .section { padding-top: 5rem; padding-bottom: 6rem; }

.empty-panel, .info-panel, .war-panel, .stat-strip, .guide-list a, .gallery-frame, .download-section {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(23, 23, 32, 0.8), rgba(12, 12, 18, 0.85));
}
.empty-panel { display: grid; min-height: 260px; place-items: center; color: var(--muted); }
.split-section { width: min(1160px, 100%); }
.info-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.info-panel { padding: 1.5rem; }
.info-panel h3 { color: var(--gold); }
.info-panel dl { margin: 0; }
.info-panel dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--white-line); }
.info-panel dt, .info-panel li { color: var(--muted); }
.info-panel dd { margin: 0; text-align: right; }
.info-panel li { padding: 0.75rem 0; border-bottom: 1px solid var(--white-line); }
.war-panel { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 2rem; margin-top: 1rem; padding: 2rem; }
.war-panel .eyebrow { justify-content: flex-start; }
.war-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.war-list li { padding: 1rem; border: 1px solid var(--white-line); color: #c6c6d0; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.stat-strip div { display: flex; min-height: 145px; flex-direction: column; justify-content: center; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.stat-strip span { color: var(--muted); font-family: var(--ui); font-size: 0.72rem; text-transform: uppercase; }
.stat-strip strong { margin-top: 0.4rem; color: var(--gold); font-family: var(--heading); font-size: 2rem; }
.guide-list { display: grid; gap: 0.75rem; }
.guide-list a { display: grid; min-height: 85px; grid-template-columns: 80px 1fr; align-items: center; padding: 1rem 1.5rem; font-family: var(--heading); transition: border-color 180ms ease, transform 180ms ease; }
.guide-list a:hover { border-color: var(--gold); transform: translateX(4px); }
.guide-list span { color: var(--gold); font-family: var(--ui); }
.gallery-frame { display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: center; gap: 3rem; padding: 3rem; }
.gallery-frame img { width: min(100%, 360px); margin: auto; filter: saturate(1.08) drop-shadow(0 0 30px rgba(168, 85, 247, 0.28)); }
.gallery-frame p, .download-section p { color: var(--muted); line-height: 1.7; }
.download-section { display: flex; width: min(1160px, calc(100% - 2rem)); align-items: end; justify-content: space-between; gap: 2rem; margin: 4rem auto 7rem; padding: clamp(2rem, 5vw, 4rem); }
.download-section .eyebrow { justify-content: flex-start; }
.download-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 1040px) {
  .main-nav { gap: 0.65rem; }
  .main-nav a { font-size: 0.7rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .site-header { min-height: 66px; padding: 0.55rem 1rem; background: rgba(8, 8, 13, 0.9); }
  .brand img { width: 42px; height: 42px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 68px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 13, 0.98);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.9rem; border-bottom: 1px solid var(--white-line); font-size: 0.78rem; }
  .main-nav a::after { display: none; }
  .main-nav .nav-action { margin: 0.6rem 0 0; border-bottom: 1px solid var(--gold); text-align: center; }
  .server-bar { grid-template-columns: repeat(2, 1fr); }
  .server-bar > div { border-bottom: 1px solid var(--white-line); }
  .server-bar .server-live { grid-column: 1 / -1; justify-content: center; }
  .server-showcase { grid-template-columns: 1fr; }
  .showcase-art { min-height: 420px; }
  .showcase-art::after { background: linear-gradient(0deg, var(--surface), transparent 60%); }
  .showcase-content { margin-top: -5rem; z-index: 1; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-row: auto; }
  .community-cta { grid-template-columns: 1fr; text-align: center; }
  .community-emblem img { width: 220px; }
  .community-cta .eyebrow, .community-cta .hero-actions { justify-content: center; }
  .info-board { grid-template-columns: 1fr; }
  .war-panel { grid-template-columns: 1fr; }
  .gallery-frame { grid-template-columns: 1fr; text-align: center; }
  .download-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .hero { min-height: 92svh; padding-top: 6.5rem; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 8, 13, 0.45), rgba(8, 8, 13, 0.2) 38%, var(--black) 95%); }
  .hero-media img { object-position: 62% center; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.5rem); }
  .hero-copy { font-size: 0.98rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.13em; }
  .eyebrow::before, .eyebrow::after { width: 1rem; }
  .hero-actions, .button { width: 100%; }
  .scroll-cue { display: none; }
  .server-bar { margin-top: 0; }
  .server-bar > div { min-height: 65px; padding: 0.7rem; text-align: center; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }
  .section-title { margin-bottom: 2.5rem; }
  .section-title-row { align-items: flex-start; flex-direction: column; text-align: center; }
  .section-title-row .eyebrow { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; padding: 1.5rem; }
  .server-showcase { width: 100%; border-right: 0; border-left: 0; }
  .showcase-art { min-height: 330px; }
  .showcase-content { padding: 1.25rem; }
  .showcase-content .eyebrow { justify-content: center; }
  .showcase-content h2 { text-align: center; }
  .steps article { min-height: 0; grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem 0; }
  .steps article > span { font-size: 2rem; }
  .news-art { height: 190px; }
  .news-content time { float: none; display: block; margin-top: 0.3rem; }
  .community-cta { margin-bottom: 5rem; padding: 2rem 1.25rem; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand, .site-footer nav { justify-content: center; }
  .site-footer p, .site-footer small { text-align: center; }
  .page-shell { padding-top: 66px; }
  .page-hero { min-height: 330px; padding-top: 4rem; }
  .page-hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div { min-height: 110px; border-right: 0; }
  .war-list { grid-template-columns: 1fr; }
  .gallery-frame { padding: 1.25rem; }
  .download-section { margin-top: 1rem; padding: 1.25rem; }
  .download-actions { width: 100%; }
}

/* InfinityX original identity */
:root {
  --heading: "Syne", sans-serif;
  --ui: "Space Mono", monospace;
  --body: "Manrope", sans-serif;
  --surface: #0d0b14;
  --surface-2: #151020;
}

body {
  background:
    linear-gradient(rgba(168, 85, 247, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 8% 24%, rgba(168, 85, 247, 0.08), transparent 28rem),
    #07060b;
  background-size: 72px 72px, 72px 72px, auto, auto;
}

h1,
h2,
h3 {
  text-transform: none;
}

.site-header {
  top: 0.75rem;
  right: 1rem;
  left: 1rem;
  width: min(1240px, calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background: rgba(7, 6, 11, 0.72);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: rgba(192, 132, 252, 0.32);
  background: rgba(7, 6, 11, 0.9);
}

.brand {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.brand > span > span,
.site-footer .brand span span {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--gold-bright);
  transform: skewX(-10deg);
}

.main-nav {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.main-nav .nav-action,
.button {
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}

.main-nav .nav-action {
  border: 0;
}

.main-nav .nav-login {
  border: 1px solid rgba(168, 85, 247, 0.55);
}

.hero {
  place-items: center start;
  padding-right: clamp(1rem, 8vw, 8rem);
  padding-left: clamp(1rem, 8vw, 8rem);
  text-align: left;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(7, 6, 11, 0.96), rgba(7, 6, 11, 0.58) 46%, rgba(7, 6, 11, 0.08) 72%),
    linear-gradient(180deg, rgba(7, 6, 11, 0.3), transparent 48%, #07060b 100%);
}

.hero::after {
  position: absolute;
  top: 50%;
  right: clamp(-5rem, 3vw, 4rem);
  z-index: -1;
  content: "X";
  color: transparent;
  font-family: "Syne", sans-serif;
  font-size: min(62vw, 48rem);
  font-weight: 800;
  line-height: 0.7;
  -webkit-text-stroke: 1px rgba(192, 132, 252, 0.11);
  transform: translateY(-50%) skewX(-7deg);
}

.hero-content {
  width: min(760px, 100%);
}

.hero .eyebrow,
.showcase-content .eyebrow,
.community-cta .eyebrow,
.section-title-row .eyebrow {
  justify-content: flex-start;
}

.eyebrow {
  color: var(--gold-bright);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  width: 0.48rem;
  height: 0.48rem;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold);
  transform: rotate(45deg);
}

.eyebrow::after {
  display: none;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 9vw, 8.6rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
  text-transform: none;
}

.hero h1 span {
  position: relative;
  margin-top: 0.12em;
  color: transparent;
  background: linear-gradient(90deg, #fff, #d8b4fe 45%, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero h1 span::after {
  position: absolute;
  right: 0.05em;
  bottom: -0.08em;
  left: 0.08em;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  box-shadow: 0 0 18px var(--gold);
}

.hero-copy {
  max-width: 590px;
  margin-right: 0;
  margin-left: 0;
}

.hero-actions {
  justify-content: flex-start;
}

.scroll-cue {
  right: clamp(1rem, 4vw, 4rem);
  bottom: 3rem;
  left: auto;
  align-items: flex-end;
  transform: none;
}

.server-bar {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(13, 11, 20, 0.96);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.server-live i {
  border-radius: 2px;
  background: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold);
  transform: rotate(45deg);
}

.server-live span {
  color: #d8b4fe;
}

.section-title h2 {
  position: relative;
}

.section-title h2::after {
  display: block;
  width: 4rem;
  height: 2px;
  margin: 1.4rem auto 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title-row h2::after {
  margin-left: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.feature-grid {
  gap: 0.8rem;
  border: 0;
}

.feature-card {
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.18);
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.08), transparent 45%),
    rgba(13, 11, 20, 0.82);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.feature-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  content: "";
  border-left: 1px solid rgba(192, 132, 252, 0.5);
  background: rgba(168, 85, 247, 0.12);
  transform: rotate(45deg) translate(7px, -8px);
}

.feature-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(192, 132, 252, 0.38);
  background: rgba(168, 85, 247, 0.08);
  font-family: var(--ui);
  font-size: 1.25rem;
  transform: rotate(-4deg);
}

.feature-card h3 {
  font-size: 1.3rem;
}

.server-showcase,
.community-cta,
.news-card,
.empty-panel,
.info-panel,
.war-panel,
.stat-strip,
.guide-list a,
.gallery-frame,
.download-section {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.server-showcase {
  border-color: rgba(168, 85, 247, 0.22);
  background: #0d0b14;
}

.showcase-content {
  position: relative;
}

.showcase-content::before {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, var(--gold), transparent);
}

.steps article {
  position: relative;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(168, 85, 247, 0.14);
  background: rgba(13, 11, 20, 0.48);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.steps {
  border: 0;
}

.steps article > span {
  color: rgba(192, 132, 252, 0.48);
  font-family: var(--ui);
  font-size: 2.5rem;
}

.news-card {
  border-color: rgba(168, 85, 247, 0.2);
  background: #0d0b14;
}

.community-cta {
  background:
    linear-gradient(120deg, rgba(168, 85, 247, 0.16), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(192, 132, 252, 0.08), transparent 24rem),
    #0d0b14;
}

.page-hero h1 {
  text-transform: none;
}

@media (max-width: 860px) {
  .site-header {
    top: 0.5rem;
  }

  .main-nav {
    top: calc(100% + 0.5rem);
    border: 1px solid rgba(168, 85, 247, 0.25);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  }
}

@media (max-width: 620px) {
  .hero {
    place-items: end start;
    min-height: 100svh;
    padding: 7rem 1rem 4rem;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .hero::after {
    top: 35%;
    right: -4rem;
    font-size: 25rem;
  }

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

  .showcase-content::before {
    display: none;
  }

  .section-title-row .eyebrow {
    justify-content: center;
  }
}

/* Installer guide */
.install-guide {
  padding-top: 3rem;
}

.install-guide code {
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background: rgba(168, 85, 247, 0.08);
  color: #e9d5ff;
  font-family: var(--ui);
  font-size: 0.82em;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  position: relative;
  display: grid;
  min-height: 250px;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid rgba(168, 85, 247, 0.2);
  background:
    linear-gradient(145deg, rgba(168, 85, 247, 0.09), transparent 42%),
    rgba(13, 11, 20, 0.82);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.install-steps li::after {
  position: absolute;
  right: -1.5rem;
  bottom: -4rem;
  content: "X";
  color: rgba(192, 132, 252, 0.045);
  font-family: var(--heading);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1;
}

.install-steps li > span {
  color: rgba(192, 132, 252, 0.5);
  font-family: var(--ui);
  font-size: 1.1rem;
}

.install-steps li > div {
  position: relative;
  z-index: 1;
}

.install-steps h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.install-steps p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-label {
  margin-bottom: 0.55rem;
  color: var(--gold-bright);
  font-family: var(--ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.install-notes > div {
  padding: 1.75rem;
  border: 1px solid rgba(168, 85, 247, 0.16);
  background: rgba(13, 11, 20, 0.65);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.install-notes .eyebrow {
  justify-content: flex-start;
}

.install-notes h3 {
  margin-bottom: 0.75rem;
}

.install-notes p,
.install-notes li {
  color: var(--muted);
  line-height: 1.65;
}

.install-notes ul {
  display: grid;
  gap: 0.65rem;
}

.install-notes li {
  position: relative;
  padding-left: 1rem;
}

.install-notes li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  content: "";
  background: var(--gold);
  transform: rotate(45deg);
}

.install-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 0.8rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.14), rgba(13, 11, 20, 0.88));
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.install-download span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-download strong {
  font-family: var(--heading);
  font-size: 1.1rem;
}

@media (max-width: 760px) {
  .install-steps,
  .install-notes {
    grid-template-columns: 1fr;
  }

  .install-steps li {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .install-guide {
    padding-top: 2rem;
  }

  .install-steps li {
    grid-template-columns: 2.5rem 1fr;
    padding: 1.25rem;
  }

  .install-notes > div {
    padding: 1.25rem;
  }

  .install-download {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem;
  }
}
