/* Desarrollado por LayerGaming - https://layergaming.com */
@import url('https://fonts.cdnfonts.com/css/montserrat');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

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



/* === SIDEBAR RỘNG + CÓ CUỘN === */
.sidebar {
    width: 310px;                 /* 💥 Sidebar to rõ – chỉnh 280/300/320 tùy */
    padding: 20px 15px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;

    display: flex;
    flex-direction: column;
    background-color: rgba(10,10,15,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow-y: auto;             /* ⭐ Sidebar tự cuộn khi dài */
    overflow-x: hidden;           /* ❌ Không tràn ngang */
    z-index: 1000;

    scrollbar-width: thin;
}


/* === THANH CUỘN ĐẸP === */
.sidebar::-webkit-scrollbar {
    width: 7px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.75);
    border-radius: 10px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 1);
}


/* === LOGO SIDEBAR === */
.sidebar-logo {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.sidebar-logo img {
    height: 160px;
    border: 3px solid #FFD700;
    border-radius: 12px;
    filter: none;
    animation: none;
}


/* === MENU LIST === */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu li {
    width: 100%;                 /* 💥 Không 150% nữa */
}


/* === NÚT MENU === */
.nav-button {
    width: 100%;                 /* 💥 full chiều ngang */
    box-sizing: border-box;

    padding: 10px 18px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;

    text-decoration: none;
    color: #fff;
    background-color: #1a1a1f;

    display: flex;
    align-items: center;

    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    transition: all 0.25s ease;
    position: relative;
}

.nav-button i {
    font-size: 20px;
    margin-right: 10px;
    color: currentColor;
}

.nav-button:hover {
    transform: translateY(-3px);
    background-color: #222228;
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}


/* === ĐẨY PHẦN NỘI DUNG SANG PHẢI === */
.main-content,
.content {
    margin-left: 310px;           /* ⚡ PHẢI giống số width sidebar */
}


/* Nút Đăng Ký (registro) - chữ cam, viền vàng chạy quanh, không nền vàng */
.nav-button.registro {
    position: relative;
    color: #ff9100; /* Cam lửa */
    border: 2px solid #ffd700; /* Viền vàng tĩnh */
    font-size: 30px; /* chữ to hơn — bạn có thể chỉnh 20px, 22px nếu muốn */    
    background: linear-gradient(145deg, #1a1a1f, #222228);
    text-shadow: 0 0 6px rgba(255, 145, 0, 0.7);
    box-shadow: 0 0 10px rgba(255, 200, 0, 0.15);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

/* Hiệu ứng viền vàng chạy quanh */
.nav-button.registro::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px; /* Độ dày viền vàng */
    background: linear-gradient(120deg, #ffd700, #fff8c0, #ffd700);
    background-size: 300% 300%;
    animation: borderRun 2s linear infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: 0;
}

.title-gold {
    text-align:center;
    margin-bottom:25px;
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
    background: linear-gradient(90deg, #ffd700, #ffea8a, #ffbf00, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    color: transparent;
    animation: goldShine 3s linear infinite;
    text-shadow: 0 0 10px rgba(255,215,0,0.8), 
                 0 0 20px rgba(255,210,0,0.5);
}

@keyframes goldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}





/* Animation chạy quanh viền */
@keyframes borderRun {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}











/* NUT MOC NAP */
.nav-button.mocnap {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.mocnap:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.mocnap i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.mocnap:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#mocnap-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#mocnap-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.7);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#mocnap-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#mocnap-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#mocnap-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#mocnap-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#mocnap-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#mocnap-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#mocnap-overlay table td:nth-child(1) {
  color: #FFD700;
}
#mocnap-overlay table td:nth-child(2) {
  color: #FFA500;
}
#mocnap-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#mocnap-overlay table td:nth-child(4) {
  color: #FFFFFF;
}

.popup-header h2 {
  flex: 1;
  text-align: center;
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  color: #FFD700;
}











.nav-button.ranking {
    color: #FFC107;
    border-left: 4px solid #FFC107;
}
.nav-button.ranking:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.nav-button.inicio {
    color: #ffffff;
    border-left: 4px solid #ffffff;
}
.nav-button.inicio:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Nút THÔNG TIN */
.nav-button.thongtin {
    color: #ff5100;
    border: 2px solid #ffd700; /* Viền vàng tĩnh */
    background-color: #1a1a1f;
    transition: all 0.3s ease;
}
.nav-button.thongtin:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.main-content {
    margin-left: 220px;
    flex-grow: 1;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}
.nav-button:hover::after {
    opacity: 1;
}

.server-card {
    background-color: rgba(15, 15, 20, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFC107;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.server-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.stat-label {
    color: #cccccc;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
}

.website-button {
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.website-button:hover {
    background-color: #0d8aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.center-content {
    position: absolute;
    top: 20%;
    left: 40%;
    transform: translate(-50%, -50%);
}

.main-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 60px;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF; /* chữ trắng */

    /* Hiệu ứng phát sáng xanh ngọc */
    text-shadow:
        0 0 5px #40E0D0,
        0 0 10px #40E0D0,
        0 0 20px #00FFFF,
        0 0 40px #00CED1,
        0 0 60px #00CED1,
        0 0 80px #5EE6EC;

    /* Hiệu ứng chớp sáng nhấp nháy xanh ngọc */
    animation: neon-cyan-flicker 2.5s infinite alternate;
}

@keyframes neon-cyan-flicker {
    0% {
        text-shadow:
            0 0 5px #40E0D0,
            0 0 10px #40E0D0,
            0 0 20px #00FFFF,
            0 0 40px #00CED1,
            0 0 60px #00CED1,
            0 0 80px #5EE6EC;
        opacity: 0.85;
    }
    50% {
        text-shadow:
            0 0 10px #00FFFF,
            0 0 20px #00FFFF,
            0 0 30px #40E0D0,
            0 0 50px #40E0D0,
            0 0 70px #00FFFF,
            0 0 100px #5EE6EC;
        opacity: 1;
    }
    100% {
        text-shadow:
            0 0 5px #40E0D0,
            0 0 10px #40E0D0,
            0 0 20px #00FFFF,
            0 0 40px #00CED1,
            0 0 60px #00CED1,
            0 0 80px #5EE6EC;
        opacity: 0.9;
    }
}



.sub-text {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #FFD700; /* vàng sáng */
    background: rgba(20, 15, 10, 0.85); /* nền sậm đen */
    padding: 10px 25px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    text-align: center;

    /* Glow vàng lấp lánh */
    text-shadow:
        0 0 5px #FFD700,
        0 0 10px #FFD700,
        0 0 15px #FFD700,
        0 0 20px #FFB900,
        0 0 30px #FFB900,
        0 0 40px #FFB900;

    /* Hiệu ứng nhấp nháy nhẹ */
    animation: gold-flicker 2s infinite alternate;
}

@keyframes gold-flicker {
    0% {
        text-shadow:
            0 0 5px #FFD700,
            0 0 10px #FFD700,
            0 0 15px #FFD700,
            0 0 20px #FFB900,
            0 0 30px #FFB900,
            0 0 40px #FFB900;
        opacity: 0.85;
    }
    50% {
        text-shadow:
            0 0 10px #FFFF33,
            0 0 20px #FFFF33,
            0 0 30px #FFD700,
            0 0 40px #FFD700,
            0 0 50px #FFB900,
            0 0 60px #FFB900;
        opacity: 1;
    }
    100% {
        text-shadow:
            0 0 5px #FFD700,
            0 0 10px #FFD700,
            0 0 15px #FFD700,
            0 0 20px #FFB900,
            0 0 30px #FFB900,
            0 0 40px #FFB900;
        opacity: 0.9;
    }
}


.social-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(10, 10, 15, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.youtube-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    height: 40px;
    width: 200px;
}
.youtube-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #FF0000;
    color: white;
    font-size: 20px;
}
.youtube-text {
    background-color: #1a1a1f;
    color: white;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.play-icon {
    background-color: rgba(128, 0, 0, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}
.youtube-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}

.watermark {
    position: fixed;                  
    top: 50%;                         
    left: 50%;                        
    transform: translate(-50%, -50%); /* Căn giữa màn hình */
    font-size: 80px;                  /* Chữ lớn */
    font-weight: bold;                
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFD700;                   /* vàng sáng */
    text-align: center;               
    z-index: 9999;                    
    pointer-events: none;             
    user-select: none;
    letter-spacing: 2px;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);     /* nền mờ nhẹ, chữ nổi bật */

    /* Glow vàng đẹp */
    text-shadow:
        0 0 5px #FFD700,
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 40px #FFB900,
        0 0 60px #FFB900,
        0 0 80px #FFB900;

    /* Hiệu ứng lấp lánh */
    animation: flicker 2s infinite alternate;
}

.server-line {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

/* Áp dụng cho tất cả scrollbar trong popup */
#thongtin-overlay div::-webkit-scrollbar {
  width: 8px;                /* độ dày */
}

#thongtin-overlay div::-webkit-scrollbar-track {
  background: #1e1e1e;       /* nền track */
  border-radius: 10px;
}

#thongtin-overlay div::-webkit-scrollbar-thumb {
  background: #ffaa00;       /* thanh kéo màu vàng */
  border-radius: 10px;
}

#thongtin-overlay div::-webkit-scrollbar-thumb:hover {
  background: #ffcc33;       /* hover sáng hơn */
}

/* Nút QUÀ TÂN THỦ - xanh ngọc & viền vàng chạy quanh */
.nav-button.quatanthu {
    position: relative;
    color: #00ffc8; /* Xanh ngọc sáng */
    border: 2px solid #d4af37; /* Viền vàng */
    background: linear-gradient(145deg, #062d2b, #0a3d3b);
    text-shadow: 0 0 6px rgba(0, 255, 200, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1; /* Giữ nội dung trên cùng */
}

/* Hiệu ứng viền vàng chạy quanh (nằm dưới nội dung) */
.nav-button.quatanthu::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(120deg, #ffd700, #fff5b3, #ffd700);
    border-radius: 10px;
    z-index: 0; /* Dưới nội dung */
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: 200% 200%;
    animation: borderRun 2s linear infinite;
}

/* Animation viền chạy */
@keyframes borderRun {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Scrollbar popup Quà Tân Binh */
#quatanthu-overlay div::-webkit-scrollbar {
  width: 8px;
}
#quatanthu-overlay div::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}
#quatanthu-overlay div::-webkit-scrollbar-thumb {
  background: #ffaa00;
  border-radius: 10px;
}
#quatanthu-overlay div::-webkit-scrollbar-thumb:hover {
  background: #ffcc33;
}

.tiktok-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    height: 40px;
    width: 200px;
}

.tiktok-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #000000; /* nền TikTok */
    color: #fff;
    font-size: 20px;
}

.tiktok-text {
    background-color: #1a1a1f;
    color: white;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tiktok-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
}
.status-bar {
    width: 100%;
    height: 18px;
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 6px; /* tạo khoảng cách ngay dưới chữ */
}

.status-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #4caf50, #2e7d32);
}










/* NUT HUONG DAN EP PET */
.nav-button.sukien {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.sukien:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.sukien i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.sukien:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#sukien-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#sukien-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.5);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#sukien-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#sukien-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#sukien-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#sukien-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#sukien-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#sukien-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#sukien-overlay table td:nth-child(1) {
  color: #FFD700;
}
#sukien-overlay table td:nth-child(2) {
  color: #FFA500;
}
#sukien-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#sukien-overlay table td:nth-child(4) {
  color: #FFFFFF;
}















/* ============================
   NUT DONG HANH
   ============================ */
.nav-button.donghanh {
    color: #FF0000 !important; /* chữ đỏ */
    border: 2px solid #FFD700; /* viền vàng hoàng kim quanh toàn bộ nút */
    background-color: #1a1a1f; /* nền giữ nguyên */
    border-radius: 6px; /* bo góc nhẹ cho đẹp */
    transition: all 0.3s ease;
    padding: 8px 14px; /* tạo khoảng đệm cho chữ không sát viền */
    display: inline-block;
}

.nav-button.donghanh:hover {
    background-color: #222228; /* sáng nhẹ khi hover */
    transform: translateY(-3px);
    box-shadow: 0 0 10px #FFD700; /* ánh sáng vàng quanh nút */
}







/* NUT HUONG DAN EP WING */
.nav-button.huongdan {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.huongdan:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.huongdan i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.huongdan:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#huongdan-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#huongdan-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.5);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#huongdan-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#huongdan-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#huongdan-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#huongdan-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#huongdan-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#huongdan-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#huongdan-overlay table td:nth-child(1) {
  color: #FFD700;
}
#huongdan-overlay table td:nth-child(2) {
  color: #FFA500;
}
#huongdan-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#huongdan-overlay table td:nth-child(4) {
  color: #FFFFFF;
}







/* ============================
   NUT DUNG LUYEN ITEM QUAN AO
   ============================ */
.nav-button.phongthan {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.phongthan:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.phongthan i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.phongthan:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#phongthan-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#phongthan-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.5);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#phongthan-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#phongthan-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#vukhidragon-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#phongthan-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#phongthan-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#phongthan-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#phongthan-overlay table td:nth-child(1) {
  color: #FFD700;
}
#phongthan-overlay table td:nth-child(2) {
  color: #FFA500;
}
#phongthan-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#phongthan-overlay table td:nth-child(4) {
  color: #FFFFFF;
}





/* NUT VU KHI RONG */
.nav-button.vukhidragon {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.vukhidragon:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.vukhidragon i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.vukhidragon:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#vukhidragon-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#vukhidragon-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.5);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#vukhidragon-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#vukhidragon-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#vukhidragon-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#vukhidragon-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#vukhidragon-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#vukhidragon-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#vukhidragon-overlay table td:nth-child(1) {
  color: #FFD700;
}
#vukhidragon-overlay table td:nth-child(2) {
  color: #FFA500;
}
#vukhidragon-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#vukhidragon-overlay table td:nth-child(4) {
  color: #FFFFFF;
}








/* DUNG LUYEN RING PEN KHIEN */
.nav-button.ringpenkhien {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.ringpenkhien:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.ringpenkhien i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.ringpenkhien:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#ringpenkhien-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#ringpenkhien-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.5);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#ringpenkhien-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#ringpenkhien-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#ringpenkhien-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#ringpenkhien-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#ringpenkhien-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#ringpenkhien-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#ringpenkhien-overlay table td:nth-child(1) {
  color: #FFD700;
}
#ringpenkhien-overlay table td:nth-child(2) {
  color: #FFA500;
}
#ringpenkhien-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#ringpenkhien-overlay table td:nth-child(4) {
  color: #FFFFFF;
}















/* NUT NANG POINT */
.nav-button.nangpoint {
  color: #FFD700 !important;
  border: 2px solid #FFD700 !important;      /* viền vàng quanh toàn bộ ô */
  font-weight: 600;
  transition: all 0.3s ease;
}
.nav-button.nangpoint:hover {
  background-color: rgba(255,215,0,0.1);
  color: #FFF59D !important;
  box-shadow: 0 0 10px rgba(255,215,0,0.3);
  transform: translateY(-2px);
}
.nav-button.nangpoint i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.nangpoint:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#nangpoint-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.85); /* nền đen mờ che hết web */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Hiệu ứng mở popup */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* === KHUNG POPUP === */
#nangpoint-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 200%;
  max-width: 950px;
  max-height: 90vh;       /* ✅ Giới hạn chiều cao popup */
  overflow-y: auto;       /* ✅ Cho phép cuộn khi nội dung dài */
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  position: relative;
  animation: popupFade 0.25s ease-in-out;
}

/* ✅ Hiệu ứng phóng to 300% khi mở popup */
@keyframes popupZoom {
  from {
    opacity: 0;
    transform: scale(0.8);   /* nhỏ ban đầu */
  }
  to {
    opacity: 1;
    transform: scale(1.4);     /* ✅ phóng to 300% */
  }
}

/* Gợi ý: Áp dụng animation này vào popup-content */
#nangpoint-overlay .popup-content {
  animation: popupZoom 0.3s ease-in-out forwards;
  transform-origin: center center; /* ✅ phóng từ giữa ra */
}

/* Thanh cuộn vàng kim */
#nangpoint-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#nangpoint-overlay .popup-content::-webkit-scrollbar-thumb {
  background: rgba(255,215,0,0.6);
  border-radius: 8px;
}
#nangpoint-overlay .popup-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,215,0,0.9);
}

/* Nút đóng */
#nangpoint-overlay .close-popup {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: #FFD700;
  cursor: pointer;
  transition: all 0.3s ease;
}
#nangpoint-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ✅ Khi popup mở -> ẩn cuộn nền web */
body.popup-open {
  overflow: hidden;
}
/* Màu chữ cho toàn bộ từng cột dữ liệu */
#nangpoint-overlay table td:nth-child(1) {
  color: #FFD700;
}
#nangpoint-overlay table td:nth-child(2) {
  color: #FFA500;
}
#nangpoint-overlay table td:nth-child(3) {
  color: #00E5EE;
}
#nangpoint-overlay table td:nth-child(4) {
  color: #FFFFFF;
}









/* ============================
   NUT CONG THANH CHIEN
   ============================ */
.nav-button.congthanh {
    color: #40E0D0 !important; /* xanh ngọc */
    border: 2px solid #FFD700; /* viền vàng hoàng kim quanh toàn bộ nút */
    background-color: #1a1a1f; /* nền giữ nguyên */
    border-radius: 6px; /* bo góc nhẹ cho đẹp */
    transition: all 0.3s ease;
    padding: 8px 14px; /* tạo khoảng đệm cho chữ không sát viền */
    display: inline-block;

    box-sizing: border-box;   /* để width tính cả border/padding */
    min-width: 250px;         /* <-- chỉ rộng thêm ở đây */
    text-align: center;       /* canh chữ giữa theo chiều ngang */
}

.nav-button.congthanh:hover {
    background-color: #222228; /* sáng nhẹ khi hover */
    transform: translateY(-3px);
    box-shadow: 0 0 10px #FFD700; /* ánh sáng vàng quanh nút */
}

/* RỘNG HƠN CHO BẢNG NỘI DUNG HƯỚNG DẪN */
.popup-content {
    box-sizing: border-box;
    width: 195%;
    max-width: 1200px;   /* từ 900px -> 1200px */
    margin: 0 auto;      /* giữ canh giữa */
}

/* (tuỳ chọn) tăng padding và giãn dòng cho dễ đọc */
.popup-content {
    padding: 28px;       /* nếu muốn thoáng hơn */
    line-height: 1.6;
}
