@font-face {
	 font-family: 'nhangia';
	 src: url('../../css/ATFzihunliuyedaoT-Regular.woff2') format('woff2'), url('../../css/ATFzihunliuyedaoT-Regular.woff') format('woff');
	 font-weight: normal;
}
 @font-face {
	 font-family: 'Assasin';
	 src: url('../../css/assasin.otf') format('opentype');
	 font-weight: normal;
	 font-style: normal;
}
 @font-face {
	 font-family: 'Protest';
	 src: url('../../css/00052-UTM-Cafeta.ttf') format('opentype');
	 font-weight: normal;
	 font-style: normal;
}
    .modal {
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 300px;
        text-align: center;
    }

    .modal-buttons {
        display: flex;
        justify-content: space-around;
        margin-top: 15px;
    }
 #particles-js {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 z-index: -1;
}
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .popup-content {
        background-color: #fff;
        border-radius: 8px;
        text-align: center;
        width: fit-content;
        padding: 20px;
    }

    .btn {
        margin: 5px;
    }

    .bg-warning {
        background-color: #ffeeba;
    }

    .bg-success {
        background-color: #d4edda;
    }

    .bg-danger {
        background-color: #f8d7da; 
    }
 body {
	 background-image: url('../../images/full__big.jpg');
	 background-repeat: no-repeat;
	 background-position: center top;
	 overflow-x: hidden;
	 background-size: 100%;
	 background-size: cover;
	 background-attachment: fixed;
	 position: relative;
	 font-family: Protest;
}
.post img {
    max-width: 100%;
}
 body::-webkit-scrollbar {
	 width: 10px;
}
 body::-webkit-scrollbar-track {
	 box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 body::-webkit-scrollbar-thumb {
	 background-color: #843f0e;
}
 .card-body {
	 margin-top: 197px;
}
 .rasengan {
	 position: fixed;
	 top: 70%;
	 left: 50%;
	 transform: translate(-50%,-50%);
	 z-index: -1;
}
 .rasengan img {
	 animation: spin 3s infinite linear;
	 max-width: 300px;
}
 .container.page-header {
	 position: fixed;
	 z-index: 2;
	 transition: transform .5s;
	 max-width: 100%;
	 top: 20px;
}
 .container .header-content {
	 align-items: center;
}
 .container .header-content .nsotien_logo {
	 max-width: 188px;
}
 @media (max-width: 768px) {
	 .container .header-content .nsotien_logo {
		 max-width: 100%;
	}
}
 .container .header-content .btn-bg {
	 background: url('../../images/item-a.png');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 padding: 20px 0;
	 background-position: center;
	 margin-left: 5px;
	 margin-right: 5px;
	 width: 11%;
}

 @media (max-width: 1279px) {
	.container .header-content .btn-bg a{
	    font-size: 14px !Important;
	}
}
 @media (min-width: 1280px) {
	 .container .header-content .btn-bg {
		 width: 180px;
	}
}
 @media (max-width: 1150px) {
	.container .header-content .btn-bg a{
	    font-size: 12px !Important;
	}
}
 .container .header-content .btn-bg a {
	 font-size: 20px;
	 color: #ffffff;
	 font-family: Protest;
	 text-transform: uppercase;
}
 .container.down-load {
	 padding-bottom: 150px;
	 display: flex;
	 flex-direction: column;
	 justify-content: flex-end;
	 align-items: center;
	 height: 1000px;
	 padding-left: 0;
    padding-right: 0;
}
 .container.down-load .btn-download .jumping-link {
	 text-decoration: none;
	 margin-bottom: 40px;
	 color: #961514;
	 font-family: Protest;
	 font-size: 50px;
	 padding: 0 20px;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 .container.down-load .btn-download .jumping-link span {
	 display: inline-block;
	 animation: jump 0.4s ease-in-out infinite alternate;
}
 .container.down-load .btn-download .jumping-link span:nth-child(1) {
	 animation-delay: 0s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(2) {
	 animation-delay: 0.1s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(3) {
	 animation-delay: 0.2s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(4) {
	 animation-delay: 0.3s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(5) {
	 animation-delay: 0.4s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(6) {
	 animation-delay: 0.5s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(7) {
	 animation-delay: 0.6s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(8) {
	 animation-delay: 0.7s;
}
 .container.down-load .btn-download .jumping-link span:nth-child(9) {
	 animation-delay: 0.8s;
}
 .container .box-down {
	 display: flex;
	 background-image: url('../../images/bg-tienich.png');
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 align-items: center;
}
 .container .box-down .box-img {
	 text-align: center;
	 display: flex;
    justify-content: space-around;
    padding: 10px;
}
 .container .box-down .box-img img {
	 width: 180px;
}
 @media (max-width: 768px) {
	 .container .box-down .box-img img {
		 width: 50px !important;
	}
}
 .container .box-down .box-item {
	 display: flex;
	 flex-wrap: wrap;
	 padding: 20px 10px;
	 justify-content: space-around;
}
 .container .box-down .box-item .item {
	 background-image: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 height: 55px;
	 text-align: center;
	 font-family: Protest;
	 line-height: 50px;
	 font-size: 14px;
	 margin-top: 5px;
	 margin-bottom: 5px;
}
 .container .box-down .box-item .item:hover {
	 -webkit-transform: translateY(-4px);
	 transform: translateY(-4px);
	 transition: all 0.5s ease;
	 cursor: pointer;
}
 .container .box-down .box-item .item a {
	 color: #ffffff;
	 text-transform: uppercase;
	 font-size: 20px;
}
 .post-card {
	 background-image: url(../../images/b2.png);
	 background-repeat: no-repeat;
	 padding-top: 400px;
	 padding-bottom: 100px;
	 border: 0;
	 background-color: transparent;
	 background-position: center top;
	 display: block;
	 background-size: 100%;
}
 .post-card .card-body {
	 background-image: url(../../images/bg-frame2.png);
	 background-size: 100% 100%;
	 margin: 0 auto;
	 background-repeat: no-repeat;
	 background-position: center;
	 max-width: 820px;
	 min-height: 500px;
	 padding: 20px 24px 26px;
}
 .post-card .card-body .card-title {
	 display: flex;
	 gap: 8px;
	 border-bottom: 2px solid #8d623f;
	 padding-bottom: 10px;
}
 .post-card .card-body .card-title .title {
	 background-image: url(../../images/bg-tl.jpg);
	 background-size: 100% 100%;
	 margin: 0;
	 line-height: 50px;
	 flex: 1;
	 height: 50px;
	 text-align: center;
	 font-family: Protest;
	 font-size: 23px;
	 letter-spacing: 0.5px;
	 cursor: pointer;
	 transition: transform 0.2s ease, filter 0.2s ease;
}
 .post-card .card-body .card-title .title:hover {
	 background-image: url(../../images/btn_1.png);
	 background-size: 100% 100%;
	 color: #961514;
	 transform: translateY(-2px);
}
 .post-card .card-body .card-title .title.active {
	 background-image: url(../../images/btn_1.png);
	 background-size: 100% 100%;
	 color: #961514;
	 filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.25));
}
 .post-card .card-body .tab-content {
	 display: none;
	 padding: 14px 6px 0;
}
 .post-card .card-body .tab-content::-webkit-scrollbar {
	 width: 10px;
}
 .post-card .card-body .tab-content::-webkit-scrollbar-track {
	 box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}
 .post-card .card-body .tab-content::-webkit-scrollbar-thumb {
	 background-color: #734e33;
	 border-radius: 10px;
}
 .post-card .card-body .tab-content.active {
	 display: block;
	 max-height: 392px;
	 overflow-y: auto;
}
 .post-card .card-body .tab-content .post-item {
	 min-height: 118px;
	 padding: 14px 16px;
	 margin: 0 0 14px;
	 background: linear-gradient(180deg, rgba(122, 79, 50, 0.96) 0%, rgba(91, 56, 33, 0.96) 100%);
	 border: 1px solid rgba(255, 211, 120, 0.28);
	 border-left: 5px solid #ffcf57;
	 border-radius: 12px;
	 box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 241, 208, 0.08);
	 position: relative;
	 overflow: hidden;
	 transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
 .post-card .card-body .tab-content .post-item::before {
	 content: '';
	 position: absolute;
	 inset: 0;
	 background: linear-gradient(90deg, rgba(255, 214, 107, 0.08), transparent 35%);
	 pointer-events: none;
}
 .post-card .card-body .tab-content .post-item:hover {
	 transform: translateY(-3px);
	 border-color: rgba(255, 214, 107, 0.5);
	 box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 214, 107, 0.08);
}
 .post-card .card-body .tab-content .post-item .content-post {
	 position: relative;
	 z-index: 1;
}
 .post-card .card-body .tab-content .post-item .post-top-line {
	 display: flex;
	 align-items: center;
	 justify-content: space-between;
	 gap: 12px;
	 margin-bottom: 8px;
}
 .post-card .card-body .tab-content .post-item .post-badge {
	 display: inline-flex;
	 align-items: center;
	 padding: 4px 10px;
	 border-radius: 999px;
	 background: linear-gradient(180deg, #ffe28d 0%, #f7b94c 100%);
	 color: #6b2a10;
	 font-size: 12px;
	 font-weight: 700;
	 text-transform: uppercase;
	 letter-spacing: 0.8px;
	 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
 .post-card .card-body .tab-content .post-item .post-date {
	 color: #fff5da;
	 font-size: 17px;
	 font-family: 'Protest';
	 white-space: nowrap;
	 text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
 .post-card .card-body .tab-content .text-muted {
	 color: #f8ebda;
	 font-size: 15px;
	 margin-top: 4px;
}
.post-card .card-body .tab-content .text-muted .text-danger{
    color: #ffd168 !important;
}
 .post-card .card-body .tab-content .post-item .text-muted strong {
	 color: #ffd168;
}
 .post-card .card-body .tab-content .post-item a,
 .post-card .card-body .tab-content .post-item .post-link {
	 color: #fff;
	 font-size: 27px;
	 line-height: 1.2;
	 font-family: 'Protest';
	 font-weight: 500 !important;
	 text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
 .post-card .card-body .tab-content .post-item a:hover,
 .post-card .card-body .tab-content .post-item .post-link:hover {
	 color: #ffe28d;
}
 .post-card .card-body .tab-content .post-item .post-stats {
	 opacity: 0.95;
}
 .post-card .card-body .tab-content .no-content {
	 text-align: center;
	 background: rgba(84, 52, 30, 0.88);
}
 .post-card .card-body .tab-content .no-content span {
	 line-height: 100px;
	 color: #fff;
	 font-family: Protest;
	 font-size: 20px;
}
 .infor-game .btn-infor {
	 display: flex;
	 background-image: url(../../images/bg-aside.png);
	 background-repeat: no-repeat;
	 flex-direction: column;
	 background-size: 100% 100%;
	 position: fixed;
	 right: 10px;
	 top: 70px;
	 height: 620px;
	 align-items: center;
	 justify-content: center;
	 padding: 0 15px;
	 z-index: 99;
	 transition: right 0.5s ease;
}
 .infor-game .btn-infor.active {
	 right: -155px;
}
 .infor-game .btn-infor .toggle-menu {
	 position: absolute;
	 top: 40%;
	 left: -30px;
	 transition: transform 0.5s ease;
}
 .infor-game .btn-infor .toggle-menu::before {
	 content: url(../../images/img-arrow.png);
	 transform: rotate(180deg);
	 display: block;
}
 .infor-game .btn-infor .toggle-menu.active::before {
	 transform: rotate(0);
	 display: block;
}
 .infor-game .btn-infor .infor-user {
	 max-width: 170px;
	 display: flex;
	 flex-direction: column;
	 padding: 0 15px;
	 font-family: Protest;
	 color: #961514;
	 font-size: 16px;
	 margin-top: 50px;
}
 .infor-game .btn-infor .infor-user span {
	 display: flex;
	 flex-direction: column;
	 text-align: center;
	 margin-bottom: 5px;
}
 .infor-game .btn-infor .infor-user span strong {
	 color: black;
}
 .infor-game .btn-infor .infor-user .napcard {
	 font-weight: 600;
	 color: #961514;
	 padding: 5px 0;
}
 .infor-game .btn-infor .btn-bg {
	 background: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 padding: 20px 0;
	 background-position: center;
	 margin-left: 5px;
	 margin-right: 5px;
	 font-size: 12px;
	 width: 80%;
	 text-align: center;
	 font-family: Protest;
}
 .infor-game .btn-red {
	 background-image: url('../../images/btn-red.jpg');
	 background-repeat: no-repeat;
	 background-size: 100%;
	 width: 120px;
	 height: 55px;
	 margin: 0 10px;
	 text-align: center;
	 font-family: Protest;
	 line-height: 50px;
	 font-size: 18px;
	 cursor: pointer;
}
 .slide-cards {
	 background-image: url(../../images/bg2-2.png);
	 background-position: center top;
	 border-top-width: 15px;
	 padding-top: 240px;
	 padding-bottom: 202px;
	 margin-top: -170px;
}
 .slide-cards .slide-title {
	 width: fit-content;
	 background-image: url(../../images/title-frame.png);
	 background-size: 100% 100%;
	 background-position: center;
	 background-repeat: no-repeat;
	 color: #961514;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
	 margin: 40px auto;
	 height: 60px;
}
 .slide-cards .slide-title span {
	 text-align: center;
	 font-family: Protest;
	 line-height: 20px;
	 font-size: 30px;
	 padding: 0 100px;
	 line-height: 50px;
}

 .slide-cards .slider {
	 max-width: 800px;
	 margin: auto;
	 border: 0;
}
.post-title{
    margin: auto;
        justify-content: center;
}
.post-title .text-primary {
    font-size: 30px;
    	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
    	 text-align: center;
}
 @media (min-width: 1200px) {
	 .slide-cards .slider {
		 margin-top: 90px;
	}
}
 .container-signin {
	 background-image: url(../../images/bg-frame2.png);
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 padding: 50px 0 100px;
	 font-family: Protest;
	 color: #961514;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
 .container-signin .form-signin .card {
	 background-color: transparent;
	 border: 0;
}
 .container-signin .form-signin .card .h3 {
	 font-size: 35px;
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 .container-signin .form-signin .card label {
	 text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
	 padding: 0 0 10px;
}
 .container-signin .card .form-group .btn {
	 background-image: url(../../images/btn-red.jpg);
	 background-repeat: no-repeat;
	 background-size: 100% 100%;
	 border: 0;
	 width: 110px;
	 border-radius: 0 !important;
}
 .body-post {
	 margin: auto;
	 max-width: 1280px;
}
.container-signin.bxh {
    border: 0;
    padding: 20px;
}
.container-signin.bxh {
    text-align: center;
   
}
.container-signin.bxh .table {
    color: #fff;
    letter-spacing: 2px;
}
.container-signin.bxh h4{
    margin: 20px 0;
    font-size: 30px;
    color: #961514;
     text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
.container-signin.bxh tr th {
    vertical-align: middle;
    font-weight: 400;
}
.post-detail .post-body  p {
    max-width: 100%;
    display:block;
    text-align: center;
}
.container-signin.lsn tr {
    letter-spacing: 2px;
     vertical-align: middle;
}
.container-signin.lsn tr td {
    font-weight: 400;
}
.comment-input {
    width: 100%;
}
.container-signin.bank{
    max-width: 100%;
    border: 0;
    padding: 30px 20px 50px;
}
.container-signin.card-his{
     border: 0;
     padding: 30px;
}
.container-signin.card-his .mt-5{
    margin-top: 0 !important;
}
.nap-card.container-signin .card .form-group .btn{
    width: fit-content;
    margin-top: 20px;
     margin-bottom: 20px;
}
.fw-semibold {
        background: transparent;
    border: 0;
}
.fs-5 {
     color: #fff;
}
.mt-2 .fw-semibold a{
    color: #fff;
}
.mt-4  .fw-semibold{
    color: #fff;
}
.footer{
    padding: 20px;
    color: #fff !important;
    background: #000;
}
.footer-bottom .forum-title{
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
}
.fa-copy{
    cursor: pointer;
    margin-left: 20px;
}
.footer h4{
    font-size: 30px;
        color: #961514;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}
 @keyframes jump {
	 0% {
		 transform: translateY(0);
	}
	 100% {
		 transform: translateY(5px);
	}
}
 @keyframes spin {
	 from {
		 transform: rotate(0deg);
	}
	 to {
		 transform: rotate(360deg);
	}
}
    .gt-nv{
    padding: 100px 0;
        background-image: url(../../images/aaaa1.jpg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
        .tab {
            display: flex;
            cursor: pointer;
            padding: 5px;
            filter: grayscale(1);
        }

        .tab img {
            width: 80px;
        }

        .tab-content-nv {
            display: none;
            padding: 20px;
            margin-top: 10px;
        }

        .active-tab {
            display: block;

        }

        .active {
            filter: grayscale(0);
        }

        .bn-champ {
            background-image: url(../../images/bg_gift.png);
          background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
        }

        .infor-champ {
            display: flex;
            justify-content: space-between;
        }

        .tab-content-nv {
           padding: 135px 30px;
    max-width: 888px;
    margin: auto;
    min-height: 493px;
}
        }

        .left-block,
        .right-block {
            padding: 0 20px;
        }

        .left-block .name-champ {
            text-align: center;
            margin-bottom: 40px;
            color: #961514;
            font-family: Protest;
            font-size: 50px;
            padding: 0 20px;
            text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
        }

        .tab-container-nv {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .left-block span {
            display: block;
            font-size: 20px;
            color: #fff;
            font-style: italic;
        }

        .left-block strong {
            color: #FFFF99;

        }

        .slide-up-down {
            animation: slideUpDown 2s ease-in-out infinite;
        }

        @keyframes slideUpDown {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-20px);
            }

            100% {
                transform: translateY(0);
            }
        }
    @media only screen and (max-width: 990px) {
        .col.logo{
            width: 35%;
        }
        .container .header-content .btn-bg{
            width: 14%;
        }
    }
 @media only screen and (max-width: 768px) {
     	 .slide-cards .slide-title span {
		 font-size: 24px;
	}
    .infor-game .btn-infor.active{
	    right: -160px;
	}
	 .container .box-down {
		 justify-content: space-evenly;
	}
	 .container .box-down .box-img {
		 width: 20%;
		 padding: 0;
		 display: flex;
		 flex-direction: column;
        align-items: center;
    
	}      
	 .container .box-down .box-item {
		 padding: 15px 0;
	}
	 .container .box-down .box-item .item {
		 width: 49%;
	}
	 .container .box-down .box-item .item a {
		 font-size: 11px;
	}
	 .container .header-content .btn-bg {
		 width: 24%;
		 margin: 0 0.5%;
		 align-items: center;
	}
	 .container .header-content .btn-bg a {
		 font-size: 10px !Important;
		 line-height: 30px;
	}
	 .container .header-content .logo {
		 position: absolute;
		 top: 60px;
	}
	 .container [class*="col-7"] {
		 width: 100%;
		 padding: 5px;
	}
	 .post-card {
		 margin-top: -100px;
		 padding: 0;
	}
	 .post-card .card-body {
		 height: fit-content;
		 margin-bottom: 50px;
		 padding: 16px 14px 20px;
	}
	 .post-card .card-body .card-title {
		 gap: 6px;
	}
	 .post-card .card-body .card-title .title {
		 font-size: 13px;
		 line-height: 42px;
		 height: 42px;
	}
	 .post-card .card-body .tab-content.active {
		 max-height: 360px;
	}
	 .post-card .card-body .tab-content .post-item {
		 min-height: 106px;
		 padding: 12px;
		 border-left-width: 4px;
	}
	 .post-card .card-body .tab-content .post-item .post-top-line {
		 align-items: flex-start;
		 flex-direction: column;
		 gap: 6px;
	}
	 .post-card .card-body .tab-content .post-item .post-date {
		 font-size: 14px;
	}
	 .post-card .card-body .tab-content .post-item a,
	 .post-card .card-body .tab-content .post-item .post-link {
		 font-size: 16px;
	}
	 .post-card .card-body .tab-content .post-item .content-post .text-muted {
		 font-size: 12px;
	}
	 .container-signin {
		 background-image: url(../../images/bg-frame2.png);
		 background-size: 100% 100%;
		 padding: 20px 0;
	}
	 .container-signin .form-signin {
		 width: 90%;
		 margin: auto;
	}
	.slide-cards{
	    padding-bottom: 0;
	}
    .footer-bottom .forum-title{
        bottom: -300px;
    }
      .gt-nv{
            background-size: cover;
            background-position: center center;
        }
	        .tab-container-nv {
            flex-wrap: wrap;
        }

        .tab-content-nv {
            padding: 0 20px;
        }

        .bn-champ {
            background-image: none;
        }
        .infor-champ{
            flex-direction: column;
        }
        .right-block{
            text-align: center;
        }
}
 
/* Giftcode page upgrade */
.container-signin.bxh.giftcode-page {
    max-width: 980px;
    padding: 44px 28px 70px;
    position: relative;
}

.container-signin.bxh.giftcode-page::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 232, 153, 0.28);
    border-radius: 20px;
    pointer-events: none;
}

.giftcode-page .gift-panel {
    position: relative;
    margin: 0 0 34px;
    padding: 22px 18px 18px;
    background: linear-gradient(180deg, rgba(130, 77, 38, 0.94) 0%, rgba(103, 59, 29, 0.95) 100%);
    border: 1px solid rgba(255, 230, 146, 0.38);
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 241, 198, 0.16);
    overflow: hidden;
}

.giftcode-page .gift-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 208, 87, 0.16), transparent 42%);
    pointer-events: none;
}

.giftcode-page .gift-section-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
    text-align: center;
}

.giftcode-page .gift-section-title h4 {
    margin: 0;
    font-size: 36px;
    line-height: 1;
}

.giftcode-page .gift-section-title p {
    margin: 8px 0 0;
    color: #ffe9bf;
    letter-spacing: 1px;
    font-size: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.giftcode-page .gift-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #ffd85a;
    font-size: 26px;
    background: linear-gradient(180deg, rgba(118, 34, 18, 0.95), rgba(74, 20, 9, 0.95));
    border: 1px solid rgba(255, 223, 121, 0.55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.giftcode-page .gift-table-wrap {
    position: relative;
    z-index: 1;
}

.container-signin.bxh.giftcode-page .gift-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 14px;
    color: #fff7e8;
    letter-spacing: 1px;
}

.container-signin.bxh.giftcode-page .gift-table thead th {
    padding: 14px 16px;
    color: #ffefcb;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(180deg, rgba(132, 80, 44, 0.96), rgba(96, 52, 23, 0.96));
    border-top: 1px solid rgba(255, 232, 167, 0.9);
    border-bottom: 1px solid rgba(255, 232, 167, 0.36);
    border-left: 1px solid rgba(255, 232, 167, 0.32);
    border-right: 1px solid rgba(255, 232, 167, 0.32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.container-signin.bxh.giftcode-page .gift-table thead th:first-child {
    border-radius: 16px 0 0 16px;
}

.container-signin.bxh.giftcode-page .gift-table thead th:last-child {
    border-radius: 0 16px 16px 0;
}

.container-signin.bxh.giftcode-page .gift-table tbody td {
    padding: 13px 16px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(180deg, rgba(117, 67, 35, 0.98), rgba(94, 52, 27, 0.98));
    border-top: 1px solid rgba(255, 230, 156, 0.16);
    border-bottom: 1px solid rgba(56, 18, 6, 0.65);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.container-signin.bxh.giftcode-page .gift-table tbody tr:hover td {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(132, 76, 39, 0.98), rgba(106, 58, 31, 0.98));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 246, 208, 0.06);
}

.container-signin.bxh.giftcode-page .gift-table tbody td:first-child {
    border-radius: 18px 0 0 18px;
}

.container-signin.bxh.giftcode-page .gift-table tbody td:last-child {
    border-radius: 0 18px 18px 0;
}

.gift-table .col-stt {
    width: 110px;
}

.giftcode-page .rank-badge {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff9ef, #f1dfbd 60%, #caa25f 100%);
    color: #8f1d15;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22), inset 0 2px 5px rgba(255, 255, 255, 0.34);
}

.giftcode-page .rank-badge.personal {
    background: radial-gradient(circle at 30% 30%, #fff7de, #ffd06b 58%, #da7b1d 100%);
    color: #6c1a0f;
}

.giftcode-page .giftcode-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(83, 35, 17, 0.95), rgba(59, 23, 10, 0.95));
    border: 1px solid rgba(255, 222, 132, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.giftcode-page .giftcode-chip strong {
    color: #fff3d0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 192, 90, 0.18);
    word-break: break-word;
}

.giftcode-page .giftcode-chip.owner strong {
    color: #fff0c1;
}

.giftcode-page .giftcode-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffc979;
    opacity: 0.92;
}

.giftcode-page .expire-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, #da7355 0%, #bf533a 100%);
    color: #fff7ed;
    font-size: 20px;
    box-shadow: 0 12px 24px rgba(120, 38, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.giftcode-page .expire-badge.level {
    background: linear-gradient(180deg, #f3a532 0%, #cf6d16 100%);
    color: #fff9f0;
}

.giftcode-page .empty-row td {
    border-radius: 18px !important;
    color: #ffe2b7;
    font-size: 18px;
    padding: 18px 14px !important;
}

@media (max-width: 991px) {
    .container-signin.bxh.giftcode-page {
        padding: 34px 18px 52px;
    }

    .giftcode-page .gift-section-title {
        align-items: flex-start;
    }

    .giftcode-page .gift-section-title h4 {
        font-size: 30px;
    }

    .giftcode-page .gift-table .col-stt {
        width: 86px;
    }

    .giftcode-page .giftcode-chip strong,
    .giftcode-page .expire-badge {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .giftcode-page .gift-panel {
        padding: 18px 12px 14px;
        border-radius: 18px;
    }

    .giftcode-page .gift-section-title {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .giftcode-page .gift-section-title p {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .container-signin.bxh.giftcode-page .gift-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .container-signin.bxh.giftcode-page .gift-table thead th,
    .container-signin.bxh.giftcode-page .gift-table tbody td {
        padding: 12px 10px;
    }

    .giftcode-page .giftcode-chip {
        min-width: 150px;
        padding: 10px 14px;
    }

    .giftcode-page .giftcode-chip strong,
    .giftcode-page .expire-badge {
        font-size: 16px;
    }

    .giftcode-page .expire-badge {
        min-width: 170px;
        gap: 8px;
        padding: 10px 14px;
    }
}

/* ===== Unified game tables (public pages, excluding /quanly) ===== */
.game-table-page.container-signin.bxh,
.container-signin.bxh.giftcode-page {
    position: relative;
    max-width: 980px;
    padding: 34px 24px 50px;
}

.game-table-page .game-table-shell,
.giftcode-page .game-table-shell {
    position: relative;
    margin-bottom: 28px;
    padding: 20px 18px 18px;
    background: linear-gradient(180deg, rgba(134, 80, 40, 0.95) 0%, rgba(95, 53, 27, 0.96) 100%);
    border: 1px solid rgba(255, 222, 132, 0.38);
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 240, 196, 0.10);
    overflow: hidden;
}

.game-table-page .game-table-shell::before,
.giftcode-page .game-table-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 202, 92, 0.18), transparent 42%);
    pointer-events: none;
}

.game-table-heading,
.giftcode-page .gift-section-title {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-bottom: 16px;
}

.game-table-heading__icon,
.giftcode-page .gift-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    color: #ffd85a;
    background: linear-gradient(180deg, rgba(118, 34, 18, 0.95), rgba(74, 20, 9, 0.95));
    border: 1px solid rgba(255, 223, 121, 0.55);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.game-table-heading h4,
.giftcode-page .gift-section-title h4 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
}

.game-table-heading p,
.giftcode-page .gift-section-title p {
    margin: 6px 0 0;
    color: #ffe9bf;
    letter-spacing: 0.7px;
    font-size: 13px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.game-table-scroll,
.giftcode-page .game-table-wrap {
    position: relative;
    z-index: 1;
}

.table.game-table,
.container-signin.bxh.giftcode-page .gift-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    color: #fff6e5;
    letter-spacing: 0.6px;
}

.table.game-table thead th,
.container-signin.bxh.giftcode-page .gift-table thead th {
    padding: 12px 14px;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    color: #ffefcb;
    background: linear-gradient(180deg, rgba(137, 81, 43, 0.96), rgba(102, 55, 26, 0.96));
    border-top: 1px solid rgba(255, 232, 167, 0.88);
    border-bottom: 1px solid rgba(255, 232, 167, 0.30);
    border-left: 1px solid rgba(255, 232, 167, 0.22);
    border-right: 1px solid rgba(255, 232, 167, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.table.game-table thead th:first-child,
.container-signin.bxh.giftcode-page .gift-table thead th:first-child {
    border-radius: 14px 0 0 14px;
}

.table.game-table thead th:last-child,
.container-signin.bxh.giftcode-page .gift-table thead th:last-child {
    border-radius: 0 14px 14px 0;
}

.table.game-table tbody td,
.container-signin.bxh.giftcode-page .gift-table tbody td {
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(90deg, rgba(115, 66, 35, 0.98), rgba(95, 52, 27, 0.98));
    border-top: 1px solid rgba(255, 235, 176, 0.12);
    border-bottom: 1px solid rgba(50, 18, 8, 0.60);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.20s ease, box-shadow 0.20s ease, background 0.20s ease;
}

.table.game-table tbody tr:hover td,
.container-signin.bxh.giftcode-page .gift-table tbody tr:hover td {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(127, 73, 38, 0.98), rgba(104, 57, 30, 0.98));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 246, 208, 0.06);
}

.table.game-table tbody td:first-child,
.container-signin.bxh.giftcode-page .gift-table tbody td:first-child {
    border-radius: 16px 0 0 16px;
}

.table.game-table tbody td:last-child,
.container-signin.bxh.giftcode-page .gift-table tbody td:last-child {
    border-radius: 0 16px 16px 0;
}

.table.game-table .empty-row td,
.container-signin.bxh.giftcode-page .gift-table .empty-row td,
.table.game-table tr.empty-row td,
.container-signin.bxh.giftcode-page .gift-table tr.empty-row td {
    border-radius: 16px !important;
    color: #ffe3b9;
    font-size: 16px;
    padding: 16px 12px !important;
}

.table-id-badge,
.giftcode-page .rank-badge {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff9ef, #f1dfbd 60%, #caa25f 100%);
    color: #8f1d15;
    font-size: 19px;
    line-height: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.20), inset 0 2px 5px rgba(255, 255, 255, 0.32);
}

.giftcode-page .rank-badge.personal {
    background: radial-gradient(circle at 30% 30%, #fff7de, #ffd06b 58%, #da7b1d 100%);
    color: #6c1a0f;
}

.table-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(92, 29, 13, 0.96), rgba(67, 21, 10, 0.96));
    border: 1px solid rgba(255, 216, 128, 0.14);
    color: #fff0cb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table-soft-badge,
.giftcode-page .expire-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    padding: 10px 14px;
    border-radius: 13px;
    background: linear-gradient(180deg, #da7355 0%, #bf533a 100%);
    color: #fff7ed;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(120, 38, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table-soft-badge.dark {
    background: linear-gradient(180deg, rgba(76, 36, 19, 0.96), rgba(53, 24, 12, 0.96));
}

.status-badge,
.giftcode-page .expire-badge.level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    color: #fffdf7;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.status-badge.is-success {
    background: linear-gradient(180deg, #4caf72 0%, #2c8856 100%);
}

.status-badge.is-processing {
    background: linear-gradient(180deg, #ffbc4d 0%, #d77d12 100%);
}

.status-badge.is-cancel,
.status-badge.is-reject {
    background: linear-gradient(180deg, #df7460 0%, #b33f30 100%);
}

.status-badge.is-gold,
.giftcode-page .expire-badge.level {
    background: linear-gradient(180deg, #f3a532 0%, #cf6d16 100%);
    color: #fff8ef;
}

.table-code-chip,
.giftcode-page .giftcode-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 160px;
    padding: 10px 14px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(83, 35, 17, 0.95), rgba(59, 23, 10, 0.95));
    border: 1px solid rgba(255, 222, 132, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #fff1d0;
}

.table-code-chip.alt {
    background: linear-gradient(180deg, rgba(97, 43, 20, 0.95), rgba(70, 27, 11, 0.95));
}

.giftcode-page .giftcode-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffc979;
    opacity: 0.92;
}

.giftcode-page .giftcode-chip strong {
    color: #fff3d0;
    font-size: 21px;
    line-height: 1.1;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 192, 90, 0.18);
    word-break: break-word;
}

.giftcode-page .giftcode-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mini-copy-btn,
.game-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    color: #fff8e8;
    text-decoration: none;
    background: linear-gradient(180deg, #e27d4a 0%, #be4e32 100%);
    box-shadow: 0 10px 18px rgba(117, 39, 24, 0.20), inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.mini-copy-btn:hover,
.game-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    color: #fff;
}

.mini-copy-btn.copied {
    background: linear-gradient(180deg, #5dbb79 0%, #318958 100%);
}

.table-empty-note {
    color: rgba(255, 238, 201, 0.62);
}

.table-text-left {
    text-align: left !important;
}

.ref-page .ref-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.ref-page .ref-info-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(117, 68, 36, 0.98), rgba(91, 52, 27, 0.98));
    border: 1px solid rgba(255, 230, 156, 0.16);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}

.ref-page .ref-info-card__label {
    display: block;
    margin-bottom: 8px;
    color: #ffcf86;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.ref-page .ref-info-card strong {
    color: #fff3cf;
    font-size: 20px;
    line-height: 1.35;
    word-break: break-word;
}

.ref-page .ref-copy-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ref-page .ref-link-card strong {
    font-size: 15px;
}

.ref-page .ref-note-box {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(82, 33, 17, 0.94), rgba(58, 22, 11, 0.94));
    border: 1px solid rgba(255, 209, 117, 0.22);
    color: #ffe9bf;
}

.ref-page .ref-note-box p {
    margin: 0 0 8px;
}

.ref-page .ref-note-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .game-table-page.container-signin.bxh,
    .container-signin.bxh.giftcode-page {
        padding: 28px 16px 42px;
    }

    .game-table-heading,
    .giftcode-page .gift-section-title {
        align-items: flex-start;
    }

    .game-table-heading h4,
    .giftcode-page .gift-section-title h4 {
        font-size: 29px;
    }

    .table.game-table thead th,
    .container-signin.bxh.giftcode-page .gift-table thead th,
    .table.game-table tbody td,
    .container-signin.bxh.giftcode-page .gift-table tbody td {
        padding: 11px 10px;
    }

    .ref-page .ref-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .game-table-page .game-table-shell,
    .giftcode-page .game-table-shell {
        padding: 16px 12px 14px;
        border-radius: 18px;
    }

    .game-table-heading,
    .giftcode-page .gift-section-title {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .game-table-heading p,
    .giftcode-page .gift-section-title p {
        font-size: 12px;
        letter-spacing: 0.4px;
    }

    .table.game-table,
    .container-signin.bxh.giftcode-page .gift-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .table-highlight,
    .table-soft-badge,
    .status-badge,
    .giftcode-page .expire-badge,
    .table-code-chip,
    .giftcode-page .giftcode-chip {
        min-width: unset;
        font-size: 14px;
    }

    .giftcode-page .giftcode-chip strong {
        font-size: 18px;
    }

    .mini-copy-btn,
    .game-action-btn {
        padding: 9px 12px;
        font-size: 13px;
    }

    .ref-page .ref-copy-line {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ===== Form redesign: clearer, larger, more premium ===== */
.container-signin.form-page,
.container-signin.payment-page {
    position: relative;
    max-width: 980px;
    padding: 58px 28px 90px;
}

.container-signin.form-page::before,
.container-signin.payment-page::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 216, 128, 0.20);
    pointer-events: none;
}

.form-shell {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.form-shell--compact {
    max-width: 620px;
}

.form-shell--medium {
    max-width: 700px;
}

.form-shell--wide {
    max-width: 860px;
}

.form-panel,
.payment-panel,
.payment-summary-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(130, 80, 43, 0.96), rgba(102, 59, 31, 0.96));
    border: 1px solid rgba(255, 222, 149, 0.34);
    border-radius: 26px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 34px 28px 30px;
    overflow: hidden;
}

.form-panel::before,
.payment-panel::before,
.payment-summary-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 213, 109, 0.16), transparent 46%);
    pointer-events: none;
}

.form-panel > *,
.payment-panel > *,
.payment-summary-panel > * {
    position: relative;
    z-index: 1;
}

.form-ornament,
.payment-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 14px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #ffe7a7;
    background: linear-gradient(180deg, rgba(126, 38, 17, 0.94), rgba(83, 24, 9, 0.96));
    border: 1px solid rgba(255, 212, 118, 0.4);
    box-shadow: 0 12px 22px rgba(81, 24, 13, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

.form-title,
.payment-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 44px;
    line-height: 1.05;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.form-subtitle,
.payment-subtitle {
    max-width: 620px;
    margin: 0 auto 24px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #fff1cb;
    letter-spacing: 0.4px;
    font-family: nhangia, sans-serif;
}

.form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
    border: 1px solid transparent;
}

.form-alert i {
    font-size: 18px;
}

.form-alert.is-error {
    color: #ffe7e1;
    background: linear-gradient(180deg, rgba(157, 53, 35, 0.92), rgba(123, 34, 23, 0.92));
    border-color: rgba(255, 190, 170, 0.20);
}

.form-alert.is-success {
    color: #eefff0;
    background: linear-gradient(180deg, rgba(53, 131, 74, 0.92), rgba(34, 97, 52, 0.92));
    border-color: rgba(199, 255, 209, 0.16);
}

.game-form {
    margin: 0;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label,
.game-form label {
    display: block;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.field-hint {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 238, 199, 0.78);
    font-family: nhangia, sans-serif;
}

.container-signin .form-control,
.container-signin select.form-control,
.container-signin textarea.comment-input,
.container-signin textarea.form-control {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 128, 0.28);
    background: linear-gradient(180deg, rgba(94, 43, 18, 0.98), rgba(70, 30, 12, 0.98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 16px rgba(0,0,0,0.12);
    color: #fff3cf;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.4px;
    font-family: nhangia, sans-serif;
}

.container-signin textarea.comment-input,
.container-signin textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.container-signin .form-control::placeholder,
.container-signin textarea.comment-input::placeholder,
.container-signin textarea.form-control::placeholder {
    color: rgba(255, 235, 200, 0.45);
}

.container-signin .form-control:focus,
.container-signin select.form-control:focus,
.container-signin textarea.comment-input:focus,
.container-signin textarea.form-control:focus {
    border-color: rgba(255, 222, 124, 0.75);
    box-shadow: 0 0 0 0.2rem rgba(255, 189, 69, 0.18), inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(0,0,0,0.18);
    background: linear-gradient(180deg, rgba(108, 49, 21, 0.99), rgba(77, 32, 14, 0.99));
    color: #fff8e1;
}

.container-signin select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #ffd574 50%), linear-gradient(135deg, #ffd574 50%, transparent 50%);
    background-position: calc(100% - 24px) calc(50% - 4px), calc(100% - 16px) calc(50% - 4px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 50px;
}


.container-signin select.form-control option,
.container-signin select.form-control optgroup {
    color: #fff4d6;
    background: #6b2d10;
    font-family: nhangia, sans-serif;
}

.container-signin select.form-control option:disabled {
    color: rgba(255, 235, 200, 0.72);
    background: #7b4f34;
}

.container-signin select.form-control option:checked,
.container-signin select.form-control option:hover,
.container-signin select.form-control option:focus {
    color: #fffdf2;
    background: #a84518;
}

.form-control[readonly] {
    opacity: 0.92;
}

.form-actions,
.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.game-btn,
.container-signin .card .form-group .btn.game-btn,
.container-signin .btn.game-btn {
    min-width: 220px;
    min-height: 58px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 214, 120, 0.42);
    border-radius: 16px !important;
    color: #fff7e6 !important;
    font-size: 22px;
    letter-spacing: 0.4px;
    font-family: Protest;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%) !important;
    box-shadow: 0 16px 22px rgba(93, 23, 8, 0.22), inset 0 1px 0 rgba(255,255,255,0.14);
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.game-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 18px 26px rgba(93, 23, 8, 0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

.game-btn--wide {
    width: 100%;
}

.form-links {
    margin-top: 18px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #ffe8ba;
    font-family: nhangia, sans-serif;
}

.form-links a {
    color: #fff4d1;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 220, 129, 0.52);
}

.form-links a:hover {
    color: #fff;
}

.captcha-wrap {
    margin-top: 20px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 223, 141, 0.18);
    background: linear-gradient(180deg, rgba(80, 36, 16, 0.70), rgba(58, 25, 10, 0.72));
    overflow-x: auto;
}

.captcha-wrap .g-recaptcha {
    display: inline-block;
}

.payment-page.container-signin.bank {
    max-width: 1060px;
}

.method-select-title,
.amount-select-title,
.section-note-title {
    margin-bottom: 14px;
    text-align: center;
    font-size: 28px;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.recharge-method-grid,
.amount-select-grid {
    display: grid;
    gap: 14px;
}

.recharge-method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    margin: 0 auto 24px;
}

.amount-select-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
}

.method-card,
.amount-card {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
}

.method-card a,
.method-card button,
.amount-card button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
}

.recharge-method-item {
    height: 102px !important;
    border-radius: 20px;
    border: 1px solid rgba(255, 221, 134, 0.22);
    background: linear-gradient(180deg, rgba(95, 43, 18, 0.95), rgba(69, 29, 12, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 12px 20px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.recharge-method-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(255, 204, 93, 0.14), transparent 48%);
    pointer-events: none;
}

.recharge-method-item img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
}

.recharge-method-item.active,
.method-card a:hover .recharge-method-item,
.amount-card button:hover .recharge-method-item {
    transform: translateY(-2px);
    border-color: rgba(255, 225, 136, 0.62);
    box-shadow: 0 16px 24px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08), 0 0 0 1px rgba(255, 201, 82, 0.14);
}

.amount-card .recharge-method-item {
    height: 118px !important;
    flex-direction: column;
    gap: 5px;
}

.amount-card .text-primary,
.recharge-method-item .text-primary {
    color: #fff3cf !important;
    font-size: 26px;
    line-height: 1.2;
    font-family: Protest;
    text-shadow: 0 0 10px rgba(255, 196, 84, 0.18);
}

.amount-card .center-text,
.recharge-method-item .center-text {
    color: #ffc868 !important;
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.payment-help-note,
.payment-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 223, 143, 0.16);
    background: linear-gradient(180deg, rgba(78, 35, 14, 0.75), rgba(57, 24, 10, 0.78));
    color: #ffecc4;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.payment-action-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.payment-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 18px;
}

.payment-info-card {
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(95, 44, 18, 0.95), rgba(70, 30, 12, 0.95));
    border: 1px solid rgba(255, 223, 143, 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.payment-info-card__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffcd78;
    font-family: nhangia, sans-serif;
}

.payment-info-card__value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #fff4d3;
    font-size: 24px;
    line-height: 1.3;
    word-break: break-word;
}

.payment-copy-btn {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff7e5;
    background: linear-gradient(180deg, #e27d4a 0%, #be4e32 100%);
    box-shadow: 0 10px 18px rgba(117, 39, 24, 0.18), inset 0 1px 0 rgba(255,255,255,0.1);
}

.payment-copy-btn:hover {
    color: #fff;
    filter: brightness(1.05);
}

.payment-qr-box {
    margin: 8px auto 0;
    max-width: 360px;
    text-align: center;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 222, 143, 0.2);
    background: linear-gradient(180deg, rgba(80, 36, 16, 0.8), rgba(58, 25, 10, 0.82));
}

.payment-qr-box p {
    margin-bottom: 14px;
    color: #ffeecb;
    font-size: 15px;
    font-family: nhangia, sans-serif;
}

.payment-qr-box img {
    width: 100%;
    max-width: 280px;
    border-radius: 18px;
    border: 6px solid rgba(255,255,255,0.92);
    box-shadow: 0 18px 26px rgba(0,0,0,0.18);
}

.modal {
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(4px);
}

.modal-content {
    width: min(420px, calc(100vw - 32px));
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 220, 138, 0.24);
    background: linear-gradient(180deg, rgba(133, 81, 44, 0.98), rgba(97, 56, 30, 0.98));
    box-shadow: 0 24px 44px rgba(0,0,0,0.32);
    color: #fff0ca;
}

.modal-content h5 {
    margin-bottom: 10px;
    font-size: 30px;
    color: #9c1413;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.modal-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.modal-buttons {
    gap: 12px;
    margin-top: 18px;
}

.comment-input {
    border-radius: 18px;
}

.abc.btn,
.btn-danger.abc {
    min-width: 160px;
    min-height: 48px;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 214, 120, 0.32);
    font-size: 20px;
    font-family: Protest;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%) !important;
    color: #fff8e8 !important;
}

@media (max-width: 991px) {
    .container-signin.form-page,
    .container-signin.payment-page {
        padding: 38px 18px 56px;
    }

    .form-title,
    .payment-title {
        font-size: 38px;
    }

    .form-grid--two,
    .payment-summary-grid,
    .amount-select-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .container-signin.form-page,
    .container-signin.payment-page {
        padding: 24px 10px 34px;
    }

    .form-panel,
    .payment-panel,
    .payment-summary-panel {
        padding: 24px 16px 20px;
        border-radius: 22px;
    }

    .form-title,
    .payment-title {
        font-size: 32px;
    }

    .form-subtitle,
    .payment-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .form-grid--two,
    .payment-summary-grid,
    .amount-select-grid,
    .recharge-method-grid {
        grid-template-columns: 1fr;
    }

    .container-signin .form-control,
    .container-signin select.form-control,
    .container-signin textarea.comment-input,
    .container-signin textarea.form-control {
        min-height: 54px;
        padding: 12px 15px;
        font-size: 19px;
    }

    .form-field label,
    .game-form label {
        font-size: 19px;
    }

    .game-btn,
    .container-signin .card .form-group .btn.game-btn,
    .container-signin .btn.game-btn {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .payment-info-card__value {
        font-size: 19px;
    }
}

/* ==== PATCH: posts detail + comments scoped redesign ==== */
.post-detail-page {
    padding: 12px 0 36px;
}

.post-detail-shell {
    width: min(1100px, calc(100% - 24px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.news-article-panel,
.comments-panel {
    position: relative;
    padding: 30px 34px;
    border-radius: 30px;
    border: 1px solid rgba(255, 219, 129, 0.3);
    background:
        linear-gradient(180deg, rgba(143, 90, 50, 0.96) 0%, rgba(109, 64, 34, 0.98) 100%);
    box-shadow:
        0 22px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 4px rgba(88, 28, 13, 0.18);
    overflow: hidden;
}

.news-article-panel::before,
.comments-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top, rgba(255, 219, 146, 0.12), transparent 42%);
}

.news-article-header {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    margin-bottom: 24px;
}

.news-author-card {
    position: relative;
    z-index: 1;
    padding: 22px 18px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 216, 130, 0.28);
    background: linear-gradient(180deg, rgba(95, 40, 18, 0.92), rgba(67, 27, 11, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.news-author-avatar {
    width: 94px;
    height: 94px;
    margin: 0 auto 14px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(180deg, #ffe8a0 0%, #c8822a 100%);
    box-shadow: 0 12px 22px rgba(0,0,0,0.22);
}

.news-author-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    background: #fff4db;
}

.news-author-name {
    font-size: 30px;
    line-height: 1.1;
    color: #fff1c9;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.news-author-role {
    margin-top: 6px;
    font-size: 15px;
    letter-spacing: 1.4px;
    color: #ffcf7a;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.news-author-date {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 219, 129, 0.18);
    background: rgba(255,255,255,0.05);
    color: #ffe8c0;
    font-size: 16px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
}

.news-author-date strong {
    display: block;
    margin-top: 4px;
    color: #fff8e5;
    font-size: 20px;
    font-family: Protest;
}

.news-article-heading {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.news-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 220, 138, 0.22);
    background: linear-gradient(180deg, rgba(124, 33, 17, 0.92), rgba(98, 22, 11, 0.95));
    color: #ffe391;
    font-size: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
    box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

.news-article-title {
    margin: 16px 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.15;
    color: #a71613;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
    word-break: break-word;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(61, 22, 9, 0.4);
    border: 1px solid rgba(255, 215, 121, 0.16);
    color: #fff0cd;
    font-size: 16px;
    line-height: 1.4;
    font-family: nhangia, sans-serif;
}

.news-article-meta i,
.comment-date i,
.comment-form-note i,
.comment-login-notice i {
    color: #ffd66b;
}

.news-article-content {
    position: relative;
    z-index: 1;
    padding: 28px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 225, 156, 0.16);
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.94), rgba(244, 235, 220, 0.92));
    color: #3a271a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
    overflow: hidden;
}

.news-article-content,
.news-article-content * {
    max-width: 100%;
}

.news-article-content p,
.news-article-content div,
.news-article-content li,
.news-article-content span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #3a271a;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.news-article-content p {
    margin-bottom: 16px;
}

.news-article-content a {
    color: #9f261d;
    font-weight: 700;
    text-decoration: none;
}

.news-article-content a:hover {
    text-decoration: underline;
}

.news-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.news-article-content table {
    width: 100% !important;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 18px 0;
}

.news-article-content iframe {
    max-width: 100%;
}

.comments-panel-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.comment-section-tag {
    display: inline-block;
    margin-bottom: 6px;
    color: #ffd36d;
    font-size: 16px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: nhangia, sans-serif;
}

.comments-panel-header h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    color: #a71613;
    text-shadow: 2px 0 #ffda41, -2px 0 #ffda41, 0 2px #ffda41, 0 -2px #ffda41, 1px 1px #ffda41, -1px -1px #ffda41, 1px -1px #ffda41, -1px 1px #ffda41;
}

.comment-total-pill {
    flex: 0 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f0863f 0%, #c5512c 100%);
    color: #fff7e6;
    font-size: 20px;
    box-shadow: 0 10px 18px rgba(94, 31, 17, 0.18);
}

.comment-form-panel {
    position: relative;
    z-index: 1;
    padding: 22px;
    margin-bottom: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255, 223, 143, 0.2);
    background: linear-gradient(180deg, rgba(94, 39, 17, 0.88), rgba(67, 28, 11, 0.92));
}

.comment-form-label {
    display: block;
    margin-bottom: 10px;
    color: #fff4d7;
    font-size: 26px;
    line-height: 1.25;
}

.comment-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 223, 143, 0.2);
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98), rgba(245, 237, 223, 0.98));
    color: #2e1d14;
    font-size: 18px;
    line-height: 1.8;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comment-textarea::placeholder {
    color: #846b5c;
}

.comment-textarea:focus {
    outline: none;
    border-color: rgba(255, 205, 93, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 205, 93, 0.12), inset 0 2px 4px rgba(0,0,0,0.04);
}

.comment-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.comment-form-note {
    color: #ffe9bb;
    font-size: 15px;
    line-height: 1.6;
    font-family: nhangia, sans-serif;
}

.comment-submit-btn {
    border: 0;
    min-width: 200px;
    min-height: 54px;
    padding: 12px 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%);
    color: #fff7e8;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 14px 22px rgba(94, 31, 17, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.comment-login-notice {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 219, 129, 0.2);
    background: rgba(71, 28, 11, 0.55);
    color: #fff0c8;
    font-size: 18px;
    line-height: 1.7;
    font-family: nhangia, sans-serif;
}

.comment-login-notice a {
    color: #ffd96f;
    font-weight: 700;
    text-decoration: none;
}

.comment-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comment-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 219, 129, 0.18);
    background: linear-gradient(180deg, rgba(101, 44, 19, 0.82), rgba(78, 33, 13, 0.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.comment-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff0cb 0%, #efd39a 100%);
    color: #9e2218;
    font-size: 28px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

.comment-main {
    min-width: 0;
}

.comment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 28px;
    line-height: 1.15;
    color: #fff5d7;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    word-break: break-word;
}

.comment-date {
    flex: 0 0 auto;
    color: #ffd488;
    font-size: 15px;
    line-height: 1.5;
    font-family: nhangia, sans-serif;
    text-align: right;
}

.comment-content {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(246, 238, 225, 0.98));
    color: #322014;
    font-size: 17px;
    line-height: 1.8;
    font-family: Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.comment-content p,
.comment-content br {
    font-family: inherit;
}

.comment-empty {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 220, 138, 0.28);
    background: rgba(71, 28, 11, 0.45);
    color: #fff0c8;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
    font-family: nhangia, sans-serif;
}

.comment-pagination {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.comment-pagination .page-link,
.comment-pagination .page-dots {
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 219, 129, 0.22);
    background: linear-gradient(180deg, rgba(95, 40, 18, 0.95), rgba(71, 28, 11, 0.95));
    color: #ffe9be;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.comment-pagination .page-link:hover {
    transform: translateY(-2px);
    color: #fff;
}

.comment-pagination .page-link.active {
    background: linear-gradient(180deg, #f78b26 0%, #cf461c 100%);
    color: #fffaf0;
}

@media (max-width: 991px) {
    .news-article-header {
        grid-template-columns: 1fr;
    }

    .news-author-card {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
        text-align: left;
    }

    .news-author-avatar {
        margin: 0;
        width: 86px;
        height: 86px;
    }

    .comments-panel-header,
    .comment-form-actions,
    .comment-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-date {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .post-detail-page {
        padding-top: 4px;
    }

    .post-detail-shell {
        width: min(100%, calc(100% - 12px));
        gap: 16px;
    }

    .news-article-panel,
    .comments-panel {
        padding: 18px 14px;
        border-radius: 22px;
    }

    .news-author-card,
    .news-article-content,
    .comment-form-panel,
    .comment-card,
    .comment-content {
        border-radius: 18px;
    }

    .news-author-name,
    .comment-author {
        font-size: 22px;
    }

    .news-author-date strong,
    .comment-total-pill {
        font-size: 18px;
    }

    .news-article-meta span,
    .comment-login-notice,
    .comment-empty,
    .comment-form-note,
    .comment-date,
    .comment-section-tag {
        font-size: 14px;
    }

    .news-article-content p,
    .news-article-content div,
    .news-article-content li,
    .news-article-content span,
    .comment-content,
    .comment-textarea {
        font-size: 16px;
        line-height: 1.75;
    }

    .comment-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .comment-avatar {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .comment-submit-btn {
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .comment-pagination .page-link,
    .comment-pagination .page-dots {
        min-width: 42px;
        height: 42px;
        font-size: 16px;
    }
}



html {
    scroll-behavior: smooth;
}

.post-card .card-body .tab-content .post-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 10px;
}

.post-card .card-body .tab-content .post-pagination a,
.post-card .card-body .tab-content .post-pagination .current-page,
.post-card .card-body .tab-content .post-pagination .page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-family: Protest, sans-serif;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

.post-card .card-body .tab-content .post-pagination a {
    color: #ffe7b1;
    background: rgba(86, 24, 12, 0.88);
    border: 1px solid rgba(255, 196, 104, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.post-card .card-body .tab-content .post-pagination a:hover {
    transform: translateY(-2px);
    background: rgba(126, 36, 18, 0.92);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.post-card .card-body .tab-content .post-pagination .current-page {
    color: #6a150d;
    background: linear-gradient(180deg, #ffe39a, #ffc559);
    box-shadow: 0 8px 18px rgba(255, 197, 89, 0.24);
}

.post-card .card-body .tab-content .post-pagination .page-dots {
    min-width: auto;
    padding: 0 4px;
    color: rgba(255, 239, 207, 0.8);
}



/* ==== Modern post banner grid ==== */
html {
  scroll-behavior: smooth;
}

.post-board-shell {
  max-width: 1200px;
  margin: 24px auto 42px;
  padding: 0;
  border: 1px solid rgba(180, 108, 40, 0.5);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,247,234,0.97) 0%, rgba(255,239,215,0.94) 100%);
  box-shadow: 0 18px 40px rgba(96, 48, 10, 0.16);
}

.post-board-shell .card-body {
  padding: 18px;
}

.post-board-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.post-board-tabs .tab-btn {
  position: relative;
  min-height: 70px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(116,77,45,0.94) 0%, rgba(90,58,34,0.96) 100%);
  color: #fff3de;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.post-board-tabs .tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(98, 53, 19, 0.16);
}

.post-board-tabs .tab-btn.active {
  color: #842800;
  background: linear-gradient(135deg, #ffdf3a 0%, #ffcb2c 55%, #ffd95a 100%);
  box-shadow: inset 0 0 0 3px rgba(49, 25, 4, 0.88), 0 16px 30px rgba(170, 109, 12, 0.26);
}

.post-board-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr);
  gap: 18px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(193, 123, 62, 0.55);
  background: linear-gradient(135deg, rgba(255,248,235,0.96) 0%, rgba(255,238,214,0.92) 100%);
  box-shadow: 0 16px 34px rgba(99, 49, 14, 0.12);
}

.post-hero-media,
.post-grid-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 14px;
  background: #f0d5b5;
}

.post-hero-media {
  min-height: 320px;
}

.post-hero-media img,
.post-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.post-hero-card:hover .post-hero-media img,
.post-grid-card:hover .post-grid-thumb img {
  transform: scale(1.04);
}

.post-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(202, 45, 22, 0.95);
  color: #fff;
  font-size: 13px;
  font-family: 'Knewave-Regular', 'Oswald', sans-serif;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 18px rgba(109, 31, 20, 0.22);
}

.post-floating-badge.small {
  top: 10px;
  left: 10px;
  padding: 6px 11px;
  font-size: 12px;
}

.post-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px 8px 0;
}

.post-hero-meta,
.post-grid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #8b6843;
  font-size: 13px;
  font-weight: 700;
}

.post-hero-content h3,
.post-grid-body h4 {
  margin: 10px 0 12px;
  line-height: 1.28;
}

.post-hero-content h3 a,
.post-grid-body h4 a {
  color: #6d2608;
  text-decoration: none;
}

.post-hero-content h3 {
  font-size: 44px;
}

.post-grid-body h4 {
  font-size: 26px;
  min-height: 66px;
}

.post-hero-content p,
.post-grid-body p {
  margin: 0;
  color: #7b5736;
  line-height: 1.72;
}

.post-hero-footer,
.post-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.post-author-line {
  color: #9b7754;
  font-size: 14px;
  font-weight: 700;
}

.post-readmore-btn,
.post-grid-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 142px;
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #a14300 0%, #853000 100%);
  color: #fff5e9 !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 16px rgba(122, 53, 6, 0.22);
}

.post-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-grid-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(199, 145, 88, 0.46);
  background: rgba(255, 251, 244, 0.96);
  box-shadow: 0 12px 26px rgba(107, 65, 27, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(107, 65, 27, 0.18);
}

.post-grid-thumb {
  aspect-ratio: 16 / 10;
}

.post-grid-body {
  padding: 14px 14px 16px;
}

.post-grid-body p {
  min-height: 50px;
}

.post-grid-footer a {
  min-width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  color: #8d3602 !important;
}

.post-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(171, 120, 76, 0.44);
  background: rgba(255, 248, 238, 0.7);
}

.post-empty-state span {
  color: #996740;
  font-size: 20px;
}

.post-board-shell .post-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.post-board-shell .post-pagination a,
.post-board-shell .post-pagination .current-page,
.post-board-shell .post-pagination .page-dots {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(181, 126, 76, 0.45);
  background: rgba(255, 249, 241, 0.95);
  color: #8d3602;
  font-size: 16px;
  font-weight: 700;
}

.post-board-shell .post-pagination a:hover,
.post-board-shell .post-pagination .current-page {
  background: linear-gradient(180deg, #ffde52 0%, #ffc62f 100%);
  color: #6b2200;
  box-shadow: 0 10px 18px rgba(167, 106, 8, 0.18);
}

.news-article-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 22px;
  margin-bottom: 24px;
}

.news-article-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.news-article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,16,3,0.1) 0%, rgba(34,16,3,0.66) 100%);
}

.news-article-hero-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 2;
}

.news-article-hero .news-article-title {
  margin: 12px 0 10px;
  color: #fffaf3;
}

.news-article-intro {
  margin: 0;
  color: #6a4d32;
  line-height: 1.75;
}

@media (max-width: 991px) {
  .post-board-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-hero-card {
    grid-template-columns: 1fr;
  }

  .post-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-hero-content h3 {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .post-board-shell {
    margin: 18px 12px 30px;
    border-radius: 16px;
  }

  .post-board-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .post-board-tabs .tab-btn {
    min-height: 58px;
    font-size: 25px;
  }

  .post-grid-list {
    grid-template-columns: 1fr;
  }

  .post-hero-content h3 {
    font-size: 28px;
  }

  .post-grid-body h4 {
    min-height: 0;
    font-size: 22px;
  }

  .post-hero-footer,
  .post-grid-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-readmore-btn {
    width: 100%;
  }

  .news-article-hero,
  .news-article-hero img {
    min-height: 240px;
  }

  .news-article-hero-content {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}


/* ==== News board isolated refresh ==== */
.news-board-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 34px auto 44px;
  padding: 14px;
  background: url(/images/bg-frame2.png) center/100% 100% no-repeat;
  filter: drop-shadow(0 16px 28px rgba(34, 11, 5, 0.28));
}

.news-board-body {
  padding: 16px 18px 20px;
  min-height: 620px;
  background: linear-gradient(180deg, rgba(114,73,42,0.94) 0%, rgba(95,60,35,0.94) 100%);
  border: 3px solid rgba(59, 21, 7, 0.75);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 194, 109, 0.16);
}

.news-board-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid rgba(196, 143, 84, 0.42);
}

.news-tab-btn {
  min-height: 74px;
  border: 0;
  cursor: pointer;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(128,89,56,0.92), rgba(117,80,50,0.92));
  color: #fff7ec;
  font-family: Protest, 'Oswald', sans-serif;
  font-size: 26px;
  border-radius: 4px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.news-tab-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.news-tab-btn.active {
  color: #932f00;
  background: url(/images/btn_1.png) center/100% 100% no-repeat;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}

.news-tab-panel { display: none; }
.news-tab-panel.active { display: block; }

.news-board-layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.news-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr);
  gap: 20px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(220, 156, 85, 0.5);
  background: linear-gradient(135deg, rgba(165,112,70,0.92), rgba(119,74,43,0.96));
  box-shadow: 0 12px 24px rgba(34, 11, 5, 0.2);
}

.news-hero-media,
.news-grid-thumb {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px;
  background: rgba(52, 26, 13, 0.38);
}

.news-hero-media {
  min-height: 320px;
}

.news-hero-media img,
.news-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-hero-card:hover .news-hero-media img,
.news-grid-card:hover .news-grid-thumb img {
  transform: scale(1.04);
}

.news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f9db72, #efb84b);
  color: #6f2908;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 8px 14px rgba(41, 18, 8, 0.24);
}

.news-badge.small {
  top: 8px;
  left: 8px;
  padding: 4px 9px;
  font-size: 11px;
}

.news-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-hero-meta,
.news-grid-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #f1dcc8;
  font-size: 12px;
  font-weight: 700;
}

.news-hero-content h3,
.news-grid-body h4 {
  margin: 12px 0 10px;
  line-height: 1.22;
}

.news-hero-content h3 a,
.news-grid-body h4 a {
  color: #fff8ef;
  text-decoration: none;
}

.news-hero-content h3 {
  font-size: 38px;
}

.news-grid-body h4 {
  font-size: 21px;
  min-height: 54px;
}

.news-hero-content p,
.news-grid-body p {
  margin: 0;
  color: rgba(255, 239, 223, 0.88);
  line-height: 1.7;
}

.news-hero-footer,
.news-grid-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.news-author-line {
  color: #ffe0b9;
  font-size: 14px;
  font-weight: 700;
}

.news-readmore-btn,
.news-grid-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 136px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff6ea !important;
  background: linear-gradient(180deg, #a74200, #7f2f00);
  box-shadow: 0 8px 14px rgba(41, 18, 8, 0.18);
  font-weight: 700;
}

.news-grid-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-grid-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 166, 98, 0.46);
  background: linear-gradient(180deg, rgba(255,245,232,0.98), rgba(247,231,211,0.96));
  box-shadow: 0 10px 18px rgba(34, 11, 5, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(34, 11, 5, 0.2);
}

.news-grid-thumb {
  aspect-ratio: 16 / 10;
}

.news-grid-body {
  padding: 14px;
}

.news-grid-body p {
  min-height: 48px;
  color: #7c5230;
}

.news-grid-meta {
  color: #9c714f;
}

.news-grid-footer a {
  min-width: auto;
  padding: 0;
  color: #983701 !important;
  background: transparent;
  box-shadow: none;
}

.news-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: 12px;
  border: 1px dashed rgba(236, 181, 112, 0.34);
  color: #fce8cf;
  background: rgba(93, 58, 34, 0.4);
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.news-pagination a,
.news-pagination .current-page,
.news-pagination .page-dots {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(230, 179, 101, 0.42);
  background: rgba(255, 245, 231, 0.95);
  color: #8a3400;
  font-weight: 700;
}

.news-pagination a:hover,
.news-pagination .current-page {
  background: linear-gradient(180deg, #ffdf52, #ffc230);
  color: #6f2600;
}

@media (max-width: 991px) {
  .news-board-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-hero-card { grid-template-columns: 1fr; }
  .news-grid-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .news-board-shell { width: calc(100% - 18px); margin: 22px auto 34px; padding: 8px; }
  .news-board-body { padding: 12px; min-height: 0; }
  .news-board-tabs { grid-template-columns: 1fr; }
  .news-tab-btn { min-height: 60px; font-size: 22px; }
  .news-grid-list { grid-template-columns: 1fr; }
  .news-hero-content h3 { font-size: 28px; }
  .news-grid-body h4 { min-height: 0; }
  .news-hero-footer, .news-grid-footer { flex-direction: column; align-items: flex-start; }
  .news-readmore-btn { width: 100%; }
}

/* ==== Homepage news grid rebalance + listing page ==== */
.news-home-section {
  width: min(1240px, calc(100% - 40px));
}

.news-home-section .news-board-body {
  min-height: 0;
}

.news-home-section .news-board-layout {
  gap: 18px;
}

.news-home-section .news-hero-card {
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 18px;
  padding: 16px;
}

.news-home-section .news-hero-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.news-home-section .news-hero-content h3 {
  font-size: 32px;
  margin: 10px 0 10px;
}

.news-home-section .news-hero-content p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-home-section .compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-home-section .news-grid-card {
  border-radius: 10px;
}

.news-home-section .news-grid-thumb {
  aspect-ratio: 16 / 9;
}

.news-home-section .news-grid-body {
  padding: 12px 12px 14px;
}

.news-home-section .news-grid-body h4 {
  min-height: 48px;
  font-size: 19px;
  margin: 10px 0 8px;
}

.news-home-section .news-grid-body p {
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}

.news-home-section .news-board-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.news-board-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: #fff6ea !important;
  background: linear-gradient(180deg, #b64a00, #8b3200);
  box-shadow: 0 10px 18px rgba(41, 18, 8, 0.18);
}

.news-board-more-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.news-listing-page {
  width: min(1280px, calc(100% - 36px));
  margin-top: 30px;
  margin-bottom: 44px;
}

.news-listing-body {
  min-height: 0;
}

.news-listing-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding-bottom: 18px;
}

.news-listing-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 217, 130, 0.14);
  border: 1px solid rgba(255, 217, 130, 0.2);
  color: #ffe5ba;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.news-listing-header h1 {
  margin: 0;
  color: #fff7eb;
  font-size: 42px;
  line-height: 1.1;
}

.news-listing-header p {
  margin: 10px 0 0;
  color: rgba(255, 236, 213, 0.88);
  max-width: 680px;
  line-height: 1.7;
}

.back-home-btn {
  white-space: nowrap;
}

.listing-tabs {
  margin-bottom: 20px;
}

.listing-board-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.listing-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 20px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(220, 156, 85, 0.5);
  background: linear-gradient(135deg, rgba(165,112,70,0.92), rgba(119,74,43,0.96));
  box-shadow: 0 12px 24px rgba(34, 11, 5, 0.2);
}

.listing-featured-thumb,
.listing-grid-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(52, 26, 13, 0.38);
}

.listing-featured-thumb {
  aspect-ratio: 16 / 9;
}

.listing-featured-thumb img,
.listing-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.listing-featured-card:hover .listing-featured-thumb img,
.listing-grid-card:hover .listing-grid-thumb img {
  transform: scale(1.04);
}

.listing-featured-body,
.listing-grid-body {
  min-width: 0;
}

.listing-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.listing-featured-body h2,
.listing-grid-body h3 {
  margin: 12px 0 10px;
  line-height: 1.22;
}

.listing-featured-body h2 a,
.listing-grid-body h3 a {
  color: #fff8ef;
  text-decoration: none;
}

.listing-featured-body h2 {
  font-size: 34px;
}

.listing-featured-body p,
.listing-grid-body p {
  margin: 0;
  color: rgba(255, 239, 223, 0.88);
  line-height: 1.7;
}

.listing-grid-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.listing-grid-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(223, 166, 98, 0.46);
  background: linear-gradient(180deg, rgba(255,245,232,0.98), rgba(247,231,211,0.96));
  box-shadow: 0 10px 18px rgba(34, 11, 5, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-grid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px rgba(34, 11, 5, 0.2);
}

.listing-grid-thumb {
  aspect-ratio: 16 / 10;
}

.listing-grid-body {
  padding: 14px;
}

.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #f1dcc8;
  font-size: 12px;
  font-weight: 700;
}

.listing-grid-body .listing-card-meta {
  color: #9c714f;
}

.listing-grid-body h3 {
  font-size: 20px;
  min-height: 52px;
}

.listing-grid-body p {
  min-height: 46px;
  color: #7c5230;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.listing-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.listing-grid-body .listing-card-footer a {
  color: #983701;
  font-weight: 700;
}

.listing-pagination {
  margin-top: 26px;
}

@media (max-width: 1199px) {
  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .news-home-section .news-hero-card,
  .listing-featured-card,
  .news-listing-header {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .news-home-section,
  .news-listing-page {
    width: calc(100% - 16px);
    margin: 18px auto 28px;
    padding: 8px;
  }

  .news-listing-header h1 {
    font-size: 30px;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap {
    grid-template-columns: 1fr;
  }

  .news-home-section .news-hero-content h3,
  .listing-featured-body h2 {
    font-size: 26px;
  }

  .listing-grid-body h3,
  .news-home-section .news-grid-body h4 {
    min-height: 0;
  }

  .listing-card-footer,
  .news-home-section .news-hero-footer,
  .news-home-section .news-grid-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-home-btn,
  .news-board-more-btn,
  .news-home-section .news-readmore-btn {
    width: 100%;
    justify-content: center;
  }
}


/* ==== 2026-04 compact home/news/payment fixes ==== */
.news-home-section {
  width: min(1040px, calc(100% - 24px));
  margin: 34px auto 44px;
}

.news-home-section .news-board-body {
  padding: 14px 16px 20px;
}

.news-home-section .news-hero-card {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.78fr);
  gap: 16px;
  padding: 14px;
  align-items: stretch;
}

.news-home-section .news-hero-media {
  aspect-ratio: 16 / 8.8;
}

.news-home-section .news-hero-content {
  padding: 4px 0;
}

.news-home-section .news-hero-content h3 {
  font-size: 28px;
  margin: 8px 0 10px;
}

.news-home-section .news-hero-content p {
  -webkit-line-clamp: 3;
  font-size: 14px;
}

.news-home-section .compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-home-section .news-grid-thumb {
  aspect-ratio: 16 / 9.4;
}

.news-home-section .news-grid-body {
  padding: 12px;
}

.news-home-section .news-grid-body h4 {
  min-height: 44px;
  font-size: 18px;
}

.news-home-section .news-grid-body p {
  min-height: 40px;
  font-size: 13px;
}

.news-listing-page {
  width: min(1100px, calc(100% - 24px));
  margin-top: 150px;
}

.news-listing-body {
  padding-top: 20px;
}

.news-listing-header {
  padding-top: 4px;
}

.listing-featured-card {
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.82fr);
}

.listing-grid-wrap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-posts-panel {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(224, 171, 104, 0.34);
  background: linear-gradient(180deg, rgba(116,73,43,0.92), rgba(92,56,33,0.96));
  box-shadow: 0 14px 24px rgba(34, 11, 5, 0.16);
}

.related-posts-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.related-posts-head h3 {
  margin: 0;
  color: #fff7eb;
  font-size: 28px;
}

.related-posts-head p {
  margin: 6px 0 0;
  color: rgba(255, 235, 214, 0.84);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.payment-page {
  margin-top: 150px !important;
  margin-bottom: 50px;
}

.payment-page .form-shell--wide {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .news-home-section,
  .news-listing-page {
    width: min(980px, calc(100% - 20px));
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap,
  .related-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .news-home-section .news-hero-card,
  .listing-featured-card,
  .related-posts-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-listing-page,
  .payment-page {
    margin-top: 120px !important;
  }
}

@media (max-width: 767px) {
  .news-home-section,
  .news-listing-page {
    width: calc(100% - 14px);
    margin-left: auto;
    margin-right: auto;
  }

  .news-home-section .compact-grid,
  .listing-grid-wrap,
  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .news-listing-page,
  .payment-page {
    margin-top: 102px !important;
  }

  .related-posts-panel {
    padding: 16px;
  }

  .related-posts-head h3 {
    font-size: 24px;
  }
}

/* ==== Forum /dien-dan ==== */
.forum-page-wrap {
  padding-top: 36px;
  padding-bottom: 56px;
}

.forum-shell {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.forum-hero-card,
.forum-create-card,
.forum-highlight-card,
.forum-member-card,
.forum-detail-card,
.forum-comments-card,
.forum-related-card {
  background: linear-gradient(180deg, rgba(128, 77, 38, 0.96), rgba(109, 68, 37, 0.96));
  border: 1px solid rgba(239, 179, 103, 0.38);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(39, 18, 2, 0.28);
  padding: 24px 28px;
  color: #fff4df;
}

.forum-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.forum-hero-card h1 {
  font-size: 52px;
  line-height: 1;
  margin: 10px 0 14px;
  color: #fff8ec;
}

.forum-hero-card p,
.forum-daily-limit,
.forum-form-actions span,
.forum-login-box,
.forum-empty-box,
.forum-related-excerpt,
.forum-member-excerpt {
  color: rgba(255, 244, 223, 0.82);
}

.forum-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f2cb66, #e09f3d);
  color: #6a3408;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.forum-back-btn,
.forum-submit-btn,
.forum-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c85d04, #a54200);
  color: #fff6eb;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.forum-back-btn:hover,
.forum-submit-btn:hover,
.forum-breadcrumb-link:hover,
.forum-highlight-item:hover,
.forum-member-item:hover,
.forum-related-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(52, 22, 2, 0.22);
  color: #fff6eb;
}

.forum-alert {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 18px;
  font-weight: 700;
}

.forum-alert-error {
  background: rgba(139, 24, 24, 0.86);
  border: 1px solid rgba(255, 162, 162, 0.35);
}

.forum-alert-success {
  background: rgba(17, 120, 68, 0.86);
  border: 1px solid rgba(171, 255, 214, 0.35);
}

.forum-block-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.forum-block-head h2,
.forum-block-head h3,
.forum-detail-header h2 {
  margin: 10px 0 0;
  color: #fff8ec;
  font-size: 42px;
  line-height: 1;
}

.forum-comment-total {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 243, 223, 0.08);
  border: 1px solid rgba(255, 220, 176, 0.18);
}

.forum-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.forum-field-full {
  grid-column: 1 / -1;
}

.forum-field label,
.forum-reply-form label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff5e8;
}

.forum-field input,
.forum-field textarea,
.forum-reply-form textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 218, 180, 0.24);
  background: rgba(70, 33, 10, 0.34);
  color: #fff8f0;
  padding: 16px 18px;
  outline: none;
}

.forum-field input:focus,
.forum-field textarea:focus,
.forum-reply-form textarea:focus {
  border-color: rgba(245, 201, 119, 0.82);
  box-shadow: 0 0 0 3px rgba(245, 201, 119, 0.12);
}

.forum-form-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.forum-highlight-list,
.forum-member-list,
.forum-comment-list,
.forum-related-grid {
  display: grid;
  gap: 14px;
}

.forum-highlight-list {
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(236, 176, 107, 0.3);
}

.forum-highlight-item {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: #fff4e1;
  background: rgba(255, 233, 198, 0.08);
  border-bottom: 1px solid rgba(236, 176, 107, 0.24);
}

.forum-highlight-item:last-child {
  border-bottom: 0;
}

.forum-highlight-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffefc9;
}

.forum-highlight-meta,
.forum-member-meta,
.forum-detail-meta,
.forum-comment-head,
.forum-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: rgba(255, 241, 220, 0.74);
  font-size: 18px;
}

.forum-member-item,
.forum-related-item {
  display: grid;
  gap: 16px;
  text-decoration: none;
  color: #fff4df;
  background: rgba(255, 236, 206, 0.07);
  border: 1px solid rgba(236, 176, 107, 0.22);
  border-radius: 18px;
  padding: 18px;
}

.forum-member-item {
  grid-template-columns: 58px 1fr;
  align-items: flex-start;
}

.forum-member-avatar,
.forum-comment-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe3a7, #f0a43a);
  color: #6f3507;
  font-size: 24px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.forum-member-head,
.forum-comment-head,
.forum-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.forum-member-title {
  font-size: 28px;
  line-height: 1.15;
  color: #fff9ee;
  font-weight: 800;
}

.forum-status-answer,
.forum-status-wait,
.forum-badge,
.forum-inline-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
}

.forum-status-answer,
.forum-badge-answered,
.forum-inline-admin {
  background: rgba(64, 188, 120, 0.18);
  color: #8ef0b8;
  border: 1px solid rgba(64, 188, 120, 0.32);
}

.forum-status-wait,
.forum-badge-waiting {
  background: rgba(255, 193, 7, 0.14);
  color: #ffd472;
  border: 1px solid rgba(255, 193, 7, 0.22);
}

.forum-badge-admin {
  background: rgba(114, 92, 255, 0.14);
  color: #d7d0ff;
  border: 1px solid rgba(114, 92, 255, 0.22);
}

.forum-detail-header {
  margin: 14px 0 18px;
}

.forum-topic-content,
.forum-comment-content {
  font-size: 21px;
  line-height: 1.7;
  color: #fff8ee;
}

.forum-comment-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 239, 218, 0.07);
  border: 1px solid rgba(237, 180, 111, 0.18);
}

.forum-comment-item.is-admin-reply {
  background: rgba(58, 176, 109, 0.12);
  border-color: rgba(58, 176, 109, 0.26);
}

.forum-related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forum-related-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff8ee;
}

.forum-empty-box,
.forum-login-box {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 235, 205, 0.08);
  border: 1px dashed rgba(238, 183, 116, 0.28);
}

.forum-login-box a {
  color: #ffd98d;
  font-weight: 700;
}

.forum-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.forum-page-link {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffe8c7;
  background: rgba(255, 236, 206, 0.07);
  border: 1px solid rgba(236, 176, 107, 0.22);
}

.forum-page-link.is-active {
  background: linear-gradient(135deg, #f0c861, #d58d1b);
  color: #6c3408;
  font-weight: 800;
}

@media (max-width: 991px) {
  .forum-shell {
    max-width: 100%;
  }

  .forum-hero-card,
  .forum-form-actions,
  .forum-block-head,
  .forum-member-head,
  .forum-detail-topbar,
  .forum-comment-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .forum-form-grid,
  .forum-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .forum-page-wrap {
    padding-top: 20px;
  }

  .forum-hero-card,
  .forum-create-card,
  .forum-highlight-card,
  .forum-member-card,
  .forum-detail-card,
  .forum-comments-card,
  .forum-related-card {
    padding: 18px;
    border-radius: 18px;
  }

  .forum-hero-card h1,
  .forum-block-head h2,
  .forum-block-head h3,
  .forum-detail-header h2 {
    font-size: 34px;
  }

  .forum-member-item,
  .forum-comment-item {
    grid-template-columns: 1fr;
  }

  .forum-member-avatar,
  .forum-comment-avatar {
    width: 48px;
    height: 48px;
  }
}


/* ==== 2026-04 responsive stabilization hotfix ==== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, video, iframe, canvas {
  max-width: 100%;
  height: auto;
}

.container.main.page-header {
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 24px));
  padding-left: 12px;
  padding-right: 12px;
  top: 10px;
}

.container.main.page-header .header {
  width: 100%;
}

.container.main.page-header .row.header-content {
  margin-left: 0;
  margin-right: 0;
}

.container.down-load {
  min-height: clamp(620px, 76vh, 1000px);
  height: auto;
  padding: 180px 12px 120px;
}

.container .box-down {
  width: min(100%, 980px);
  margin-left: auto;
  margin-right: auto;
}

.post-card {
  width: min(100%, 1220px);
  margin-left: auto;
  margin-right: auto;
}

.infor-game .btn-infor {
  max-width: min(92vw, 210px);
}

.news-panel-shell,
.news-page-shell,
.forum-shell,
.post-detail-shell,
.comment-main {
  width: min(100%, 1220px);
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 1199px) {
  .container.main.page-header {
    width: min(1140px, calc(100% - 20px));
  }

  .container .header-content .btn-bg {
    width: auto;
    min-width: 150px;
    flex: 1 1 160px;
  }

  .container .header-content .logo {
    flex: 0 0 auto;
  }
}

@media only screen and (max-width: 991px) {
  .container.main.page-header {
    position: relative;
    top: 0;
    left: auto;
    transform: none;
    width: min(100%, calc(100% - 20px));
    margin: 14px auto 0;
    padding-left: 0;
    padding-right: 0;
  }

  .container.down-load {
    padding-top: 30px;
    min-height: auto;
  }

  .container .header-content {
    row-gap: 10px !important;
  }

  .container .header-content .btn-bg {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px);
    margin-left: 0;
    margin-right: 0;
    background-size: 100% 100%;
  }

  .container .header-content .btn-bg a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.2;
  }

  .container .header-content .logo {
    order: -1;
    position: static;
    width: 100%;
  }

  .container .header-content .nsotien_logo {
    max-width: min(240px, 60vw);
  }

  .infor-game .btn-infor {
    right: -198px;
  }

  .news-panel-shell,
  .news-page-shell,
  .forum-shell,
  .post-detail-shell,
  .comment-main,
  .post-card {
    width: calc(100% - 20px);
  }
}

@media only screen and (max-width: 767px) {
  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .container.main.page-header {
    width: calc(100% - 16px);
    margin-top: 10px;
  }

  .container .header-content {
    justify-content: center;
  }

  .container .header-content .btn-bg {
    flex: 1 1 calc(50% - 6px);
    width: calc(50% - 6px);
    padding: 12px 0;
  }

  .container .header-content .btn-bg a {
    font-size: 12px !important;
  }

  .container.down-load {
    padding: 22px 8px 90px;
  }

  .container .box-down {
    gap: 12px;
  }

  .container .box-down .box-img,
  .container .box-down .box-item {
    width: 100%;
  }

  .container .box-down .box-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .container .box-down .box-item .item {
    width: 100%;
    margin: 0;
  }

  .post-card .card-body {
    margin-top: 0;
  }

  .infor-game .btn-infor {
    top: 180px;
    right: -182px;
  }
}

@media only screen and (max-width: 575px) {
  .container .header-content .btn-bg {
    flex: 1 1 100%;
    width: 100%;
  }

  .container .header-content .btn-bg a {
    font-size: 13px !important;
  }

  .container .box-down .box-item {
    grid-template-columns: 1fr;
  }

  .infor-game .btn-infor {
    right: -168px;
    max-width: 168px;
  }
}
