body, html {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            font-family: 'Segoe UI', 'Arial', sans-serif;
            background: #14181e;
            overflow-x: hidden;
        }
 #videoBG, #bgImage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: none;
    background: #111;
}
        #bgImage { display: none; }

        .header-bar {
            width: 100vw;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 68px;
            /* background: rgba(14,18,22,0.95); */
            /* box-shadow: 0 4px 18px #000b; */
            z-index: 120;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 18px 0 12px;
        }
        .logo-title {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 150px;
        }
        .logo-title img {
            width: 75px;
            height: 75px;
            border-radius: 9px;
            object-fit: contain;
        }
        .server-name {
    font-weight: bold;
    font-size: 1.27rem;
    color: #c1c1c1;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px #000c;
    margin-right: 10px;
        }
        .slogan {
            color: #ffe59b;
            font-size: 0.98rem;
            font-weight: 500;
            margin-left: 8px;
            white-space: nowrap;
            text-shadow: 0 2px 8px #0002;
        }
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #ffe199;
            font-size: 2.2rem;
            cursor: pointer;
            margin-right: 14px;
            position: relative;
            z-index: 999;
        }
        .header-buttons {
            display: flex;
            gap: 18px;
        }
        .header-btn {
            background: #b83030;
            color: #fff;
            border: none;
            border-radius: 9px;
            font-weight: 600;
            font-size: 1.07rem;
            padding: 11px 23px 11px 17px;
            box-shadow: 0 2px 8px #fc4c4c22;
            transition: background .18s, box-shadow .2s, color .1s;
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }
        .header-btn.header-btn-alt { background: #222e36; color: #ffe18b; font-weight: 500; }
        .header-btn.header-btn-fan { background: #0067b6; color: #fff; }
        .header-btn.header-btn-group { background: #275b24; color: #d3ffd8; }
        .header-btn:hover { filter: brightness(1.10); background: #d43c23; color: #fff; }
        .header-btn.header-btn-fan:hover { background: #1e8cdf; }
        .header-btn.header-btn-group:hover { background: #39943b; }
        .header-btn.header-btn-alt:hover { background: #414f59; color: #fff4d0; }

        .main-wrap {
         display: flex;
    min-height: calc(100vh - 68px);
    margin-top: 68px;
        }
.sidebar-menu {
    /* position: fixed; */   /* SAI! */
    position: relative;      /* ĐÚNG! */
    width: 241px;
    background: rgb(0 0 0 / 51%);
    padding: 38px 18px 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* border-top-right-radius: 28px; */
    /* border-bottom-right-radius: 38px; */
    box-shadow: 1px 0 28px #000a;
    z-index: 2;
    transition: left 0.25s cubic-bezier(.6,.1,.6,1);
    overflow-y: auto;
    height: auto;            /* Nếu cần */
    top: unset;
    left: unset; /* Xoá nếu có */
}

.menu-btn-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 340px;
    margin: 0 auto;
}

.menu-btn {
display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, #fbe4af 0%, #b83434 60%, #b10000 100%);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 600;
    border: none;
    border-radius: 2rem;
    padding: 0.8rem 1.4rem;
    min-height: 48px;
    box-shadow: 0 2px 16px rgba(44, 55, 123, 0.23);
    cursor: pointer;
    transition: background 0.18s, transform 0.16s, box-shadow 0.18s;
    position: relative;
    outline: none;
}
.menu-btn:hover, .menu-btn:focus {
 background: linear-gradient(90deg, #413b6b 0%, #c94444 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 24px 0 rgba(126, 48, 194, 0.2);
    color: #ffd700;
}
.btn-badge {
background: #fff;
    color: #681413;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    width: 2.1em;
    height: 2.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 7px rgba(44, 70, 190, 0.14);
    margin-right: 8px;
    border: 2px solid #681413;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .menu-btn-group {
        max-width: 98vw;      /* menu co lại gần hết màn hình */
        width: 50vw;
        margin: 42px auto 0 auto;  /* cách top header 32px, chỉnh tăng giảm tuỳ ý */
    }
    .menu-btn {
        font-size: 0.98rem;   /* text nhỏ lại */
        padding: 0.6rem 1.1rem;
        min-height: 40px;
        border-radius: 1.2rem;
        gap: 10px;
    }
    .btn-badge {
        font-size: 0.88rem;
        width: 1.6em;
        height: 1.6em;
        margin-right: 6px;
        border-width: 1.5px;
    }

}
        .menu-btn.active, .menu-btn:focus {
            background: linear-gradient(90deg, #333944 40%, #ad4c11 170%);
            color: #fff0c1;
            box-shadow: 0 6px 28px #ffebac22;
            transform: scale(1.07);
        }
        .menu-btn .fa-solid { font-size: 1.19rem; }
        .right-content {
            flex: 1;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 42px 16px 28px 16px;
            min-height: 86vh;
            position: relative;
            z-index: 2;
        }
/* Pop-up khi chọn mục từ sidebar */
        .main-img-content {
            display: none;
            width: 100%;
            max-width: 1500px;
            min-width: 300px;
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 10px 46px #000e, 0 2px 12px #fff2;
            background: #222d36;
            animation: fadeIn .7s;
            position: relative;

        }
        .main-img-content.active { display: block; animation: fadeIn .7s; }
        @keyframes fadeIn { 0% {opacity:0; transform: scale(0.99) translateY(25px);} 100% {opacity:1; transform: scale(1) translateY(0);} }
        .main-img-content img { width: 100%; display: block; }
        .close-panel-btn {
            position: absolute;
            top: 18px;
            right: 18px;
            z-index: 22;
            width: 44px;
            height: 44px;
            background: #bb2d2d;
            color: #fff;
            border: none;
            border-radius: 50%;
            font-size: 1.63rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 12px #0006;
            cursor: pointer;
            transition: background .18s;
        }
        .close-panel-btn:hover { background: #e85757; }
        .welcome-content {
            display: none;
            margin: auto;
            padding: 64px 14px;
            text-align: center;
            width: 100%;
            max-width: 900px;
            background: rgba(26,30,40,0.6);
            border-radius: 18px;
            box-shadow: 0 8px 40px #000b;
        }
        .welcome-content.active { display: block; }
        footer {
            background: #11181d;
            color: #ffe99a;
            border-top: 1px solid #31343c;
            box-shadow: 0 -2px 10px #000a;
            text-align: center;
            padding: 15px 0 12px 0;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100vw;
            z-index: 10;
            font-size: 15px;
            letter-spacing: 1px;
        }
        /* Overlay cho mobile sidebar */
        .sidebar-overlay {
            display: none;
            position: fixed;
            left: 0; top: 0;
            width: 100vw;
            height: 100vh;
            z-index: 170;
            background: rgba(0,0,0,0.48);
            transition: opacity .2s;
        }
        /* Nút X đóng sidebar mobile */
        .sidebar-close {
            display: none;
            position: absolute;
            top: 4px;
            right: 1px;
            background: #322264;
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 29px;
            height: 29px;
            font-size: 1.55rem;
            z-index: 999;
            cursor: pointer;
            transition: background .17s;
            align-items: center;
            justify-content: center;
        }
        .sidebar-close:hover { background: #d43c23; }
        @media (max-width: 991px) {
            .main-wrap { flex-direction: column; }
            .sidebar-menu {
                position: fixed;
                left: -340px;
                top: 0;
                height: 100vh;
                z-index: 200;
                box-shadow: 4px 0 40px #0009;
                border-radius: 0 24px 28px 0;
                transition: left 0.3s cubic-bezier(.5,.1,.8,1);
                padding-top: 72px;
            }
            .sidebar-menu.open { left: 0; }
            .menu-toggle { display: block; }
            .slogan { display: none !important; }
            .header-buttons { gap: 7px; }
            .header-btn { font-size: 0.89rem; padding: 7px 11px 7px 9px; border-radius: 7px;}
            .logo-title img { width: 33px; height: 33px;}
            .server-name { font-size: 1.04rem; margin-right:4px;}
            .sidebar-close { display: flex; }
        }
        @media (max-width: 576px) {
            .main-img-content {min-width: 0;}
            .header-bar {padding: 0 4px;}
            .sidebar-menu {padding: 12px 0;}
            .menu-btn { font-size: 0.97rem; padding: 11px 7px 11px 7px; gap: 11px;}
            .right-content {padding: 8px 0;}
            .welcome-content {padding: 44px 3vw;}
        }
		.header-bar {
    background: rgba(14,18,22,0.97);
    /* box-shadow: 0 4px 20px #000b; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 68px;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    font-size: 1.25rem;
    font-weight: bold;
    color: #ffe199;
}

.slogan {
    color: #ffe199;
    font-size: 1.07rem;
    font-weight: 500;
    margin-left: 12px;
    white-space: nowrap;
    text-shadow: 0 2px 7px #0002;
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-buttons {
    display: flex;
    gap: 16px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    font-size: 1.09rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px #0002;
    transition: 
        background 0.2s cubic-bezier(.7,.2,.2,1),
        color 0.15s,
        transform 0.17s cubic-bezier(.5,1.4,.6,1),
        box-shadow 0.22s cubic-bezier(.67,.13,.51,.94);
    outline: none;
}

.header-btn.header-btn-alt { background: #232d37; color: #ffd97c; }
.header-btn.header-btn-fan { background: #0870d1; color: #fff; }
.header-btn.header-btn-group { background: #236e24; color: #d1ffd1; }
.header-btn.header-btn-download { background: #b72e2e; color: #fff; }

.header-btn:hover, .header-btn:focus {
    transform: scale(1.055) translateY(-2px);
    box-shadow: 0 8px 32px #0005;
    filter: brightness(1.12);
}

.header-btn.header-btn-fan:hover { background: #1d8bed; color: #fff; }
.header-btn.header-btn-group:hover { background: #34963c; color: #fff; }
.header-btn.header-btn-download:hover { background: #e83c2e; color: #fff; }
.header-btn.header-btn-alt:hover { background: #343f47; color: #ffefae; }
@media (max-width: 991px) {
    .main-wrap { flex-direction: column; }
    .sidebar-menu {
        position: fixed;
        left: -340px;
        top: 0;
        height: 100vh;
        z-index: 200;
        box-shadow: 4px 0 40px #0009;
        border-radius: 0 24px 28px 0;
        transition: left 0.3s cubic-bezier(.5,.1,.8,1);
        padding-top: 72px;
    }
    .sidebar-menu.open { left: 0; }
    .menu-toggle { display: block; }
    .header-buttons { gap: 7px; }
    .header-btn { font-size: 0.89rem; padding: 7px 11px 7px 9px; border-radius: 7px;}
    .logo-title img { width: 33px; height: 33px;}
    .server-name { font-size: 1.04rem; margin-right:4px;}
    .sidebar-close { display: flex; }
}
@media (max-width: 991px) {
    .main-wrap {
        display: block;            /* hoặc flex-direction: column; */
        min-height: auto !important;
        margin-top: 68px;
    }
}
@media (max-width: 576px) {
    .main-wrap {
        margin-top: 62px;         /* nếu header trên mobile thấp hơn, chỉnh lại */
    }
}
/* Chỉ duy nhất block này để ẩn logo + slogan */
@media (max-width: 900px) {
    .logo-title img,
    .logo-title .server-name,
    .logo-title .slogan {
        display: none !important;
    }

    .header-bar {
        position: relative !important;
        height: 68px !important;
        padding: 0 !important;
    }
    .header-buttons {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 2;
        margin: 0 !important;
    }
    .menu-toggle {
        position: absolute !important;
        left: 0px !important;
        top: 42% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 9;
        color: #ffffff;
    }
}


/* Còn lại các rule cho 576px, 480px... KHÔNG lặp lại logo/slogan nữa */
@media (max-width: 576px) {
    .main-img-content {min-width: 0;}
    .header-bar {padding: 0 4px;}
    .sidebar-menu {padding: 12px 0;}
    .menu-btn { font-size: 0.97rem; padding: 11px 7px 11px 7px; gap: 11px;}
    .right-content {padding: 8px 0;}
    .welcome-content {padding: 44px 3vw;}
}
.main-img-content {
    transition: opacity 0.25s, transform 0.26s;
    opacity: 0;
    pointer-events: none;
}
.main-img-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.01);
}
.header-btn:hover, .menu-btn:hover {
    box-shadow: 0 4px 24px #ffe19933, 0 2px 8px #0003;
    transform: scale(1.07) translateY(-2px);
    z-index: 2;
}
.header-btn.header-btn-fan:hover {
    background: linear-gradient(90deg, #3397ff 40%, #003b78 120%);
    box-shadow: 0 4px 16px #3397ff99;
}
.header-btn.header-btn-group:hover {
    background: linear-gradient(90deg, #5ceb85 20%, #236e24 120%);
    box-shadow: 0 4px 16px #23d65277;
}
.header-btn.header-btn-alt:hover {
    background: linear-gradient(90deg, #ffe199 10%, #b89b46 100%);
    box-shadow: 0 4px 24px #ffe19977;
    color: #20210a !important;
}
.header-btn i, .menu-btn i {
    display: inline-block;
    animation: icon-dance 2s cubic-bezier(.7,1.5,.4,1) infinite;
}
@keyframes icon-dance {
    0%, 100% { transform: rotate(0) translateY(0);}
    10% { transform: rotate(-12deg) translateY(-6px);}
    30% { transform: rotate(9deg) translateY(2px);}
    45% { transform: rotate(-7deg) translateY(-4px);}
    60% { transform: rotate(7deg) translateY(0);}
    80% { transform: rotate(-5deg) translateY(2px);}
}
.header-btn i, .menu-btn i {
    display: inline-block !important;
    animation: icon-shake 1.7s cubic-bezier(.7,1.8,.4,1) infinite !important;
}
@keyframes icon-shake {
    0%, 100% { transform: rotate(0);}
    15% { transform: rotate(-13deg);}
    35% { transform: rotate(11deg);}
    55% { transform: rotate(-7deg);}
    75% { transform: rotate(6deg);}
}
.header-btn i, .menu-btn i {
    transition: transform 0.28s cubic-bezier(.6,1.8,.4,1);
    display: inline-block;
}

.header-btn:hover i, .menu-btn:hover i {
    transform: rotate(-18deg) scale(1.23);
}
@media (max-width: 576px) {
    .header-buttons {
        gap: 4px !important;   /* Giảm khoảng cách giữa các button */
    }
    .header-btn {
        font-size: 0.95rem !important;
        padding: 7px 8px !important;
        border-radius: 7px !important;
        min-width: 0 !important;
        line-height: 1.3 !important;
        height: 38px !important;      /* Đảm bảo chiều cao đều */
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .header-btn i {
        font-size: 1.13rem !important;
    }
}
@media (max-width: 576px) {
  .header-buttons {
    gap: 3px !important;
    flex: unset !important;
    justify-content: flex-end !important;  /* Sát phải */
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: auto !important; /* Đẩy ra sát phải */
	   gap: 3px !important;
    margin-right: 0 !important;
    margin-left: auto !important;  /* Đẩy hẳn về phải */
    width: unset !important;
    justify-content: flex-end !important;
  }
    .header-bar {
    padding-right: 0 !important;   /* Xóa padding phải */
    padding-left: 4px !important;  /* Giữ chút trái nếu cần */
  }
  .header-btn {
    flex: unset !important;
    min-width: 0 !important;
    padding: 7px 5px !important;
    font-size: 0.95rem !important;
  }
  .header-btn {
    padding: 7px 9px !important; /* thu hẹp padding ngang dọc */
    font-size: 0.97rem !important; /* nhỏ chữ */
    border-radius: 7px !important;
    height: 36px !important;     /* cố định chiều cao, đều nhau */
    min-width: 0 !important;
    line-height: 1.1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 2px 4px #0001 !important;
  }
  .header-btn i {
    font-size: 1.1rem !important;
    margin-right: 4px !important;
  }
}
/* Nút hỗ trợ góc phải dưới */
#support-button {
    position: fixed;
    right: 32px;
    bottom: 32px;
    background: #42e392;
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: background 0.2s;
}
#support-button:hover {
    background: #32b67a;
}

#support-button {
  position: fixed;
  right: 32px;
  bottom: 32px;
  background: #3fda8d;
  color: #fff;
  padding: 20px 26px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.18rem;
  box-shadow: 0 0 16px 4px rgba(66, 227, 146, 0.28), 0 2px 12px rgba(0,0,0,0.15);
  z-index: 1001;
  transition: 
    background 0.18s,
    box-shadow 0.25s,
    transform 0.12s;
  outline: none;
  /* Hiệu ứng ánh sáng chuyển động */
  animation: shine 2s infinite alternate;
}
@keyframes shine {
  0%   { box-shadow: 0 0 16px 6px #42e39299, 0 2px 12px #0003; }
  60%  { box-shadow: 0 0 36px 12px #42e392cc, 0 2px 16px #0004; }
  100% { box-shadow: 0 0 18px 4px #42e39288, 0 2px 12px #0002; }
}
#support-button:hover {
  background: #32b67a;
  box-shadow: 0 0 44px 16px #42e392cc, 0 2px 18px #0005;
  transform: scale(1.06);
}

#support-box {

  position: fixed;
  right: 32px;
  bottom: 90px;
  width: 340px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 36px 0 rgba(66, 227, 146, 0.25), 0 2px 20px #0001;
  z-index: 1002;
  overflow: hidden;
  animation: fadeInUp 0.3s;
}
@keyframes fadeInUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#support-box .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #42e392;
  color: #fff;
  padding: 17px;
  font-size: 1.05rem;
}
#support-box .body {
  padding: 22px;
}
#support-box .btn {
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 600px) {
  #support-box { width: 95vw; right: 2vw; }
  #support-button { right: 3vw; bottom: 3vw; }
}

@media (min-width: 992px) {
  .sidebar-menu {
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ffe19944 transparent;
  }

  /* Mặc định: ẩn hoặc làm trong suốt thanh scroll */
  .sidebar-menu::-webkit-scrollbar {
    width: 8px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .sidebar-menu::-webkit-scrollbar-thumb {
    background: #ffe19933;
    border-radius: 9px;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
  }

  /* Khi hover sidebar, scroll hiện rõ và nổi bật */
  .sidebar-menu:hover::-webkit-scrollbar,
  .sidebar-menu:focus-within::-webkit-scrollbar {
    opacity: 1;
    background: #2a222233;
  }
  .sidebar-menu:hover::-webkit-scrollbar-thumb,
  .sidebar-menu:focus-within::-webkit-scrollbar-thumb {
    opacity: 1;
    background: #ffe199bb;
  }
}
        .mu-btn-group {
            display: flex;
            gap: 18px;
            flex-wrap: nowrap;
            
        }
        .mu-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            background: linear-gradient(93deg, #282d3a 0%, #232d37 100%);
            color: #ffe9b1;
            font-size: 1.07rem;
            font-weight: 700;
            border: none;
            border-radius: 16px;
            padding: 13px 30px;
            min-width: 120px;
            white-space: nowrap;
            text-decoration: none;
            box-shadow: 0 4px 18px #0006, 0 2px 7px #ffe19913;
            transition:
                background 0.2s cubic-bezier(.7,.3,.3,1),
                color 0.13s,
                transform 0.18s cubic-bezier(.6,1.4,.6,1),
                box-shadow 0.2s cubic-bezier(.56,.1,.71,.9);
            position: relative;
            overflow: hidden;
        }
        .mu-btn i,
        .mu-btn .icon-zalo {
            font-size: 1.21rem;
            width: 1.32em;
            height: 1.32em;
            display: inline-block;
            transition: transform 0.25s cubic-bezier(.45,1.8,.4,1);
            will-change: transform;
        }

        /* Style từng loại */
        .mu-btn.mu-btn-alt {
            background: linear-gradient(95deg, #20232b 0%, #7b7e92 100%);
            color: #ffe199;
        }
        .mu-btn.mu-btn-zalo {
            background: linear-gradient(93deg, #2185d0 0%, #0c377c 100%);
            color: #fff4e2;
        }
        .mu-btn.mu-btn-download {
            background: linear-gradient(95deg, #d4453a 10%, #9d0a19 100%);
            color: #fffde8;
        }

        /* Hover hiện đại */
        .mu-btn:hover, .mu-btn:focus {
            background: linear-gradient(93deg, #fffbe6 0%, #ffe199 120%);
            color: #b82e27;
            transform: scale(1.07) translateY(-3px);
            box-shadow: 0 8px 36px #ffd86c39, 0 2px 24px #b82e2733;
            text-decoration: none;
        }
        .mu-btn.mu-btn-zalo:hover {
            background: linear-gradient(93deg, #fffbe6 20%, #0ca8ff 100%);
            color: #0c377c;
        }
        .mu-btn.mu-btn-download:hover {
            background: linear-gradient(93deg, #fffbe6 12%, #f95d47 110%);
            color: #960a13;
        }

        /* Icon rung khi hover */
        .mu-btn:hover i, .mu-btn:focus i,
        .mu-btn:hover .icon-zalo, .mu-btn:focus .icon-zalo {
            animation: shake 0.55s;
            transform: scale(1.2) rotate(-8deg);
        }
        @keyframes shake {
            0%,100% { transform: scale(1.2) rotate(-8deg);}
            30% { transform: scale(1.25) rotate(12deg);}
            60% { transform: scale(1.12) rotate(-10deg);}
            80% { transform: scale(1.20) rotate(5deg);}
        }

        /* Responsive cho mobile */
        @media (max-width: 600px) {
            .mu-btn-group {
                gap: 6px;
            }
            .mu-btn {
                font-size: 0.97rem;
                padding: 8px 12px;
                min-width: 88px;
                border-radius: 11px;
            }
            .mu-btn i,
            .mu-btn .icon-zalo {
                font-size: 1.08rem;
            }
        }
        /* Zalo icon chỉnh giữa dòng */
        .icon-zalo {
            vertical-align: middle;
        }
        @media (max-width: 600px) {
    .header-bar {
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative;
    }
    .menu-toggle {
        position: absolute !important;
        left: 10px; top: 50%;
        transform: translateY(-50%);
        display: block !important;
    }
    .logo-title {
        display: none !important;
    }
    .mu-btn-group {
        justify-content: right !important;
        width: 100%;
    }
}
.mu-logo-bar {
    display: flex
;
    align-items: center;
    gap: 15px;
    /* background: rgba(30, 35, 41, 0.97); */
    border-radius: 18px;
    /* box-shadow: 0 4px 22px #0004, 0 2px 8px #ffe19922; */
    padding: 6px 28px 6px 12px;
    margin: 0;
}
.mu-logo-img img {
    width: 58px; height: 58px;
    border-radius: 13px;
    box-shadow: 0 0 0 4px #ffe19955, 0 8px 32px #000c;
    background: #1b1e29;
    object-fit: contain;
    transition: transform 0.18s;
}
.mu-logo-bar:hover .mu-logo-img img {
    transform: scale(1.07) rotate(-5deg);
    box-shadow: 0 0 0 7px #ffe199bb, 0 10px 40px #000b;
}
.mu-logo-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.mu-server-name {
    color: #ffe199;
    font-weight: 900;
    font-size: 1.38rem;
    letter-spacing: 2px;
    text-shadow:
        0 1px 0 #fff3,
        0 3px 16px #f00c,
        0 2px 10px #ffe19944;
    background: linear-gradient(90deg, #ffe199 60%, #ff4343 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mu-server-sub {
    font-size: 0.96rem;
    color: #c1e2ff;
    opacity: 0.7;
    font-weight: 500;
    margin-top: -2px;
    letter-spacing: 1px;
}
@media (max-width: 600px) {
  .logo-title {
    display: none !important;
  }
  /* Nếu bạn dùng class mới như .mu-logo-bar, .mu-logo-badge, .mu-logo-modern... thì cũng ẩn luôn: */
  .mu-logo-bar,
  .mu-logo-badge,
  .mu-logo-modern {
    display: none !important;
  }
}

.icon-zalo {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-bottom: -2px; /* hoặc -1px nếu muốn icon cao hơn chút */
}
.mu-btn-zalo svg {
    display: block;
    width: 1.2em;
    height: 1.2em;
}
@media (max-width: 600px) {
  .only-pc {
    display: none !important;
  }
}
#support-widget {
    position: fixed;
    bottom: 59px;
    right: 6px;
    z-index: 9999;
    font-family: Arial, sans-serif;

}

/* Box */
#support-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 16px 0;
  min-width: 300px;
  margin-bottom: 28px;
  transition: all 0.3s;
}
#support-box.hidden {
  display: none;
}

/* Item */
.support-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.support-item:hover {
  background: #f6f8fa;
}
.support-item + .support-item {
  border-top: 1px solid #f0f0f0;
}
.icon {
  width: 32px;
  height: 32px;
}
.support-title {
  font-weight: bold;
  font-size: 16px;
}
.support-desc {
  color: #777;
  font-size: 13px;
}

/* Nút nổi */
#support-btn {
  background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
  color: #222;
  border: none;
  border-radius: 30px;
  padding: 10px 26px 10px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  font-weight: 500;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 22px 7px 12px;
  border: 2.5px solid;
  border-image: linear-gradient(90deg, #ff9800 5%, #00e1ff 95%) 1;
  font-size: 1.07rem;
  font-weight: 600;
  color: #222;
  position: relative;
  box-shadow: 0 2px 16px #00e1ff12;
  cursor: pointer;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.2s;
  overflow: visible;
  outline: none;
}
.contact-btn:hover {
  box-shadow: 0 4px 28px #00e1ff33;
  background: #f9fafb;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: transparent;
  border-radius: 50%;
  margin-right: 7px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 1.09rem;
  color: #262626;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.contact-dot {
  position: absolute;
  top: 7px;
  right: 11px;
  width: 19px;
  height: 19px;
  pointer-events: none;
  z-index: 2;
}
.contact-dot::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #ff3131;
  border-radius: 50%;
  position: absolute;
  top: 3.5px;
  left: 3.5px;
  box-shadow: 0 0 0 0 #ff313144;
}

.contact-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #ff313133;
  animation: contact-ping 1.3s infinite cubic-bezier(0.66,0,0,1);
  z-index: 1;
}

@keyframes contact-ping {
  0% {
    transform: scale(0.7);
    opacity: 0.8;
  }
  55% {
    transform: scale(1.6);
    opacity: 0.35;
  }
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

/* Responsive chỉnh nhỏ nút trên mobile */
@media (max-width: 500px) {
  .contact-btn {
    padding: 6px 13px 6px 9px;
    font-size: 0.99rem;
  }
  .contact-icon { width: 32px; height: 32px; margin-right: 5px; }
  .contact-dot { width: 16px; height: 16px; top: 3px; right: 7px; }
}
/* Style cho popup */
.download-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 40px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 1.2rem;
    text-align: center;
}

.download-popup.active {
    display: block;  /* Khi thêm class active, popup sẽ hiển thị */
}

.download-popup .popup-content {
    animation: fadeInOut 3s forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* FontAwesome spinner */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
      /* Sidebar footer */
        .sidebar-footer {
            position: absolute;
            bottom: 20px;
            left: 18px;
            right: 18px;
            background: rgba(20,24,28,0.9);
            border-top: 1px solid #333;
            padding: 20px;
            border-radius: 15px;
            font-size: 1rem;
            color: #fff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        }

        .countdown-timer {
            margin-bottom: 20px;
            text-align: center;
        }

        h4 {
            font-size: 1.5rem;
            margin-bottom: 10px;
            font-weight: bold;
            color: #ffcc00;
            text-shadow: 0 2px 5px rgba(255, 204, 0, 0.7);
        }

        p {
            font-size: 15px;
            font-weight: 700;
            color: #ffcc00;
            margin: 0;
            opacity: 1;
            transform: scale(1);
            transition: opacity 1s ease, transform 1s ease;
        }

        /* Đồng hồ đếm ngược Alpha Test */
        #alpha-test {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ff5733;
            text-shadow: 0 2px 10px rgba(255, 87, 51, 0.7);
            animation: glowing 1.5s infinite alternate;
        }

        /* Hiệu ứng glowing cho text */
        @keyframes glowing {
            0% { text-shadow: 0 0 5px #ff5733, 0 0 10px #ff5733, 0 0 15px #ff5733; }
            50% { text-shadow: 0 0 10px #ff5733, 0 0 20px #ff5733, 0 0 30px #ff5733; }
            100% { text-shadow: 0 0 5px #ff5733, 0 0 10px #ff5733, 0 0 15px #ff5733; }
        }

        /* Icon button styling */
        .mu-btn {
            background: linear-gradient(93deg, #282d3a 0%, #232d37 100%);
            color: #ffe9b1;
            font-size: 1.07rem;
            font-weight: 700;
            border: none;
            border-radius: 30px;
            padding: 15px 30px;
            min-width: 120px;
            white-space: nowrap;
            text-decoration: none;
            box-shadow: 0 4px 18px #0006, 0 2px 7px #ffe19913;
            transition:
                background 0.2s cubic-bezier(.7,.3,.3,1),
                color 0.13s,
                transform 0.18s cubic-bezier(.6,1.4,.6,1),
                box-shadow 0.2s cubic-bezier(.56,.1,.71,.9);
            position: relative;
            overflow: hidden;
        }

        .mu-btn i {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .mu-btn:hover {
            transform: scale(1.07) translateY(-5px);
            box-shadow: 0 8px 36px rgba(255, 204, 0, 0.5);
            background: linear-gradient(93deg, #fffbe6 0%, #ffe199 120%);
            color: #b82e27;
        }

        .mu-btn i:hover {
            transform: rotate(15deg);
        }

        .mu-btn:hover .icon-zalo {
            animation: shake 0.55s;
            transform: scale(1.2) rotate(-8deg);
        }

        /* Shake animation */
        @keyframes shake {
            0%, 100% { transform: scale(1.2) rotate(-8deg);}
            30% { transform: scale(1.25) rotate(12deg);}
            60% { transform: scale(1.12) rotate(-10deg);}
            80% { transform: scale(1.20) rotate(5deg);}
        }

        /* Loading icon */
        .loading-icon {
            width: 50px;
            height: 50px;
            border: 8px solid #f3f3f3;
            border-top: 8px solid #ff5733;
            border-radius: 50%;
            animation: spin 2s linear infinite;
            margin: 10px auto;
        }

        /* Loading spin animation */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
#support-box a {
  text-decoration: none; /* Bỏ gạch chân */
  color: inherit;         /* Giữ nguyên màu chữ */
}

#support-box a:hover {
  text-decoration: none; /* Bỏ gạch chân khi hover */
}

.menu-btn.sidebar-link {
    background: #222; /* fallback */
    color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center left;
    transition: 
        background 0.15s cubic-bezier(.9,.5,.4,1), 
        color 0.16s, 
        box-shadow 0.15s, 
        transform 0.16s;
    box-shadow: 0 2px 16px rgba(44, 55, 123, 0.14);
    position: relative;
    z-index: 1;
}

/* Hiệu ứng overlay khi hover */
.menu-btn.sidebar-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 2rem;
    background: rgba(255,222,77,0.12);
    box-shadow: 0 4px 22px 0 #ffce0080;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.19s;
    z-index: 2;
}
.menu-btn.sidebar-link:hover,
.menu-btn.sidebar-link:focus {
    color: #ffe199;
    box-shadow: 0 6px 30px #ffe19944, 0 0 0 2px #ffd70044;
    transform: scale(1.07);
}
.menu-btn.sidebar-link:hover::after,
.menu-btn.sidebar-link:focus::after {
    opacity: 1;
}
.mu-footer {
  background: linear-gradient(120deg, #000000c7 75%, #000000c2 100%);
  color: #000000;
  padding-top: 32px;
  padding-bottom: 12px;
  font-size: 15px;
  box-shadow: 0 -2px 18px #000a;
  margin-top: 44px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 18px;
  justify-content: space-between;
  gap: 32px 20px;
}
.footer-col {
  flex: 1 1 210px;
  min-width: 200px;
}
.footer-logo {
  width: 68px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px #0008);
}
.footer-desc {
  color: #f5e4b6;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-col h5 {
  color: #ffe082;
  font-size: 1.07rem;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  color: #ffe082;
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.87;
}
.footer-col ul li a:hover {
  color: #ffea7a;
  opacity: 1;
}
.footer-social a {
  color: #ffe082;
  margin-right: 14px;
  font-size: 1.2rem;
  background: #292949;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
  display: inline-block;
  box-shadow: 0 1px 8px #0002;
}
.footer-social a.facebook:hover   { color: #1877f2; background: #fff; }
.footer-social a.zalo:hover      { color: #008FFF; background: #fff; }
.footer-social a.mail:hover      { color: #e25d40; background: #fff; }
.footer-download {
  margin-top: 14px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg,#ffd600 60%,#fcbb22 100%);
  color: #252542;
  font-weight: bold;
  border-radius: 12px;
  padding: 7px 16px 7px 13px;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 2px 12px #a0840040;
  transition: background 0.18s, color 0.17s;
}
.btn-download:hover {
  background: linear-gradient(90deg,#ffe082 30%,#f8b500 100%);
  color: #18182d;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  color: #b6a46a;
  font-size: 14px;
  padding-top: 12px;
  border-top: 1.5px solid #ffe08233;
  letter-spacing: 0.1px;
}
.footer-bottom a {
  color: #ffe082;
  text-decoration: underline dotted;
  opacity: 0.88;
}
.footer-bottom a:hover {
  color: #fff8e5;
  opacity: 1;
}
@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    gap: 24px 0;
    align-items: flex-start;
  }
  .footer-col {
    min-width: 0;
    width: 100%;
    padding-bottom: 10px;
  }
  .footer-logo { width: 54px;}
}
/* Ẩn mặc định, chỉ hiện ở mobile */
.mu-footer-mobile {
  display: none;
}

@media (max-width: 600px) {
  .mu-footer-mobile {
    display: block;
    background: #18192d;
    color: #ffe082;
    padding: 11px 0 3px 0;
    width: 100vw;
    font-size: 15px;
    box-shadow: 0 -2px 12px #000a;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1002;
  }
  .footer-mobile-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }
  .footer-mobile-social {
    display: flex;
    justify-content: center;
    gap: 17px;
    margin-bottom: 2px;
  }
  .footer-mobile-social a {
    color: #ffe082;
    background: #23243a;
    border-radius: 50%;
    font-size: 1.23rem;
    padding: 9px 12px 7px 12px;
    box-shadow: 0 2px 8px #0003;
    transition: background 0.13s, color 0.15s;
  }
  .footer-mobile-social a:hover {
    color: #23243a;
    background: #ffe082;
  }
  .footer-mobile-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #ffd600 60%, #fcbb22 100%);
    color: #252542;
    font-weight: bold;
    border-radius: 12px;
    padding: 7px 18px 7px 14px;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 2px 12px #a0840040;
    margin: 0 auto;
    min-width: 110px;
    transition: background 0.18s, color 0.17s;
  }
  .footer-mobile-download:hover {
    background: linear-gradient(90deg,#ffe082 30%,#f8b500 100%);
    color: #18182d;
  }
  .footer-mobile-copy {
    font-size: 12px;
    color: #e1c97a;
    opacity: 0.88;
    margin-top: 1px;
  }
}
/* Ẩn footer PC khi dùng mobile */
@media (max-width: 600px) {
  .mu-footer, .footer-container, .footer-bottom { display: none !important; }
}
.header-btn-group {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.modern-circle-btn {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff; /* viền trắng mờ xung quanh */
  box-shadow: 0 2px 12px #0002, 0 0 0 3px #fff7;
  transition: box-shadow 0.17s, transform 0.13s;
  cursor: pointer;
  z-index: 1;
  border: 2.5px solid #fff;
  overflow: visible;
}

.modern-circle-btn i {
  font-size: 2.15rem; /* Icon to lên */
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 16px #0005, 0 0px 2px #fff8;
}

.btn-signup {
  background: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
}
.btn-zalo {
  background: linear-gradient(135deg, #008cff 0%, #54a0ff 100%);
}
.btn-download {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  color: #733d00;
}
.btn-facebook {
  background: linear-gradient(135deg, #4c68d7 0%, #223377 100%);
}

.btn-signup i { color: #fff; }
.btn-zalo i { color: #fff; }
.btn-download i { color: #fff; }
.btn-facebook i { color: #fff; }

.modern-circle-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0.45;
  transition: border-color 0.15s;
  pointer-events: none;
}

.modern-circle-btn:hover, .modern-circle-btn:focus {
  box-shadow: 0 6px 24px #ffe199bb, 0 0 0 8px #ffe19926;
  transform: scale(1.12) translateY(-3px);
  z-index: 2;
}
.modern-circle-btn:hover::after, .modern-circle-btn:focus::after {
  border-color: #ffe199;
  opacity: 1;
}

.modern-btn-tip {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -40px;        /* Sát hơn nữa với nút */
  transform: translateX(-50%) scale(.96);
  background: #191a2a;
  color: #ffe199;
  font-size: 0.89rem;   /* Nhỏ hơn */
  padding: 2.5px 12px;  /* Nhỏ gọn lại */
  border-radius: 9px;
  box-shadow: 0 2px 8px #0006, 0 0 0 1px #ffe19922;
  border: 1px solid #ffe19928;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s, transform 0.16s;
  white-space: nowrap;
  z-index: 99;
}

.modern-circle-btn:hover .modern-btn-tip,
.modern-circle-btn:focus .modern-btn-tip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1.04);
}


@media (max-width: 600px) {
  .header-btn-group { gap: 12px; }
  .modern-circle-btn { width: 42px; height: 42px; }
  .modern-circle-btn i { font-size: 1.55rem; }
  .modern-btn-tip { font-size: 0.92rem; padding: 4px 11px; bottom: -31px; }
}
.mu-logo-bar-circ {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 2px 0 2px 12px;
  background: transparent;
  user-select: none;
}
.mu-logo-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  /* background: linear-gradient(135deg,#fffde7 78%, #ffe082 100%); */
  box-shadow: 0 1px 14px #0005, 0 0 0 4px #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mu-logo-avatar img {
  width: 52px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  /* background: #000000de; */
  display: block;
  /* border: 2.5px solid #fff6c1; */
  /* box-shadow: 0 2px 18px #ffd6003a, 0 0 0 6px #ffe08220; */
  /* transition: transform 0.18s cubic-bezier(.6,1.5,.4,1); */
}
.mu-logo-avatar:hover img {
  transform: scale(1.09) rotate(-7deg);
  box-shadow: 0 0 0 8px #ffe199bb, 0 12px 38px #ffd6004b;
}

.mu-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mu-server-name-circ {
  font-size: 1.29rem;
  font-weight: 900;
  letter-spacing: 1.7px;
  /* Gradient vàng đỏ + 3D emboss */
  background: linear-gradient(110deg, #fffbe3 0%, #ffe082 38%, #ff8400 65%, #f95335 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  /* 3D emboss và phát sáng nhẹ */
  filter: drop-shadow(0 1.5px 0 #ffd16c) drop-shadow(0 0 6px #ffbb0088);
  position: relative;
  /* Hiệu ứng phát sáng chạy ngang */
  animation: shine-mu 2.8s linear infinite;
  transition: filter 0.24s;
}

@keyframes shine-mu {
  0% { filter: drop-shadow(0 1.5px 0 #ffd16c) drop-shadow(0 0 6px #ffbb0088) brightness(1); }
  50% { filter: drop-shadow(0 3.5px 3px #fff3a0) drop-shadow(0 0 16px #ffd700cc) brightness(1.09); }
  100% { filter: drop-shadow(0 1.5px 0 #ffd16c) drop-shadow(0 0 6px #ffbb0088) brightness(1); }
}

.mu-server-sub-circ {
  font-size: 1.01rem;
  font-weight: 700;
  background: linear-gradient(90deg, #bfe2ff 18%, #38ffe0 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 1px;
  /* Ánh sáng nhẹ ở cạnh dưới */
  filter: drop-shadow(0 2.5px 8px #aaffff66);
  position: relative;
  animation: sub-shine 2.7s ease-in-out infinite;
}
@keyframes sub-shine {
  0%, 100% { filter: drop-shadow(0 2.5px 8px #aaffff66) brightness(1); }
  50% { filter: drop-shadow(0 5.5px 14px #2be3ffcc) brightness(1.10); }
}
@media (max-width: 991px) {
  .sidebar-menu {
    position: fixed;
    left: -340px;            /* ẩn sidebar khi chưa mở */
    top: 68px;               /* bên dưới header */
    height: calc(100vh - 68px); /* chiều cao đúng */
    width: 227px;
    z-index: 200;
    box-shadow: 0px 0 10px #0009;
    border-radius: 0 0px 0px 0;
    transition: left 0.3s cubic-bezier(.5,.1,.8,1);
    padding-top: 22px;
    overflow-y: auto;        /* scroll khi nội dung nhiều */
    background: rgba(0,0,0,0.5); /* ví dụ nền */
  }

  .sidebar-menu.open {
    left: 0;                 /* hiện sidebar */
  }
}

/* Header */
.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 120;
  

  /* Gradient nền chỉ đậm 2 bên (2 vùng) và trong suốt giữa */
  background: linear-gradient(
    to right,
    rgba(14,18,22,0.95) 0%,        
    rgba(14,18,22,0.95) 15%,       
    rgba(14,18,22,0.15) 40%,       
    rgba(14,18,22,0.15) 60%,       
    rgba(14,18,22,0.95) 85%,       
    rgba(14,18,22,0.95) 100%       
  );
}

/* Logo nhóm bên trái */
.mu-logo-bar-circ {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 12px;
  z-index: 2;
}

/* Nhóm nút bên phải */
.header-btn-group {
  display: flex;
  gap: 18px;
  padding-right: 12px;
  z-index: 2;

  /* Tạo nền đậm vùng nút */
  background: rgba(14, 18, 22, 0.95);
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.7);
  padding: 6px 12px;
}

/* Đảm bảo nút không bị tràn */
.modern-circle-btn {
  background: transparent !important; /* bỏ nền nút nếu có */
}

.nav-button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
}

.nav-button-link {
  position: relative;
  display: block;
  padding: 14px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  color: transparent; /* ẩn chữ nếu ảnh đã có chữ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 
  cursor: pointer;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease,
    filter 0.2s ease;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

/* Lấy ảnh nền từ data-bg */
.nav-button-link[data-bg] {
  background-image: url('');
}
.nav-button-link[data-bg]:not([style]) {
  /* Khi chưa có style inline, tự lấy URL từ data-bg */
  background-image: attr(data-bg url);
}

.nav-button-link:hover,
.nav-button-link:focus {
  box-shadow: none;   /* Xoá hiệu ứng viền mờ */
  transform: scale(1.07);
  outline: none;
  filter: brightness(1.15);  /* Có thể giữ nếu chỉ muốn sáng lên */
  border: none;
}

/* Ẩn hoàn toàn text (nếu ảnh đã có chữ) */
.nav-button-link.hide-text {
  color: transparent !important;
  text-indent: -9999px;
  overflow: hidden;
  user-select: none;
}
.custom-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute; /* Hoặc fixed nếu muốn nút luôn hiển thị */
  top: 12px;
  right: 12px;
  z-index: 1000;
  background: transparent;
}

.custom-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Màu nền từng nút */
.btn-signup {
  background: linear-gradient(135deg, #42e695 0%, #3bb2b8 100%);
}
.btn-zalo {
  background: linear-gradient(135deg, #008cff 0%, #54a0ff 100%);
}
.btn-download {
  background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
  color: #5f3d00;
}
.btn-facebook {
  background: linear-gradient(135deg, #4c68d7 0%, #223377 100%);
}

/* Hover nhẹ */
.custom-btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.8);
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.custom-btn i {
  font-size: 1.2rem;
}
/* Ẩn 2 nút Download và Facebook trên mobile */
@media (max-width: 768px) {
  .custom-btn.btn-download,
  .custom-btn.btn-facebook {
    display: none;
  }
  
  /* Giữ cho nhóm nút nằm bên phải */
  .custom-btn-group {
    top: 8px;
    right: 8px;
    gap: 10px;
  }

  /* Có thể chỉnh padding, font size cho nút trên mobile */
  .custom-btn {
    padding: 7px 12px;
    font-size: 0.95rem;
  }
}

.header-bar {
  display: flex;
  justify-content: space-between; /* logo trái, nút phải */
  align-items: center;
  padding: 0 12px;
}

/* Mobile */
@media (max-width: 600px) {
  .header-bar {
    justify-content: space-between !important; /* đảm bảo */
  }
  .mu-logo-bar-circ {
    order: 1;       /* nằm đầu (bên trái) */
    flex-shrink: 0;
  }
  .header-btn-group {
    order: 2;       /* nằm sau (bên phải) */
  }
}
@media (max-width: 900px) {
  .mu-logo-text {
    display: none !important;
  }
  .mu-logo-bar-circ {
    display: none !important;
  }
}

.slider-social {
  display: flex;
  gap: 16px;
  justify-content: center; /* hoặc flex-start nếu muốn sát trái */
  align-items: center;
  padding: 10px 0;
}

.slider-social {
  display: flex;
  gap: 10px;
}

.slider-social a {
  display: inline-block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  z-index: 0;
  transition: transform 0.3s ease;
}

/* Ảnh bo tròn */
.slider-social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  pointer-events: none;
}

/* Hiệu ứng toả sáng động */
.slider-social a::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 216, 230, 0.8) 0%, transparent 80%);
  filter: blur(16px);
  opacity: 0.7;
  animation: pulse-glow 2s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Hiệu ứng hover: khi chỉ vào icon */
.slider-social a:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .slider-social a {
    width: 48px;
    height: 48px;
  }
  .slider-social a::before {
    inset: -10px;
    filter: blur(10px);
  }
}
/* Hiệu ứng toả sáng động */
.slider-social a::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(173, 216, 230, 0.8) 0%, transparent 80%);
  filter: blur(16px);
  opacity: 0.7;
  animation: pulse-glow 2s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Hiệu ứng hover: khi chỉ vào icon */
.slider-social a:hover {
  transform: scale(1.1);
}

/* Mobile */
@media (max-width: 600px) {
  .slider-social a {
    width: 48px;
    height: 48px;
  }
  .slider-social a::before {
    inset: -10px;
    filter: blur(10px);
  }
}
