:root {
	--bg: #070a09;
	--bg-alt: #0c120f;
	--card: #101914;
	--card-hover: #15221b;
	--line: #1c2b23;
	--line-glow: rgba(0, 230, 118, 0.25);
	--text: #f0fdf4;
	--text-dim: #cbd5e1;
	--muted: #789083;
	--accent: #00e676;
	--accent-hover: #1eff8b;
	--accent-glow: rgba(0, 230, 118, 0.35);
	--accent-cyan: #00f0ff;
	--accent-gold: #ffb700;
	--accent-purple: #c084fc;
	--accent-red: #ff4757;
	--font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-head: "Chakra Petch", "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-main);
	font-size: 15px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent-text { color: var(--accent); }
.cyan-text { color: var(--accent-cyan); }
.gold-text { color: var(--accent-gold); }
.muted { color: var(--muted); }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 10, 9, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(14px);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	height: 72px;
}
.brand {
	font-family: var(--font-head);
	font-weight: 800; font-size: 24px; letter-spacing: 0.15em;
	color: var(--text); text-decoration: none;
	display: flex; align-items: center; gap: 4px;
}
.brand b { color: var(--accent); }
.brand .badge-tag {
	font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
	padding: 2px 6px; border-radius: 3px; background: rgba(0, 230, 118, 0.12);
	border: 1px solid rgba(0, 230, 118, 0.3); color: var(--accent); margin-left: 8px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
	color: var(--text-dim); text-decoration: none; font-size: 13.5px;
	font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
	transition: color 0.15s, text-shadow 0.15s;
}
.nav-links a:hover {
	color: var(--accent);
	text-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}
.nav-links a.nav-lk {
	color: var(--accent-cyan);
}
.nav-links a.nav-lk:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.btn-accent {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--accent); color: #051009 !important;
	padding: 10px 22px; border-radius: 4px; font-weight: 800 !important;
	font-size: 13px; letter-spacing: 0.08em; text-decoration: none;
	text-transform: uppercase; transition: all 0.2s;
	box-shadow: 0 0 16px rgba(0, 230, 118, 0.25);
}
.btn-accent:hover {
	background: var(--accent-hover);
	box-shadow: 0 0 26px rgba(0, 230, 118, 0.5);
	transform: translateY(-1px);
}

/* Hero Section */
.hero {
	position: relative;
	padding: 110px 0 80px;
	background: 
		radial-gradient(ellipse at 50% -10%, rgba(0, 230, 118, 0.15) 0%, transparent 60%),
		linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
	border-bottom: 1px solid var(--line);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: 
		linear-gradient(to right, rgba(28, 43, 35, 0.3) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(28, 43, 35, 0.3) 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.5;
}
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 5px 14px; border-radius: 4px;
	background: rgba(0, 230, 118, 0.08); border: 1px solid rgba(0, 230, 118, 0.3);
	color: var(--accent); font-size: 11.5px; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 24px;
}
.pulse-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent); box-shadow: 0 0 10px var(--accent);
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.3; transform: scale(0.8); }
}

.hero-title {
	font-family: var(--font-head);
	font-size: clamp(38px, 6vw, 64px); line-height: 1.05;
	font-weight: 800; letter-spacing: -0.01em; margin-bottom: 22px;
	text-transform: uppercase;
}
.hero-lead {
	color: var(--text-dim); font-size: 18px; max-width: 680px;
	margin-bottom: 36px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 28px; border-radius: 4px; font-weight: 700;
	font-size: 14px; text-decoration: none; border: 1px solid var(--line);
	color: var(--text); letter-spacing: 0.05em; text-transform: uppercase;
	transition: all 0.2s; cursor: pointer;
}
.btn.primary {
	background: var(--accent); border-color: var(--accent); color: #041008;
}
.btn.primary:hover {
	background: var(--accent-hover); box-shadow: 0 0 30px var(--accent-glow);
	transform: translateY(-2px);
}
.btn.ghost {
	background: rgba(16, 25, 20, 0.7); border-color: var(--line);
}
.btn.ghost:hover {
	border-color: var(--accent); background: var(--card);
	transform: translateY(-1px);
}
.hero-meta {
	display: flex; gap: 14px; color: var(--muted); font-size: 13px;
	align-items: center; flex-wrap: wrap;
}

/* Server Bar */
.server-bar {
	background: var(--bg-alt); border-bottom: 1px solid var(--line);
	padding: 20px 0;
}
.server-bar-inner {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 20px;
}
.server-stat { display: flex; flex-direction: column; gap: 4px; }
.server-stat .label {
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
	color: var(--muted); text-transform: uppercase;
}
.server-stat .val {
	font-family: var(--font-head); font-size: 16px; font-weight: 700;
	color: var(--text);
}
.val-green { color: var(--accent) !important; }

/* Section Basics */
.section { padding: 90px 0; position: relative; }
.section.alt-bg {
	background: var(--bg-alt);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 40px; }
.section-tag {
	display: inline-block; font-size: 11px; font-weight: 700;
	letter-spacing: 0.18em; color: var(--accent); text-transform: uppercase;
	margin-bottom: 8px;
}
h2 {
	font-family: var(--font-head); font-size: 34px; font-weight: 800;
	letter-spacing: 0.02em; text-transform: uppercase;
}

/* Features Grid */
.features-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.feature-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 32px; position: relative;
	transition: all 0.25s; overflow: hidden;
}
.feature-card::before {
	content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
	background: var(--line); transition: background 0.25s;
}
.feature-card:hover {
	border-color: var(--line-glow); background: var(--card-hover);
	transform: translateY(-2px);
}
.feature-card:hover::before { background: var(--accent); }
.card-icon {
	font-family: var(--font-head); font-size: 24px; font-weight: 800;
	color: var(--muted); margin-bottom: 14px;
}
.feature-card h3 {
	font-family: var(--font-head); font-size: 20px; font-weight: 700;
	margin-bottom: 10px; color: #fff;
}
.feature-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* Modes Grid */
.modes-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.mode-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 30px; display: flex; flex-direction: column;
	position: relative; transition: all 0.25s;
}
.mode-card.highlight {
	border-color: rgba(0, 230, 118, 0.35);
	background: linear-gradient(180deg, rgba(0, 230, 118, 0.06) 0%, var(--card) 100%);
}
.mode-card:hover {
	border-color: var(--accent); transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.mode-badge {
	align-self: flex-start; font-size: 11px; font-weight: 800;
	padding: 4px 10px; border-radius: 3px; background: rgba(0, 230, 118, 0.15);
	color: var(--accent); letter-spacing: 0.1em; margin-bottom: 16px;
}
.badge-blue { background: rgba(0, 240, 255, 0.15); color: var(--accent-cyan); }
.badge-orange { background: rgba(255, 183, 0, 0.15); color: var(--accent-gold); }
.mode-card h3 {
	font-family: var(--font-head); font-size: 22px; font-weight: 700;
	margin-bottom: 10px; color: #fff;
}
.mode-card p { color: var(--text-dim); font-size: 14px; flex: 1; margin-bottom: 22px; line-height: 1.6; }
.mode-meta {
	display: flex; justify-content: space-between; font-size: 11.5px;
	font-weight: 700; color: var(--muted); letter-spacing: 0.06em;
	padding-top: 16px; border-top: 1px solid var(--line);
}

/* Arsenal & Weapon Showcase */
.arsenal-wrap {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 10px; padding: 36px; margin-top: 24px;
}
.arsenal-tabs {
	display: flex; gap: 12px; border-bottom: 1px solid var(--line);
	padding-bottom: 18px; margin-bottom: 30px; flex-wrap: wrap;
}
.arsenal-tab {
	background: transparent; border: 1px solid var(--line);
	color: var(--text-dim); font-family: var(--font-head);
	font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em;
	padding: 10px 20px; border-radius: 4px; cursor: pointer;
	transition: all 0.2s;
}
.arsenal-tab:hover {
	border-color: var(--accent); color: var(--text);
}
.arsenal-tab.active {
	background: rgba(0, 230, 118, 0.12); border-color: var(--accent);
	color: var(--accent); box-shadow: 0 0 14px rgba(0, 230, 118, 0.2);
}
.arsenal-content {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.weapon-preview-box {
	background: radial-gradient(circle at center, rgba(0, 230, 118, 0.08) 0%, transparent 70%), var(--bg-alt);
	border: 1px solid var(--line); border-radius: 8px; padding: 40px;
	text-align: center; position: relative;
}
.weapon-class-tag {
	position: absolute; top: 16px; left: 16px;
	font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
	color: var(--accent); text-transform: uppercase;
}
.weapon-art {
	font-family: var(--font-head); font-size: 32px; font-weight: 800;
	letter-spacing: 0.1em; color: #fff; margin: 30px 0 10px;
}
.weapon-price-badge {
	display: inline-block; font-family: var(--font-head); font-size: 14px;
	font-weight: 700; color: var(--accent-gold);
}
.weapon-stats { display: flex; flex-direction: column; gap: 18px; }
.stat-row { display: flex; flex-direction: column; gap: 6px; }
.stat-label-wrap { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--text-dim); }
.stat-bar-bg { width: 100%; height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; border: 1px solid var(--line); }
.stat-bar-fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width 0.3s ease; }

/* Maps Showcase */
.maps-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.map-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; overflow: hidden; transition: all 0.25s;
}
.map-card:hover {
	border-color: var(--accent); transform: translateY(-3px);
}
.map-thumb {
	height: 180px; background: var(--bg-alt);
	display: flex; align-items: center; justify-content: center;
	border-bottom: 1px solid var(--line); position: relative;
	background-size: cover; background-position: center;
}
.map-tag {
	position: absolute; top: 12px; left: 12px;
	font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
	padding: 3px 8px; border-radius: 3px; background: rgba(7, 10, 9, 0.85);
	color: var(--accent); border: 1px solid rgba(0, 230, 118, 0.3);
}
.map-info { padding: 22px; }
.map-info h3 {
	font-family: var(--font-head); font-size: 20px; font-weight: 700;
	color: #fff; margin-bottom: 8px;
}
.map-info p { color: var(--text-dim); font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; }
.map-specs {
	display: flex; justify-content: space-between; font-size: 11px;
	font-weight: 700; color: var(--muted); text-transform: uppercase;
	border-top: 1px solid var(--line); padding-top: 12px;
}

/* Leaderboard Table */
.lb-wrap {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; overflow: hidden; margin-top: 20px;
}
.lb-table { width: 100%; border-collapse: collapse; text-align: left; }
.lb-table th {
	background: var(--bg-alt); color: var(--muted);
	font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
	text-transform: uppercase; padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.lb-table td {
	padding: 14px 20px; border-bottom: 1px solid var(--line);
	font-size: 14px; color: var(--text-dim);
}
.lb-table tr:hover td { background: var(--card-hover); color: #fff; }
.lb-rank { font-family: var(--font-head); font-weight: 700; color: var(--accent); }
.lb-player { font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.lb-rating { font-family: var(--font-head); font-weight: 700; color: var(--accent-gold); }

/* News */
.news-grid { display: flex; flex-direction: column; gap: 16px; }
.news-item {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px;
	transition: all 0.2s;
}
.news-item:hover { border-color: var(--line-glow); transform: translateX(2px); }
.news-item .meta { display: flex; gap: 12px; align-items: center; }
.news-item .tag {
	font-size: 10.5px; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.08em; padding: 3px 8px; border-radius: 3px;
	background: rgba(0, 230, 118, 0.12); color: var(--accent);
}
.news-item .date { color: var(--muted); font-size: 12px; }
.news-item h3 {
	font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #fff;
}
.news-item p { color: var(--text-dim); font-size: 14.5px; line-height: 1.5; }
.news-placeholder {
	padding: 30px; text-align: center; color: var(--muted);
	background: var(--card); border-radius: 8px; border: 1px solid var(--line);
}

/* System Specs Matrix */
.specs-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.specs-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 28px;
}
.specs-card h3 {
	font-family: var(--font-head); font-size: 19px; font-weight: 700;
	color: #fff; margin-bottom: 18px; border-bottom: 1px solid var(--line);
	padding-bottom: 12px;
}
.specs-list { display: flex; flex-direction: column; gap: 12px; }
.specs-item { display: flex; justify-content: space-between; font-size: 13.5px; }
.specs-item .param { color: var(--muted); font-weight: 600; }
.specs-item .val { color: var(--text-dim); font-weight: 500; text-align: right; }

/* Personal Cabinet (LK) */
.lk-wrap {
	max-width: 980px; margin: 50px auto 80px; padding: 0 24px;
}
.lk-header-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 10px; padding: 32px; margin-bottom: 24px;
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 20px; position: relative; overflow: hidden;
}
.lk-header-card::before {
	content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
	background: var(--accent);
}
.lk-user-dossier { display: flex; align-items: center; gap: 20px; }
.lk-avatar {
	width: 72px; height: 72px; border-radius: 8px;
	border: 2px solid var(--accent); background: var(--bg-alt);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-size: 26px; font-weight: 800;
	color: var(--accent);
}
.lk-info h2 { font-size: 26px; color: #fff; line-height: 1.1; margin-bottom: 4px; }
.lk-info p { color: var(--muted); font-size: 13px; }

.lk-stats-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
	margin-bottom: 24px;
}
.lk-stat-box {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 20px; text-align: center;
}
.lk-stat-box .num {
	font-family: var(--font-head); font-size: 28px; font-weight: 800;
	color: #fff; margin-bottom: 2px;
}
.lk-stat-box .lbl {
	font-size: 11px; font-weight: 700; color: var(--muted);
	text-transform: uppercase; letter-spacing: 0.08em;
}

/* Inventory Cards */
.inv-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px; margin-top: 16px;
}
.inv-card {
	background: var(--card); border: 1px solid var(--line);
	border-radius: 8px; padding: 20px; display: flex; flex-direction: column;
	position: relative; transition: all 0.2s; overflow: hidden;
}
.inv-card:hover {
	transform: translateY(-2px); border-color: var(--line-glow);
}
.inv-card.rarity-common { border-bottom: 3px solid #78909c; }
.inv-card.rarity-rare { border-bottom: 3px solid #29b6f6; box-shadow: 0 4px 14px rgba(41, 182, 246, 0.1); }
.inv-card.rarity-epic { border-bottom: 3px solid #ab47bc; box-shadow: 0 4px 14px rgba(171, 71, 188, 0.15); }
.inv-card.rarity-legendary { border-bottom: 3px solid #ffd54f; box-shadow: 0 4px 16px rgba(255, 213, 79, 0.2); }

.inv-card .card-head {
	display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.inv-rarity-pill {
	font-size: 10px; font-weight: 800; text-transform: uppercase;
	letter-spacing: 0.1em; padding: 2px 6px; border-radius: 3px;
}
.pill-common { background: rgba(120, 144, 156, 0.2); color: #b0bec5; }
.pill-rare { background: rgba(41, 182, 246, 0.2); color: #29b6f6; }
.pill-epic { background: rgba(171, 71, 188, 0.2); color: #ce93d8; }
.pill-legendary { background: rgba(255, 213, 79, 0.2); color: #ffd54f; }

.inv-card h4 {
	font-family: var(--font-head); font-size: 17px; font-weight: 700;
	color: #fff; margin-bottom: 4px;
}
.inv-card .weapon-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.inv-card-footer {
	margin-top: auto; display: flex; justify-content: space-between; align-items: center;
	padding-top: 14px; border-top: 1px solid var(--line);
}

/* Auth Cards */
.auth-box {
	max-width: 440px; margin: 40px auto; background: var(--card);
	border: 1px solid var(--line); border-radius: 10px; padding: 36px;
}
.auth-box h2 {
	font-size: 24px; margin-bottom: 8px; text-align: center;
}
.auth-box p.desc {
	color: var(--muted); font-size: 13.5px; text-align: center; margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
	display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
	color: var(--text-dim); text-transform: uppercase; margin-bottom: 6px;
}
.form-input {
	width: 100%; background: var(--bg); border: 1px solid var(--line);
	border-radius: 4px; padding: 12px 14px; color: #fff; font-size: 14.5px;
	outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 10px rgba(0, 230, 118, 0.2); }
.auth-tabs {
	display: flex; border-bottom: 1px solid var(--line); margin-bottom: 24px;
}
.auth-tab {
	flex: 1; text-align: center; padding: 12px; font-family: var(--font-head);
	font-size: 13.5px; font-weight: 700; color: var(--muted); cursor: pointer;
	border-bottom: 2px solid transparent; transition: all 0.2s;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Footer */
.site-footer {
	background: var(--bg-alt); border-top: 1px solid var(--line);
	padding: 50px 0; margin-top: 60px;
}
.footer-inner {
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: 20px;
}
.footer-brand .brand { font-size: 20px; margin-bottom: 6px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
	color: var(--muted); text-decoration: none; font-size: 13.5px;
	font-weight: 500; transition: color 0.15s;
}
.footer-links a:hover { color: var(--accent); }

/* Legal Documents */
.doc {
	max-width: 860px;
	margin: 60px auto 80px;
	padding: 40px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 10px;
}
.doc h1 {
	font-family: var(--font-head);
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
}
.doc .updated {
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 30px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}
.doc h2 {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	margin: 28px 0 12px;
}
.doc p {
	color: var(--text-dim);
	margin-bottom: 16px;
	line-height: 1.7;
}
.doc ul {
	margin-bottom: 20px;
	padding-left: 20px;
	color: var(--text-dim);
	line-height: 1.8;
}
.doc li strong {
	color: #fff;
}

@media (max-width: 900px) {
	.features-grid, .modes-grid, .maps-grid, .specs-grid, .arsenal-content {
		grid-template-columns: 1fr;
	}
	.lk-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.nav-links { display: none; }
}
