:root {
  --bg: #080a0d;
  --bg-soft: #0d1014;
  --surface: #11151a;
  --surface-2: #161b21;
  --surface-3: #1b2128;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f8f9;
  --muted: #9ba6ae;
  --muted-dark: #6f7980;
  --red: #ff4057;
  --red-dark: #a91c31;
  --cyan: #22d3ee;
  --green: #42d98b;
  --shell: 1180px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 64, 87, 0.09), transparent 24rem),
    radial-gradient(circle at 90% 24%, rgba(34, 211, 238, 0.055), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Leelawadee UI", "Noto Sans Thai", Tahoma, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.013) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.shell {
  width: min(calc(100% - 44px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.86);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 38px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 7px 15px rgba(255, 64, 87, 0.18));
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.45px;
  line-height: 1.1;
}

.brand-copy strong span {
  color: var(--red);
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted-dark);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2.3px;
}

.main-nav {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  color: #abb4bb;
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-status {
  display: inline-flex;
  min-height: 38px;
  margin-left: auto;
  padding: 0 15px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 12px;
}

.header-status b {
  color: #fff;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(66, 217, 139, 0.1), 0 0 14px rgba(66, 217, 139, 0.65);
}

.launcher-hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #090b0e;
}

.launcher-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(transparent, #090b0e);
  content: "";
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.98) 0%, rgba(7, 9, 12, 0.91) 35%, rgba(7, 9, 12, 0.38) 61%, rgba(7, 9, 12, 0.17) 82%, rgba(7, 9, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.16), rgba(9, 11, 14, 0.22) 62%, #090b0e 98%),
    url("../images/launcher/hero-urban-fantasy-clean.png") center center / cover no-repeat;
  filter: saturate(1.04) contrast(1.07);
  transform: scale(1.015);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 74%);
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.2;
  pointer-events: none;
}

.hero-orb-red {
  top: 160px;
  left: -90px;
  width: 390px;
  height: 390px;
  background: var(--red);
}

.hero-orb-cyan {
  top: 70px;
  right: 10%;
  width: 230px;
  height: 230px;
  background: var(--cyan);
  opacity: 0.09;
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 590px;
  padding: 82px 0 120px;
  grid-template-columns: minmax(0, 720px);
  align-items: center;
}

.hero-main {
  min-width: 0;
}

.hero-slider,
.hero-slides {
  position: relative;
}

.hero-slides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  max-width: 720px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 400ms ease, transform 500ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.eyebrow {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
  color: #a9b2b9;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.8px;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--server-accent, var(--red));
  box-shadow: 0 0 10px var(--server-accent, var(--red));
}

.hero-label {
  margin: 0 0 8px;
  color: var(--server-accent, var(--red));
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-slide .hero-headline,
.hero-empty-copy .hero-headline {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -2.4px;
  line-height: 1.06;
  overflow-wrap: anywhere;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.75);
}

.hero-empty-copy .hero-headline em {
  color: var(--red);
  font-style: normal;
}

.hero-description {
  max-width: 620px;
  margin: 22px 0 0;
  color: #b4bec5;
  font-size: 15px;
  line-height: 1.8;
}

.hero-tags {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.hero-tags > span {
  display: inline-flex;
  min-height: 31px;
  padding: 0 12px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 10, 13, 0.57);
  color: #c6cdd2;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.hero-tags .server-type {
  border-color: color-mix(in srgb, var(--server-accent) 55%, transparent);
  color: var(--server-accent);
}

.hero-tags .status-dot {
  width: 6px;
  height: 6px;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--server-accent, var(--red)), color-mix(in srgb, var(--server-accent, var(--red)) 56%, #16191e));
  box-shadow: 0 15px 35px color-mix(in srgb, var(--server-accent, var(--red)) 18%, transparent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 40px color-mix(in srgb, var(--server-accent, var(--red)) 28%, transparent);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: #d3d9dd;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.slider-controls {
  display: flex;
  margin-top: 42px;
  align-items: center;
  gap: 13px;
}

.slider-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.03);
  color: #b7bfc5;
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  border-color: var(--red);
  color: #fff;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slider-dots button {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.slider-dots button.is-active {
  width: 42px;
  background: var(--red);
}

.hero-console {
  position: relative;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(23, 28, 34, 0.88), rgba(10, 13, 17, 0.94)),
    rgba(10, 13, 17, 0.9);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-console::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 82px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 64, 87, 0.65);
  content: "";
}

.console-head {
  display: flex;
  height: 48px;
  padding: 0 17px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: #8e999f;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.console-visual {
  position: relative;
  display: grid;
  height: 215px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 22px 22px;
}

.console-visual::before,
.console-visual::after {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(255, 64, 87, 0.42), transparent);
  content: "";
}

.console-visual::after {
  width: 100%;
  height: 1px;
}

.console-rings {
  display: grid;
  width: 142px;
  height: 142px;
  place-items: center;
  border: 1px solid rgba(255, 64, 87, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 40px rgba(255, 64, 87, 0.035);
}

.console-rings::before,
.console-rings::after {
  position: absolute;
  border: 1px dashed rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  content: "";
}

.console-rings::before {
  width: 108px;
  height: 108px;
  animation: console-spin 18s linear infinite;
}

.console-rings::after {
  width: 172px;
  height: 172px;
  border-color: rgba(255, 255, 255, 0.08);
  animation: console-spin 28s linear infinite reverse;
}

.console-core {
  display: grid;
  z-index: 1;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(255, 64, 87, 0.45);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 64, 87, 0.23), rgba(255, 64, 87, 0.035) 65%);
  box-shadow: 0 0 35px rgba(255, 64, 87, 0.17);
  color: #fff;
}

.console-core svg {
  width: 30px;
  height: 30px;
}

.console-line {
  position: absolute;
  width: 35px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.65);
  opacity: 0.55;
}

.line-a {
  top: 54px;
  left: 38px;
}

.line-b {
  right: 28px;
  bottom: 58px;
  width: 52px;
  background: var(--red);
}

.line-c {
  bottom: 27px;
  left: 66px;
  width: 20px;
}

.console-stats {
  display: grid;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.console-stats div {
  min-width: 0;
  padding: 14px 9px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.console-stats div:last-child {
  border-right: 0;
}

.console-stats span,
.console-stats strong {
  display: block;
  font-family: "Segoe UI", Arial, sans-serif;
}

.console-stats span {
  overflow: hidden;
  color: #69737a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-stats strong {
  margin-top: 6px;
  color: #eaf0f3;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.hero-console > p {
  margin: 0;
  padding: 17px 18px 19px;
  color: #7f8a91;
  font-size: 11px;
  line-height: 1.65;
}

.trust-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 76px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(13, 16, 20, 0.9);
  grid-template-columns: 1.2fr repeat(4, 1fr);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.trust-strip > * {
  display: flex;
  height: 100%;
  padding: 0 24px;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
}

.trust-strip > *:last-child {
  border-right: 0;
}

.trust-strip .trust-title {
  color: #5f6970;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2.3px;
}

.trust-strip div {
  color: #aab3b9;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.trust-strip svg {
  width: 19px;
  height: 19px;
  color: var(--red);
}

.services-section,
.game-showcase-section,
.servers-section,
.about-section {
  position: relative;
  padding: 104px 0;
}

.services-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.05), transparent 30rem),
    linear-gradient(180deg, #090b0e, #0d1014);
}

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

.section-heading-split {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 80px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.7px;
}

.section-heading h2,
.about-copy h2 {
  margin: 0;
  color: #f8fafb;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
}

.section-heading > p:last-child,
.section-heading-split > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.section-heading-split > p {
  margin: 0 0 5px;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 30px 27px 34px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition: background 200ms ease, transform 200ms ease;
}

.service-card:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-3px);
}

.service-card.is-featured {
  background:
    linear-gradient(155deg, rgba(255, 64, 87, 0.11), transparent 58%),
    rgba(255, 255, 255, 0.024);
}

.service-number {
  color: #414a51;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 54px 0 24px;
  place-items: center;
  border: 1px solid rgba(255, 64, 87, 0.28);
  background: rgba(255, 64, 87, 0.07);
  color: var(--red);
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-card h3 {
  margin: 0;
  color: #f5f7f8;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 19px;
}

.service-card p {
  margin: 13px 0 0;
  color: #858f96;
  font-size: 12px;
  line-height: 1.8;
}

.service-line {
  position: absolute;
  right: 27px;
  bottom: 25px;
  left: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--red) 0 38px, var(--line) 38px);
}

.game-showcase-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 64, 87, 0.09), transparent 28rem),
    radial-gradient(circle at 5% 90%, rgba(34, 211, 238, 0.05), transparent 26rem),
    #0a0c0f;
}

.game-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.68fr);
  grid-template-rows: repeat(2, 276px);
  gap: 18px;
}

.game-feature {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11151a;
  isolation: isolate;
}

.game-feature-wide {
  grid-row: 1 / span 2;
}

.game-feature::after {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 86px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255, 64, 87, 0.6);
  content: "";
}

.game-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.01);
  transition: filter 450ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-feature:hover img {
  filter: saturate(1.08) contrast(1.08);
  transform: scale(1.045);
}

.game-feature-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 26%, rgba(5, 7, 10, 0.22) 52%, rgba(5, 7, 10, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.36), transparent 54%);
}

.game-feature-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.game-feature-wide .game-feature-copy {
  max-width: 640px;
  padding: 38px;
}

.game-feature-copy > span {
  color: #ff7182;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.game-feature-copy h3 {
  margin: 9px 0 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.35;
  text-shadow: 0 2px 16px #000;
}

.game-feature-wide .game-feature-copy h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.game-feature-copy p {
  max-width: 560px;
  margin: 9px 0 0;
  color: #b6c0c6;
  font-size: 11px;
  line-height: 1.7;
}

.servers-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 30%, rgba(255, 64, 87, 0.06), transparent 28rem),
    #0a0c0f;
}

.server-toolbar {
  display: grid;
  margin-bottom: 28px;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 20px;
}

.server-search {
  display: flex;
  height: 46px;
  padding: 0 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #101419;
  color: #626d74;
}

.server-search:focus-within {
  border-color: rgba(255, 64, 87, 0.52);
  box-shadow: 0 0 0 3px rgba(255, 64, 87, 0.07);
  color: var(--red);
}

.server-search svg {
  width: 18px;
  height: 18px;
}

.server-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef1f3;
  font-size: 12px;
}

.server-search input::placeholder {
  color: #626d74;
}

.server-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.server-filters button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #909aa1;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.server-filters button span {
  margin-left: 4px;
  color: #59636a;
}

.server-filters button:hover,
.server-filters button:focus-visible,
.server-filters button.is-active {
  border-color: rgba(255, 64, 87, 0.45);
  background: rgba(255, 64, 87, 0.08);
  color: #fff;
}

.server-filters button.is-active span {
  color: #ff8a98;
}

.result-count {
  color: #626c73;
  font-size: 10px;
  white-space: nowrap;
}

.result-count b {
  color: #fff;
}

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

.server-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #12171c, #0d1115);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.server-card[hidden] {
  display: none;
}

.server-card:hover,
.server-card:focus-visible {
  border-color: color-mix(in srgb, var(--server-accent) 48%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
  outline: 0;
  transform: translateY(-5px);
}

.server-cover {
  position: relative;
  height: 170px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 35%, color-mix(in srgb, var(--server-accent) 36%, transparent), transparent 38%),
    linear-gradient(135deg, color-mix(in srgb, var(--server-accent) 19%, #11161c), #090c10 74%);
}

.server-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.78);
  transform: scale(1.015);
  transition: filter 450ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.server-card:hover .server-cover-image,
.server-card:focus-visible .server-cover-image {
  filter: saturate(1.04) contrast(1.08) brightness(0.9);
  transform: scale(1.075);
}

.server-cover-tone {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.22) 48%, rgba(5, 7, 10, 0.84) 100%),
    linear-gradient(100deg, color-mix(in srgb, var(--server-accent) 22%, transparent), transparent 56%);
}

.server-cover::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.055) 50%, transparent 70%);
  content: "";
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.server-card:hover .server-cover::after {
  transform: translateX(100%);
}

.server-cover-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 27px 27px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
  opacity: 0.5;
}

.server-monogram {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: -12px;
  color: rgba(255, 255, 255, 0.1);
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 35px color-mix(in srgb, var(--server-accent) 18%, transparent);
  user-select: none;
}

.server-chip {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 17px;
  min-height: 25px;
  padding: 5px 9px 0;
  border: 1px solid color-mix(in srgb, var(--server-accent) 48%, transparent);
  background: rgba(7, 9, 12, 0.56);
  color: var(--server-accent);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.server-scan {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  width: 35%;
  height: 2px;
  background: var(--server-accent);
  box-shadow: 0 0 14px var(--server-accent);
}

.server-body {
  padding: 22px 22px 20px;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667078;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.server-status .status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px rgba(66, 217, 139, 0.6);
}

.server-card h3 {
  margin: 11px 0 0;
  overflow: hidden;
  color: #f5f7f8;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-card p {
  margin: 7px 0 20px;
  color: #747f86;
  font-size: 11px;
}

.server-link {
  display: flex;
  padding-top: 16px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #abb4ba;
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease;
}

.server-link svg {
  width: 16px;
  height: 16px;
  color: var(--server-accent);
}

.server-card:hover .server-link {
  color: #fff;
}

.filter-empty,
.server-empty {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.filter-empty {
  padding: 60px 24px;
  text-align: center;
}

.filter-empty[hidden] {
  display: none;
}

.filter-empty-icon,
.server-empty-visual {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 64, 87, 0.24);
  background: rgba(255, 64, 87, 0.06);
  color: var(--red);
}

.filter-empty-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
}

.filter-empty h3,
.server-empty h3 {
  margin: 0;
  font-size: 21px;
}

.filter-empty p,
.server-empty p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.server-empty {
  display: flex;
  min-height: 190px;
  padding: 34px;
  align-items: center;
  gap: 28px;
}

.server-empty-visual {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.server-empty-visual svg {
  width: 40px;
  height: 40px;
}

.server-empty .section-kicker {
  margin-top: 0;
}

.about-section {
  padding-top: 28px;
  background: #0a0c0f;
}

.about-panel {
  display: grid;
  min-height: 250px;
  padding: 50px 54px;
  align-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255, 64, 87, 0.09), transparent 33%),
    linear-gradient(90deg, #12161b, #0d1115);
  box-shadow: var(--shadow);
  grid-template-columns: 90px 1fr 1fr;
  gap: 34px;
}

.about-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-right: 1px solid var(--line);
}

.about-mark img {
  width: 60px;
  height: 60px;
}

.about-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.about-panel > p {
  margin: 0;
  color: #8f999f;
  font-size: 13px;
  line-height: 1.9;
}

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

.footer-main {
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 28px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-main > p {
  margin: 0;
  color: #737e85;
  font-size: 11px;
}

.footer-top {
  margin-left: auto;
  color: #6c767d;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.footer-top:hover {
  color: var(--red);
}

.footer-legal {
  display: flex;
  min-height: 58px;
  padding: 14px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #505a61;
  font-size: 9px;
  line-height: 1.6;
}

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

@media (max-width: 1050px) {
  .hero-shell {
    grid-template-columns: minmax(0, 690px);
  }

  .main-nav {
    gap: 20px;
  }

  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-title {
    display: none !important;
  }

  .server-toolbar {
    grid-template-columns: 280px 1fr;
  }

  .result-count {
    display: none;
  }

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

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

  .about-panel {
    grid-template-columns: 80px 1fr;
  }

  .about-panel > p {
    grid-column: 2;
  }
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 145px;
    grid-template-columns: 1fr;
  }

  .launcher-hero {
    min-height: 680px;
  }

  .hero-backdrop {
    background-position: 68% center;
    opacity: 0.7;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading-split > p {
    max-width: 620px;
  }

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

  .server-search {
    width: 100%;
  }

  .game-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .game-feature,
  .game-feature-wide {
    min-height: 310px;
    grid-row: auto;
  }

  .about-panel {
    padding: 42px 34px;
  }
}

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

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: 1.8px;
  }

  .header-status {
    width: 37px;
    height: 37px;
    min-height: 37px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header-status span:last-child {
    display: none;
  }

  .launcher-hero {
    min-height: 700px;
  }

  .hero-shell {
    padding-top: 62px;
    padding-bottom: 150px;
  }

  .hero-slide .hero-headline,
  .hero-empty-copy .hero-headline {
    font-size: clamp(38px, 12vw, 52px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 13px;
  }

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

  .slider-controls {
    margin-top: 30px;
  }

  .trust-strip {
    min-height: 78px;
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip > * {
    min-height: 39px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div {
    font-size: 9px;
  }

  .trust-strip svg {
    width: 15px;
    height: 15px;
  }

  .services-section,
  .game-showcase-section,
  .servers-section,
  .about-section {
    padding: 76px 0;
  }

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

  .service-card {
    min-height: 285px;
  }

  .service-icon {
    margin-top: 34px;
  }

  .game-feature,
  .game-feature-wide {
    min-height: 255px;
  }

  .game-feature-copy,
  .game-feature-wide .game-feature-copy {
    padding: 22px;
  }

  .game-feature-copy h3,
  .game-feature-wide .game-feature-copy h3 {
    font-size: 23px;
  }

  .server-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .server-filters button {
    flex: 0 0 auto;
  }

  .server-empty {
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-section {
    padding-top: 5px;
  }

  .about-panel {
    padding: 35px 25px;
    grid-template-columns: 1fr;
  }

  .about-mark {
    width: 66px;
    height: 66px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-mark img {
    width: 50px;
    height: 50px;
  }

  .about-panel > p {
    grid-column: auto;
  }

  .footer-main {
    padding: 28px 0;
    flex-wrap: wrap;
  }

  .footer-main > p {
    width: 100%;
    order: 3;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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

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