﻿/* =======================================================
   STYLE KIẾM HIỆP DZOGAME INSPIRED
   ======================================================= */
:root {
    --dzo-gold: #c8aa6e; /* Vàng cổ điển */
    --dzo-gold-light: #fceeb5; /* Vàng sáng */
    --dzo-red: #8a1c1c; /* Đỏ thẫm */
    --dzo-dark: #090b10; /* Đen xanh */
    --font-title: 'Philosopher', sans-serif;
    --font-body: 'Playfair Display', serif;
}
footer .text-muted, .footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}
body {
    background-color: #050505;
    color: #a8a8a8;
    font-family: var(--font-body);
    font-size: 15px;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: #bbb;
}

    a:hover {
        color: var(--dzo-gold-light);
        text-shadow: 0 0 8px rgba(200, 170, 110, 0.6);
    }

/* --- TOP BAR (Thanh mảnh trên cùng) --- */
.dzo-topbar {
    height: 45px;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 1px;
}

    .dzo-topbar .sep {
        margin: 0 10px;
        color: #444;
    }

    .dzo-topbar a {
        font-weight: 700;
        color: #ccc;
    }

.text-gold {
    color: var(--dzo-gold) !important;
}

/* --- HERO SECTION (Banner Lớn) --- */
.hero-section {
    position: relative;
    height: 85vh; /* Chiếm 85% chiều cao màn hình */
    background: url('/Image/bg-hero.jpg') no-repeat center top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
    /* Hiệu ứng mờ dần xuống nội dung dưới */
    .hero-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient(to bottom, transparent, #050505);
    }

.hero-logo {
    max-width: 400px;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.8));
    animation: floatLogo 3s ease-in-out infinite;
    margin-bottom: 30px;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 20px;
}

/* NÚT KIẾM HIỆP (BUTTONS) */
.btn-wuxia {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to bottom, #2b0a0a, #520606);
    border: 1px solid var(--dzo-gold);
    color: var(--dzo-gold-light);
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(0,0,0,0.8), inset 0 0 10px rgba(0,0,0,0.5);
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%); /* Cắt góc */
    transition: 0.3s;
}

    .btn-wuxia:hover {
        background: linear-gradient(to bottom, #520606, #8a1c1c);
        color: #fff;
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(200, 50, 50, 0.6);
    }

.btn-wuxia-download {
    background: linear-gradient(to bottom, #1d1505, #4a3b0f);
    border-color: #fff;
    font-size: 22px;
}

    .btn-wuxia-download:hover {
        background: linear-gradient(to bottom, #4a3b0f, #c8aa6e);
    }

/* --- CONTENT SECTION (Phần nội dung bên dưới) --- */
.content-wrapper {
    position: relative;
    margin-top: -100px; /* Đẩy lên đè vào banner */
    z-index: 10;
    padding-bottom: 50px;
}

/* KHUNG CHỨA TIN TỨC & CAROUSEL */
.wuxia-box {
    background: rgba(13, 13, 13, 0.9);
    border: 1px solid #333;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    position: relative;
}
    /* Viền trang trí 4 góc (CSS thuần) */
    .wuxia-box::before {
        content: '';
        position: absolute;
        top: -1px;
        left: -1px;
        width: 30px;
        height: 30px;
        border-top: 2px solid var(--dzo-gold);
        border-left: 2px solid var(--dzo-gold);
    }

    .wuxia-box::after {
        content: '';
        position: absolute;
        bottom: -1px;
        right: -1px;
        width: 30px;
        height: 30px;
        border-bottom: 2px solid var(--dzo-gold);
        border-right: 2px solid var(--dzo-gold);
    }

/* NEWS TABS */
.news-tabs {
    display: flex;
    border-bottom: 2px solid #333;
    margin-bottom: 15px;
}

.news-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #111;
    color: #666;
    font-family: var(--font-title);
    font-weight: bold;
    cursor: pointer;
    border-right: 1px solid #222;
    transition: 0.3s;
}

    .news-tab:hover, .news-tab.active {
        background: var(--dzo-red);
        color: #fff;
    }

.news-item {
    padding: 10px;
    border-bottom: 1px dashed #333;
    display: flex;
    justify-content: space-between;
}

    .news-item:hover {
        background: rgba(255,255,255,0.05);
    }

    .news-item a {
        color: #ccc;
        font-family: 'Segoe UI', sans-serif;
    }

    .news-item .date {
        color: #666;
        font-size: 12px;
    }

/* --- RANKING SECTION (Bảng xếp hạng) --- */
.section-title {
    text-align: center;
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--dzo-gold);
    margin: 40px 0 30px;
    background: url('/Image/divider.png') no-repeat center bottom; /* Nếu có ảnh gạch chân */
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(200, 170, 110, 0.3);
}

.rank-col {
    background: #0e0e0e;
    border: 1px solid #333;
    padding: 0;
    transition: 0.3s;
}

    .rank-col:hover {
        border-color: var(--dzo-gold);
        transform: translateY(-5px);
    }

.rank-header {
    background: #151515;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--dzo-gold);
}

    .rank-header h4 {
        margin: 0;
        color: #fff;
        font-family: var(--font-title);
        font-size: 18px;
    }

.table-wuxia {
    width: 100%;
    border-collapse: collapse;
}

    .table-wuxia td {
        padding: 12px 10px;
        border-bottom: 1px solid #222;
        color: #999;
        font-size: 14px;
    }

    .table-wuxia tr:first-child td {
        color: var(--dzo-gold);
        font-weight: bold;
        background: rgba(200, 170, 110, 0.1);
    }

    .table-wuxia tr:nth-child(2) td {
        color: #e0e0e0;
    }

    .table-wuxia tr:nth-child(3) td {
        color: #cd7f32;
    }

.btn-download-big {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #111;
    border: 1px solid #222;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    position: relative;
}
.btn-download-big:hover {
    background: #1a1a1a;
    border-color: #c8aa6e;
    color: #c8aa6e;
}

.btn-download-big i {
    font-size: 1.8rem;
    margin-right: 15px;
}

.btn-download-big .title {
    display: block;
    font-weight: bold;
}

.btn-download-big .sub {
    font-size: 0.8rem;
    color: #888;
}
/* --- WEEKLY EVENTS --- */
.we-scroll-container {
    background: #1a1510;
    border: 2px solid #3d2e1e;
    padding: 20px;
    border-radius: 4px;
}

.we-days {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.we-day-btn {
    background: #2b2b2b;
    color: #888;
    border: none;
    padding: 8px 15px;
    font-family: var(--font-title);
    font-weight: bold;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 20%);
}

    .we-day-btn.active {
        background: var(--dzo-gold);
        color: #000;
    }

.we-event {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #000;
    border-left: 3px solid var(--dzo-red);
    margin-bottom: 5px;
}

    .we-event time {
        color: var(--dzo-gold);
        width: 100px;
        font-weight: bold;
    }

/* --- FOOTER --- */
.dzo-footer {
    background: #080808;
    border-top: 1px solid #222;
    padding: 40px 0;
    margin-top: 50px;
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s;
}

.dzo-footer:hover .grayscale {
    filter: none;
    opacity: 1;
}

/* =======================================================
   WEEKLY EVENTS - WUXIA STYLE (FIXED)
   ======================================================= */
.we-wuxia-wrapper {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    position: relative;
}
    /* Trang trí viền trên dưới */
    .we-wuxia-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #c8aa6e, transparent);
    }

/* Hàng nút Tabs */
.we-tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.we-tab-btn {
    background: #1a1a1a;
    color: #888;
    border: 1px solid #333;
    padding: 6px 14px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    /* Cắt góc kiểu kiếm hiệp */
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

    .we-tab-btn:hover {
        color: #c8aa6e;
        border-color: #c8aa6e;
        background: #252525;
    }

    .we-tab-btn.active {
        background: #8a1c1c; /* Màu đỏ thẫm Dzogame */
        color: #fff;
        border-color: #c8aa6e;
        text-shadow: 0 0 5px rgba(255,200,0,0.5);
    }

/* Nội dung List */
.we-content-body {
    min-height: 200px;
}

.we-item {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(30,30,30,0.5));
    border-left: 3px solid #444;
    margin-bottom: 8px;
    padding: 10px 15px;
    transition: 0.3s;
}

    .we-item:hover {
        border-left-color: #c8aa6e;
        background: linear-gradient(90deg, rgba(40,10,10,0.8), rgba(30,30,30,0.5));
        transform: translateX(5px);
    }

.we-time {
    color: #c8aa6e; /* Màu vàng */
    font-weight: bold;
    font-family: monospace;
    font-size: 14px;
    width: 80px;
    flex-shrink: 0;
}

.we-name {
    color: #e0e0e0;
    font-weight: 500;
    flex-grow: 1;
}

.we-status {
    color: #555;
    font-size: 12px;
}

.we-item:hover .we-status {
    color: #c8aa6e;
}

/* Trạng thái trống */
.we-empty {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-style: italic;
    border: 1px dashed #333;
    border-radius: 4px;
}

/* --- FIXED FOOTER & MAIN LAYOUT --- */
html, body {
    height: 100%;
}

.main-wrapper {
    position: relative;
    z-index: 10;
    /* Đảm bảo nội dung luôn đẩy footer xuống */
}

/* --- DZO FOOTER STYLE --- */
.dzo-footer {
    position: relative;
    background-color: #080808;
    background-image: url('/Image/pattern_dark.png'); /* Nếu có pattern mờ thì đẹp */
    padding: 50px 0 30px;
    margin-top: 80px; /* Cách xa nội dung bên trên */
    border-top: 1px solid #1a1a1a;
}

/* Viền trang trí phát sáng bên trên footer */
.footer-decoration {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c8aa6e, transparent);
    box-shadow: 0 -2px 10px rgba(200, 170, 110, 0.3);
}

.footer-logo {
    max-height: 70px;
    opacity: 0.7;
    transition: 0.3s;
}

.dzo-footer:hover .footer-logo {
    opacity: 1;
    filter: none;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.text-gold {
    color: #c8aa6e !important;
}

.footer-links a {
    color: #666;
    font-size: 13px;
    margin: 0 5px;
    text-decoration: none;
    transition: 0.3s;
}

    .footer-links a:hover {
        color: #c8aa6e;
    }

/* Social Icons */
.social-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #888;
    margin-left: 10px;
    background: #111;
    transition: 0.3s;
}

    .social-btn:hover {
        border-color: #c8aa6e;
        color: #c8aa6e;
        transform: translateY(-3px);
    }

    .social-btn.fb:hover {
        background: #3b5998;
        color: #fff;
        border-color: #3b5998;
    }

    .social-btn.dc:hover {
        background: #5865f2;
        color: #fff;
        border-color: #5865f2;
    }

/* --- WUXIA MODAL (Đăng nhập/Đăng ký) --- */
.wuxia-modal {
    background: #0f0f0f;
    border: 1px solid #c8aa6e;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    border-radius: 0;
}

.input-group-wuxia {
    position: relative;
}

    .input-group-wuxia .icon {
        position: absolute;
        left: 15px;
        top: 10px;
        color: #666;
        z-index: 5;
    }

    .input-group-wuxia input {
        background: #1a1a1a;
        border: 1px solid #333;
        color: #fff;
        padding-left: 40px;
        border-radius: 4px;
    }

        .input-group-wuxia input:focus {
            background: #000;
            border-color: #c8aa6e;
            box-shadow: 0 0 5px rgba(200, 170, 110, 0.3);
            color: #fff;
        }

        /* Thêm đoạn này vào file CSS */
        .input-group-wuxia input::placeholder {
            color: #888; /* Hoặc #aaa nếu muốn sáng hơn */
            opacity: 1; /* Bắt buộc: Firefox mặc định opacity < 1 nên phải set lại */
            font-weight: normal;
        }

        /* Tùy chọn: Khi focus vào ô input thì làm placeholder mờ đi chút cho đẹp */
        .input-group-wuxia input:focus::placeholder {
            opacity: 0.5;
        }
/* =======================================================
   WUXIA CHATBOT (TIỂU ĐỒNG)
   ======================================================= */

/* Nút mở Chat (Tròn, Nổi bật) */
.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a1c1c, #520606); /* Đỏ thẫm */
    border: 2px solid #c8aa6e; /* Viền vàng */
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999; /* Luôn nằm trên cùng */
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGold 2s infinite;
}

    .chatbot-toggler:hover {
        transform: scale(1.1) rotate(10deg);
        background: #c8aa6e;
        color: #000;
        border-color: #fff;
    }

/* Hiệu ứng nút đập nhẹ */
@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 170, 110, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(200, 170, 110, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(200, 170, 110, 0);
    }
}

/* Khung cửa sổ Chat */
.chatbot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: 90%;
    background: #111;
    border: 1px solid #c8aa6e;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

/* Khi body có class show-chatbot thì hiện lên */
body.show-chatbot .chatbot {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* Header của Chatbox */
.chatbot header {
    background: linear-gradient(90deg, #8a1c1c, #3d0a0a);
    padding: 15px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #c8aa6e;
}

    .chatbot header span {
        color: #fff;
        font-family: 'Cinzel', serif;
        font-weight: 700;
        font-size: 1.1rem;
        text-shadow: 0 2px 2px #000;
    }

    .chatbot header .close-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #ccc;
        cursor: pointer;
        font-size: 20px;
        transition: 0.3s;
    }

        .chatbot header .close-btn:hover {
            color: #fff;
        }

/* Nội dung tin nhắn */
.chatbox {
    overflow-y: auto;
    height: 350px;
    padding: 20px 15px;
    background: #0a0a0a url('/Image/pattern_dark.png'); /* Nền tối */
    list-style: none;
    margin: 0;
}

    /* Thanh cuộn đẹp */
    .chatbox::-webkit-scrollbar {
        width: 6px;
    }

    .chatbox::-webkit-scrollbar-track {
        background: #111;
    }

    .chatbox::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 3px;
    }

    .chatbox .chat {
        display: flex;
        list-style: none;
        margin-bottom: 15px;
    }

        .chatbox .chat p {
            max-width: 75%;
            padding: 10px 15px;
            border-radius: 10px;
            font-size: 0.95rem;
            line-height: 1.4;
            position: relative;
            word-wrap: break-word;
        }

    /* Tin nhắn đến (Bot) */
    .chatbox .incoming p {
        background: #222;
        color: #ddd;
        border: 1px solid #444;
        border-top-left-radius: 0;
    }

    /* Tin nhắn đi (User) */
    .chatbox .outgoing {
        justify-content: flex-end;
    }

        .chatbox .outgoing p {
            background: #c8aa6e;
            color: #1a1a1a;
            font-weight: 500;
            border-bottom-right-radius: 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.5);
        }

/* Khu vực nhập liệu */
.chat-input {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #333;
    background: #151515;
}

    .chat-input textarea {
        height: 45px;
        width: 100%;
        border: 1px solid #333;
        background: #0a0a0a;
        color: #fff;
        outline: none;
        resize: none;
        padding: 10px;
        border-radius: 4px;
        font-size: 0.95rem;
    }

        .chat-input textarea:focus {
            border-color: #c8aa6e;
        }

    .chat-input span#send-btn {
        color: #c8aa6e;
        font-size: 1.5rem;
        cursor: pointer;
        transition: 0.3s;
    }

        .chat-input span#send-btn:hover {
            color: #fff;
            transform: translateX(3px);
        }

/* Responsive Mobile: Chat full màn hình hoặc nhỏ hơn */
@media (max-width: 490px) {
    .chatbot {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

        .chatbot header {
            padding: 20px;
        }

    .chatbox {
        height: calc(100% - 130px);
    }
}

/* Header Chatbot Actions */
.chatbot header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.clear-btn {
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

    .clear-btn:hover {
        color: #ff4d4d; /* Màu đỏ khi hover */
        transform: scale(1.1);
    }

.close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #ccc;
    transition: 0.3s;
}

    .close-btn:hover {
        color: #fff;
    }


/* =======================================================
   FIX LỖI HEADER CHATBOT (Nút chồng nhau)
   ======================================================= */

/* 1. Header dùng Flexbox để chia 2 bên (Tên trái - Nút phải) */
.chatbot header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: linear-gradient(90deg, #8a1c1c, #3d0a0a);
    padding: 15px;
    border-bottom: 1px solid #c8aa6e;
    position: relative;
}

/* 2. Nhóm các nút hành động (Thùng rác + Đóng) */
.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; /* Khoảng cách an toàn giữa 2 nút */
}

/* 3. Nút Thùng rác */
.clear-btn {
    color: #bbb;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

    .clear-btn:hover {
        color: #ff4d4d; /* Đỏ khi hover */
        transform: scale(1.1);
    }

/* 4. Nút Đóng (Quan trọng: Reset position static để không bị trôi) */
.chatbot header .close-btn {
    position: static !important; /* Bỏ absolute cũ */
    transform: none !important; /* Bỏ căn giữa cũ */
    color: #bbb;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
    display: block;
}

    .chatbot header .close-btn:hover {
        color: #fff;
    }

/* 5. Tên Tiểu Đồng */
.chatbot header span.text-gold {
    font-family: 'Philosopher', serif; /* Font Kiếm hiệp */
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 2px #000;
}
/* =======================================================
   SUPPORT DROPDOWN (HEADER)
   ======================================================= */

/* Chỉnh lại link Header để dropdown nằm thẳng hàng */
.top-links .dropdown-toggle {
    color: #bbb; /* Màu chữ mặc định giống các link khác */
    font-weight: bold;
    font-size: 13px; /* Cỡ chữ khớp với header */
    transition: 0.3s;
}

    .top-links .dropdown-toggle:hover,
    .top-links .dropdown-toggle[aria-expanded="true"] {
        color: #c8aa6e; /* Màu vàng khi hover hoặc đang mở */
    }

/* Màu sắc riêng cho từng mạng xã hội khi Hover vào menu con */
.wuxia-dropdown .social-item {
    font-weight: 500;
}

    /* Facebook Blue */
    .wuxia-dropdown .social-item.fb:hover {
        background: linear-gradient(90deg, #1877f2, #0d4b9e);
        color: #fff !important;
        border-color: #1877f2;
    }

        .wuxia-dropdown .social-item.fb:hover i {
            color: #fff;
        }

    /* Discord Purple */
    .wuxia-dropdown .social-item.dc:hover {
        background: linear-gradient(90deg, #5865f2, #404eed);
        color: #fff !important;
        border-color: #5865f2;
    }

        .wuxia-dropdown .social-item.dc:hover i {
            color: #fff;
        }

    /* Zalo Blue (Zalo xanh dương đậm hơn FB xíu) */
    .wuxia-dropdown .social-item.zalo:hover {
        background: linear-gradient(90deg, #0068ff, #0041a3);
        color: #fff !important;
        border-color: #0068ff;
    }

        .wuxia-dropdown .social-item.zalo:hover i {
            color: #fff;
        }

/* Tự động làm sáng các chữ màu tối khi nằm trong modal nền đen */
.wuxia-modal .text-muted {
    color: #adb5bd !important; /* Màu xám sáng (tương đương text-gray-500) */
}
.small, small {
    font-size: 0.875rem; /* Tăng nhẹ kích thước */
    color: #b0b0b0; /* Đảm bảo màu không bị quá chìm */
    letter-spacing: 0.3px;
}
/* Đặc biệt cho các bảng cấu hình (Table Wuxia) */
.table-wuxia .text-muted {
    color: #c8aa6e !important; /* Chuyển hẳn sang màu vàng nhạt cho sang trọng */
    opacity: 0.8;
}

/* Làm sáng các thành phần text nhỏ trong bài viết */
.post-meta, .text-white-50 {
    color: #bbb !important; /* Sáng hơn màu mặc định */
}

.btn-wuxia-sm {
    background: linear-gradient(180deg, #c8aa6e, #8e7037);
    color: #000 !important;
    padding: 3px 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    text-decoration: none;
}
/* Khung chứa bài viết phong cách Wuxia */
.post-frame {
    background: rgba(0, 0, 0, 0.6); /* Nền tối mờ để nổi bật chữ */
    border: 1px solid #332b1a; /* Viền đồng cổ */
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 50px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.post-title {
    color: #c8aa6e;
    font-family: 'Philosopher', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.post-rule {
    border-top: 1px solid #c8aa6e;
    opacity: 0.3;
    margin: 30px 0;
}

/* Làm sáng các đoạn text mờ trong bài viết như bạn yêu cầu */
.post-meta, .text-white-50 {
    color: #adb5bd !important;
}

/* Container chứa toàn bộ block môn phái */
.mon-phai-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Khung hiển thị ảnh môn phái */
.mon-phai-display {
    height: 350px; /* Tăng nhẹ chiều cao để nhìn thoáng hơn */
    display: flex;
    align-items: center;
    background: radial-gradient(circle, rgba(200, 170, 110, 0.05) 0%, transparent 70%);
}

/* FIX LỖI ẢNH QUÁ TO */
.img-mon-phai {
    max-height: 350px; /* Phải khớp với chiều cao display */
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    object-fit: contain; /* Giữ nguyên tỷ lệ ảnh */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)); /* Đổ bóng để ảnh nổi bật trên nền tối */
}

/* Tùy chỉnh nút chọn môn phái (Wuxia Style) */
.btn-wuxia-filter {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #332b1a;
    color: #adb5bd !important; /* Làm sáng chữ mờ */
    padding: 6px 18px;
    font-size: 0.9rem;
    transition: 0.3s all;
    text-transform: uppercase;
    font-family: 'Philosopher', sans-serif;
}

    .btn-wuxia-filter:hover,
    .btn-wuxia-filter.active {
        border-color: #c8aa6e;
        color: #c8aa6e !important;
        background: rgba(200, 170, 110, 0.1);
        box-shadow: 0 0 10px rgba(200, 170, 110, 0.2);
    }


.carousel-indicators {
    bottom: 45px;
    gap: 5px; /* Khoảng cách giữa các chấm */
}

    /* Chỉnh style cho từng chấm */
    .carousel-indicators button {
        width: 10px !important; /* Độ rộng */
        height: 10px !important; /* Chiều cao */
        border-radius: 50%; /* Bo tròn 100% để thành hình tròn */
        background-color: #fff; /* Màu trắng mờ cho các slide chưa active */
        opacity: 0.5; /* Độ trong suốt */
        border: 1px solid rgba(0,0,0,0.2); /* Viền mỏng */
        margin: 0 !important;
        transition: all 0.3s ease; /* Hiệu ứng chuyển màu mượt */
    }

        /* Style riêng cho chấm đang Active (Slide hiện tại) */
        .carousel-indicators button.active {
            background-color: #ffc107; /* Màu vàng Gold */
            opacity: 1; /* Hiển thị rõ 100% */
            transform: scale(1.3); /* Phóng to lên một chút cho nổi bật */
            
        }