/* ===================================================================
   MU HUYẾT THẦN - PREMIUM DOWNLOAD LANDING PAGE
   Aesthetics: Gothic Dark Fantasy, Obsidian & Metallic Gold, Royal Crimson
=================================================================== */

:root {
    --bg-dark: #06070a;
    --primary-gold: #d4af37;
    --primary-gold-bright: #ffd700;
    --primary-gold-deep: #aa8012;
    --gold-glow: rgba(212, 175, 55, 0.45);
    
    --crimson: #e63946;
    --crimson-glow: rgba(230, 57, 70, 0.45);
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #8b95a5;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', 'Montserrat', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Core Setup */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #06070a;
}
::-webkit-scrollbar-thumb {
    background: #222533;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* ===================================================================
   VIDEO BACKGROUND WITH BLUR FILTER (NỀN MỜ - POSITIVE Z-INDEX)
=================================================================== */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    filter: blur(10px) brightness(0.7) saturate(1.2);
    transform: scale(1.08); /* prevents blur leakage at viewport edges */
    z-index: 0;
    pointer-events: none;
    will-change: transform, filter;
}

/* Overlay gradient to keep text crisp while letting video movement show */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(6, 7, 10, 0.32) 0%, rgba(6, 7, 10, 0.68) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Canvas Rising Embers */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    pointer-events: none;
}

/* ===================================================================
   HUD TOP BAR (FIXED CORNERS: STATUS & SOUND)
=================================================================== */
.hud-top-bar {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

.hud-top-bar > * {
    pointer-events: auto;
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 18, 28, 0.88);
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid rgba(34, 197, 94, 0.4);
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(34, 197, 94, 0.2);
    transition: var(--transition-smooth);
}

.server-status-pill:hover {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
}

.status-indicator-ping {
    position: relative;
    display: inline-flex;
    width: 9px;
    height: 9px;
}

.ping-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #22c55e;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #22c55e;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.server-name-tag strong {
    color: var(--primary-gold-bright);
    letter-spacing: 0.5px;
}

.status-badge {
    background: #166534;
    color: #4ade80;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 800;
}

.sound-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(14, 18, 28, 0.88);
    color: var(--primary-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sound-toggle-btn:hover {
    background: var(--primary-gold);
    color: #06070a;
    box-shadow: 0 0 20px var(--gold-glow);
    transform: scale(1.1);
}

/* ===================================================================
   MAIN DOWNLOAD PORTAL
=================================================================== */
.download-portal {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.portal-container {
    max-width: 820px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto 0;
}

/* 3D Crest Logo Styling */
.logo-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
    margin-bottom: 22px;
    perspective: 1000px;
}

.logo-glow-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.38) 0%, rgba(230, 57, 70, 0.22) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(40px);
    animation: auraPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes auraPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.65;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.95;
    }
}

.main-logo {
    width: 100%;
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.45)) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85));
    animation: floatLogo 5s ease-in-out infinite;
    transition: transform 0.25s ease-out;
    user-select: none;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px) scale(0.98);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Intro Text */
.intro-text {
    margin-bottom: 30px;
}

.edition-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(230, 57, 70, 0.25) 0%, rgba(212, 175, 55, 0.25) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 5px 18px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-gold-bright);
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.text-crimson {
    color: var(--crimson);
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 15%, #ffd700 55%, #e63946 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1.02rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ===================================================================
   DOWNLOAD BUTTONS CONTAINER
=================================================================== */
.download-container {
    display: flex;
    flex-direction: row;
    gap: 22px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 700px;
    margin-bottom: 25px;
}

/* Base Download Button */
.download-btn {
    flex: 1;
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 20px 24px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-bounce);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Glassmorphic Overlay & Shine */
.download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    pointer-events: none;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -130%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-25deg);
    transition: 0.75s ease;
}

.download-btn:hover .btn-shine {
    left: 150%;
}

.download-btn:hover {
    transform: translateY(-6px) scale(1.02);
}

.download-btn:active {
    transform: translateY(-2px) scale(0.99);
}

/* Icon */
.btn-icon {
    font-size: 2.5rem;
    margin-right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.download-btn:hover .btn-icon {
    transform: scale(1.12);
}

/* Content */
.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex-grow: 1;
}

.btn-subtitle {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2px;
}

.btn-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.btn-meta {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Arrow */
.btn-arrow {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 12px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover .btn-arrow {
    color: #ffffff;
    transform: translateY(4px);
}

/* Google Drive Button Styling */
.btn-gdrive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(5, 150, 105, 0.16) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.btn-gdrive .btn-icon {
    color: #34d399;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

.btn-gdrive .btn-title {
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 30%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gdrive:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.42) 0%, rgba(5, 150, 105, 0.3) 100%);
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 20px 45px rgba(16, 185, 129, 0.35), 0 0 25px rgba(16, 185, 129, 0.2);
}

/* Mega.nz Button Styling */
.btn-mega {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.28) 0%, rgba(185, 28, 28, 0.16) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.btn-mega .btn-icon {
    color: #f87171;
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}

.btn-mega .btn-title {
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 30%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-mega:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.42) 0%, rgba(185, 28, 28, 0.3) 100%);
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 20px 45px rgba(239, 68, 68, 0.35), 0 0 25px rgba(239, 68, 68, 0.2);
}

/* ===================================================================
   QUICK HELPERS & FOOTER
=================================================================== */
.quick-helpers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.helper-btn {
    background: rgba(18, 22, 35, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--text-secondary);
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.helper-btn i {
    color: var(--primary-gold);
}

.helper-btn:hover {
    background: rgba(26, 32, 52, 0.95);
    color: #ffffff;
    border-color: var(--primary-gold-bright);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

/* Nút Tham Gia Cộng Đồng Zalo trong Portal */
.helper-zalo {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.22) 0%, rgba(0, 70, 185, 0.16) 100%);
    border: 1px solid rgba(0, 136, 255, 0.55);
    color: #e0f2fe;
    box-shadow: 0 4px 18px rgba(0, 104, 255, 0.22);
}

.helper-zalo:hover {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.42) 0%, rgba(0, 80, 210, 0.3) 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(0, 104, 255, 0.5), 0 0 15px rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

.zalo-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px rgba(0, 136, 255, 0.7));
    transition: transform 0.3s ease;
}

.helper-zalo:hover .zalo-btn-icon {
    transform: scale(1.12) rotate(-4deg);
}

.zalo-external-icon {
    font-size: 0.72rem;
    opacity: 0.75;
    margin-left: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.helper-zalo:hover .zalo-external-icon {
    opacity: 1;
    transform: translate(2px, -2px);
    color: #38bdf8;
}

.footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}

.footer strong {
    color: var(--primary-gold-bright);
}

.footer-sub {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}

/* ===================================================================
   MODAL WINDOW
=================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: #0f121d;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(212, 175, 55, 0.15);
    transform: scale(0.92);
    transition: var(--transition-bounce);
    overflow: hidden;
}

.modal-backdrop.open .modal-window {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18), rgba(230, 57, 70, 0.15));
    padding: 16px 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--primary-gold-bright);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close-btn:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-body {
    padding: 22px;
    max-height: 70vh;
    overflow-y: auto;
    text-align: left;
}

.modal-alert {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.alert-warning {
    background: rgba(234, 179, 8, 0.15);
    border: 1px solid rgba(234, 179, 8, 0.35);
    color: #fef08a;
}

.alert-warning i {
    font-size: 1.2rem;
    color: #facc15;
    margin-top: 2px;
}

.modal-body h4 {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-steps-list {
    margin-left: 20px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.modal-steps-list li {
    margin-bottom: 6px;
}

.support-tools-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.tool-item-link i {
    color: var(--primary-gold);
}

.tool-item-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-gold);
    color: #ffffff;
    transform: translateX(4px);
}

/* Link Box Zalo Hỗ Trợ trong Modal */
.tool-item-zalo {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.15) 0%, rgba(0, 70, 185, 0.1) 100%);
    border-color: rgba(0, 136, 255, 0.4);
    color: #e0f2fe;
}

.tool-item-zalo i {
    color: #38bdf8;
}

.tool-item-zalo:hover {
    background: linear-gradient(135deg, rgba(0, 104, 255, 0.3) 0%, rgba(0, 136, 255, 0.2) 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.35);
}

.modal-footer {
    padding: 14px 22px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
}

.btn-modal-close {
    background: linear-gradient(135deg, var(--primary-gold), var(--crimson));
    border: none;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-modal-close:hover {
    box-shadow: 0 0 15px var(--gold-glow);
    transform: translateY(-2px);
}

/* ===================================================================
   FLOATING ZALO COMMUNITY WIDGET
   Pulsing Radar Wave Effect + Sleek Glassmorphic Pill
=================================================================== */
.floating-zalo-widget {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 900;
}

.floating-zalo-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 14, 24, 0.92);
    border: 1.5px solid rgba(0, 136, 255, 0.55);
    border-radius: 50px;
    padding: 6px 18px 6px 6px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 104, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: var(--transition-bounce);
    position: relative;
}

.floating-zalo-btn:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #38bdf8;
    background: rgba(12, 18, 34, 0.96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 136, 255, 0.6);
}

.floating-zalo-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088ff 0%, #0055d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 104, 255, 0.6);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.floating-zalo-btn:hover .floating-zalo-icon-box {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.8);
}

.floating-zalo-svg {
    display: block;
}

/* Radar Pulse Rings */
.zalo-pulse-ring {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 136, 255, 0.7);
    pointer-events: none;
    z-index: 1;
    animation: zaloRadarPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.zalo-pulse-ring.ring-2 {
    animation-delay: 1.2s;
}

@keyframes zaloRadarPing {
    0% {
        width: 44px;
        height: 44px;
        opacity: 0.9;
        border-color: rgba(56, 189, 248, 0.8);
    }
    100% {
        width: 90px;
        height: 90px;
        opacity: 0;
        border-color: rgba(0, 104, 255, 0);
    }
}

.floating-zalo-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}

.floating-zalo-label .label-top {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #38bdf8;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}

.floating-zalo-label .label-main {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.floating-zalo-btn:hover .label-main {
    color: #ffd700;
}

/* Toast Notification (vị trí nổi phía trên widget) */
.toast-notification {
    position: fixed;
    bottom: 95px;
    right: 25px;
    background: #0f172a;
    border: 1px solid #22c55e;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
================================================================== */
@media (max-width: 680px) {
    .hud-top-bar {
        top: 14px;
        padding: 0 16px;
    }

    .server-status-pill {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .sound-toggle-btn {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }

    .download-container {
        flex-direction: column;
        gap: 14px;
    }

    .download-btn {
        width: 100%;
        padding: 16px 20px;
    }

    .quick-helpers {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .quick-helpers .helper-btn {
        width: 100%;
        justify-content: center;
    }

    .floating-zalo-widget {
        bottom: 18px;
        right: 18px;
    }

    .floating-zalo-btn {
        padding: 5px 14px 5px 5px;
        gap: 10px;
    }

    .floating-zalo-icon-box {
        width: 40px;
        height: 40px;
    }

    .floating-zalo-label .label-main {
        font-size: 0.82rem;
    }

    .logo-wrapper {
        max-width: 290px;
    }

    .main-logo {
        max-height: 170px;
    }

    .main-title {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 0.92rem;
    }
}
