﻿:root {

  --bg:        #05070e;
  --bg-2:      #070b16;
  --panel:     #0a1020;
  --panel-2:   #0c1426;
  --panel-3:   #101a31;
  --line:      rgba(94,163,255,0.14);
  --line-soft: rgba(94,163,255,0.07);

  --blue:      #4ea3ff;
  --blue-br:   #7cc0ff;
  --blue-deep: #2f7bff;
  --blue-glow: rgba(78,163,255,0.55);

  --green:     #36d399;
  --green-dim: rgba(54,211,153,0.14);
  --amber:     #f2b34b;

  --tx:        #e9eefb;
  --tx-2:      #9fb0cc;
  --tx-3:      #5d6e8c;

  --f-disp: "Saira", system-ui, sans-serif;
  --f-ui:   "Chakra Petch", system-ui, sans-serif;
  --f-mono: "Share Tech Mono", ui-monospace, monospace;

  --maxw: 1500px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; background: #020617; }
::-webkit-scrollbar-track { background: rgba(0, 149, 255, 0.05); }
::-webkit-scrollbar-thumb { background: linear-gradient(#1a4a7a, #1e5a96); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#1e5a96, #2567ad); }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-disp);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(47,123,255,0.16), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(47,123,255,0.08), transparent 55%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

.eyebrow {
  font-family: var(--f-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: 12px;
  color: var(--blue);
}
.eyebrow .bar { display: inline-block; width: 26px; height: 2px; background: var(--blue); vertical-align: middle; margin-right: 14px; box-shadow: 0 0 12px var(--blue-glow); }

.section-head { margin-bottom: 44px; }
.section-label { font-family: var(--f-ui); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .35em; color: var(--tx-3); margin-bottom: 10px; }
.section-head h2 {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: .01em;
  line-height: .95;
  margin-top: 10px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 30%, var(--blue) 200%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head .sub { color: var(--tx-2); font-size: 16px; max-width: 560px; margin-top: 12px; }
.section-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

section { position: relative; }

.clip { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }

header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(6,9,16,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand .logo { height: 36px; width: auto; max-width: 120px; filter: drop-shadow(2px 3px 6px rgba(0,0,0,.8)); }
.brand .logo-fallback {
  height: 38px; width: 38px; display: none; place-items: center;
  border: 1.5px solid var(--blue); color: var(--blue); font-family: var(--f-ui);
  font-weight: 700; font-size: 18px; clip-path: polygon(0 0,100% 0,100% 70%,70% 100%,0 100%);
}
.brand .name { display: flex; flex-direction: column; line-height: 1; }
.brand .name b {
  font-family: var(--f-disp); font-weight: 900; letter-spacing: .04em; font-size: 22px; white-space: nowrap;
  background: linear-gradient(180deg, #fff 20%, var(--blue-br) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand .name span { font-family: var(--f-mono); font-size: 10px; color: var(--tx-3); letter-spacing: .3em; margin-top: 4px; }
.brand .div { width: 1px; height: 30px; background: var(--line); margin: 0 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.nav-links a {
  font-family: "Quantico", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: 15px; color: var(--tx-2);
  padding: 10px 18px; position: relative; transition: color .25s;
}
.nav-links a:hover { color: var(--tx); }
.nav-links a.active { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.forum-btn {
  display: flex; align-items: center; gap: 9px;
  font-family: "Quantico", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: 14px; padding: 11px 22px; color: var(--tx);
  border: 1px solid rgba(124,192,255,.22); background: rgba(20,30,55,.22);
  border-radius: 100px; backdrop-filter: blur(8px); transition: all .25s var(--ease);
}
.forum-btn:hover { border-color: var(--blue); color: var(--blue-br); }
.forum-btn svg { width: 16px; height: 16px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); place-items: center; }
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--tx); transition: .3s;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(4px); }

.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 120%; object-fit: cover; object-position: 72% center; opacity: .8; will-change: transform; }
.hero-bg video { width: 100%; height: 120%; object-fit: cover; object-position: 72% center; opacity: .85; }
.hero-bg .ph { position: absolute; inset: 0; display: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 6%, rgba(5,7,14,.82) 34%, rgba(5,7,14,.32) 62%, rgba(5,7,14,.08) 100%),
    linear-gradient(0deg, var(--bg) 0%, var(--bg) 5%, rgba(5,7,14,.85) 18%, transparent 38%, transparent 72%, rgba(5,7,14,.55) 100%);
}

.hero-scan {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,.18) 3px 4px);
  mix-blend-mode: multiply;
}
.hero .wrap { z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.hero-content { max-width: 860px; padding: 120px 0 80px; }
.hero-content .eyebrow { margin-bottom: 22px; display: block; }
.hero h1 {
  font-family: var(--f-disp); font-weight: 900; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 84px); line-height: .9; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 30%, var(--blue) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(78,163,255,.18);
}
.hero h1 .accent { color: inherit; }
.hero .lead { color: var(--tx-2); font-size: 18px; max-width: 500px; margin: 30px 0 46px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; padding: 16px 28px; border-radius: 8px; position: relative; transition: all .28s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .28s var(--ease); }

.btn-primary { background: linear-gradient(160deg, rgba(124,192,255,.95), rgba(78,163,255,.92)); color: #04101f; border-radius: 12px; backdrop-filter: blur(8px); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost { border: 1px solid rgba(124,192,255,.25); color: var(--tx); background: rgba(20,30,55,.5); border-radius: 12px; backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-br); }

.hud-corner {
  position: absolute; z-index: 2; width: 60px; height: 60px;
  border: 2px solid var(--blue); opacity: .55;
}
.hud-corner.tl { top: 96px; left: 18px; border-right: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 120px; left: 18px; border-right: 0; border-top: 0; }

.hud-chip {
  position: absolute; top: 96px; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 13px; color: var(--blue-br);
  border: 1px solid var(--line); background: rgba(10,16,32,.55); backdrop-filter: blur(6px);
  padding: 10px 16px;
}
.hud-chip svg { width: 14px; height: 14px; }
.hud-chip .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-ticker {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  border-top: 1px solid var(--line); background: rgba(6,9,16,.55); backdrop-filter: blur(8px);
}
.hero-ticker .wrap { display: flex; align-items: center; gap: 40px; height: 64px; overflow: hidden; }
.hero-ticker .tk { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.hero-ticker .tk .k { font-family: var(--f-ui); font-size: 11px; letter-spacing: .2em; color: var(--tx-3); text-transform: uppercase; }
.hero-ticker .tk .v { font-family: var(--f-mono); font-size: 18px; color: var(--blue-br); }
.hero-ticker .sep { width: 1px; height: 26px; background: var(--line); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-ui); font-size: 10px; letter-spacing: .35em; color: var(--tx-3); text-transform: uppercase;
}
.scroll-hint .chev { width: 16px; height: 16px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); animation: bob 1.8s infinite; }
@keyframes bob { 0%,100% { transform: rotate(45deg) translate(0,0); opacity: .4; } 50% { transform: rotate(45deg) translate(3px,3px); opacity: 1; } }

.stats { padding: 0; position: relative; z-index: 5; margin-top: -1px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-bottom: 0;
  background: linear-gradient(180deg, rgba(12,20,38,.7), rgba(8,12,22,.7));
}
.stat { padding: 40px 32px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.stat:last-child { border-right: 0; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--blue); box-shadow: 0 0 14px var(--blue-glow); transition: height .5s var(--ease); }
.stat:hover::before { height: 100%; }
.stat .num { font-family: var(--f-disp); font-weight: 800; font-size: clamp(38px, 4vw, 56px); line-height: 1; color: var(--tx); }
.stat .num .plus { color: var(--blue); }
.stat .lbl { font-family: var(--f-ui); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--tx-2); margin-top: 12px; }
.stat .ic { position: absolute; right: 24px; top: 28px; color: rgba(78,163,255,.18); }
.stat .ic svg { width: 40px; height: 40px; }

.servers { padding: 130px 0 110px; }
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,17,33,.85), rgba(8,12,22,.85));
  position: relative;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.panel-head .title { display: flex; align-items: center; gap: 14px; }
.panel-head .title .pill { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(78,163,255,.1); border: 1px solid var(--line); color: var(--blue); }
.panel-head .title .pill svg { width: 20px; height: 20px; }
.panel-head .title h3 { font-family: var(--f-disp); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; }
.panel-head .meta { display: flex; align-items: center; gap: 18px; }
.panel-head .meta .upd { font-family: var(--f-mono); font-size: 12px; color: var(--tx-3); letter-spacing: .06em; }
.panel-head .meta .upd b { color: #9fb0cc; }
.online-chip {
  display: flex; align-items: center; gap: 7px; font-family: var(--f-ui); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--green);
  padding: 7px 14px; border: 1px solid rgba(54,211,153,.25); background: rgba(54,211,153,.07);
}
.online-chip svg { width: 14px; height: 14px; }

.srv-table { width: 100%; }

.srv-head {
  display: grid;
  grid-template-columns: 70px 90px minmax(0,1fr) 220px 160px 120px 100px;
  align-items: center;
  column-gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tx-3);
}
.srv-head > div { text-align: center; }

.srv-row {
  display: grid;
  grid-template-columns: 70px 90px minmax(0,1fr) 220px 160px 120px 100px;
  align-items: center;
  column-gap: 12px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .25s, box-shadow .25s;
  position: relative;
}
.srv-row > div { display: flex; align-items: center; justify-content: center; }
.srv-row:last-child { border-bottom: 0; }
.srv-row:hover { background: rgba(78,163,255,.05); }

.st-cell { display: flex; align-items: center; justify-content: center; }
.st-check { width: 22px; height: 22px; color: var(--green); }
.st-off { color: #ff6b6b !important; }
.g-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line); color: var(--blue-br); }
.g-icon svg { width: 20px; height: 20px; }
.g-icon .g-img { width: 80%; height: 80%; object-fit: contain; }
.g-icon.alt { color: var(--amber); }

.srv-name { font-family: var(--f-ui); font-weight: 600; letter-spacing: .04em; font-size: 14px; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; justify-content: flex-start !important; }
.srv-name .tag { display: inline; font-family: var(--f-mono); font-size: 12px; color: var(--blue); letter-spacing: .08em; margin-left: 6px; }

.ip-box {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-mono); font-size: 13px; color: var(--tx-2);
  padding: 7px 10px; border: 1px solid var(--line); background: rgba(8,12,22,.6);
  transition: all .2s; width: 205px; cursor: pointer;
}
.ip-box:hover { border-color: var(--blue); color: var(--blue-br); }
.ip-box .copy { display: grid; place-items: center; color: var(--tx-3); transition: color .2s; }
.ip-box .copy:hover { color: var(--blue); }
.ip-box .copy svg { width: 14px; height: 14px; }
.ip-box.copied { border-color: var(--green); color: var(--green); }

.map-name { font-family: var(--f-mono); font-size: 13px; color: var(--tx-2); }
.players { display: flex; flex-direction: column; gap: 6px; align-items: center; width: 100%; }
.players .bar { display: none; }
.players .pc { font-family: var(--f-mono); font-size: 14px; color: var(--tx-2); }
.players .pc b { color: var(--tx); font-weight: 700; }
.players .pc.empty b { color: var(--tx-3); }
.players .pc.lv-low b  { color: var(--green); }
.players .pc.lv-mid b  { color: var(--amber); }
.players .pc.lv-high b { color: #ff6b6b; }
.players .bar { height: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.players .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-deep), var(--blue-br)); width: 0; transition: width 1s var(--ease); box-shadow: 0 0 10px var(--blue-glow); }
.players .bar i.zero { background: rgba(255,255,255,.1); box-shadow: none; }

.srv-view {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-ui); font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--blue);
  padding: 8px 12px; border: 1px solid var(--line); transition: all .22s;
}
.srv-view:hover { background: var(--blue); color: #04101f; border-color: var(--blue); }
.srv-view svg { width: 13px; height: 13px; }
.srv-view.disabled { color: var(--tx-3); border-color: var(--line-soft); pointer-events: none; opacity: .55; }

.srv-cards { display: none; padding: 16px; }
.srv-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: rgba(12,20,38,.7);
  padding: 16px 16px 16px 20px; margin-bottom: 10px;
}
.srv-card:last-child { margin-bottom: 0; }
.sc-accent { display: none; }
.sc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.sc-head .st-check { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.sc-name { font-family: var(--f-ui); font-weight: 600; font-size: 13px; color: var(--tx); flex: 1; min-width: 0; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.sc-game { width: 30px; height: 30px; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line); color: var(--blue-br); flex-shrink: 0; }
.sc-game svg { width: 16px; height: 16px; }
.sc-game .g-img { width: 80%; height: 80%; object-fit: contain; }
.sc-game.alt { color: var(--amber); }
.sc-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 6px; }
.sc-k { color: var(--tx-3); font-size: 12px; }
.sc-v { color: var(--tx-2); }
.sc-mono { font-family: var(--f-mono); font-size: 12px; }
.sc-players { font-family: var(--f-mono); font-weight: 600; color: var(--tx-2); }
.sc-players b { color: var(--tx); font-weight: 700; }
.sc-players.empty b { color: var(--tx-3); }
.sc-players.lv-low b  { color: var(--green); }
.sc-players.lv-mid b  { color: var(--amber); }
.sc-players.lv-high b { color: #ff6b6b; }
.sc-bar { height: 3px; background: rgba(255,255,255,.06); margin: 8px 0 14px; overflow: hidden; }
.sc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-deep), var(--blue-br)); }
.sc-bar i.zero { background: rgba(255,255,255,.1); }
.sc-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.sc-foot .ip-box { flex: 1; font-size: 12px; padding: 6px 10px; }
.sc-foot .srv-view { font-size: 10px; padding: 6px 10px; white-space: nowrap; }

.modes { padding: 30px 0 120px; }
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode {
  position: relative; border: 1px solid var(--line); overflow: hidden;
  background: var(--panel); transition: transform .35s var(--ease), border-color .35s;
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
}
.mode:hover { transform: translateY(-6px); border-color: rgba(78,163,255,.4); }
.mode .m-bg { position: absolute; inset: 0; z-index: 0; }
.mode .m-bg .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(78,163,255,.05) 0 14px, rgba(78,163,255,.02) 14px 28px),
    linear-gradient(180deg, var(--panel-2), var(--bg));
}
.mode .m-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transition: transform .6s var(--ease), opacity .4s; }
.mode:hover .m-bg img { transform: scale(1.06); opacity: .55; }
.mode .m-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 8%, rgba(5,7,14,.5) 50%, rgba(5,7,14,.25) 100%); }
.mode .m-body { position: relative; z-index: 2; padding: 28px; }
.mode .m-num { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--f-mono); font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.mode .m-cnt { position: absolute; top: 22px; right: 24px; z-index: 2; font-family: var(--f-ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-2); border: 1px solid var(--line); padding: 6px 11px; background: rgba(8,12,22,.6); }
.mode h3 { font-family: var(--f-disp); font-weight: 800; text-transform: uppercase; font-size: 28px; letter-spacing: .01em; line-height: 1; }
.mode .m-tag { font-family: var(--f-ui); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.mode p { color: var(--tx-2); font-size: 14px; margin: 12px 0 18px; max-width: 92%; }
.mode .m-link { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--tx); transition: gap .25s, color .25s; }
.mode:hover .m-link { color: var(--blue); gap: 14px; }
.mode .m-link svg { width: 14px; height: 14px; }

.news { padding: 30px 0 120px; }
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; }
.post {
  border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease);
}
.post:hover { border-color: rgba(78,163,255,.4); transform: translateY(-4px); }
.post .p-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.post.feature .p-img { aspect-ratio: 16/10; }
.post .p-img .ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(78,163,255,.06) 0 12px, rgba(78,163,255,.02) 12px 24px),
    linear-gradient(180deg, var(--panel-3), var(--panel));
  display: grid; place-items: center;
}
.post .p-img .ph span { font-family: var(--f-mono); font-size: 11px; color: var(--tx-3); letter-spacing: .1em; }
.post .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .p-img img { transform: scale(1.05); }
.post .cat { position: absolute; top: 14px; left: 14px; font-family: var(--f-ui); font-weight: 600; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #04101f; background: var(--blue); padding: 5px 11px; }
.post .p-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post .date { font-family: var(--f-mono); font-size: 12px; color: var(--tx-3); }
.post h3 { font-family: var(--f-disp); font-weight: 700; font-size: 19px; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.post.feature h3 { font-size: 26px; }
.post p { color: var(--tx-2); font-size: 14px; }
.post .more { margin-top: auto; font-family: var(--f-ui); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; }
.post .more svg { width: 13px; height: 13px; transition: transform .25s; }
.post:hover .more svg { transform: translateX(4px); }

.join { padding: 0 0 120px; }
.join-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(78,163,255,.3);
  background:
    radial-gradient(900px 400px at 85% 20%, rgba(47,123,255,.22), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--bg-2));
  padding: 70px 60px; text-align: center;
}
.join-card::before, .join-card::after {
  content: ""; position: absolute; width: 80px; height: 80px; border: 2px solid var(--blue); opacity: .5;
}
.join-card::before { top: 22px; left: 22px; border-right: 0; border-bottom: 0; }
.join-card::after { bottom: 22px; right: 22px; border-left: 0; border-top: 0; }
.join-card .eyebrow { display: block; margin-bottom: 18px; }
.join-card h2 { font-family: var(--f-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 5vw, 60px); line-height: .95; }
.join-card h2 span { color: var(--blue); }
.join-card p { color: var(--tx-2); font-size: 17px; max-width: 560px; margin: 20px auto 14px; }
.join-members { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 14px; color: var(--blue-br); margin-bottom: 32px; }
.join-members .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.join-card .btn-discord {
  display: inline-flex; align-items: center; gap: 12px; background: var(--blue); color: #04101f;
  font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
  padding: 18px 36px; transition: all .28s var(--ease);
}
.join-card .btn-discord:hover { background: var(--blue-br); transform: translateY(-2px); box-shadow: 0 14px 44px -10px var(--blue-glow); }
.join-card .btn-discord svg { width: 22px; height: 22px; }

footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: 64px 0 0;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand p { color: var(--tx-2); font-size: 14px; max-width: 320px; }
.foot-col h4 { font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--tx); margin-bottom: 20px; }
.foot-col a, .foot-col .li { display: flex; align-items: center; gap: 9px; color: var(--tx-2); font-size: 14px; padding: 7px 0; transition: color .2s; }
.foot-col a:hover { color: var(--blue); }
.foot-col svg { width: 14px; height: 14px; color: var(--tx-3); }
.foot-bar { border-top: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-bar p { font-family: var(--f-mono); font-size: 12px; color: var(--tx-3); }
.foot-bar p a { color: var(--blue); text-decoration: none; transition: color .2s; }
.foot-bar p a:hover { color: var(--blue-br); }
.foot-bar .socials { display: flex; gap: 10px; }
.foot-bar .socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--tx-2); transition: all .25s; }
.foot-bar .socials a:hover { border-color: var(--blue); color: var(--blue); }
.foot-bar .socials svg { width: 16px; height: 16px; }

#toast {
  position: fixed; bottom: 34px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--panel-3); border: 1px solid var(--blue); color: var(--blue-br);
  font-family: var(--f-ui); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px;
  padding: 14px 24px; z-index: 100; opacity: 0; pointer-events: none; transition: all .35s var(--ease);
  display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 50px -12px rgba(0,0,0,.7);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast svg { width: 16px; height: 16px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .modes-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .post.feature { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .srv-head, .srv-row { grid-template-columns: 42px 46px minmax(0,1fr) 200px 130px 100px 84px; }
}
@media (max-width: 860px) {
  .nav-links, .forum-btn { display: none; }
  .burger { display: grid; }
  .nav-right { margin-left: auto; }
  .srv-scroll { display: none; }
  .srv-cards { display: block; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }

  .hero { min-height: 100svh; align-items: center; }
  .hero-bg::after { background: linear-gradient(0deg, var(--bg) 0%, var(--bg) 5%, rgba(5,7,14,.88) 30%, rgba(5,7,14,.78) 60%, rgba(5,7,14,.85) 100%); }
  .hero-bg img, .hero-bg video { object-position: 60% center; }
  .hero-content { padding: 100px 0 100px; max-width: 100%; text-align: center; }

  #heroContent.hv39 .eyebrow {
    background: none; clip-path: none; -webkit-clip-path: none; box-shadow: none;
    padding: 0; border-radius: 0; color: var(--blue-br); font-weight: 600;
    letter-spacing: .26em; font-size: 12px; margin-bottom: 28px;
  }
  .hero h1 { font-size: clamp(42px, 14vw, 72px); }
  .hero .lead { font-size: 15px; margin: 28px auto 40px; }
  .hero-cta { flex-direction: column; gap: 14px; align-items: center; }
  .hero-cta .btn { min-width: 220px; justify-content: center; }
  .scroll-hint { display: flex; bottom: 24px; }

  .servers { padding: 60px 0 60px; }
  .panel-head { padding: 16px; flex-direction: column; align-items: flex-start; }
  .panel-head .meta { display: none; }
  .section-head { margin-bottom: 28px; }
  .modes-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .join-card { padding: 40px 20px; }
}

.modal-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(3,5,12,.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
body.modal-open { overflow: hidden; }
.modal-overlay { overscroll-behavior: contain; }
.modal-box {
  background: var(--panel-2); border: 1px solid var(--line);
  width: 100%; max-width: 680px; max-height: 80vh;
  display: flex; flex-direction: column;
  transform: translateY(16px); transition: transform .3s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-header {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--f-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 13px; color: var(--blue-br);
}
.modal-header span { text-align: center; }
.modal-header b { color: #fff; font-weight: 700; }
.modal-close { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--tx-3); line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--tx); }
.modal-body { overflow-y: auto; flex: 1; }
.modal-row {
  display: grid; grid-template-columns: 1fr 100px 100px;
  padding: 7px 24px; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; align-items: center;
}
.modal-row:last-child { border-bottom: 0; }
.modal-head {
  font-family: var(--f-ui); font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); font-weight: 600;
  background: rgba(78,163,255,.05); border-bottom: 1px solid var(--line) !important;
}
.modal-head span:nth-child(2), .modal-head span:nth-child(3) { text-align: center; }
.modal-name { color: var(--tx); font-weight: 500; }
.modal-score { color: var(--amber); font-family: var(--f-mono); font-weight: 700; text-align: center; }
.modal-time { color: var(--tx-3); font-family: var(--f-mono); font-size: 13px; text-align: center; }
.modal-empty { padding: 32px; text-align: center; color: var(--tx-3); font-family: var(--f-mono); font-size: 13px; }
.modal-footer {
  padding: 14px 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}
.modal-btn-close {
  font-family: var(--f-ui); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; color: var(--tx-2);
  border: 1px solid var(--line); padding: 10px 32px;
  transition: all .2s;
}
.modal-btn-close:hover { border-color: var(--blue); color: var(--blue); }

.drawer {
  position: fixed; inset: 0; z-index: 80; background: rgba(5,7,14,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { font-family: var(--f-ui); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: 22px; color: var(--tx-2); padding: 14px; }
.drawer a:hover { color: var(--blue); }
.drawer .close { position: absolute; top: 24px; right: 24px; font-size: 30px; color: var(--tx-2); }

.hero-content.hv39 .eyebrow {
  display: inline-block; background: linear-gradient(160deg, rgba(124,192,255,.95), rgba(78,163,255,.92));
  color: #04101f; backdrop-filter: blur(8px);
  padding: 8px 22px; letter-spacing: .26em; font-weight: 700;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  margin-bottom: 30px;
}
.hero-content.hv39 .lead { max-width: 520px; }
