@font-face {
  font-family: "Plus Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.23e35025.woff2") format("woff2-variations");
  font-weight: 200 800;
}
:root {
  --bg: #02080b;
  --panel: rgba(4, 21, 28, 0.78);
  --panel-strong: #04141b;
  --text: #f2fbff;
  --muted: rgba(242, 251, 255, 0.68);
  --line: rgba(255, 255, 255, 0.11);
  --red: rgb(40, 200, 255);
  --red-soft: rgba(40, 200, 255, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta", Arial, sans-serif;
  background: radial-gradient(circle at 16% 4%, rgba(40, 200, 255, 0.24), transparent 32rem), radial-gradient(circle at 88% 18%, rgba(0, 120, 180, 0.28), transparent 30rem), linear-gradient(180deg, #02090d 0%, #010406 100%);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(2, 10, 14, 0.82);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; }
.brand img { filter: drop-shadow(0 0 18px rgba(40, 200, 255, .55)); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); color: var(--muted); font-size: .94rem; }
.nav-links a:hover, .nav-links [aria-current="page"] { color: var(--white); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red), #8de8ff); color: #021016; box-shadow: 0 12px 34px rgba(40, 200, 255, .3); }
.btn-ghost { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.055); color: white; }
.btn-light { background: white; color: #021016; }
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 130px clamp(18px, 5vw, 76px) 70px;
  overflow: hidden;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(1.18) contrast(1.08); }
.hero-overlay { background: linear-gradient(90deg, rgba(2,10,14,.97) 0%, rgba(2,10,14,.68) 48%, rgba(2,10,14,.3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
.hero-content { position: relative; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: #7ee4ff; font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3.1rem, 8vw, 7.4rem); line-height: .92; max-width: 850px; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.hero-copy { max-width: 610px; color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.26rem); line-height: 1.7; }
.hero-actions, .center-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 54px;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(40, 200, 255, .30);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(4, 24, 32, .86), rgba(2, 10, 14, .76));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-panel p { margin: 10px 0 0; color: var(--muted); }
.status-dot { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 8px; border-radius: 50%; vertical-align: middle; background: rgba(40, 200, 255, .16); border: 1px solid rgba(40, 200, 255, .38); box-shadow: 0 0 24px rgba(40, 200, 255, .22); }
.status-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 16px rgba(40, 200, 255, .85); }
.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 96px 0; }
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 46px; align-items: start; }
.split p, .showcase-copy p, .rules-hero p { color: var(--muted); line-height: 1.7; }
.feature-grid, .step-grid, .city-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card, .step-grid article, .rule-block { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.feature-card { padding: 24px; }
.feature-card span, .rule-block span { display: inline-block; margin-bottom: 28px; color: #7ee4ff; font-weight: 900; }
.feature-card p, .step-grid p, .rule-block p, .site-footer p { color: var(--muted); line-height: 1.65; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.city-card { position: relative; min-height: 440px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-strong); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 18%, rgba(2,10,14,.88) 78%); }
.city-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .35s ease; }
.city-card:hover img { transform: scale(1.05); }
.city-card div { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.city-card p { margin-bottom: 8px; color: #7ee4ff; font-weight: 900; text-transform: uppercase; font-size: .78rem; }
.city-card span { color: var(--muted); }
.showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; }
.video-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel-strong); box-shadow: var(--shadow); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.step-grid article { padding: 26px; }
.step-grid strong { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 8px; background: var(--red); color: #021016; }
.center-actions { justify-content: center; }
.discord-band {
  width: min(1180px, calc(100% - 36px));
  margin: 30px auto 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(40,200,255,.92), rgba(0,72,110,.9)), url("../images/spart.svg") center / cover;
}
.discord-band h2 { max-width: 760px; margin-bottom: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 30px clamp(18px, 4vw, 56px); border-top: 1px solid var(--line); background: rgba(0,0,0,.28); }
.site-footer span { font-weight: 900; }
.site-footer p { margin: 0; font-size: .92rem; }
.rules-hero { width: min(980px, calc(100% - 36px)); margin: 0 auto; padding: 154px 0 48px; }
.rules-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.rules-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; padding-top: 26px; }
.rules-sidebar { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(4,24,32,.72); }
.rules-sidebar h2 { font-size: 1.1rem; }
#rules-menu { display: grid; gap: 8px; }
#rules-menu a { padding: 11px 12px; border-radius: 8px; color: var(--muted); background: rgba(255,255,255,.04); }
#rules-menu a:hover { color: var(--white); background: var(--red-soft); }
.rules-content { display: grid; gap: 18px; }
.rule-block { scroll-margin-top: 96px; padding: clamp(24px, 4vw, 38px); }
.rule-block ul { margin: 22px 0 0; padding: 0; list-style: none; }
.rule-block li { position: relative; padding: 14px 0 14px 26px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(242,251,255,.84); }
.rule-block li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@media (max-width: 860px) {
  .site-header { position: sticky; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: auto; padding-top: 92px; }
  .hero-panel { position: relative; right: auto; bottom: auto; margin-top: 34px; }
  .split, .showcase, .rules-layout { grid-template-columns: 1fr; }
  .feature-grid, .step-grid, .city-cards { grid-template-columns: 1fr; }
  .city-card { min-height: 360px; }
  .discord-band, .site-footer { flex-direction: column; align-items: flex-start; }
  .rules-sidebar { position: static; }
}

.hero-panel strong { vertical-align: middle; }

/* Additions: server status, city areas, gallery, connection guide and mobile Discord CTA */
.server-status {
  padding-top: 70px;
}
.status-board,
.area-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}
.status-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.status-card,
.area-card,
.connect-card {
  border: 1px solid rgba(40, 200, 255, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(4, 24, 32, .82), rgba(2, 10, 14, .78));
  box-shadow: var(--shadow);
}
.status-card {
  min-height: 190px;
  padding: 24px;
}
.status-card span,
.area-card span {
  display: block;
  margin-bottom: 16px;
  color: #7ee4ff;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  line-height: 1.2;
  word-break: break-word;
}
.status-card p,
.area-card p,
.connect-card p {
  color: var(--muted);
  line-height: 1.65;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 16px;
  border: 1px solid rgba(40, 200, 255, .28);
  border-radius: 999px;
  background: rgba(40, 200, 255, .11);
  color: #eafaff;
  cursor: pointer;
  font-weight: 800;
  transition: background .2s ease, transform .2s ease;
}
.copy-btn:hover {
  background: rgba(40, 200, 255, .18);
  transform: translateY(-2px);
}
.copy-btn.is-copied {
  background: rgb(40, 200, 255);
  color: #021016;
}
.area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.area-card {
  min-height: 250px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.area-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(40, 200, 255, .09);
}
.gallery-grid {
  grid-template-columns: 1.3fr .9fr .9fr;
  grid-auto-rows: 210px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(40, 200, 255, .16);
  border-radius: 8px;
  filter: saturate(1.05) contrast(1.04);
}
.gallery-grid img:first-child {
  grid-row: span 2;
}
.connect-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: stretch;
}
.connect-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.connect-card code {
  display: block;
  margin: 14px 0 4px;
  padding: 16px;
  border: 1px solid rgba(40, 200, 255, .20);
  border-radius: 8px;
  background: rgba(0, 0, 0, .24);
  color: #bff3ff;
  white-space: normal;
  word-break: break-word;
}
.connect-card .btn {
  margin-top: 12px;
}
@media (max-width: 980px) {
  .status-board,
  .area-grid,
  .connect-layout {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
  .gallery-grid img:first-child {
    grid-row: span 1;
  }
  .status-card,
  .area-card,
  .connect-card {
    min-height: auto;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.verified-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(40, 200, 255);
  box-shadow: 0 0 18px rgba(40, 200, 255, .38);
  flex: 0 0 auto;
}
.verified-badge::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #021016;
  border-bottom: 2px solid #021016;
  transform: rotate(-45deg) translate(1px, -1px);
}