/* ==========================================================================
   NEWMU - BẢN THIẾT KẾ XEM TRƯỚC (PREVIEW HOMEPAGE & DOWNLOAD ECOSYSTEM)
   Đã tối ưu triệt để:
   - Bỏ hẳn icon logo, giữ phong cách chữ NEW đậm - MU nét thanh mảnh.
   - Thu hẹp container, tạo khoảng cách lề 2 bên rộng thoáng, không dính mép màn hình.
   Dùng cho index.html + download.html (không nạp site.css). CSP của site chặn style="" / onclick
   nội dòng -> mọi kiểu nằm ở đây theo class.
   ========================================================================== */

:root {
	/* Palette màu chủ đạo: Tối huyền bí + Vàng Hoàng Kim MU Online */
	--bg-root: #07090e;
	--bg-primary: #0b0f17;
	--bg-surface: #101622;
	--bg-card: #131b28;
	--bg-card-hover: #182234;
	--border-subtle: #1c2536;
	--border-light: #28354c;
	--border-gold: rgba(229, 189, 120, 0.4);

	--text-primary: #f0f4fa;
	--text-secondary: #9da9be;
	--text-muted: #627088;

	--gold-light: #fbe0a1;
	--gold: #e5bd78;
	--gold-dark: #b88a3e;
	--gold-gradient: linear-gradient(135deg, #fbe0a1 0%, #e5bd78 50%, #b88a3e 100%);
	--gold-glow: 0 0 25px rgba(229, 189, 120, 0.28);

	--accent-blue: #3b82f6;
	--accent-cyan: #38bdf8;
	--accent-green: #34d399;
	--accent-purple: #a855f7;
	--accent-red: #f87171;

	--radius-sm: 6px;
	--radius-md: 10px;
	--radius-lg: 16px;
	--radius-full: 9999px;

	--font-main: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

/* Reset & Cơ bản */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
	color-scheme: dark;
}

/* Thanh header cố định: neo #id không bị header che */
section[id], #account {
	scroll-margin-top: 90px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

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

a {
	color: var(--gold);
	text-decoration: none;
	transition: all 0.2s ease;
}

a:hover {
	color: var(--gold-light);
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* ==========================================================================
   KHUNG CHỨA TRANG (CONTAINER WRAP) - ĐÃ THU GỌN VÀ TẠO KHOẢNG CÁCH LỀ RỘNG RÃI
   Không còn bị dính sát vào 2 mép màn hình laptop / desktop
   ========================================================================== */
.wrap {
	width: min(1140px, calc(100% - 2 * clamp(16px, 6vw, 72px)));
	margin: 0 auto;
}

/* ==========================================================================
   THANH ĐIỀU HƯỚNG (HEADER TOPBAR)
   ========================================================================== */
.top-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(11, 15, 23, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(229, 189, 120, 0.15);
	transition: all 0.3s ease;
}

.top-header.scrolled {
	background: rgba(8, 11, 17, 0.96);
	border-bottom-color: rgba(229, 189, 120, 0.28);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.top-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
}

/* ==========================================================================
   THƯƠNG HIỆU TYPOGRAPHY: BỎ HẲN ICON LOGO, CHỮ NEW ĐẬM - MU NÉT THANH MẢNH
   ========================================================================== */
.brand {
	display: inline-flex;
	align-items: baseline;
	gap: 0;
	font-family: var(--font-main);
	text-transform: uppercase;
	letter-spacing: -0.5px;
	line-height: 1;
	user-select: none;
}

.brand-new {
	font-weight: 900;
	font-size: 27px;
	letter-spacing: -0.8px;
	background: linear-gradient(180deg, #fff2d6 0%, #f3c465 50%, #c99145 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 12px rgba(229, 189, 120, 0.3));
}

.brand-mu {
	font-weight: 300; /* Nét thanh mảnh rõ rệt so với chữ NEW */
	font-size: 27px;
	color: #fff1d4;
	letter-spacing: 1px;
	margin-right: 12px;
	opacity: 0.92;
}

.brand-sub {
	font-size: 10px;
	letter-spacing: 2.5px;
	color: var(--text-muted);
	font-weight: 700;
	border-left: 1px solid var(--border-light);
	padding-left: 10px;
	align-self: center;
	transform: translateY(-1px);
}

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

.nav-link {
	white-space: nowrap;
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
	position: relative;
	padding: 8px 0;
}

.nav-link:hover, .nav-link.active, .nav-link-hub {
	color: var(--gold-light);
}

.nav-link.active::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--gold-gradient);
	box-shadow: 0 0 8px var(--gold);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Các kiểu nút bấm */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 22px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
	white-space: nowrap;
}

.btn-gold {
	background: var(--gold-gradient);
	color: #171105;
	border: 1px solid #ffe7b3;
	box-shadow: 0 4px 18px rgba(229, 189, 120, 0.25);
}

.btn-gold:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: 0 6px 24px rgba(229, 189, 120, 0.45);
	color: #0c0802;
}

.btn-ghost {
	background: rgba(16, 22, 34, 0.7);
	color: var(--text-primary);
	border: 1px solid var(--border-light);
	backdrop-filter: blur(8px);
}

.btn-ghost:hover {
	border-color: var(--gold);
	color: var(--gold-light);
	background: rgba(229, 189, 120, 0.08);
	transform: translateY(-2px);
}

/* Chơi Online (bản web /play/): viền vàng, khác nút tải. Cần bàn phím + chuột -> ẩn trên máy cảm ứng (chưa có bản cảm ứng) */
.btn-play {
	background: rgba(16, 22, 34, 0.7);
	color: var(--gold-light);
	border: 1px solid var(--gold);
	box-shadow: 0 0 14px rgba(229, 189, 120, 0.2);
	backdrop-filter: blur(8px);
}

.btn-play:hover {
	background: rgba(229, 189, 120, 0.12);
	color: #fff4dc;
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(229, 189, 120, 0.35);
}

@media (hover: none) and (pointer: coarse) {
	.btn-play {
		display: none;
	}
}

.btn-lg {
	padding: 14px 28px;
	font-size: 13.5px;
	border-radius: var(--radius-md);
}

.btn-block {
	width: 100%;
	padding: 12px;
}

.btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
	filter: none;
	box-shadow: none;
}

.btn-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

/* ==========================================================================
   BANNER HERO SECTION (ĐÃ CĂN CHỈNH KHOẢNG CÁCH THOÁNG ĐẠT & TẬP TRUNG)
   ========================================================================== */
.hero-section {
	position: relative;
	min-height: 820px;
	height: 90vh;
	max-height: 920px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 110px 0 60px;
	background-color: var(--bg-root);
}

/* Slider hình nền Cinematic 16:9 chuyển động */
.hero-slider {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
	transform: scale(1.05);
}

.hero-slide.active {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

/* Ảnh nền CSS thay <img>: không kéo thả / mở / lưu ảnh từ menu chuột phải */
.hero-slide {
	background: center / cover no-repeat;
	filter: brightness(0.82) contrast(1.08);
}

.hero-slide-1 {
	background-image: url("../images/newmu-banner-1.jpg");
}

.hero-slide-2 {
	background-image: url("../images/newmu-banner-2.jpg");
}

.hero-slide-3 {
	background-image: url("../images/newmu-banner-3.jpg");
}

/* Lớp Vignette Gradient bảo vệ độ tương phản */
.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 30% 45%, rgba(7, 9, 14, 0.9) 0%, rgba(7, 9, 14, 0.65) 45%, rgba(7, 9, 14, 0.25) 80%),
		linear-gradient(180deg, rgba(7, 9, 14, 0.75) 0%, transparent 22%, transparent 58%, rgba(7, 9, 14, 0.96) 92%, var(--bg-root) 100%),
		linear-gradient(90deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.72) 42%, transparent 82%);
}

.hero-content-wrap {
	position: relative;
	z-index: 5;
}

/* Lưới Hero 2 cột: Cân đối, khoảng cách lề rộng rãi */
.hero-grid {
	display: grid;
	grid-template-columns: minmax(340px, 550px) minmax(320px, 410px);
	justify-content: space-between;
	align-items: center;
	gap: 48px;
}

.hero-copy {
	max-width: 550px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px;
	background: rgba(229, 189, 120, 0.1);
	border: 1px solid rgba(229, 189, 120, 0.35);
	border-radius: var(--radius-full);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold-light);
	margin-bottom: 20px;
	box-shadow: 0 0 20px rgba(229, 189, 120, 0.15);
	animation: pulseBadge 3s infinite;
}

@keyframes pulseBadge {
	0%, 100% { border-color: rgba(229, 189, 120, 0.35); }
	50% { border-color: rgba(229, 189, 120, 0.7); box-shadow: 0 0 25px rgba(229, 189, 120, 0.3); }
}

.hero-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent-green);
	box-shadow: 0 0 10px var(--accent-green);
}

.hero-title {
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.5px;
	text-transform: uppercase;
	margin-bottom: 18px;
	text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.hero-title-highlight {
	background: var(--gold-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: block;
}

.hero-desc {
	font-size: 15px;
	line-height: 1.75;
	color: #d1d9e6;
	margin-bottom: 30px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
	max-width: 520px;
}

.hero-cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
}

.hero-stats-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stat-icon-wrap {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-subtle);
	display: grid;
	place-items: center;
	color: var(--gold);
	flex-shrink: 0;
}

.stat-info {
	display: flex;
	flex-direction: column;
}

.stat-value {
	font-weight: 800;
	font-size: 14.5px;
	color: #fff;
	letter-spacing: 0.5px;
}

.stat-label {
	white-space: nowrap;
	font-size: 11px;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ==========================================================================
   KHUNG ĐĂNG NHẬP / ĐĂNG KÝ TRÊN BANNER HERO (HIỆU ỨNG KÍNH MỜ TRONG SUỐT)
   Đã làm trong mờ hơn để nhìn rõ trọn vẹn Background Artwork phía sau
   ========================================================================== */
.hero-auth-card {
	background: rgba(10, 14, 22, 0.52); /* Trong mờ hơn để ngắm trọn vẹn banner */
	border: 1px solid rgba(229, 189, 120, 0.28);
	border-radius: var(--radius-lg);
	padding: 24px 22px;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	position: relative;
	max-width: 410px;
	width: 100%;
}

.hero-auth-card::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20%;
	right: 20%;
	height: 2px;
	background: var(--gold-gradient);
}

.auth-tabs-header {
	display: flex;
	gap: 6px;
	margin-bottom: 16px;
	background: rgba(6, 9, 14, 0.55);
	border-radius: var(--radius-sm);
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab-btn {
	flex: 1;
	padding: 8px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--text-muted);
	border-radius: var(--radius-sm);
	transition: all 0.25s ease;
}

.auth-tab-btn:hover {
	color: var(--text-primary);
}

.auth-tab-btn.active {
	background: rgba(229, 189, 120, 0.16);
	color: var(--gold-light);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-form-pane {
	display: none;
	animation: fadeInPane 0.3s ease;
}

.auth-form-pane.active {
	display: block;
}

@keyframes fadeInPane {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.form-group {
	margin-bottom: 11px;
}

.form-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
	color: var(--text-secondary);
}

.form-input {
	width: 100%;
	padding: 9px 12px;
	background: rgba(6, 9, 15, 0.6);
	border: 1px solid rgba(40, 53, 76, 0.8);
	border-radius: var(--radius-sm);
	color: #fff;
	font-size: 13.5px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-input:focus {
	border-color: var(--gold);
	background: rgba(8, 12, 20, 0.85);
	box-shadow: 0 0 10px rgba(229, 189, 120, 0.25);
}

.form-extra-row {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-size: 12px;
	margin-bottom: 14px;
}

.form-msg {
	min-height: 1.4em;
	margin-top: 10px;
	font-size: 12.5px;
	text-align: center;
}

.form-msg.ok {
	color: var(--accent-green);
}

.form-msg.bad {
	color: var(--accent-red);
}

.auth-form-pane button:disabled {
	opacity: 0.6;
	cursor: progress;
}

/* Bẫy bot của form đăng ký: ô ẩn, người thật không điền */
.hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.auth-signed {
	display: grid;
	gap: 14px;
	padding: 6px 0 2px;
	text-align: center;
}

.auth-signed p {
	font-size: 13.5px;
	color: var(--text-secondary);
}

.auth-signed b {
	color: var(--gold-light);
}

.form-note {
	font-size: 11.5px;
	color: var(--text-muted);
	text-align: center;
	margin-top: 14px;
}

.hero-controls {
	position: absolute;
	bottom: 22px;
	left: 0;
	right: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.slider-dot {
	width: 38px;
	height: 4px;
	background: rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-full);
	transition: all 0.3s ease;
	cursor: pointer;
}

.slider-dot.active {
	background: var(--gold);
	width: 58px;
	box-shadow: 0 0 10px var(--gold);
}

/* ==========================================================================
   KHỐI 1: DANH SÁCH MÁY CHỦ CHI TIẾT (SERVER STATUS TABLE)
   ========================================================================== */
.section-block {
	padding: 90px 0;
	position: relative;
}

.section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 50px;
}

.section-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 12px;
}

.section-title {
	font-size: clamp(26px, 3.2vw, 35px);
	font-weight: 800;
	letter-spacing: -0.5px;
	color: #fff;
	margin-bottom: 14px;
}

.section-desc {
	font-size: 15px;
	color: var(--text-secondary);
	line-height: 1.7;
}

.server-section {
	background: linear-gradient(180deg, var(--bg-root) 0%, var(--bg-primary) 100%);
}

.server-table-container {
	background: var(--bg-surface);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	overflow-x: auto;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
}

.server-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.server-table th {
	background: #141c2a;
	padding: 18px 24px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border-subtle);
}

.server-table td {
	padding: 20px 24px;
	border-bottom: 1px solid var(--border-subtle);
	font-size: 14px;
}

.server-table tr:last-child td {
	border-bottom: none;
}

.server-table tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

.srv-name-cell {
	display: flex;
	align-items: center;
	gap: 16px;
}

.srv-icon {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	background: rgba(229, 189, 120, 0.1);
	border: 1px solid rgba(229, 189, 120, 0.25);
	display: grid;
	place-items: center;
	color: var(--gold);
	font-weight: 800;
	font-size: 14px;
	flex-shrink: 0;
}

.srv-info h4 {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2px;
}

.srv-info span {
	font-size: 12px;
	color: var(--text-muted);
}

.status-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
}

.status-badge.online {
	color: var(--accent-green);
}

.status-badge.offline {
	color: var(--accent-red);
}

.status-badge.online::before, .status-badge.offline::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 10px currentColor;
}

.player-bar-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 180px;
}

.player-progress {
	flex: 1;
	height: 6px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-full);
	overflow: hidden;
}

.player-progress-fill {
	height: 100%;
	background: var(--gold-gradient);
	border-radius: var(--radius-full);
}

.server-table th:last-child, .server-table td:last-child {
	text-align: right;
}

.server-table td.server-empty {
	height: 90px;
	text-align: center;
	color: var(--text-muted);
}

.refresh-note {
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	color: var(--text-muted);
}

.player-num {
	font-weight: 800;
	font-size: 15px;
	color: var(--gold-light);
	min-width: 45px;
	text-align: right;
}

/* ==========================================================================
   KHỐI 2: 4 HỆ SINH THÁI TẢI GAME ĐA NỀN TẢNG (DOWNLOAD HUBS)
   ========================================================================== */
.platforms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
}

.platform-hub-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
	transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.platform-hub-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 80% 10%, rgba(229, 189, 120, 0.12), transparent 60%);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.platform-hub-card:hover {
	transform: translateY(-6px);
	border-color: var(--border-gold);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 189, 120, 0.12);
	background: var(--bg-card-hover);
}

.platform-hub-card:hover::before {
	opacity: 1;
}

.hub-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 20px;
}

.hub-brand-icon {
	width: 50px;
	height: 50px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-light);
	display: grid;
	place-items: center;
	color: var(--gold-light);
	transition: all 0.3s ease;
}

.platform-hub-card:hover .hub-brand-icon {
	background: rgba(229, 189, 120, 0.12);
	border-color: var(--gold);
	color: #fff;
	transform: scale(1.05);
}

.hub-brand-icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.hub-badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-muted);
	border: 1px solid var(--border-subtle);
}

.hub-badge-gold, .platform-hub-card.featured .hub-badge {
	background: rgba(229, 189, 120, 0.15);
	color: var(--gold-light);
	border-color: rgba(229, 189, 120, 0.4);
}

.hub-badge-blue {
	background: rgba(56, 189, 248, 0.15);
	color: var(--accent-cyan);
}

.hub-badge-green {
	background: rgba(52, 211, 153, 0.15);
	color: var(--accent-green);
}

.hub-badge-purple {
	background: rgba(168, 85, 247, 0.18);
	color: #c084fc;
}

.hub-title {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
}

.hub-subtitle {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 22px;
	line-height: 1.55;
}

.sub-platform-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 22px;
	border-top: 1px solid var(--border-subtle);
	padding-top: 18px;
}

.sub-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	padding: 5px 9px;
	border-radius: var(--radius-sm);
	background: rgba(9, 12, 18, 0.65);
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
}

.sub-pill-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--gold);
}

.hub-features-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 11px;
	margin-bottom: 28px;
}

.hub-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text-secondary);
}

.hub-feature-item svg {
	width: 14px;
	height: 14px;
	fill: var(--gold);
	flex-shrink: 0;
}

.hub-action-btn {
	width: 100%;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(229, 189, 120, 0.08);
	color: var(--gold-light);
	border: 1px solid rgba(229, 189, 120, 0.25);
	transition: all 0.25s ease;
}

.hub-action-btn:hover {
	background: var(--gold-gradient);
	color: #171105;
	border-color: #ffe7b3;
}

.hub-action-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	transition: transform 0.2s ease;
}

.hub-action-btn:hover svg {
	transform: translateX(4px);
}

/* ==========================================================================
   KHỐI 3: TÍNH NĂNG NỔI BẬT & SỰ KIỆN
   ========================================================================== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.section-alt {
	background: var(--bg-primary);
}

.feature-box {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px 22px;
	transition: all 0.3s ease;
}

.feature-box:hover {
	border-color: var(--border-gold);
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(229, 189, 120, 0.1);
	border: 1px solid rgba(229, 189, 120, 0.25);
	display: grid;
	place-items: center;
	color: var(--gold);
	margin-bottom: 18px;
}

.feature-box h3 {
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.feature-box p {
	font-size: 13px;
	color: var(--text-secondary);
	line-height: 1.65;
}

/* ==========================================================================
   TRANG CHUYÊN ĐỀ TẢI ĐA NỀN TẢNG (DOWNLOAD.HTML)
   ========================================================================== */
.download-page-header {
	padding: 130px 0 60px;
	text-align: center;
	background: radial-gradient(ellipse at 50% 20%, rgba(229, 189, 120, 0.12), transparent 70%);
	border-bottom: 1px solid var(--border-subtle);
}

.download-page-header .section-desc {
	max-width: 680px;
	margin: 0 auto;
}

.download-notice {
	display: inline-block;
	margin-top: 22px;
	padding: 8px 18px;
	border: 1px solid var(--border-gold);
	border-radius: var(--radius-full);
	background: rgba(229, 189, 120, 0.08);
	font-size: 12.5px;
	font-weight: 600;
	color: var(--gold-light);
}

.download-main {
	padding-bottom: 95px;
}

.platform-tabs-nav {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin-top: 36px;
	flex-wrap: wrap;
}

.platform-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: var(--radius-md);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: 700;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.platform-tab-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex-shrink: 0;
}

.platform-tab-btn:hover {
	color: #fff;
	border-color: var(--border-light);
	background: var(--bg-card-hover);
}

.platform-tab-btn.active {
	background: rgba(229, 189, 120, 0.12);
	color: var(--gold-light);
	border-color: var(--gold);
	box-shadow: 0 0 20px rgba(229, 189, 120, 0.2);
}

.platform-tab-pane {
	display: none;
	animation: fadeInTab 0.35s ease;
}

.platform-tab-pane.active {
	display: block;
}

@keyframes fadeInTab {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.download-detail-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 36px;
	margin-top: 48px;
}

.download-links-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 30px;
	margin-bottom: 30px;
}

.download-card-title {
	font-size: 19px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 22px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.mirror-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mirror-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 22px;
	background: rgba(9, 12, 18, 0.65);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	transition: all 0.2s;
}

.mirror-item:hover {
	border-color: var(--border-gold);
	background: rgba(16, 22, 34, 0.9);
}

.mirror-info {
	flex: 1 1 auto;
	min-width: 0;
}

.mirror-info h4 {
	font-size: 14.5px;
	font-weight: 700;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.mirror-info p {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
}

.mirror-action {
	flex: 0 0 auto;
	min-width: 145px;
	text-align: right;
}

.mirror-action .btn {
	width: 100%;
	padding: 10px 16px;
	font-size: 12px;
	white-space: nowrap;
}

.guide-steps-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 30px;
}

.step-item {
	display: flex;
	gap: 22px;
	margin-bottom: 28px;
	position: relative;
}

.step-item:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 42px;
	bottom: -18px;
	left: 18px;
	width: 2px;
	background: var(--border-subtle);
}

.step-number {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(229, 189, 120, 0.12);
	border: 1px solid var(--gold);
	color: var(--gold-light);
	font-weight: 800;
	font-size: 13.5px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	z-index: 2;
}

.step-body h4 {
	font-size: 15.5px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
}

.step-body p {
	font-size: 13.5px;
	color: var(--text-secondary);
	line-height: 1.7;
}

.step-body code, .mirror-info code, .side-info-card code {
	font-family: Consolas, monospace;
	font-size: 0.92em;
	color: var(--gold-light);
	overflow-wrap: anywhere;
}

.code-box {
	background: #080a0f;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	padding: 12px 16px;
	font-family: Consolas, monospace;
	font-size: 12.5px;
	color: var(--gold-light);
	margin-top: 10px;
	overflow-x: auto;
}

.side-info-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 26px;
	margin-bottom: 24px;
}

.side-info-card h3 {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 12px;
}

.side-info-card h3.side-title-gold {
	color: var(--gold-light);
}

.side-info-card > p {
	font-size: 13px;
	color: var(--text-secondary);
	margin-bottom: 16px;
}

.side-info-card > p:last-child {
	margin-bottom: 0;
}

.side-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.side-links .nav-link {
	font-size: 13px;
}

.spec-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
}

.spec-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-label {
	flex-shrink: 0;
	white-space: nowrap;
	color: var(--text-muted);
}

.spec-val {
	font-weight: 600;
	color: var(--text-primary);
}

/* ==========================================================================
   FOOTER CHÂN TRANG
   ========================================================================== */
.footer {
	background: #05070a;
	border-top: 1px solid var(--border-subtle);
	padding: 60px 0 35px;
	color: var(--text-muted);
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
	display: flex;
	gap: 24px;
	font-size: 13px;
	flex-wrap: wrap;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	font-size: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TỐI ƯU GIAO DIỆN DI ĐỘNG & TABLET)
   ========================================================================== */
/* Thanh trên có 3 nút (Đăng nhập / Chơi online / Tải game): khung trang rộng cố định -> mọi cỡ màn đều gọn lại cho menu chữ đủ chỗ */
.nav-links {
	gap: 20px;
}
.nav-actions {
	gap: 10px;
}
.nav-actions .btn-play .btn-icon,
.brand-sub {
	display: none;
}

/* Menu chữ cần ~1150 px cạnh 3 nút: hẹp hơn thì chỉ giữ các nút */
@media (max-width: 1240px) {
	.nav-links {
		display: none;
	}
}

@media (max-width: 1024px) {
	.hero-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero-auth-card {
		justify-self: center;
		max-width: 480px;
	}
	.hero-section {
		height: auto;
		min-height: 780px;
		max-height: none;
		padding: 110px 0 70px;
	}
	.download-detail-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.nav-actions {
		gap: 8px;
	}
	.nav-actions .btn {
		padding: 9px 12px;
		font-size: 11px;
	}
	.nav-actions .btn-icon {
		display: none;
	}
	.hero-stats-row {
		gap: 16px 24px;
	}
	.hero-title {
		font-size: 30px;
	}
	.hero-cta-group {
		flex-direction: column;
	}
	.hero-cta-group .btn {
		width: 100%;
	}
	.platforms-grid {
		grid-template-columns: 1fr;
	}
	.mirror-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.mirror-action {
		width: 100%;
	}
	.platform-tabs-nav {
		flex-direction: column;
	}
	.platform-tab-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
