/* CSS Document */
@keyframes blinkColors {
    0% {
        color: red;
    }

    25% {
        color: blue;
    }

    50% {
        color: green;
    }

    75% {
        color: yellow;
    }

    100% {
        color: red;
    }
}

.blink {
    animation: blinkColors 1s infinite;
    font-weight: bold;
}

.logoft {
    position: relative;
    left: -411px;
    top: 26px;
}

.coppy {
    float: left;
    color: #fff;
    font-size: 13px;
    position: relative;
    top: -40px;
    text-align: left;
    left: 30px;
}

.table > tbody > tr > td, .table > tbody > th, .table > tfoot > td, .table > tfoot > th, .table > thead > td, .table > thead > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ffb7b7;
    background-color: #fff;
}

.text-red {
    color: #d9534f;
    margin-bottom: 10px;
}

.text-black {
    color: #000;
    margin-bottom: 10px;
}

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto Slab',Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

#main {
    background: url(../Areas/Assets/plugins/Images/bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #101723;
    min-height: 1780px;
    height: auto;
    background-size: cover;
    padding-left: 61px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Use TrangCaNhan background for all pages when logged in (Account Info) */
body.user-logged-in #main {
    background-image: url('../Areas/Assets/plugins/Images/trangcanhan-bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #0d121b;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
body.user-logged-in #chitiet_tintuc::before {
    background: none;
}
body.user-logged-in #chitiet_tintuc {
    background: transparent;
}
body.user-logged-in #header_news {
    background: #000;
    filter: none;
    border-radius: 0 0 8px 8px;
}

/* Footer: cùng background với #main để nền kéo xuống hết */
footer,
#footer {
    background: url(../Areas/Assets/plugins/Images/bg.jpg) top center no-repeat;
    background-size: cover;
    background-color: #101723;
    border-top: 1px solid rgba(212, 175, 55, 0.28);
}
body.user-logged-in footer,
body.user-logged-in #footer {
    background-image: url('../Areas/Assets/plugins/Images/trangcanhan-bg.png');
    background-position: center center;
    background-size: cover;
    background-color: #0d121b;
}

.link {
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-family: Tahoma, Geneva, sans-serif;
    color: white;
}

    .link:hover, .link:active {
        text-decoration: none;
        text-align: center;
        font-size: 18px;
        font-family: Tahoma, Geneva, sans-serif;
        color: #f0ac20;
    }

#menu {
    width: 1100px;
    margin: 0 auto;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1030;
}

#menu_trai {
    float: left;
    padding-top: 30px;
    display: inline-block;
}

#menu_phai {
    float: left;
    display: inline-block;
    padding-top: 30px;
}

#logo {
    float: left;
    display: inline-block;
    margin-left: -17px;
    margin-top: 10px;
    width: 204px;
    height: 179px;
}

    #logo img {
        width: 224px;
        height: 179px;
    }

#menu_trai ul li {
    margin-left: 20px;
    list-style-type: none;
    display: inline-block;
}

#menu_phai ul li.menuphai {
    margin-left: 20px;
    list-style-type: none;
    display: inline-block;
}

#noidung {
    width: 1202px;
    padding-top: 220px;
    margin: 0 auto;
}

#part_left {
    width: 258px;
    float: left;
    overflow: visible;
}

.User {
    width: 258px;
    height: auto;
    border: 1px solid #7b6b6b;
    background-image: url('../Areas/Assets/plugins/Images/bg-block.jpg');
}

    .User .Title {
        height: 40px;
        background-color: #7a0a00;
        color: #e5e5e5;
        text-align: center;
        font-size: 19px;
        padding-top: 8px;
        text-transform: capitalize;
        font-weight: 600;
        background: #9c2100 url(../Areas/Assets/plugins/Images/Background/1.png);
        background-size: contain;
        letter-spacing: 2px;
    }

    .User .List {
        border: 1px solid #010101;
        background-color: #f9ef9b;
        color: #fff;
        height: auto;
    }

#part_center {
    width: 512px;
    float: left;
    display: inline-block;
    margin-left: 13px;
}

#part_right {
    width: 370px;
    float: left;
    display: inline-block;
    margin-left: -231px;
}
/**Bớt soi mói cho đời thanh thản, người làm chết mẹ thằng ctrl+S.**/
#bt_xongvaogiangho {
    background: url('../Areas/Assets/plugins/Images/playNow.gif');
    background-size: contain;
    width: 258px;
    height: 153px;
    position: relative;
    border: 2px solid #d4af37;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2);
    animation: guide-golden-glow 2.5s ease-in-out infinite alternate;
}

    #bt_xongvaogiangho:hover {
        background: url('../Areas/Assets/plugins/Images/playNow.gif');
        background-size: contain;
        width: 258px;
        height: 153px;
        position: relative;
        border: 2px solid #d4af37;
        border-radius: 10px;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.5);
        -webkit-animation: 6.5s scale infinite;
        -moz-animation: 6.5s scale infinite;
        animation: 6.5s scale infinite;
        letter-spacing: -2px;
    }

@-webkit-keyframes scale {
    0% {
        -webkit-transform: scale(1.0,1.0);
        -moz-transform: scale(1.0,1.0);
        -ms-transform: scale(1.0,1.0);
    }

    50% {
        -webkit-transform: scale(1.3,1.3);
        -moz-transform: scale(1.3,1.3);
        -ms-transform: scale(1.3,1.3);
    }

    100% {
        -webkit-transform: scale(1.0,1.0);
        -moz-transform: scale(1.0,1.0);
        -ms-transform: scale(1.0,1.0);
    }
}

.Login {
    margin-top: 1px;
    margin-bottom: 1px;
    width: 258px;
    height: 160px;
    background: #fff;
}

    .Login .LoginTitle {
        height: 35px;
        font-size: 19px;
        text-transform: uppercase;
        color: #fff;
        background: rgb(10 0 255) url(../Areas/Assets/plugins/Images/1.png) repeat-x;
        text-align: center;
        word-spacing: 3px;
        padding: 6px;
    }

    .Login .Form {
        font-size: 19px;
        text-transform: uppercase;
        color: #fff;
        text-align: center;
        word-spacing: 3px;
        padding: 6px;
        height: 82px;
    }

#taigame-misc {
    position: absolute;
    bottom: 40px;
    right: 15px;
}

#napthe_dangky {
    height: 51px;
}

#napthe {
    float: left;
    width: 120px;
    height: 51px;
    text-align: center;
    color: #ffffff;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -2px;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    border: 2px solid #d4af37;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2);
    animation: guide-golden-glow 2.5s ease-in-out infinite alternate;
}

    #napthe a {
        display: block;
        width: 129px;
        height: 51px;
        font-family: 'Roboto Slab';
        text-transform: uppercase;
        padding-left: 0px;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
    }

    #napthe:hover {
        width: 120px;
        height: 51px;
        background-color: #000;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.5);
        animation: none;
    }

    #napthe a {
        font-family: 'Roboto Slab';
        color: #fff;
        text-decoration: none;
        margin-left: -12px;
        margin-top: 11px;
        display: inline-block;
    }

        #napthe a:hover {
            color: #0CF;
            -webkit-animation: 1.5s scale infinite;
            -moz-animation: 1.5s scale infinite;
            animation: 1.5s scale infinite;
            -ms-animation: 1.5s scale infinite;
        }

#ngancach {
    background: url(../Areas/Assets/plugins/Images/ngan_dangky_napthe.png);
    height: 51px;
    background-repeat: no-repeat;
    width: 8px;
    float: left;
    display: inline-block;
    border: 1px solid #d4af37;
}

#dangky {
    height: 51px;
    width: 129px;
    float: left;
    color: #ffffff;
    display: inline-block;
    text-align: center;
    padding-top: 9px;
    text-transform: uppercase;
    padding-left: 0px;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -2px;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    border: 2px solid #d4af37;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2);
    animation: guide-golden-glow 2.5s ease-in-out infinite alternate;
}

    #dangky a {
        display: block;
        width: 125px;
        height: 51px;
    }

    #dangky a {
        font-family: 'Roboto Slab';
        text-transform: uppercase;
        padding-left: 0px;
        font-weight: 500;
        letter-spacing: -2px;
        color: #fff;
        text-decoration: none;
    }

    #dangky:hover {
        width: 129px;
        height: 51px;
        background-color: #000;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.5);
        animation: none;
    }

    #dangky a:hover {
        color: #0CF;
        -webkit-animation: 1.5s scale infinite;
        -moz-animation: 1.5s scale infinite;
        animation: 1.5s scale infinite;
        -ms-animation: 1.5s scale infinite;
    }

#camnang {
    margin-top: 13px;
    background: url(../Areas/Assets/plugins/Images/bg_4cuctron.jpg);
    width: 258px;
    height: 320px;
}

#topcaothu {
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    letter-spacing: -1px;
    width: auto;
    height: 45px;
    margin-top: 10px;
    border: 1px solid #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    padding-top: 7px;
    text-align: center;
}

    #topcaothu table {
    }

#banner {
    width: 512px;
    margin-bottom: 8px;
}
#sliderFrame {
    position: relative;
    width: 512px;
    height: 210px;
    overflow: hidden;
}

#slider, #slider div.sliderInner {
    width: 512px;
    height: 210px;
    background-size: contain;
    background-position: center center;
    overflow: hidden;
}

    /* Full image visible in frame (hiện full hình trong box) */
    #slider img, #slider > b, #slider a > b {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        right: auto !important;
        margin: 0 !important;
        border: none;
        display: none;
        width: 512px !important;
        height: 210px !important;
        max-width: 512px !important;
        max-height: 210px !important;
        object-fit: contain !important;
        object-position: center center !important;
        background-size: contain !important;
        background-position: center center !important;
    }

.navBulletsWrapper {
    display: block;
}

#slider div.navBulletsWrapper {
    top: 186px;
    text-align: center;
    background: none;
    position: relative;
    z-index: 0;
    float: right;
    margin-right: 30px;
    background-size: contain;
}

    #slider div.navBulletsWrapper div {
        width: 11px;
        height: 11px;
        font-size: 0;
        color: White; /*hide the index number in the bullet element*/
        background: transparent url(../Areas/Assets/plugins/Images/bullet.png) no-repeat 0 0;
        display: inline-block;
        *display: inline;
        zoom: 1;
        overflow: hidden;
        cursor: pointer;
        margin: 0 6px;
    }

        #slider div.navBulletsWrapper div.active {
            background-position: 0 -11px;
        }

#slider a.imgLink, #slider div.video {
    z-index: 2;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    border: 0;
    padding: 0;
    margin: 0;
    width: 512px !important;
    height: 210px !important;
    overflow: hidden;
    background-size: contain !important;
    background-position: center center !important;
}
#slider a.imgLink img {
    left: 0 !important;
    top: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}
/* tab-tin-tuc*/

.clear {
    clear: both;
}

#tintuc_sukien {
    width: 512px;
    height: 140px;
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 10px;
    font-family: 'Roboto Slab' !important;
    background-image: url('../Areas/Assets/plugins/Images/bg-block.jpg');
    background-size: cover;
    overflow: hidden;
}

ul.tab_nav_tintuc li#tab1_congcao {
    float: left;
    width: 169px;
    height: 41px;
    list-style-type: none;
    font-family: 'Roboto Slab';
    color: #FFF;
    background-repeat: no-repeat;
    background: #c4c4c400;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    letter-spacing: -1px;
    transition: all 0.3s;
}

ul.tab_nav_tintuc li#tab2_sukien {
    float: left;
    width: 169px;
    height: 41px;
    list-style-type: none;
    font-family: 'Roboto Slab';
    background-repeat: no-repeat;
    background: #c4c4c400;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    letter-spacing: -1px;
}

ul.tab_nav_tintuc li#tab3_giangho {
    float: left;
    width: 173px;
    height: 41px;
    list-style-type: none;
    font-family: 'Roboto Slab';
    background-repeat: no-repeat;
    background: #c4c4c400;
    border-left: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
    letter-spacing: -1px;
}

ul.tab_nav_tintuc li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-family: 'Roboto Slab';
    text-align: center;
    text-transform: uppercase
}

    ul.tab_nav_tintuc li a.active {
        background-repeat: no-repeat;
        height: 41px;
        background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
        background-size: cover;
        letter-spacing: 0px;
        font-weight: 600;
        font-size: 14px;
        filter: brightness(100%) contrast(100%) drop-shadow(8px 8px 10px gray);
        color: #ff044d;
        box-shadow: none;
        transform: translateY(0px);
        box-shadow: 0 0 5px #000, inset 0 0 10px #000, 0 0 20px #000 inset, 0 0 20px #000 inset;
        transition: all 0.6s;
    }

        ul.tab_nav_tintuc li a.active p {
            color: #ef673e;
        }

.tab_content_tintuc {
    position: relative;
    width: 512px;
    height: 139px;
    overflow: hidden;
}

#trich_doan {
    margin-left: 15px;
}

#title_trichdoan {
    font-family: 'Roboto Slab';
    font-size: 14px;
    color: #ef673e;
    margin-top: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

    #title_trichdoan a {
        font-family: 'Roboto Slab';
        font-size: 15px;
        color: #ef673e;
        margin-top: 10px;
        font-weight: bold;
        text-decoration: none;
    }

        #title_trichdoan a:hover {
            font-family: 'Roboto Slab';
            font-size: 15px;
            color: #007bff;
            margin-top: 10px;
            font-weight: bold;
            text-decoration: none;
        }

#noidung_trichdoan {
    margin-top: 6px;
    height: 55px;
    overflow: hidden;
}

#thumbnail_image {
    float: left;
}

#short_content {
    width: 315px;
    float: left;
    display: inline-block;
    font-family: 'Roboto Slab';
    font-size: 14px;
    margin-left: 15px;
    line-height: 25px;
}

    #short_content a {
        font-family: 'Roboto Slab';
        font-size: 14px;
        line-height: 25px;
        text-decoration: none;
        color: black;
        width: 315px;
        float: left;
        display: inline-block;
    }

#tintuclienquan {
    font-size: 12px;
    font-family: 'Roboto Slab';
    width: 512px;
    padding-top: 8px;
    height: 60px;
    overflow: auto;
}

    #tintuclienquan ul {
        margin-top: 20px;
        height: 17px;
        width: 480px;
        border-bottom: 1px solid #9c9b9b;
        padding-bottom: 3px;
    }

        #tintuclienquan ul li {
            list-style-type: none;
            display: inline-block;
            min-width: 4.25rem;
            padding: 0.25rem;
            margin-right: 0.9rem;
        }

    #tintuclienquan a {
        text-decoration: none;
        color: #000000;
        font-size: 14px;
    }

        #tintuclienquan a:hover {
            text-decoration: none;
            color: #007bff;
            font-size: 14px;
        }

#xemthem {
    float: right;
    margin-right: 10px;
}

#huongdannapthe {
    width: 512px;
}

#bt_huongdannapthe {
    float: left;
    clear: left;
    background: url(../Areas/Assets/plugins/Images/huongdantt.png);
    width: 258px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: contain;
    font-family: 'Roboto Slab';
    font-size: 22px;
    color: #ef673e;
    text-decoration: none;
    padding-left: 10px;
    padding-top: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    animation: guide-golden-glow 2.5s ease-in-out infinite alternate;
    cursor: pointer;
}

    #bt_huongdannapthe a {
        display: inline-block;
        width: 258px;
        height: 110px;
    }

    #bt_huongdannapthe:hover {
        float: left;
        background: url(../Areas/Assets/plugins/Images/huongdantt-hover.png);
        width: 258px;
        height: 110px;
        background-repeat: no-repeat;
        background-size: contain;
        font-family: 'Roboto Slab';
        font-size: 22px;
        color: #ef673e;
        text-decoration: none;
        padding-left: 10px;
        padding-top: 10px;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.5), 0 0 80px rgba(255, 223, 128, 0.3);
        transform: scale(1.05);
        transition: all 0.4s ease;
        animation: none;
        cursor: pointer;
    }

    #bt_huongdannapthe:active,
    #bt_huongdannapthe:has(a:active) {
        transform: scale(0.97);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
        transition: all 0.1s ease;
    }

@keyframes guide-golden-glow {
    0% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 50px rgba(212, 175, 55, 0.4), 0 0 70px rgba(255, 223, 128, 0.25); }
}

#giftcode {
    float: left;
    clear: left;
    background: url(../Areas/Assets/plugins/Images/giftcode.png);
    width: 258px;
    height: 110px;
    background-repeat: no-repeat;
    background-size: contain;
    font-family: 'Roboto Slab';
    font-size: 22px;
    color: #ef673e;
    text-decoration: none;
    margin-top: 10px;
    padding-top: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    animation: giftcode-golden-glow 2.5s ease-in-out infinite alternate;
    cursor: pointer;
}

    #giftcode a {
        display: inline-block;
        width: 258px;
        height: 110px;
    }

    #giftcode:hover {
        float: left;
        background: url(../Areas/Assets/plugins/Images/giftcode-hover.png);
        width: 258px;
        height: 110px;
        background-repeat: no-repeat;
        background-size: contain;
        font-family: 'Roboto Slab';
        font-size: 22px;
        color: #ef673e;
        text-decoration: none;
        margin-top: 10px;
        padding-top: 10px;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.5), 0 0 80px rgba(255, 223, 128, 0.3);
        transform: scale(1.05);
        transition: all 0.4s ease;
        animation: none;
        cursor: pointer;
    }

    #giftcode:active,
    #giftcode:has(a:active) {
        transform: scale(0.97);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
        transition: all 0.1s ease;
    }

@keyframes giftcode-golden-glow {
    0% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 50px rgba(212, 175, 55, 0.4), 0 0 70px rgba(255, 223, 128, 0.25); }
}

#thuvien {
    width: 512px;
}

#video {
    float: left;
    width: 167px;
    height: 85px;
    margin-top: 10px;
    background: url(../Areas/Assets/plugins/Images/video_clip.jpg);
    background-repeat: no-repeat;
    font-family: 'Roboto Slab';
    font-size: 14px;
    padding-top: 200px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
}

    #video:hover {
        float: left;
        width: 167px;
        height: 85px;
        margin-top: 10px;
        background: url(../Areas/Assets/plugins/Images/video_clip.jpg);
        background-repeat: no-repeat;
        font-family: 'Roboto Slab';
        font-size: 14px;
        padding-top: 200px;
        color: white;
        font-weight: bold;
        text-align: center;
        line-height: 15px;
        background-position: 0 -285px;
    }

#hinhanh {
    float: left;
    width: 167px;
    height: 85px;
    margin-top: 10px;
    background: url(../Areas/Assets/plugins/Images/hinhanh.jpg);
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: 5.5px;
    font-family: 'Roboto Slab';
    font-size: 14px;
    padding-top: 200px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
}

    #hinhanh:hover {
        float: left;
        width: 167px;
        height: 85px;
        margin-top: 10px;
        background: url(../Areas/Assets/plugins/Images/hinhanh.jpg);
        background-repeat: no-repeat;
        display: inline-block;
        margin-left: 5.5px;
        font-family: 'Roboto Slab';
        font-size: 14px;
        padding-top: 200px;
        color: white;
        font-weight: bold;
        text-align: center;
        line-height: 15px;
        background-position: 0 -285px;
    }

#wallpaper {
    float: left;
    width: 167px;
    height: 85px;
    margin-top: 10px;
    background: url(../Areas/Assets/plugins/Images/wallpaper.jpg);
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: 5.5px;
    font-family: 'Roboto Slab';
    font-size: 14px;
    padding-top: 200px;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 15px;
}

    #wallpaper:hover {
        float: left;
        width: 167px;
        height: 85px;
        margin-top: 10px;
        background: url(../Areas/Assets/plugins/Images/wallpaper.jpg);
        background-repeat: no-repeat;
        display: inline-block;
        margin-left: 5.5px;
        font-family: 'Roboto Slab';
        font-size: 14px;
        padding-top: 200px;
        color: white;
        font-weight: bold;
        text-align: center;
        line-height: 15px;
        background-position: 0 -285px;
    }

/*clas nhanvat*/

.clear {
    clear: both;
}

#class_nhanvat {
    width: 390px;
    height: 660px;
    display: inline-block;
}

ul.tab_nav_phai li#tab1_thieulam, ul.tab_nav_phai li#tab2_thieulam {
    background: url(../Areas/Assets/plugins/Images/thieulam.jpg);
    float: left;
    width: 65px;
    height: 94px;
    list-style-type: none;
    /* font-family:myfont; */
    font-family: 'Roboto Slab';
    color: #FFF;
    background-repeat: no-repeat;
}

ul.tab_nav_phai li#tab2_vodang {
    float: left;
    width: 97px;
    height: 106px;
    list-style-type: none;
    font-family: 'Roboto Slab';
    background-repeat: no-repeat;
    background: url(../Areas/Assets/plugins/Images/vodang.jpg);
}

ul.tab_nav_phai li#tab3_como, ul.tab_nav_phai li#tab2_como {
    float: left;
    width: 65px;
    height: 94px;
    list-style-type: none;
    /* font-family:myfont; */
    font-family: 'Roboto Slab';
    background-repeat: no-repeat;
    background: url(../Areas/Assets/plugins/Images/como.jpg);
    background-size: cover;
}

ul.tab_nav_phai li#tab4_ngami, ul.tab_nav_phai li#tab2_ngami {
    float: left;
    width: 64px;
    height: 94px;
    list-style-type: none;
    /* font-family:myfont; */
    font-family: 'Roboto Slab';
    background-repeat: no-repeat;
    background: #969696;
    background: url(../Areas/Assets/plugins/Images/ngami.jpg);
}

ul.tab_nav_phai li a {
    padding-top: 73px;
    display: block;
    text-decoration: none;
    color: white;
    font-size: 14px; /* font-family:my_font; */
    font-family: 'Roboto Slab';
    text-align: center;
}

ul.tab_nav_phai li#tab1_thieulam a.active, ul.tab_nav_phai li#tab2_thieulam a.active {
    background: url(../Areas/Assets/plugins/Images/thieulam.jpg);
    width: 65px;
    height: 94px;
    background-position: 0 -94px;
    background-repeat: no-repeat;
    opacity: 1;
}

ul.tab_nav_phai li#tab2_vodang a.active {
    background: url(../Areas/Assets/plugins/Images/vodang.jpg);
    width: 98px;
    height: 106px;
    background-position: 0 -106px;
    background-repeat: no-repeat;
    opacity: 1;
}

ul.tab_nav_phai li#tab3_como a.active, ul.tab_nav_phai li#tab2_como a.active {
    background: url(../Areas/Assets/plugins/Images/como.jpg);
    width: 65px;
    height: 94px;
    background-position: 0 -94px;
    background-repeat: no-repeat;
    opacity: 1;
}

ul.tab_nav_phai li#tab4_ngami a.active, ul.tab_nav_phai li#tab2_ngami a.active {
    background: url(../Areas/Assets/plugins/Images/ngami.jpg);
    width: 64px;
    height: 94px;
    background-position: 0 -94px;
    background-repeat: no-repeat;
    opacity: 1;
}

.tab_content_phai {
}

#thumbnail_video {
    margin-top: 9px;
}

#facebook {
    margin-top: -1px;
}

#black_overlay {
    background-color: #000;
    width: 100%;
    height: 1850px;
    display: none;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#warning {
    position: absolute;
    top: 110px;
}

.dropdown-menu {
    top: 56px;
    left: -74px;
    background-color: #fff;
}

    .dropdown-menu a {
        color: #000 !important;
    }

.bg-primary {
    background-color: #337ab7;
    border-color: #337ab7;
}

.bg-red {
    background-color: #ef4444;
    border-color: #ef4444;
}

.modal-header {
    color: #fff;
}

body {
    overflow-y: scroll;
}

    body.modal-open {
        overflow-y: scroll;
        margin: 0;
    }

.modal {
    overflow: auto;
}

.btn-margin {
    margin-left: 4.5% !important;
}

.validation-summary-errors {
}

.text-danger {
    color: #a94442;
}

#form-change-password input, #form-register input, #form-giftcode input {
    width: 93%;
}

.g-recaptcha {
    transform: scale(1.22);
    transform-origin: 0 0;
}

#detail_content .resizeObj h3, #detail_content .resizeObj h4 {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 35px;
    font-weight: 700;
    padding-left: 28px;
    color: #ad0000;
    background: url(../Areas/Assets/plugins/Images/icon-1.png) no-repeat 0 6px;
}

#detail_content .resizeObj ul {
    margin: 0 0 10px 40px;
}

    #detail_content .resizeObj ul li {
        background: url(../Areas/Assets/plugins/Images/icon-2.png) no-repeat 0 7px;
    }

    #detail_content .resizeObj ul > li {
        margin-bottom: 10px;
        padding-left: 15px;
        list-style-type: none;
        text-align: justify;
    }

#detail_content .resizeObj table {
    margin: 10px auto;
    border-collapse: collapse;
}

    #detail_content .resizeObj table tr:nth-child(odd) {
        background: #e3dac7;
    }

    #detail_content .resizeObj table tr:nth-child(even) {
        background: #ece6d8;
    }

    #detail_content .resizeObj table th {
        color: #fff;
        font-weight: bolder;
        padding: 5px 10px;
        background: #800000;
        text-align: center;
    }

    #detail_content .resizeObj table td, #detail_content .resizeObj table th {
        border: 1px solid #c3a783;
        padding: 3px 10px;
        text-align: center;
        vertical-align: middle;
    }

#detail_content .resizeObj caption {
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

#detail_content .resizeObj p {
    line-height: 22px;
    padding: 5px 0px;
}

#giftcode a {
    text-decoration: none;
    color: #ef673e;
    padding: 1px 145px 70px 0px;
}

#bang_xep_hang > div:last-child {
    padding-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
}

.new-price {
    color: red;
    font-weight: bold;
    font-size: 120%;
}

body a {
    text-decoration: none;
    font-family: 'Roboto Slab';
}

#news_congcao {
    font-size: 20px;
    text-decoration: none;
    padding-left: 85px;
    background: url(../Areas/Assets/plugins/Images/bt_congcao.jpg);
    width: 173px;
    height: 40px;
    background-repeat: no-repeat;
    font-family: 'Roboto Slab';
    color: #FFF;
    padding-top: 15px;
    margin-top: 3px;
}

    #news_congcao:hover {
        background-position: 0 -57px;
    }

#news_sukien {
    font-size: 20px;
    text-decoration: none;
    padding-left: 93px;
    background: url(../Areas/Assets/plugins/Images/bt_congcao.jpg);
    width: 175px;
    height: 40px;
    background-repeat: no-repeat;
    font-family: 'Roboto Slab';
    color: #FFF;
    padding-top: 15px;
}

    #news_sukien:hover {
        background-position: 0 -57px;
    }

#news_giangho {
    font-size: 20px;
    text-decoration: none;
    padding-left: 85px;
    background: url(../Areas/Assets/plugins/Images/bt_congcao.jpg);
    width: 173px;
    height: 40px;
    background-repeat: no-repeat;
    font-family: 'Roboto Slab';
    color: #FFF;
    padding-top: 15px;
}

    #news_giangho:hover {
        background-position: 0 -57px;
    }

#camnang {
    margin-top: 3px;
}

#facebook_tintuc {
    margin-top: 3px;
}

#part_center {
    width: 766px;
    margin-left: 21px;
}

#header_news {
    width: 902px;
    height: 80px;
    background: url(../Areas/Assets/plugins/Images/bg_patch_tintuc.jpg);
    filter: contrast(110%);
}

#topic {
    padding-top: 15px;
    margin-left: 30px;
    color: #007bff;
    font-family: 'Roboto Slab';
    font-size: 24px;
}

#patch {
    font-family: 'Roboto Slab';
    color: #fff;
    font-size: 14px;
    padding-left: 40px;
}

    #patch a {
        color: #fff;
        font-size: 14px;
    }

#list_news {
    background-color: #fdfdfd;
    height: 1150px;
    width: 902px;
}

#thumbnail_news {
    float: left;
    width: 204px;
    margin-top: 20px;
    margin-left: 60px;
}

#excerpts_news {
    float: left;
    display: inline-block;
    margin-left: 15px;
    width: 550px;
    margin-top: 20px;
}

#title_news {
    width: 400px;
    float: left;
}

    #title_news a {
        color: #a00700;
        font-family: 'Roboto Slab';
        font-size: 18px;
    }

#date_news {
    float: left;
    width: 150px;
    display: inline-block;
}

    #date_news a {
        color: #9c9a8e;
        font-size: 14px;
    }

#content_excerpts_news {
    padding-top: 30px;
    width: 550px;
}

    #content_excerpts_news a {
        font-size: 14px;
        color: black;
        text-align: justify;
        font-family: 'Roboto Slab';
        line-height: 20px;
    }

#gachchan {
    width: 766px;
    margin-left: 60px;
}

    #gachchan img {
        margin-top: 10px;
    }

#bt_xemthem_news {
    float: right;
    margin-top: 20px;
}

#phantrang {
    width: 500px;
    margin: 20px auto;
}

#last_left_papge {
    float: left;
    width: 26px;
    margin-left: 40px;
}

#change_left_page {
    float: left;
    display: inline-block;
    width: 26px;
}

#last_right_page {
    float: left;
    display: inline-block;
    width: 26px;
    margin-left: 20px;
}

#number_page {
    float: left;
    display: inline-block;
    padding-top: 5px;
    margin-left: 8px;
    width: 300px;
}

    #number_page ul {
        width: 150px;
        margin: 0 auto;
    }

        #number_page ul li {
            display: inline;
            margin-left: 15px;
            background: url(../Areas/Assets/plugins/Images/bg_phantrang.jpg);
            width: 50px;
            height: 22px;
            text-align: center;
        }

            #number_page ul li a {
                font-family: 'Roboto Slab';
                font-size: 16px;
                color: white;
                width: 22px;
                text-align: center;
            }

#chitiet_tintuc {
    width: 902px;
    height: 1015px;
    margin: 0 auto;
    background: #1d3a4a;
    background-size: cover;
    overflow-y: auto;
    border-color: wheat;
    position: relative;
}

    #chitiet_tintuc::before {
        content: "";
        background-image: url('../Areas/Assets/plugins/Images/bg2.png');
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 1; /* 80% mờ (tức là 20% hiện) */
        z-index: 1;
    }

    #chitiet_tintuc > * {
        position: relative;
        z-index: 2;
    }

/* Profile page: full-page background image */
body.page-profile #main {
    background-image: url('../Areas/Assets/plugins/Images/trangcanhan-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
body.page-profile #chitiet_tintuc::before {
    background: none;
}
body.page-profile #chitiet_tintuc {
    background: transparent;
}
body.page-profile #header_news {
    background: #000;
    filter: none;
    border-radius: 0 0 8px 8px;
}

/* Trang Announcements: nền parchment giống ảnh (vàng ngà, sợi ngang, gấp nhăn) */
body.page-announcements #chitiet_tintuc {
    background-color: #e2d9c8 !important;
    background-image: url('../Areas/Assets/plugins/Images/parchment-bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(160, 148, 128, 0.5);
    box-shadow: inset 0 0 60px rgba(180, 168, 145, 0.08), 0 2px 12px rgba(0, 0, 0, 0.06);
}
body.page-announcements #chitiet_tintuc::before {
    background-image: none;
    background-color: transparent;
    opacity: 0;
}
body.page-announcements #chitiet_tintuc #tintuclienquan,
body.page-announcements #chitiet_tintuc .PageArea {
    background: transparent !important;
}
body.page-announcements #chitiet_tintuc #tintuclienquan ul {
    background: rgba(255, 252, 245, 0.5) !important;
    border-color: rgba(160, 148, 128, 0.4);
}
body.page-announcements #chitiet_tintuc #tintuclienquan ul a {
    color: #2c2a26 !important;
}
body.page-announcements #chitiet_tintuc #tintuclienquan ul a:hover {
    color: #a05200 !important;
}
body.page-announcements #chitiet_tintuc .PageArea,
body.page-announcements #chitiet_tintuc #Paging {
    color: #3d3a35;
}

/* Trang Guide: nền parchment, nội dung rõ */
body.page-guide #chitiet_tintuc {
    background-color: #e2d9c8 !important;
    background-image: url('../Areas/Assets/plugins/Images/parchment-bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(160, 148, 128, 0.5);
    box-shadow: inset 0 0 60px rgba(180, 168, 145, 0.08), 0 2px 12px rgba(0, 0, 0, 0.06);
}
body.page-guide #chitiet_tintuc::before {
    background-image: none;
    background-color: transparent;
    opacity: 0;
}
body.page-guide #chitiet_tintuc #tintuclienquan,
body.page-guide #chitiet_tintuc .PageArea {
    background: transparent !important;
}
body.page-guide #chitiet_tintuc #tintuclienquan ul {
    background: rgba(255, 252, 245, 0.5) !important;
    border-color: rgba(160, 148, 128, 0.4);
}
body.page-guide #chitiet_tintuc #tintuclienquan a {
    color: #2c2a26 !important;
}
body.page-guide #chitiet_tintuc #tintuclienquan a:hover {
    color: #a05200 !important;
}
body.page-guide #chitiet_tintuc .PageArea,
body.page-guide #chitiet_tintuc #Paging,
body.page-guide #chitiet_tintuc #detail_content,
body.page-guide #chitiet_tintuc #title_detail_tintuc {
    color: #2c2a26 !important;
}
body.page-guide #chitiet_tintuc .btn-secondary { color: #333; }
body.page-guide #chitiet_tintuc .form-control { color: #2c2a26 !important; }

#ngay_detail_tintuc {
    font-size: 14px;
    color: #a4a192;
    float: right;
    font-family: 'Roboto Slab';
    padding-top: 8px;
    margin-right: 20px;
}

#title_detail_tintuc {
    color: #a00700;
    font-family: 'Roboto Slab';
    font-size: 24px;
    font-weight: bold;
    width: 766px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
}

#ngancach_title_and_content {
    background: #a4a192;
    width: 600px;
    height: 2px;
    margin: 30px auto;
}

#detail_content {
    /*width:766px;*/
    padding-left: 30px;
    padding-right: 30px;
    text-align: justify;
    font-family: 'Roboto Slab';
    font-size: 14px;
    line-height: 20px;
    margin: -15px auto;
}

#ngancach_tintuclienquan {
    width: 600px;
    margin-top: 60px;
    margin-left: 70px;
    height: 9px;
}

#topic_tinlienquan {
    width: 766px;
    margin: 10px auto;
    height: 220px;
}

    #topic_tinlienquan ul {
        border-bottom: 1px dotted #000000;
        padding-bottom: 10px;
        padding-top: 10px;
    }

        #topic_tinlienquan ul li {
            display: inline-block;
            font-family: 'Roboto Slab';
            font-size: 14px;
            list-style-type: none;
        }

            #topic_tinlienquan ul li img {
                padding-right: 10px;
            }

            #topic_tinlienquan ul li a {
                color: black;
            }

                #topic_tinlienquan ul li a:hover {
                    color: #666;
                }

#title_page_tinlienquan {
    width: 700px;
}
/*
#footer {
    margin-top: 500px;
}
*/
#chitiet_tintuc #tintuclienquan {
    padding: 30px 30px;
    height: auto;
}

    #chitiet_tintuc #tintuclienquan, #chitiet_tintuc #tintuclienquan ul {
        width: auto;
    }

        #chitiet_tintuc #tintuclienquan ul a {
            font-size: 16px;
            color: #ffffff;
        }

        #chitiet_tintuc #tintuclienquan ul {
            margin-top: 20px;
            border-bottom: 1px #cf570e dotted;
            height: 40px;
        }

#sotrang ul li {
    background: none !important;
    float: left;
}

#phantrang .first, #phantrang .last, #phantrang .back, #phantrang .next {
    width: 26px !important;
    background: none !important;
    display: inline-block;
    height: 25px !important;
    margin: 0px !important;
    padding: 0px !important;
}

#phantrang .page, #phantrang .active {
    display: inline-block;
    background: url(../img/bg_phantrang.jpg);
    width: 22px;
    height: 22px;
    text-align: center;
    padding-top: 3px;
    margin-left: 5px;
}

#phantrang .first {
    background: url(../img/bt_left_lastpage.jpg) no-repeat !important;
}

#phantrang .back {
    background: url(../img/bt_left_changepage.jpg) no-repeat !important;
}

#phantrang .last {
    background: url(../img/bt_right_lastpage.jpg) no-repeat !important;
}

#phantrang .next {
    background: url(../img/bt_right_changepage.jpg) no-repeat !important;
}

#gallery li {
    margin-top: 10px;
}

blockquote {
    display: block;
    background: #fff;
    padding: 15px 20px 15px 45px;
    margin: 0 0 20px;
    position: relative;
    font-family: 'Roboto Slab';
    font-size: 12px;
    line-height: 1.2;
    color: #666;
    text-align: justify;
    /* border: 1px solid #c76c0c; */
    -moz-box-shadow: 2px 2px 15px #ccc;
    -webkit-box-shadow: 2px 2px 15px #ccc;
    box-shadow: 2px 2px 5px #343438;
    border-radius: 5px;
}

    blockquote::before {
        content: "\201C"; /*Unicode for Left Double Quote*/
        /*Font*/
        font-family: Georgia, serif;
        font-size: 60px;
        font-weight: bold;
        color: #999;
        position: absolute;
        left: 10px;
        top: 5px;
    }

    blockquote::after {
        content: "";
    }

    blockquote a {
        text-decoration: none;
        background: #eee;
        cursor: pointer;
        padding: 0 3px;
        color: #c76c0c;
    }

        blockquote a:hover {
            color: #666;
        }

    blockquote em {
        font-style: italic;
    }

.Menus {
    width: 874px;
    height: 50px;
    border: 1px solid #9f9daa29;
    left: 630px;
    top: 520px;
    background-color: #8e3fde7d;
    color: #ff0505;
    position: absolute;
    box-shadow: 5px 5px 5px #fff5f5;
    border-radius: 5px;
}

/*New MenuBar*/

.fixzone {
    position: fixed;
    z-index: 990;
    top: 100%;
    color: #000;
    left: 8px;
    font-size: 15px;
    background: #000000;
    border: solid 1px #444444;
    padding: 28px 10px 10px 10px;
    border-radius: 7px;
    margin-top: -30px;
    background: #9c2100 url(../Areas/Assets/plugins/Images/taigame-bg.png);
    background-size: cover;
}

    .fixzone.active {
        margin-top: -565px;
    }

    .fixzone .NoiDungBanner {
        width: 100%;
        float: left;
        margin: 0;
        border: solid 1px #ffffff;
        box-sizing: border-box;
        padding: 8px;
        background-image: url(../Areas/Assets/plugins/Images/bg-block.jpg);
        background-size: cover;
    }

        .fixzone .NoiDungBanner ul li {
            margin-bottom: 0rem;
        }

            .fixzone .NoiDungBanner ul li a {
            }

                .fixzone .NoiDungBanner ul li a:hover {
                    color: #0CF;
                }

        .fixzone .NoiDungBanner ul > li {
            margin-bottom: 10px;
            padding-left: 15px;
            list-style-type: none;
            margin-bottom: 0rem;
            text-align: justify;
        }

.close_fz {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 3px;
    right: 10px;
    background: url(../Areas/Assets/plugins/Images/ico_close.png) center center no-repeat;
    cursor: pointer;
}

.min_fz {
    width: 22px;
    height: 22px;
    position: absolute;
    top: 3px;
    right: 35px;
    background: url(../Areas/Assets/plugins/Images/ico_min.png) center center no-repeat;
    cursor: pointer;
}

.thumbnail {
    margin-bottom: 2px;
}

.newline {
    background: #a4a192;
    width: auto;
    height: 1px;
    margin: 7px 1px;
    margin-top: -4px;
}

#button {
    float: left;
    background: url(../Areas/Assets/plugins/Images/Background/1.png);
    width: 249px;
    height: 100px;
    background-repeat: no-repeat;
    font-family: 'Roboto Slab';
    font-size: 22px;
    color: #ef673e;
    text-decoration: none;
    margin-top: 10px;
    padding-top: 10px;
    margin-left: 4px;
    margin-bottom: 0.5rem;
}

    #button a {
        display: inline-block;
        width: 249px;
        height: 100px;
    }

    #button:hover {
        float: left;
        background: url(../Areas/Assets/plugins/Images/giftcode-hover.png);
        width: 249px;
        height: 100px;
        background-repeat: no-repeat;
        font-family: 'Roboto Slab';
        font-size: 22px;
        color: #ef673e;
        text-decoration: none;
        margin-top: 10px;
        padding-top: 10px;
        margin-left: 4px;
    }

/* ========== GLOBAL HOVER & CLICK EFFECTS ========== */
/* Buttons */
.btn, input[type="submit"], input[type="button"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover, .btn:focus,
input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.btn:active, input[type="submit"]:active, input[type="button"]:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

/* Account Info: profile background for all pages when logged in */
body.user-logged-in #part_left .card.card-primary {
    background-image: url('../Areas/Assets/plugins/Images/trangcanhan-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #0d121b;
}
body.user-logged-in #part_left .card.card-primary .card-header {
    background: rgba(0, 0, 0, 0.7) !important;
    background-size: contain;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
}

/* Nav links (Account Info sidebar) */
#part_left .nav-link, #part_left .user-function-link {
    transition: all 0.25s ease;
}
#part_left .nav-link:active, #part_left .user-function-link:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Popup links */
.popup-link {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.popup-link:hover {
    opacity: 0.9;
}
.popup-link:active {
    transform: scale(0.98);
    opacity: 0.85;
}

/* Login / Register buttons */
#napthe a, #dangky a {
    transition: transform 0.2s ease;
}
#napthe a:active, #dangky a:active {
    transform: scale(0.96);
}

/* Download button */
#bt_xongvaogiangho {
    transition: transform 0.2s ease;
}
#bt_xongvaogiangho:active, #bt_xongvaogiangho:has(a:active) {
    transform: scale(0.97);
}

/* Discord box */
#discord-box .discord-link {
    transition: all 0.25s ease;
}
#discord-box .discord-link:active {
    transform: scale(0.97);
}

/* Back to top */
.bnt-top a {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.bnt-top a:hover {
    transform: scale(1.1);
}
.bnt-top a:active {
    transform: scale(0.95);
}

/* Cards (clickable) */
.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* #button (legacy) */
#button {
    transition: transform 0.2s ease;
}
#button:active, #button:has(a:active) {
    transform: scale(0.97);
}

/* Header: logo trái, menu sát góc phải */
header .container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
header .container .logo {
    flex: 0 0 auto;
}
header .container .nav {
    margin-left: auto;
    margin-right: 0;
    padding-top: 8px;
    display: flex;
    justify-content: flex-end;
}
header .container .nav nav.hidden-xs {
    margin-right: 0 !important;
}
header .container .nav nav ul li a {
    transition: transform 0.2s ease, color 0.2s ease;
}
header .container .nav nav ul li a:active {
    transform: scale(0.97);
}

/* Home header menu buttons */
header .container .nav nav ul.home-main-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
header .container .nav nav ul.home-main-menu li {
    margin: 0;
}
header .container .nav nav ul.home-main-menu li .home-header-btn {
    min-width: 145px;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d4af37;
    border-radius: 12px;
    background: linear-gradient(180deg, #1a1510 0%, #0d0a06 100%);
    color: #ffdc7a !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.1;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.25), 0 0 18px rgba(212, 175, 55, 0.15);
}
header .container .nav nav ul.home-main-menu li .home-header-btn i {
    font-size: 16px !important;
    margin: 0;
}
header .container .nav nav ul.home-main-menu li .home-header-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.45), 0 0 26px rgba(212, 175, 55, 0.3);
}

/* Footer links */
footer nav ul li a {
    transition: transform 0.2s ease, color 0.2s ease;
}
footer nav ul li a:hover {
    transform: translateY(-1px);
}
footer nav ul li a:active {
    transform: scale(0.97);
}

/* Logo / Home link */
.logo a, .logodes {
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo a:hover .logodes, .logo a:hover img {
    transform: scale(1.05);
}
.logo a:active .logodes, .logo a:active img {
    transform: scale(0.98);
}

/* Badge / View more links */
.badge, .btn-outline-primary {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.badge:hover, .btn-outline-primary:hover {
    transform: translateY(-1px);
}
.badge:active, .btn-outline-primary:active {
    transform: scale(0.98);
}

/* Home page: soften box corners */
.page-home #tintuc_sukien,
.page-home #trich_doan,
.page-home #tintuclienquan,
.page-home #topcaothu,
.page-home #banner,
.page-home #sliderFrame {
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* Slider rounded corners: apply to inner layers too */
.page-home #slider,
.page-home #slider div.sliderInner,
.page-home #slider a.imgLink,
.page-home #slider img {
    border-radius: 14px !important;
    overflow: hidden !important;
}
.page-home #slider > a,
.page-home #slider > div,
.page-home #slider a.imgLink img {
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* Keep slideshow frame fixed while only images transition */
.page-home #sliderFrame,
.page-home #slider,
.page-home #slider .sliderInner,
.page-home #slider .sliderInner > div,
.page-home #slider a.imgLink {
    width: 512px !important;
    height: 210px !important;
    max-width: 512px !important;
    max-height: 210px !important;
    overflow: hidden !important;
}
.page-home #slider img {
    width: 512px !important;
    height: 210px !important;
    left: 0 !important;
    top: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 14px !important;
}
.page-home #slider a.imgLink,
.page-home #slider a.imgLink img {
    left: 0 !important;
    top: 0 !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Right column: no shared border – only inner frames have borders */
.page-home #part_right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* Frame 1: Nine Great Dragons – viền riêng */
.page-home .ranking-panel {
    width: 258px;
    border: 2px solid #d4af37;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1510 0%, #0d0a06 100%);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.3);
}
.page-home .ranking-panel #topcaothu {
    margin-top: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Frame 2: Video – viền riêng, tách hẳn khỏi ranking */
.page-home .youtube-panel {
    width: 258px;
    margin-top: 0;
    padding: 8px;
    border: 2px solid #d4af37;
    border-radius: 14px;
    background: linear-gradient(180deg, #1a1510 0%, #0d0a06 100%);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.3);
}
.page-home .youtube-panel-standalone {
    margin-top: 0;
}
.page-home .youtube-panel-title {
    margin-bottom: 8px;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 6px 8px;
    color: #ffdc7a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: center;
    background: linear-gradient(180deg, #2a1f14 0%, #140f0a 100%);
    box-shadow: inset 0 0 10px rgba(255, 204, 102, 0.15), 0 0 12px rgba(212, 175, 55, 0.2);
}
.page-home .youtube-panel .youtube-wrap {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}
.page-home .youtube-panel .youtube-wrap iframe {
    display: block;
    width: 100%;
    height: 159px;
    border: 0;
    border-radius: 10px;
}

/* Keep tabs/header edges matching rounded container */
.page-home .tab_nav_tintuc,
.page-home .tab_content_tintuc {
    border-radius: 12px !important;
}

/* Phần thông báo: nền parchment giống ảnh (vàng ngà, sợi ngang, gấp nhăn) */
.page-home #tintuc_sukien {
    position: relative;
    background-color: #e2d9c8 !important;
    background-image: url('../Areas/Assets/plugins/Images/parchment-bg.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border: 1px solid rgba(160, 148, 128, 0.5);
    box-shadow: inset 0 0 40px rgba(180, 168, 145, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}
.page-home .tab_content_tintuc {
    background: transparent !important;
}
.page-home #trich_doan,
.page-home #noidung_trichdoan,
.page-home #title_trichdoan,
.page-home #short_content {
    background: transparent !important;
}
/* Thanh bên phải nhạt hơn (giống ảnh mẫu) */
.page-home #tintuc_sukien::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 198, 180, 0.6));
    border-radius: 0 12px 12px 0;
    pointer-events: none;
}

/* Home quick boxes: left sidebar actions */
.home-quick-boxes {
    width: 258px;
    margin-top: 10px;
}

.home-quick-boxes .home-quick-box {
    display: block;
    width: 258px;
    height: 52px;
    line-height: 52px;
    margin-bottom: 8px;
    text-align: center;
    text-decoration: none !important;
    font-family: 'Roboto Slab';
    font-size: 18px;
    color: #ffdc7a !important;
    border: 1px solid #d4af37;
    border-radius: 12px;
    background: linear-gradient(180deg, #1a1510 0%, #0d0a06 100%);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35), 0 0 22px rgba(212, 175, 55, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-quick-boxes .home-quick-box i {
    margin-right: 8px;
}

.home-quick-boxes .home-quick-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.55), 0 0 30px rgba(212, 175, 55, 0.35);
}

.home-auth-boxes {
    margin-bottom: 8px;
}
.home-auth-boxes .home-quick-launch {
    border-color: #d4af37;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45), 0 0 20px rgba(212, 175, 55, 0.25);
    outline: 1px solid rgba(212, 175, 55, 0.78);
    outline-offset: -2px;
}
.home-auth-boxes .home-quick-download {
    border-color: #36c5f0;
    box-shadow: 0 0 12px rgba(54, 197, 240, 0.35), 0 0 20px rgba(54, 197, 240, 0.2);
    outline: 1px solid rgba(54, 197, 240, 0.78);
    outline-offset: -2px;
}
.home-auth-boxes .home-quick-login {
    border-color: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.35), 0 0 20px rgba(34, 197, 94, 0.2);
    outline: 1px solid rgba(34, 197, 94, 0.78);
    outline-offset: -2px;
}
.home-auth-boxes .home-quick-register {
    border-color: #fb923c;
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.35), 0 0 20px rgba(251, 146, 60, 0.2);
    outline: 1px solid rgba(251, 146, 60, 0.78);
    outline-offset: -2px;
}
.home-quick-boxes .home-quick-gift {
    border-color: #c084fc;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.35), 0 0 20px rgba(192, 132, 252, 0.2);
    outline: 1px solid rgba(192, 132, 252, 0.78);
    outline-offset: -2px;
}
.home-quick-boxes .home-quick-guide {
    border-color: #facc15;
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35), 0 0 20px rgba(250, 204, 21, 0.2);
    outline: 1px solid rgba(250, 204, 21, 0.82);
    outline-offset: -2px;
}

/* Keep equal spacing across all 5 left buttons */
body:not(.user-logged-in) .home-auth-boxes .home-quick-box,
body:not(.user-logged-in) .guide-karma-row .home-quick-boxes .home-quick-box {
    margin-bottom: 8px;
}
body:not(.user-logged-in) .home-auth-boxes .home-quick-box:last-child,
body:not(.user-logged-in) .guide-karma-row .home-quick-boxes .home-quick-box:last-child {
    margin-bottom: 0;
}