﻿
.header-divider-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 25px auto 15px auto; /* Khoảng cách phía trên cách menu ra, phía dưới cách khung bài hát ra */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Kiểu chữ tiêu đề */
.sec-tit {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px; /* Khoảng cách vừa đúng để chữ nằm ngay ngắn phía trên đường gạch */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Đường gạch trắng phát sáng */
.ghiam-divider {
    width: 100%;
    max-width: 100px;
    height: 3px;
    border: none;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 85%);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 25px rgba(200, 240, 255, 0.6);
    border-radius: 50%;
    margin: 0;
}

.ghiam-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    font-size: 30px; /* Điều chỉnh kích thước chữ to nhỏ tùy ý */
    font-weight: bold;
    letter-spacing: 1.5px;
    margin: 25px auto;
    width: 100%;
    max-width: 1500px; /* Độ rộng tối đa của cả dòng (chữ + 2 đường gạch) */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

    /* Tạo đường gạch bên trái và bên phải ôm lấy chữ */
    .ghiam-title::before,
    .ghiam-title::after {
        content: "";
        flex: 1;
        height: 3px; /* Độ dày ở giữa */
        margin: 0 20px; /* Khoảng cách từ đường gạch đến chữ */
        border-radius: 50%;
        /* Hiệu ứng đường gạch: to/sáng ở gần chữ, mờ dần nhỏ lại về phía 2 mép biên */
        background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 85%);
        /* Hiệu ứng phát sáng lan tỏa rộng */
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(200, 240, 255, 0.5);
    }

.top-stats-bar {
    display: flex;
    justify-content: space-between; /* Đẩy hai đầu trái và phải ra xa nhau */
    align-items: center;
    width: 30%;
    padding: 6px 15px;
    margin-bottom: 8px;
    background: rgba(10, 80, 160, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(110, 193, 255, 0.4);
    border-radius: 10px;
    color:  white;
    font-size: 0.85rem;
    font-weight: 1000;    
    margin-left: auto;
}

/* Nhóm bên trái: Tổng lượt truy cập & Đang online */
.stats-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 2px rgba(0, 20, 50, 0.8);
}

/* Nhóm bên phải: Tiếng Việt & Admin - Đẩy dạt sát mép phải */
.stats-right {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto; /* Tự động đẩy cụm này sang góc phải */
}

/* Kiểu nút nhỏ gọn cho Tiếng Việt và Admin */
.top-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(180deg, rgba(27, 139, 224, 0.7) 0%, rgba(2, 81, 168, 0.8) 100%);
    border: 1.5px solid #6ec1ff;
    border-radius: 15px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 30, 70, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease-in-out;
}
    .top-action-btn:hover {
        background: linear-gradient(180deg, rgba(43, 155, 240, 0.85) 0%, rgba(8, 108, 214, 0.9) 100%);
        border-color: #9ed7ff;
        color: #ffffff !important;
    }

.khung-logo-lap-lanh {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px; /* Độ dày của đường viền vàng */
    border-radius: 50%; /* Đổi thành 15px nếu dùng cho ảnh chữ nhật */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.75);
}

    /* Tạo dải ánh sáng vàng trắng chạy xoay quanh viền */
    .khung-logo-lap-lanh::before {
        content: "";
        position: absolute;
        width: 150%;
        height: 150%;
        background: conic-gradient( from 0deg, #b8860b, #ffd700, #ffffff, /* Điểm lóe sáng lấp lánh */
        #ffd700, #daa520, #ffffff, /* Điểm lóe sáng thứ 2 */
        #b8860b );
        animation: xoayVienVang 3s linear infinite;
        z-index: 1;
    }

    /* Giữ ảnh nằm nổi lên trên lớp viền xoay */
    .khung-logo-lap-lanh img {
        position: relative;
        z-index: 2;
        border-radius: 50%; /* Đổi thành 12px nếu dùng cho ảnh chữ nhật */
        display: block;
        width: 100%;
        height: 100%;
    }

@keyframes xoayVienVang {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-vovi {
    border-radius: 50%; /* Giữ khung hình tròn */
    border: 3px solid #ffd700; /* Viền vàng kim cơ bản */
    animation: goldSparkle 2.5s infinite alternate ease-in-out;
}

@keyframes goldSparkle {
    0% {
        border-color: #ffea75;
        box-shadow: 0 0 8px #ffd700, 0 0 18px rgba(255, 215, 0, 0.7), inset 0 0 8px rgba(255, 255, 255, 0.6);
    }

    50% {
        border-color: #ffffff;
        box-shadow: 0 0 14px #fff3a1, 0 0 30px #ffd700, 0 0 45px rgba(255, 193, 7, 0.9);
    }

    100% {
        border-color: #ffb700;
        box-shadow: 0 0 10px #ffd700, 0 0 22px rgba(255, 215, 0, 0.8);
    }
}


.khung-vuong-quet-sang {
    position: relative;
    display: inline-block;
    border: 3px solid #ffd700;
    border-radius: 10px; /* Đặt 0px nếu muốn vuông góc 100% */
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

    .khung-vuong-quet-sang img {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* Tạo vệt sáng quét chéo */
    .khung-vuong-quet-sang::after {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 60%;
        height: 100%;
        background: linear-gradient( 120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 248, 180, 0.75) 50%, rgba(255, 255, 255, 0) 100% );
        transform: skewX(-25deg);
        animation: tiaSangQuet 3.5s infinite;
    }

@keyframes tiaSangQuet {
    0% {
        left: -120%;
    }

    45%, 100% {
        left: 160%;
    }
}



.khung-vuong-chay-vien {
    position: relative;
    display: inline-flex;
    padding: 4px; /* Độ dày viền */
    border-radius: 8px; /* Đổi thành 0px nếu muốn vuông sắc cạnh */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.65);
}

    .khung-vuong-chay-vien::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient( transparent, #ffd700, #ffffff, #ffb700, transparent 40% );
        animation: chayVienVuong 3s linear infinite;
        z-index: 1;
    }

    .khung-vuong-chay-vien img {
        position: relative;
        z-index: 2;
        border-radius: 5px;
        display: block;
        width: 100%;
        height: 100%;
    }

@keyframes chayVienVuong {
    100% {
        transform: rotate(360deg);
    }
}




.khung-vuong-hao-quang {
    display: inline-block;
    padding: 4px;
    background: linear-gradient(135deg, #fff2a6, #d4af37, #ffdf00, #aa7c11);
    border-radius: 6px;
    animation: nhipHaoQuang 2.2s infinite alternate ease-in-out;
}

    .khung-vuong-hao-quang img {
        display: block;
        border: 2px solid #ffffff;
        border-radius: 4px;
        width: 100%;
        height: 100%;
    }

@keyframes nhipHaoQuang {
    0% {
        box-shadow: 0 0 8px #ffd700, 0 0 15px rgba(255, 215, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 18px #fff59d, 0 0 35px #ffd700, 0 0 50px rgba(255, 193, 7, 0.85);
    }
}



.khung-vuong-sao-goc {
    position: relative;
    display: inline-block;
    border: 3px solid #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.8);
}

    .khung-vuong-sao-goc img {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* Đốm sáng lấp lánh góc trên bên trái & góc dưới bên phải */
    .khung-vuong-sao-goc::before,
    .khung-vuong-sao-goc::after {
        content: "✦";
        position: absolute;
        color: #ffffff;
        font-size: 22px;
        text-shadow: 0 0 8px #ffd700, 0 0 15px #ffae00;
        animation: nhapNhaySao 1.6s infinite alternate ease-in-out;
        pointer-events: none;
        z-index: 5;
    }

    .khung-vuong-sao-goc::before {
        top: -14px;
        left: -10px;
    }

    .khung-vuong-sao-goc::after {
        bottom: -14px;
        right: -10px;
        animation-delay: 0.8s; /* Nháy so le với góc trên */
    }

@keyframes nhapNhaySao {
    0% {
        transform: scale(0.6) rotate(0deg);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.3) rotate(45deg);
        opacity: 1;
    }
}