/* ==========================================================================
   MU THIÊN SỨ - SEASON 2.0 CLASSIC (PC • ANDROID • iOS)
   Dark Obsidian & Royal Gold Theme — Full Vietnamese Diacritics & Mobile-First
   ========================================================================== */

:root {
    --gold: #f5c443;
    --gold-light: #ffea88;
    --gold-dark: #b8860b;
    --gold-gradient: linear-gradient(135deg, #fff299 0%, #e1ad21 52%, #946800 100%);
    --crimson: #e62222;
    --crimson-glow: rgba(230, 34, 34, 0.55);
    --emerald: #10b981;
    --emerald-dark: #059669;
    --sky: #0ea5e9;
    --sky-dark: #0284c7;
    --bg-dark: #080a10;
    --bg-section: #0c101a;
    --bg-card: rgba(16, 21, 34, 0.92);
    --bg-card-soft: rgba(22, 29, 46, 0.72);
    --border-gold: rgba(225, 173, 33, 0.34);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-glow: 0 0 18px rgba(225, 173, 33, 0.22);
    --text-light: #f3f4f6;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --font-heading: 'Philosopher', 'Be Vietnam Pro', Georgia, serif;
    --font-body: 'Be Vietnam Pro', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hidden {
    display: none !important;
}

/* Typography & Helpers */
h1, h2, h3, h4, .gold-text {
    font-family: var(--font-heading);
    color: var(--gold);
    letter-spacing: 0.4px;
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.text-gold { color: var(--gold-light) !important; }
.text-green { color: #34d399 !important; }
.text-cyan { color: #38bdf8 !important; }
.text-amber { color: #fbbf24 !important; }

code {
    background: rgba(0, 0, 0, 0.55);
    color: var(--gold-light);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(245, 196, 67, 0.25);
    font-family: Consolas, Menlo, monospace;
    font-size: 0.9em;
    word-break: break-word;
}

.ui-chip {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 5px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #bae6fd;
    font-weight: 700;
    font-size: 0.88em;
    white-space: nowrap;
}

.ui-chip.chip-green {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.48);
    color: #a7f3d0;
}

.ui-chip.chip-gold {
    background: rgba(245, 196, 67, 0.16);
    border-color: rgba(245, 196, 67, 0.5);
    color: #fef08a;
}

.ui-chip.chip-red {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

.tag-pill {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(225, 173, 33, 0.14);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 10px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 42px;
}

.section-title {
    font-size: 2.25rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 3px;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px var(--gold);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-top: 10px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-mu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    line-height: 1.3;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #1a1100;
    border-color: #ffe57f;
    box-shadow: 0 4px 14px rgba(225, 173, 33, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #fff 0%, #ffd84d 50%, #b8860b 100%);
    box-shadow: 0 6px 20px rgba(245, 196, 67, 0.55);
    transform: translateY(-2px);
}

.btn-crimson {
    background: linear-gradient(135deg, #ef4444 0%, #991b1b 100%);
    color: #fff;
    border-color: #fca5a5;
    box-shadow: 0 4px 14px var(--crimson-glow);
}

.btn-crimson:hover {
    background: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
    box-shadow: 0 6px 22px rgba(239, 68, 68, 0.72);
    transform: translateY(-2px);
}

.btn-android {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border-color: #6ee7b7;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.38);
}

.btn-android:hover {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.58);
    transform: translateY(-2px);
}

.btn-ios {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: #fff;
    border-color: #7dd3fc;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.38);
}

.btn-ios:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.58);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(18, 22, 34, 0.72);
    color: var(--text-light);
    border-color: var(--border-gold);
}

.btn-outline:hover {
    background: rgba(225, 173, 33, 0.16);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 74px;
    background: rgba(8, 10, 16, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    z-index: 100;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    gap: 14px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 11px;
    flex-shrink: 0;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, #e62222 0%, #680505 100%);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-light);
    box-shadow: 0 0 14px rgba(230, 34, 34, 0.55);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-text small {
    font-size: 0.64rem;
    color: var(--gold);
    letter-spacing: 1.6px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    padding: 6px 4px;
    white-space: nowrap;
}

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

.nav-link.highlight-menu {
    color: #ffea88;
    background: rgba(225, 173, 33, 0.14);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
}

.nav-link.highlight-menu:hover {
    background: var(--gold-gradient);
    color: #111;
}

.header-cta-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audio-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.audio-toggle-btn.is-on {
    border-color: #10b981;
    color: #34d399;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 24, 0.98);
    border-bottom: 1px solid var(--border-gold);
    padding: 14px 20px 18px;
    z-index: 99;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
}

.mobile-nav-drawer.open {
    display: flex;
}

.mobile-nav-drawer a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 118px 0 64px;
    background: url('../images/hero-bg.jpg?v=20261206b') no-repeat center center / cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center top, rgba(12, 16, 28, 0.56) 0%, rgba(8, 10, 16, 0.96) 82%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
}

.hero-season-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(230, 34, 34, 0.24);
    border: 1px solid rgba(239, 68, 68, 0.7);
    color: #fecaca;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.4rem;
    line-height: 1.12;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #e2e8f0;
    margin: 0 auto 24px;
    max-width: 780px;
}

.os-detect-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.5);
    color: #d1fae5;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.92rem;
}

.os-detect-banner strong {
    color: #6ee7b7;
}

.inapp-browser-alert {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.65);
    color: #fef3c7;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 auto 22px;
    max-width: 780px;
    text-align: left;
    font-size: 0.9rem;
}

.inapp-browser-alert strong {
    color: #fde68a;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 26px;
}

.stat-box {
    background: rgba(16, 21, 34, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 14px 10px;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stat-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-top: 3px;
}

.hero-btn-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-pulse {
    padding: 14px 30px;
    font-size: 1rem;
    animation: heroGlow 2.2s infinite alternate;
}

@keyframes heroGlow {
    0% { box-shadow: 0 0 14px rgba(230, 34, 34, 0.55); }
    100% { box-shadow: 0 0 26px rgba(230, 34, 34, 0.9), 0 0 38px rgba(245, 196, 67, 0.35); }
}

/* ==========================================================================
   TRUNG TÂM TẢI GAME 3 NỀN TẢNG (PC / ANDROID / iOS)
   ========================================================================== */
.download-section {
    padding: 72px 0;
    background: radial-gradient(circle at center top, rgba(24, 32, 54, 0.75) 0%, var(--bg-dark) 68%);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.platform-card:hover {
    transform: translateY(-4px);
}

.platform-card.card-pc {
    border-top: 3px solid var(--gold);
}

.platform-card.card-android {
    border-top: 3px solid var(--emerald);
}

.platform-card.card-ios {
    border-top: 3px solid var(--sky);
}

.platform-card.is-recommended {
    border-color: var(--gold);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(245, 196, 67, 0.28);
}

.platform-card.card-android.is-recommended {
    border-color: var(--emerald);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(16, 185, 129, 0.28);
}

.platform-card.card-ios.is-recommended {
    border-color: var(--sky);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(14, 165, 233, 0.28);
}

.os-match-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: #111;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.6px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.card-android .os-match-badge {
    background: linear-gradient(135deg, #34d399, #059669);
    color: #fff;
}

.card-ios .os-match-badge {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff;
}

.platform-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.platform-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-pc .platform-icon-box {
    background: rgba(245, 196, 67, 0.12);
    border-color: rgba(245, 196, 67, 0.35);
}

.card-android .platform-icon-box {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.38);
}

.card-ios .platform-icon-box {
    background: rgba(14, 165, 233, 0.14);
    border-color: rgba(14, 165, 233, 0.38);
}

.platform-head h3 {
    font-size: 1.35rem;
    margin-bottom: 2px;
}

.platform-version {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.platform-meta {
    background: rgba(0, 0, 0, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
    list-style: none;
    font-size: 0.85rem;
}

.platform-meta li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.platform-meta li:last-child {
    border-bottom: none;
}

.platform-meta span {
    color: var(--text-muted);
}

.platform-meta strong {
    color: #f8fafc;
    text-align: right;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.btn-dl-big {
    padding: 13px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.btn-sub-line {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* Backup mirror pills inside PC card */
.mirrors-box {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.mirrors-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
    font-weight: 700;
}

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

.mirror-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    transition: all 0.2s;
    text-align: center;
}

.mirror-pill small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mirror-pill.is-live:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    background: rgba(245, 196, 67, 0.14);
    color: var(--gold-light);
}

.mirror-pill.is-live.m-mediafire {
    border-color: rgba(14, 165, 233, 0.55);
    background: rgba(14, 165, 233, 0.12);
    color: #7dd3fc;
}

.mirror-pill.is-live.m-mega {
    border-color: rgba(244, 63, 94, 0.55);
    background: rgba(244, 63, 94, 0.12);
    color: #fda4af;
}

.mirror-pill.is-live.m-gdrive {
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

.mirror-pill.is-pending {
    opacity: 0.68;
    cursor: pointer;
}

.mirror-pill.is-pending:hover {
    opacity: 0.92;
    border-color: rgba(255, 255, 255, 0.28);
}

.platform-note {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.32);
    border-radius: 9px;
    padding: 10px 12px;
    font-size: 0.81rem;
    color: #fde68a;
    margin-bottom: 14px;
    line-height: 1.5;
}

.platform-card-footer {
    margin-top: auto;
    padding-top: 8px;
}

.btn-guide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-guide-link:hover {
    background: rgba(245, 196, 67, 0.14);
    border-color: var(--gold);
    color: var(--gold-light);
}

/* Utility tools bar */
.tools-strip {
    margin-top: 30px;
    background: rgba(16, 21, 34, 0.78);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px 20px;
}

.tools-strip-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.tools-strip-head h4 {
    font-size: 1.05rem;
}

.tools-strip-head span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.tools-links-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.tool-mini-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.2s;
}

.tool-mini-card:hover {
    border-color: var(--gold);
    background: rgba(245, 196, 67, 0.1);
    transform: translateY(-2px);
}

.tool-mini-card strong {
    color: #f8fafc;
    font-size: 0.84rem;
}

.tool-mini-card span {
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

/* ==========================================================================
   HƯỚNG DẪN CÀI ĐẶT CHI TIẾT (ANDROID / iOS / PC)
   ========================================================================== */
.guide-section {
    padding: 76px 0;
    background: #07090f;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.guide-tab-btn {
    padding: 13px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.94rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.22s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.guide-tab-btn:hover {
    border-color: var(--gold);
    color: #fff;
}

.guide-tab-btn.active[data-guide="android"] {
    background: linear-gradient(135deg, #10b981, #047857);
    color: #fff;
    border-color: #6ee7b7;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.guide-tab-btn.active[data-guide="ios"] {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: #fff;
    border-color: #7dd3fc;
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.35);
}

.guide-tab-btn.active[data-guide="pc"] {
    background: var(--gold-gradient);
    color: #111;
    border-color: #ffe57f;
    box-shadow: 0 0 18px rgba(245, 196, 67, 0.35);
}

.guide-pane {
    display: none;
}

.guide-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Info / Warning Callouts */
.callout-box {
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.92rem;
    line-height: 1.65;
}

.callout-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.callout-amber {
    background: rgba(245, 158, 11, 0.11);
    border: 1px solid rgba(245, 158, 11, 0.42);
    color: #fef3c7;
}

.callout-sky {
    background: rgba(14, 165, 233, 0.11);
    border: 1px solid rgba(56, 189, 248, 0.42);
    color: #e0f2fe;
}

.callout-emerald {
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(52, 211, 153, 0.42);
    color: #d1fae5;
}

.callout-crimson {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.48);
    color: #fee2e2;
}

/* Detailed Step Cards (Vertical Rich Steps) */
.detailed-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.d-step-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
}

.d-step-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gold-gradient);
    color: #111;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#guide-android .d-step-num {
    background: linear-gradient(135deg, #34d399, #059669);
    color: #fff;
}

#guide-ios .d-step-num {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    color: #fff;
}

.d-step-body h4 {
    font-size: 1.15rem;
    color: #f8fafc;
    margin-bottom: 8px;
}

.d-step-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.d-step-body ul, .d-step-body ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.91rem;
}

.d-step-body li {
    margin-bottom: 6px;
}

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

.brand-tip {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.brand-tip strong {
    display: block;
    color: #6ee7b7;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

/* iOS Comparison Table */
.compare-table-wrap {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: var(--bg-card);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.88rem;
}

.compare-table th {
    background: rgba(14, 165, 233, 0.16);
    color: #bae6fd;
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
}

.compare-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
}

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

.badge-mini {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.badge-mini.bg-green { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.badge-mini.bg-sky { background: rgba(14, 165, 233, 0.2); color: #7dd3fc; }
.badge-mini.bg-amber { background: rgba(245, 158, 11, 0.2); color: #fde68a; }

/* iOS Method Sub-Tabs */
.ios-method-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.ios-method-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s;
    color: var(--text-secondary);
}

.ios-method-btn strong {
    display: block;
    color: #fff;
    font-size: 0.96rem;
    margin-bottom: 3px;
}

.ios-method-btn span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.ios-method-btn.active, .ios-method-btn:hover {
    border-color: #38bdf8;
    background: rgba(14, 165, 233, 0.16);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.24);
}

.ios-method-btn.active strong {
    color: #7dd3fc;
}

.ios-method-pane {
    display: none;
}

.ios-method-pane.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

/* FAQ Accordion */
.faq-wrap {
    margin-top: 26px;
}

.faq-heading {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: var(--gold-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #f1f5f9;
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 0 18px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 12px;
}

.faq-item.open .faq-answer {
    display: block;
}

/* System Requirements inside PC guide */
.sys-req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.req-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 20px;
}

.req-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 0.74rem;
    font-weight: 800;
    border-radius: 5px;
    margin-bottom: 12px;
}

.req-box.rec-req .req-badge {
    background: rgba(245, 196, 67, 0.14);
    border-color: var(--gold);
    color: var(--gold-light);
}

.req-box ul {
    list-style: none;
}

.req-box li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.87rem;
    color: #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.req-box li:last-child {
    border-bottom: none;
}

.req-box li strong {
    color: var(--text-muted);
}

/* ==========================================================================
   COMMUNITY & SUPPORT
   ========================================================================== */
.community-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #090c14 0%, #141a2b 100%);
    border-top: 1px solid var(--border-gold);
}

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

.comm-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s;
}

.comm-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: var(--border-glow);
}

.comm-icon {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.comm-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.comm-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex: 1;
}

.comm-status-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: rgba(245, 158, 11, 0.14);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.comm-status-tag.live {
    background: rgba(16, 185, 129, 0.14);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   CLASSES & FEATURES (GIỚI THIỆU GAME BÊN DƯỚI)
   ========================================================================== */
.classes-section {
    padding: 72px 0;
    background: radial-gradient(circle at center, rgba(20, 26, 42, 0.85) 0%, #080a10 76%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.class-tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.class-tab-btn {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #e5e7eb;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.c-badge {
    background: rgba(225, 173, 33, 0.2);
    color: var(--gold-light);
    font-size: 0.72rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-gold);
}

.class-tab-btn.active, .class-tab-btn:hover {
    background: var(--gold-gradient);
    color: #111;
    border-color: #ffd84d;
}

.class-tab-btn.active .c-badge {
    background: #111;
    color: var(--gold-light);
    border-color: #111;
}

.class-content-wrapper {
    max-width: 1020px;
    margin: 0 auto;
}

.class-display-card {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 32px 36px;
}

.class-display-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.class-origin-tag {
    color: #f87171;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.class-title {
    font-size: 1.9rem;
    margin-bottom: 10px;
}

.class-bio {
    color: var(--text-secondary);
    font-size: 0.98rem;
    margin-bottom: 20px;
}

.class-perks {
    background: rgba(0, 0, 0, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.perk-item {
    display: flex;
    gap: 10px;
    margin-bottom: 7px;
    font-size: 0.92rem;
}

.perk-item:last-child { margin-bottom: 0; }
.perk-label { min-width: 150px; font-weight: 700; color: var(--text-muted); }
.perk-val { color: #e2e8f0; }

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

.stat-bar-group span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.bar-outer {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-inner {
    height: 100%;
    background: var(--gold-gradient);
}

.features-section {
    padding: 72px 0;
    background: #090b12;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.feature-img-wrap {
    height: 175px;
    overflow: hidden;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.06);
}

.feature-body {
    padding: 18px 20px;
}

.feature-body h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.feature-body p {
    color: var(--text-muted);
    font-size: 0.89rem;
}

/* ==========================================================================
   FOOTER & FLOATING BAR & MODAL & TOAST
   ========================================================================== */
.main-footer {
    background: #05060a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 0 92px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.floating-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 18, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-gold);
    padding: 10px 16px;
    z-index: 95;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}

.floating-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.floating-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.floating-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.floating-actions .btn-mu {
    padding: 8px 14px;
    font-size: 0.82rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(6px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.modal-box {
    background: #101522;
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.modal-icon { font-size: 2.8rem; margin-bottom: 8px; }
.modal-title { font-size: 1.35rem; margin-bottom: 10px; }
.modal-desc { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 20px; }
.modal-btn-group { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.copy-toast {
    position: fixed;
    bottom: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #065f46;
    border: 1px solid #34d399;
    color: #ecfdf5;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    max-width: 92vw;
    text-align: center;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .platform-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .tools-links-row { grid-template-columns: repeat(2, 1fr); }
    .nav-menu { display: none; }
    .mobile-menu-btn { display: inline-flex; }
    .community-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .ios-method-nav { grid-template-columns: 1fr; }
    .brand-tips-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-section { padding: 102px 0 48px; }
    .hero-title { font-size: 2.3rem; }
    .section-title { font-size: 1.65rem; }
    .server-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sys-req-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .stat-bars { grid-template-columns: 1fr; }
    .audio-toggle-btn #audio-text { display: none; }
    .audio-toggle-btn { padding: 8px 10px; }
    .header-cta-group .btn-gold { padding: 8px 14px; font-size: 0.82rem; }
    .d-step-card { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .d-step-num { width: 40px; height: 40px; font-size: 1.05rem; }
    .class-display-card { padding: 22px 18px; }
    .perk-item { flex-direction: column; gap: 2px; }
    .perk-label { min-width: 100%; }
    .floating-info { display: none; }
    .floating-actions { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .tools-links-row { grid-template-columns: 1fr; }
    .mirrors-grid { grid-template-columns: 1fr; }
    .hero-btn-group .btn-mu { width: 100%; }
}
