:root {
  --background: #02060d;
  --background-soft: #07111f;
  --surface: rgba(9, 24, 43, 0.74);
  --surface-strong: #0a1b30;
  --line: rgba(137, 211, 255, 0.18);
  --line-bright: rgba(137, 211, 255, 0.42);
  --text: #f6fbff;
  --muted: #91a7ba;
  --ice: #83d7ff;
  --ice-light: #dff7ff;
  --blue: #168dff;
  --deep-blue: #0758b8;
  --green: #6fffb0;
  --font-body: "Kanit", system-ui, sans-serif;
  --font-display: "Orbitron", system-ui, sans-serif;
  --container: 1180px;
  --shadow: 0 28px 90px rgba(0, 81, 164, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 123, 255, 0.11), transparent 28rem),
    radial-gradient(circle at 85% 35%, rgba(63, 196, 255, 0.08), transparent 30rem),
    var(--background);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: 240ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(2, 7, 14, 0.86);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(72, 183, 255, 0.38));
}

.brand > span > span {
  color: var(--ice);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  position: relative;
  color: #b5c5d3;
  font-size: 15px;
  font-weight: 400;
  transition: 180ms ease;
}

.nav-links > a:not(.nav-discord)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--ice);
  transition: 180ms ease;
}

.nav-links > a:hover,
.nav-links > a.active {
  color: var(--text);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
  width: 100%;
}

.nav-links .nav-discord {
  padding: 10px 18px;
  color: var(--ice-light);
  border: 1px solid var(--line-bright);
  background: rgba(17, 112, 200, 0.14);
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  color: white;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 128px 0 70px;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(rgba(74, 160, 226, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 160, 226, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  bottom: -370px;
  width: 1100px;
  height: 650px;
  transform: translateX(-50%);
  border: 1px solid rgba(89, 186, 255, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(74, 171, 255, 0.025),
    0 0 0 160px rgba(74, 171, 255, 0.018);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ice);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-shadow: 0 0 36px rgba(56, 164, 255, 0.18);
}

.hero h1 span {
  display: block;
  margin-top: 15px;
  color: transparent;
  -webkit-text-stroke: 1px var(--ice);
  text-stroke: 1px var(--ice);
  filter: drop-shadow(0 0 16px rgba(68, 183, 255, 0.35));
}

.hero-description {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 300;
  line-height: 1.9;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  clip-path: polygon(11px 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%, 0 11px);
}

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

.button-primary {
  color: #001321;
  border-color: #aae9ff;
  background: linear-gradient(135deg, #e5faff, #5bc6ff);
  box-shadow: 0 10px 35px rgba(54, 174, 255, 0.24);
}

.button-primary:hover {
  box-shadow: 0 14px 42px rgba(54, 174, 255, 0.4);
}

.button-secondary {
  border-color: var(--line-bright);
  color: var(--ice-light);
  background: rgba(8, 31, 55, 0.56);
}

.button-secondary:hover {
  border-color: var(--ice);
  background: rgba(15, 75, 126, 0.38);
}

.button-icon {
  font-size: 11px;
}

.quick-stats {
  max-width: 570px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: var(--line);
}

.quick-stats > div {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px 20px;
  background: rgba(3, 12, 23, 0.92);
}

.quick-stats strong {
  color: var(--ice-light);
  font-family: var(--font-display);
  font-size: 18px;
}

.quick-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.hero-visual > img {
  position: relative;
  z-index: 4;
  width: min(92%, 560px);
  filter:
    drop-shadow(0 45px 60px rgba(0, 0, 0, 0.74))
    drop-shadow(0 0 35px rgba(37, 160, 255, 0.28));
  animation: logo-float 5s ease-in-out infinite;
}

.logo-platform {
  position: absolute;
  z-index: 2;
  bottom: 9%;
  width: 70%;
  height: 16%;
  border: 1px solid rgba(93, 194, 255, 0.36);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(49, 165, 255, 0.24), transparent 66%);
  filter: blur(1px);
  transform: perspective(520px) rotateX(64deg);
  box-shadow: 0 0 80px rgba(15, 122, 220, 0.22);
}

.logo-orbit {
  position: absolute;
  z-index: 1;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(99, 196, 255, 0.15);
  border-radius: 50%;
}

.logo-orbit::before,
.logo-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 18px var(--ice);
}

.logo-orbit::before {
  top: 8%;
  left: 24%;
}

.logo-orbit::after {
  right: 6%;
  bottom: 30%;
}

.orbit-one {
  animation: orbit-spin 18s linear infinite;
}

.orbit-two {
  width: 390px;
  height: 390px;
  border-style: dashed;
  animation: orbit-spin 13s linear infinite reverse;
}

.floating-tag {
  position: absolute;
  z-index: 6;
  padding: 9px 13px;
  border: 1px solid var(--line-bright);
  color: var(--ice-light);
  background: rgba(2, 11, 22, 0.88);
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.13em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.tag-online {
  top: 26%;
  right: 2%;
}

.tag-online span {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.tag-season {
  left: 2%;
  bottom: 24%;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.24;
}

.hero-glow-one {
  top: 10%;
  right: 8%;
  width: 450px;
  height: 450px;
  background: #006eff;
}

.hero-glow-two {
  left: 12%;
  bottom: 12%;
  width: 260px;
  height: 260px;
  background: #00b8ff;
  opacity: 0.08;
}

.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  width: 26px;
  height: 42px;
  transform: translateX(-50%);
  border: 1px solid var(--line-bright);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ice);
  animation: scroll-dot 1.8s infinite;
}

.section {
  position: relative;
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 50px;
}

.section-heading h2,
.cta-box h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.section-heading h2 span {
  color: var(--ice);
}

.section-heading > p:last-child,
.heading-row > p,
.cta-box p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}

.heading-row {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 50px;
}

.glass-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(17, 44, 73, 0.7), rgba(4, 14, 27, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.about-section::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -250px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.06);
  filter: blur(80px);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.about-story {
  position: relative;
  min-height: 420px;
  padding: 52px;
  overflow: hidden;
}

.about-story::after {
  content: "S";
  position: absolute;
  right: -20px;
  bottom: -110px;
  color: rgba(107, 199, 255, 0.035);
  font-family: var(--font-display);
  font-size: 420px;
  font-weight: 800;
  line-height: 1;
}

.card-number {
  color: var(--ice);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.about-story h3 {
  max-width: 490px;
  margin: 60px 0 18px;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.2;
}

.about-story p {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.text-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 10px;
  margin-top: 35px;
  color: var(--ice);
}

.about-points {
  display: grid;
  gap: 18px;
}

.mini-card {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.mini-card:hover {
  transform: translateX(6px);
  border-color: var(--line-bright);
}

.mini-icon {
  flex: 0 0 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  color: var(--ice);
  background: rgba(40, 147, 225, 0.08);
  font-size: 22px;
}

.mini-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.features-section {
  background:
    linear-gradient(rgba(75, 175, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 175, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 35px;
  overflow: hidden;
  background: rgba(3, 12, 23, 0.94);
  transition: background 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(111, 205, 255, 0.1);
  transform: rotate(45deg);
  transition: 220ms ease;
}

.feature-card:hover {
  background: rgba(7, 27, 47, 0.98);
}

.feature-card:hover::after {
  right: -40px;
  bottom: -40px;
  border-color: rgba(111, 205, 255, 0.3);
}

.feature-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(154, 217, 255, 0.26);
  font-family: var(--font-display);
  font-size: 11px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 43px;
  border: 1px solid var(--line-bright);
  color: var(--ice);
  background: rgba(34, 134, 212, 0.08);
  font-size: 23px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.server-section {
  overflow: hidden;
}

.server-section::before {
  content: "";
  position: absolute;
  right: -200px;
  bottom: -250px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(91, 189, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(91, 189, 255, 0.018),
    0 0 0 180px rgba(91, 189, 255, 0.012);
}

.server-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  overflow: hidden;
}

.server-main {
  padding: 50px;
}

.server-status {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  color: var(--green);
  border: 1px solid rgba(111, 255, 176, 0.3);
  background: rgba(41, 180, 105, 0.08);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.server-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.server-region {
  margin: 45px 0 8px;
  color: var(--ice);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.server-main h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.1;
}

.server-address {
  margin: 15px 0 0;
  color: var(--muted);
  font-family: monospace;
  font-size: 15px;
}

.server-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--line);
  background: rgba(2, 10, 20, 0.55);
}

.server-details > div {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.server-details > div:nth-child(even) {
  border-right: 0;
}

.server-details > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.server-details span {
  color: var(--muted);
  font-size: 12px;
}

.server-details strong {
  margin-top: 8px;
  color: var(--ice-light);
  font-family: var(--font-display);
  font-size: 16px;
}

.cta-section {
  padding: 80px 0;
}

.cta-box {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 42px 50px;
  border: 1px solid var(--line-bright);
  background:
    linear-gradient(110deg, rgba(5, 23, 41, 0.94), rgba(9, 52, 88, 0.78)),
    var(--background-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  right: 10%;
  top: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(116, 210, 255, 0.12);
  border-radius: 50%;
}

.cta-box > img {
  width: 135px;
  filter: drop-shadow(0 0 25px rgba(64, 175, 255, 0.28));
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.cta-box p:last-child {
  margin-bottom: 0;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.footer-brand span,
.footer-layout p,
.footer-layout > a {
  color: var(--muted);
  font-size: 12px;
}

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

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  padding: 13px 20px;
  transform: translate(-50%, 30px);
  border: 1px solid var(--line-bright);
  color: var(--ice-light);
  background: rgba(3, 17, 31, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: 220ms ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scroll-dot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(2, 10, 19, 0.97);
    backdrop-filter: blur(18px);
    transform: translateY(-15px);
    opacity: 0;
    visibility: hidden;
    transition: 180ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links > a {
    padding: 15px;
  }

  .nav-links .nav-discord {
    margin-top: 7px;
    text-align: center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 520px;
    order: -1;
  }

  .hero-visual > img {
    width: min(75vw, 480px);
  }

  .tag-online {
    right: 10%;
  }

  .tag-season {
    left: 10%;
  }

  .about-grid,
  .heading-row,
  .server-card {
    grid-template-columns: 1fr;
  }

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

  .server-details {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .cta-box {
    grid-template-columns: auto 1fr;
  }

  .cta-box > .button {
    grid-column: 1 / -1;
    width: max-content;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .navbar {
    min-height: 72px;
  }

  .nav-links {
    top: 72px;
    right: 14px;
    left: 14px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-visual {
    min-height: 365px;
  }

  .logo-orbit {
    width: 310px;
    height: 310px;
  }

  .orbit-two {
    width: 245px;
    height: 245px;
  }

  .floating-tag {
    font-size: 7px;
  }

  .tag-online {
    top: 22%;
    right: 0;
  }

  .tag-season {
    left: 0;
    bottom: 18%;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-actions,
  .server-actions {
    width: 100%;
  }

  .hero-actions .button,
  .server-actions .button {
    width: 100%;
  }

  .quick-stats {
    width: 100%;
  }

  .quick-stats > div {
    padding: 10px;
  }

  .quick-stats strong {
    font-size: 14px;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .about-story,
  .server-main {
    padding: 30px 24px;
  }

  .about-story {
    min-height: auto;
  }

  .about-story h3 {
    margin-top: 38px;
  }

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

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

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

  .server-details > div {
    min-height: 105px;
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .server-details > div:last-child {
    border-bottom: 0 !important;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 34px 25px;
    text-align: center;
  }

  .cta-box > img,
  .cta-box > .button {
    margin-inline: auto;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 30px 0;
    text-align: center;
  }

  .footer-layout > a {
    justify-self: center;
  }

  .scroll-cue {
    display: none;
  }
}

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

/* =========================================================
   Quick links (About section shortcuts to Store / Stats / Guide)
   ========================================================= */

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
}

.quick-link-icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  color: var(--ice);
  background: rgba(40, 147, 225, 0.08);
  font-size: 19px;
}

.quick-link-card h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.quick-link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.quick-link-arrow {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--ice);
  opacity: 0.6;
  transition: 180ms ease;
}

.quick-link-card:hover .quick-link-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* =========================================================
   Store section
   ========================================================= */

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

.store-loading,
.table-loading {
  padding: 40px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  grid-column: 1 / -1;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px 32px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 44, 73, 0.7), rgba(4, 14, 27, 0.78));
  box-shadow: var(--shadow);
}

.package-card.is-featured {
  border-color: var(--line-bright);
  background: linear-gradient(150deg, rgba(22, 141, 255, 0.16), rgba(4, 14, 27, 0.86));
}

.package-badge {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 7px 14px;
  color: #001321;
  background: linear-gradient(135deg, #e5faff, #5bc6ff);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.package-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.package-price {
  margin: 14px 0 22px;
  color: var(--ice-light);
  font-family: var(--font-display);
  font-size: 34px;
}

.package-price span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
}

.package-features {
  flex: 1;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.package-features li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.package-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--green);
}

.store-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* =========================================================
   Stats / Leaderboard section
   ========================================================= */

.stats-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.toolbar-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.toolbar-field select,
.toolbar-field input {
  min-width: 160px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(9, 24, 43, 0.74);
  font-family: var(--font-body);
  font-size: 13px;
}

.toolbar-field select:focus,
.toolbar-field input:focus {
  outline: none;
  border-color: var(--line-bright);
}

.toolbar-search {
  flex: 1;
  min-width: 200px;
}

.toolbar-search input {
  min-width: 100%;
}

.leaderboard-wrap {
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
}

.leaderboard-table thead th {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leaderboard-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.leaderboard-table tbody tr:last-child {
  border-bottom: 0;
}

.leaderboard-table tbody tr:hover {
  background: rgba(22, 141, 255, 0.06);
}

.leaderboard-table td {
  font-size: 13.5px;
}

.rank-cell {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
}

.rank-cell.rank-top {
  color: var(--ice);
}

.player-cell {
  color: var(--ice-light);
  font-weight: 500;
}

.table-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* =========================================================
   Commands section
   ========================================================= */

.commands-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tab-button {
  padding: 11px 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(9, 24, 43, 0.5);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: 180ms ease;
}

.tab-button:hover {
  color: var(--text);
  border-color: var(--line-bright);
}

.tab-button.is-active {
  color: #001321;
  border-color: #aae9ff;
  background: linear-gradient(135deg, #e5faff, #5bc6ff);
}

.command-panels {
  padding: 10px 0;
}

.command-row {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
}

.command-row:last-child {
  border-bottom: 0;
}

.command-name {
  color: var(--ice-light);
  font-family: monospace;
  font-size: 14px;
}

.command-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.command-tag {
  justify-self: end;
  padding: 5px 11px;
  color: var(--ice);
  border: 1px solid var(--line-bright);
  background: rgba(22, 141, 255, 0.08);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.command-tag.tag-vip {
  color: #ffd67e;
  border-color: rgba(255, 214, 126, 0.4);
  background: rgba(255, 214, 126, 0.08);
}

/* =========================================================
   Guide section
   ========================================================= */

.guide-steps {
  display: grid;
  gap: 14px;
}

.guide-step {
  border: 1px solid var(--line);
  background: rgba(9, 24, 43, 0.4);
}

.guide-step > summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
}

.guide-step > summary::-webkit-details-marker {
  display: none;
}

.guide-step-number {
  flex-shrink: 0;
  color: var(--ice);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.guide-step-title {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
}

.guide-step-caret {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 200ms ease;
}

.guide-step[open] .guide-step-caret {
  transform: rotate(180deg);
}

.guide-step-body {
  padding: 0 28px 26px 68px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.guide-step-body p {
  margin: 0 0 10px;
}

.guide-step-body p:last-child {
  margin-bottom: 0;
}

.guide-step-body code {
  padding: 2px 7px;
  color: var(--ice-light);
  background: rgba(22, 141, 255, 0.1);
  font-size: 13px;
}

.guide-tip {
  margin-top: 12px;
  padding: 12px 16px;
  border-left: 2px solid var(--ice);
  color: var(--ice-light);
  background: rgba(22, 141, 255, 0.06);
  font-size: 13px;
}

/* =========================================================
   Server status grid (multi-server ready)
   ========================================================= */

.status-grid {
  display: grid;
  gap: 24px;
}

#server-status-note {
  font-size: 12.5px;
}

.server-status.is-checking {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(145, 167, 186, 0.08);
}

.server-status.is-checking span {
  background: var(--muted);
  box-shadow: none;
  animation: status-pulse 1.4s ease-in-out infinite;
}

.server-status.is-offline {
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.3);
  background: rgba(255, 90, 90, 0.08);
}

.server-status.is-offline span {
  background: #ff8f8f;
  box-shadow: 0 0 12px #ff8f8f;
}

.server-help-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* =========================================================
   Footer (extended with quick links)
   ========================================================= */

.footer-grid {
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand links"
    "copy top";
  align-items: center;
  row-gap: 24px;
}

.footer-brand { grid-area: brand; }

.footer-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-self: end;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--ice);
}

.footer-copy {
  grid-area: copy;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-top {
  grid-area: top;
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
}

/* =========================================================
   New sections responsive behaviour
   ========================================================= */

@media (max-width: 980px) {
  .quick-links {
    grid-template-columns: 1fr;
  }

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

  .command-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .command-tag {
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "links"
      "copy"
      "top";
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-self: center;
  }

  .footer-top {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .guide-step-body {
    padding-left: 28px;
  }

  .stats-toolbar {
    flex-direction: column;
  }

  .toolbar-field select,
  .toolbar-field input {
    min-width: 100%;
  }
}
