/* 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;
}


:root{ --sidebar-w: clamp(220px, 18vw, 320px); }
/* Sidebar chỉ là overlay, KHÔNG có nền */
.sidebar{
  position: fixed; left: 0; top: 0;
  width: var(--sidebar-w); height: 100dvh;
  background: transparent;     /* <- bỏ nền đen */
  border: 0; box-shadow: none;
}

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

.sidebar-logo img {
    height: 160px; /* 🔹 logo to hơn */
    border: 3px solid #FFD700; /* 🔹 viền vàng hoàng kim */
    border-radius: 12px;       /* bo nhẹ cho mềm mại */
    transition: none;          /* bỏ hiệu ứng chuyển động */
    filter: none;              /* bỏ ánh sáng / đổ bóng */
    animation: none;           /* bỏ nhấp nháy */
}

/* 🔹 Không hiệu ứng khi hover */
.sidebar-logo img:hover {
    transform: none;
    filter: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-menu li {
    width: 150%;
}

.nav-button {
    display: block;
    padding: 9px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-left: none;
    background-color: #1a1a1f;
    position: relative;
    overflow: hidden;
    color: inherit;
}

.nav-button i {
    margin-right: 2px;
    font-size: 18px;
    color: currentColor; /* icon ăn màu chữ */
}

/* 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;
}

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

.nav-button.mocnap {
    color: #FFD700; /* vàng hoàng kim */
    border: 2px solid #FFD700 !important; /* viền vàng quanh toàn bộ ô */
    font-size: 30px; /* chữ to hơn — bạn có thể chỉnh 20px, 22px nếu muốn */
    font-weight: 700; /* đậm hơn cho nổi bật */
    padding: 10px 16px; /* tăng khoảng cách để chữ không bị dính viền */
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-button.mocnap:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3); /* đổ bóng vàng nhẹ */
}

.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: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    padding: 30px;
}

.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);
}

.nav-button.sukien {
    color: #FFD700 !important; /* vàng hoàng kim */
    border: 2px solid #FFD700; /* viền vàng hoàng kim quanh toàn bộ nút */
    background-color: #1a1a1f;
    transition: all 0.3s ease;
}

.nav-button.sukien:hover {
    background-color: #222228;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}
/* ============================
   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 CTC
   ============================ */
.nav-button.ctc {
    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.ctc: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;
}
/* ============================
   NUT TOA DO BOSS
   ============================ */
.nav-button.huongdan {
    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: 270px;         /* <-- chỉ rộng thêm ở đây */
    text-align: center;       /* canh chữ giữa theo chiều ngang */
}

.nav-button.huongdan: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;
}

/* ============================
   NUT HUONG DAN NANG POINT
   ============================ */
.nav-button.nangpoint {
  color: #00FFC3 !important;
    border: 2px solid #FFD700 !important; /* viền vàng quanh toàn bộ ô */
    font-size: 18px; /* chữ to hơn — bạn có thể chỉnh 20px, 22px nếu muốn */
    font-weight: 700; /* đậm hơn cho nổi bật */
    padding: 10px 16px; /* tăng khoảng cách để chữ không bị dính viền */
    border-radius: 6px;
    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: 90%;
  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 popup */
@keyframes popupFade {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* 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);
}

/* ============================
   NUT TOP NAP
   ============================ */
.nav-button.topnap {
  color: #00FFC3 !important;
    border: 2px solid #FFD700 !important; /* viền vàng quanh toàn bộ ô */
    font-size: 22px; /* chữ to hơn — bạn có thể chỉnh 20px, 22px nếu muốn */
    font-weight: 700; /* đậm hơn cho nổi bật */
    padding: 10px 16px; /* tăng khoảng cách để chữ không bị dính viền */
    border-radius: 6px;
    transition: all 0.3s ease;
}
.nav-button.topnap: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.topnap i {
  color: #FFD700 !important;
  margin-right: 8px;
}
.nav-button.topnap:hover i {
  color: #FFF59D !important;
}

/* === OVERLAY CHE TOÀN BỘ WEB === */
#topnap-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 === */
#topnap-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  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 popup */
@keyframes popupFade {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

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

/* Nút đóng */
#topnap-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;
}
#topnap-overlay .close-popup:hover {
  color: #FFF59D;
  transform: scale(1.15);
}

/* ============================
   NUT HUONG DAN EP WING
   ============================ */
.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: 90%;
  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 popup */
@keyframes popupFade {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Thanh cuộn vàng kim */
#phongthan-overlay .popup-content::-webkit-scrollbar {
  width: 8px;
}
#phongthan-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;
}



/* ========== KHUNG POPUP CHUNG ========== */
.popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.popup-content {
    background: #1a1a1f;
    border-radius: 12px;
    padding: 25px;
    width: 90%;
    max-width: 900px;
    color: #fff;
    box-shadow: 0 0 25px rgba(255,215,0,0.2);
    border: 1px solid rgba(255,215,0,0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
    letter-spacing: 1px;
    margin: 0;
}

.close-popup {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
}

.close-popup:hover {
    color: #fff;
    transform: scale(1.2);
}

/* === MENU MÀU VÀNG KIM Vu Khi Rong=== */
.nav-button.vukhidragon {
  color: #FF0000 !important;                 /* chữ đỏ tươi */
  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;
}

/* Khung popup */
#vukhidragon-overlay .popup-content {
  background: rgba(15,15,15,0.95);
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 950px;
  box-shadow: 0 0 25px rgba(255,215,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  color: #FFD700;
  animation: fadeIn 0.25s ease-in-out;
  position: relative;
}
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
#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);
}







/* === MENU MÀU VÀNG KIM === */
.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: 90%;
  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 popup */
@keyframes popupFade {
  from {opacity: 0; transform: translateY(-10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* 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;
}





/* === KHỐI NỘI DUNG TRÊN VIDEO === */
.content {
    position: relative;
    text-align: center;
    top: 40%;
}

/* === TIÊU ĐỀ CHÍNH PHÁT SÁNG XANH NGỌC === */
.main-title {
    font-size: 64px;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow:
        0 0 10px #40E0D0,
        0 0 20px #00FFFF,
        0 0 40px #40E0D0,
        0 0 60px #00CED1;
    animation: glow-cyan 2.5s infinite alternate;
}

/* Hiệu ứng sáng nhấp nháy */
@keyframes glow-cyan {
    0% {
        text-shadow:
            0 0 10px #00FFFF,
            0 0 20px #40E0D0,
            0 0 40px #00FFFF;
        opacity: 0.9;
    }
    100% {
        text-shadow:
            0 0 20px #40E0D0,
            0 0 40px #00FFFF,
            0 0 60px #40E0D0;
        opacity: 1;
    }
}

/* === PHỤ ĐỀ DƯỚI TIÊU ĐỀ === */
.content p {
    font-size: 20px;
    color: #E0FFFF; /* xanh ngọc nhạt */
    text-shadow: 0 0 8px #40E0D0;
}

.content {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent; /* không đen nền */
  overflow: hidden;
}

/* === CHỮ CHẠY === */
.main-title {
  position: relative;
  font-size: 70px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 0 0 10px #ff0000, 0 0 25px #ff6600;
  animation: moveLeftRight 4s ease-in-out infinite;
}

/* Hiệu ứng chạy trái -> giữa -> phải -> giữa */
@keyframes moveLeftRight {
  0% {
    left: 0;
  }
  25% {
    left: -200px;
  }
  50% {
    left: 0;
  }
  75% {
    left: 200px;
  }
  100% {
    left: 0;
  }
}

/* === DÒNG PHỤ === */
.content p {
  color: #00FFC3;
  font-size: 22px;
  text-shadow: 0 0 10px #00FFFF;
  margin-top: 10px;
}

/* Reset gọn và tránh tràn ngang */
html, body { margin:0; }
body { overflow-x:hidden; }



/* Nút full bề ngang và cao bằng hàng (1fr) */
.nav-button{
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  text-decoration: none; color: #40E0D0;
  background: #1a1a1f; border: 2px solid #FFD700;
  border-radius: 8px; box-sizing: border-box;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-button:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255,215,0,.5);
}

/* Phần nội dung trang chừa chỗ cho sidebar */
main, .page{
  margin-left: clamp(220px, 18vw, 320px);
  min-height: 100dvh;
}
