/* =========================================================
   HEADER - kiểu thanh menu nổi đỏ/vàng giống web tham chiếu.
   Toàn bộ asset dùng local, không tải ảnh từ domain ngoài.
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    min-width: 320px;
    color: #424242;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 112px;
    background: transparent;
    pointer-events: none;
}

.site-header__inner {
    position: relative;
    width: min(880px, calc(100% - 80px));
    height: 64px;
    margin: 38px auto 0;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.site-header__logo {
    position: relative;
    z-index: 6;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    margin-right: -7px;
    border: 2px solid #efb347;
    border-radius: 11px;
    overflow: hidden;
    background: #741608;
    box-shadow:
        0 0 0 2px rgba(88, 17, 8, .9),
        0 4px 12px rgba(36, 11, 3, .45),
        inset 0 0 12px rgba(255, 194, 76, .18);
}

.site-header__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-nav {
    position: relative;
    flex: 1 1 auto;
    height: 42px;
    padding: 0 19px 0 22px;
    border: 2px solid #e7a346;
    border-radius: 4px 20px 20px 4px;
    background:
        linear-gradient(180deg, rgba(184, 55, 26, .98) 0%, rgba(135, 25, 11, .99) 52%, rgba(112, 18, 8, .99) 100%);
    box-shadow:
        0 0 0 1px rgba(87, 16, 6, .95),
        inset 0 1px 0 rgba(255, 231, 159, .32),
        inset 0 -1px 0 rgba(62, 6, 1, .78),
        0 4px 13px rgba(41, 14, 4, .28);
}

.site-nav::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(255, 195, 84, .24);
    border-radius: 2px 16px 16px 2px;
    pointer-events: none;
}

.site-nav__list {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.site-nav__list > li {
    position: relative;
    height: 100%;
}

.site-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0 9px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffe6a2;
    text-shadow: 0 1px 1px #5d1106;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .15s ease, filter .15s ease, transform .15s ease;
}

.site-nav__link::before {
    content: "";
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 1px 0 rgba(79, 17, 4, .75));
    opacity: .98;
}

/* Icon local bằng SVG nhúng trực tiếp trong CSS, không phụ thuộc file sprite cũ. */
.site-nav__link--home::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8d477' d='M12 3 2.5 11h2.2v9h5.7v-5.4h3.2V20h5.7v-9h2.2L12 3z'/%3E%3C/svg%3E");
}
.site-nav__link--event::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8d477' d='M6 2h2v3h8V2h2v3h3v17H3V5h3V2zm13 8H5v10h14V10zM7 12h3v3H7v-3zm5 0h3v3h-3v-3z'/%3E%3C/svg%3E");
}
.site-nav__link--guide::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8d477' d='M18.7 2.3a2.4 2.4 0 0 1 3.4 3.4L9.3 18.5 4 20l1.5-5.3L18.7 2.3zM7 15.6l-.6 2 2-.6L18 7.4 16.6 6 7 15.6zM3 4h9v2H5v13h13v-7h2v9H3V4z'/%3E%3C/svg%3E");
}
.site-nav__link--community::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8d477' d='M8 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm8-1a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM1.5 21v-2.2C1.5 15.6 4.4 13 8 13s6.5 2.6 6.5 5.8V21h-13zm13.7 0v-2.2c0-1.8-.7-3.5-1.9-4.7.8-.4 1.7-.6 2.7-.6 3.3 0 6 2.4 6 5.4V21h-6.8z'/%3E%3C/svg%3E");
}
.site-nav__link--support::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f8d477' d='M12 2a9 9 0 0 0-9 9v5a3 3 0 0 0 3 3h2v-8H5a7 7 0 0 1 14 0h-3v8h2a3 3 0 0 0 3-3v-5a9 9 0 0 0-9-9zm-1 17h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 23%;
    right: 23%;
    bottom: 4px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd77a, transparent);
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity .15s ease, transform .15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
    color: #fff7d4;
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-header__menu-toggle {
    display: none;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .site-header__inner {
        width: min(820px, calc(100% - 52px));
    }
    .site-nav__link {
        gap: 5px;
        padding: 0 5px;
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: 82px;
    }

    .site-header__inner {
        width: calc(100% - 24px);
        height: 56px;
        margin-top: 14px;
    }

    .site-header__logo {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        margin-right: 7px;
        border-radius: 10px;
    }

    .site-header__menu-toggle {
        position: relative;
        z-index: 8;
        display: flex;
        width: 48px;
        height: 42px;
        padding: 9px 10px;
        border: 2px solid #e7a346;
        border-radius: 14px;
        flex-direction: column;
        justify-content: space-around;
        background: linear-gradient(180deg, #a9351d, #761306);
        box-shadow: 0 0 0 1px #581106, 0 3px 8px rgba(0,0,0,.25);
        cursor: pointer;
    }

    .site-header__menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        border-radius: 3px;
        background: #ffe4a0;
    }

    .site-nav {
        position: absolute;
        top: 58px;
        right: 0;
        left: 0;
        height: auto;
        padding: 8px 10px;
        border-radius: 13px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
    }

    .site-header.is-menu-open .site-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav__list {
        display: block;
        height: auto;
    }

    .site-nav__list > li {
        height: auto;
        border-bottom: 1px solid rgba(255, 215, 122, .18);
    }

    .site-nav__list > li:last-child {
        border-bottom: 0;
    }

    .site-nav__link {
        min-height: 46px;
        justify-content: flex-start;
        padding: 0 16px;
        font-size: 13px;
    }

    .site-nav__link::after {
        display: none;
    }
}


/* =========================================================
   HERO / BANNER ĐẦU TRANG
   Dùng hoàn toàn file local, không phụ thuộc domain ngoài.
   ========================================================= */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 1000;
    overflow: hidden;
    background: transparent !important;
}

.hero__background {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__background img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__visuals {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero__figure,
.hero__title {
    position: absolute;
    display: block;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
}

.hero__figure {
    -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 84%,
        rgba(0, 0, 0, .95) 87%,
        rgba(0, 0, 0, .68) 90%,
        rgba(0, 0, 0, .30) 92%,
        transparent 94%
    ) !important;
    mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 84%,
        rgba(0, 0, 0, .95) 87%,
        rgba(0, 0, 0, .68) 90%,
        rgba(0, 0, 0, .30) 92%,
        transparent 94%
    ) !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
}

.hero__figure--female {
    left: -10.5%;
    top: 26.5%;
    width: 73.71%;
}

.hero__figure--male {
    right: -10.5%;
    top: 25.5%;
    width: 46.8%;
}

.hero__title {
    left: 50%;
    top: 8.5%;
    width: 26%;
    transform: translateX(-50%);
    z-index: 4;
}


@media (max-width: 900px) {
    .hero {
        aspect-ratio: 768 / 1190;
    }

    .hero__background img {
        object-fit: cover;
    }

    .hero__figure--female {
        left: -14%;
        top: 23%;
        width: 141.3%;
    }

    .hero__figure--male {
        right: -17%;
        top: 25%;
        width: 98.4%;
    }

    .hero__title {
        top: 18%;
        width: 58%;
    }

}


/* =========================================================
   CỤM TẢI GAME / TÀI KHOẢN Ở HERO
   Dùng trực tiếp ảnh trong index.zip của bạn.
   ========================================================= */
.hero__controls--image-ui {
    position: absolute;
    left: 50%;
    bottom: 5.8%;
    z-index: 9;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    width: auto;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero__download-panel {
    position: relative;
    flex: 0 0 723px;
    width: 723px;
    min-width: 723px;
    max-width: 723px;
    height: 173px;
    aspect-ratio: auto;
    pointer-events: auto;

    transform: translateX(80px) translateY(-50px);
}

.hero__download-panel-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
	transform: scaleY(1.09);
	transform: scaleX(0.8);
    -webkit-user-drag: none;
}

.hero__image-btn {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    overflow: visible;
    transition: transform .15s ease, filter .15s ease;
}

/* QUAN TRỌNG: giữ đúng tỉ lệ ảnh gốc, tuyệt đối không kéo dãn */
.hero__image-btn img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.hero__image-btn:hover,
.hero__image-btn:focus-visible {
    filter: brightness(1.08);
}

.hero__image-socials a:hover,
.hero__image-socials a:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Trái: TẢI GAME - kích thước cố định theo bố cục gốc, không scale thêm */
.hero__image-btn--download {
    left: 104px;
    top: 9px;
    width: 118px;
    height: 152px;
	transform: scale(1.25);
	transform-origin: center center;
}

/* Giữa trên: ĐĂNG KÝ */
.hero__image-btn--register {
    left: 217px;
    top: 15px;
    width: 297px;
    height: 64px;
	transform: scale(1.32);
	transform-origin: center center;
}

/* Giữa dưới: ĐĂNG NHẬP */
.hero__image-btn--login {
    left: 217px;
    top: 84px;
    width: 297px;
    height: 64px;
	transform: scale(1.32);
	transform-origin: center center;
}

/* Phải: NẠP THẺ */
.hero__image-btn--topup {
    left: 499px;
    top: 10px;
    width: 118px;
    height: 152px;
	transform: scale(1.15);
	transform-origin: center center;
}

.hero__image-meta {
    flex: 0 0 auto;
    width: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    pointer-events: auto;
    transform: translate(400px, -650px) scaleX(2.0);
    transform-origin: center center;
}

.hero__image-age {
    display: block;
    width: 86px;
    height: auto;
}

.hero__image-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.hero__image-socials a {
    display: block;
    width: 29px;
    line-height: 0;
    transition: transform .15s ease, filter .15s ease;
}

.hero__image-socials img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .hero__controls--image-ui {
        width: auto;
        gap: 4px;
        transform: translateX(-50%) scale(.92);
        transform-origin: 50% 100%;
    }

    .hero__image-meta { width: 80px; }
    .hero__image-age { width: 80px; }
    .hero__image-socials a { width: 25px; }
}

@media (max-width: 900px) {
    .hero__controls--image-ui {
        bottom: 4.6%;
        width: calc(100% - 14px);
        gap: 5px;
    }

    .hero__download-panel {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 520 / 142;
    }

    .hero__image-btn--download {
        left: 3.4%;
        top: 6.9%;
        width: 18.8%;
        height: 85.8%;
    }

    .hero__image-btn--register {
        left: 24.4%;
        top: 8.4%;
        width: 51.2%;
        height: 37.4%;
    }

    .hero__image-btn--login {
        left: 24.4%;
        top: 52.1%;
        width: 51.2%;
        height: 37.4%;
    }

    .hero__image-btn--topup {
        left: 77.8%;
        top: 6.9%;
        width: 18.8%;
        height: 85.8%;
    }

    .hero__image-meta {
        width: 64px;
    }

    .hero__image-age {
        width: 64px;
    }

    .hero__image-socials {
        gap: 2px;
    }

    .hero__image-socials a {
        width: 20px;
    }
}

/* =========================================================
   TIN TỨC / SỰ KIỆN
   Port riêng từ section news_event của source cũ.
   Desktop gốc: 850px banner + 25px gap + 780px news = 1655px.
   ========================================================= */
.news-event {
    position: relative;
    width: 100%;
    height: 583px;
    margin-top: -1px;
    background: #fff4dd;
    overflow: hidden;
}

.news-event__inner {
    width: min(1655px, calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 850px) minmax(0, 780px);
    gap: 25px;
    align-items: center;
}

.news-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 850 / 480;
    overflow: hidden;
}

.news-banner__track,
.news-banner__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.news-banner__slide {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.news-banner__slide.is-active {
    opacity: 1;
    visibility: visible;
}

.news-banner__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #fff;
}

.news-banner__pagination {
    position: absolute;
    right: 50px;
    bottom: 20px;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.news-banner__pagination button {
    width: 15px;
    height: 15px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.news-banner__pagination button.is-active {
    width: 60px;
    background: #d62c15;
}

.news-panel {
    position: relative;
    width: 100%;
    height: 480px;
}

.news-panel__head {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 10px;
    margin-bottom: 10px;
}

.news-tabs {
    height: 42px;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.news-tabs__item {
    position: relative;
    min-width: 126px;
    height: 38px;
    padding: 0 16px 8px;
    border: 0;
    background: transparent;
    color: #382a12;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.news-tabs__item:nth-child(3),
.news-tabs__item:nth-child(4) {
    min-width: 136px;
}

.news-tabs__item::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    background: transparent;
}

.news-tabs__item:hover,
.news-tabs__item.is-active {
    color: #d62c15;
}

.news-tabs__item.is-active::after {
    background: #d62c15;
}

.news-panel__more {
    width: 42px;
    height: 42px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    background: #5a3502;
    color: #fff4dd;
    font-size: 38px;
    line-height: 42px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
}

.news-panel__more:hover,
.news-panel__more:focus-visible {
    filter: brightness(1.15);
}


.news-panel__list {
    position: relative;
    width: 100%;
    height: 350px;
}

.news-panel__empty {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ffedc1;
    color: #17120a;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 1720px) and (min-width: 901px) {
    .news-event {
        height: auto;
        min-height: 0;
        padding: 52px 0;
    }

    .news-event__inner {
        grid-template-columns: minmax(0, 1.09fr) minmax(0, 1fr);
    }

    .news-panel {
        height: auto;
        aspect-ratio: 780 / 480;
        min-height: 360px;
    }

    .news-tabs__item {
        min-width: 0;
        padding-left: clamp(8px, 1vw, 16px);
        padding-right: clamp(8px, 1vw, 16px);
        font-size: clamp(16px, 1.3vw, 22px);
    }

    .news-tabs__item:nth-child(3),
    .news-tabs__item:nth-child(4) {
        min-width: 0;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .news-event__inner {
        width: calc(100% - 28px);
        gap: 16px;
    }

    .news-panel__more {
        width: 36px;
        height: 36px;
        font-size: 32px;
    }

    .news-tabs__item {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .news-event {
        height: auto;
        padding: 34px 18px 42px;
        overflow: visible;
    }

    .news-event__inner {
        width: min(730px, 100%);
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 34px;
    }

    .news-banner {
        width: 100%;
        aspect-ratio: 730 / 440;
    }

    .news-banner__pagination {
        right: 24px;
        bottom: 16px;
    }

    .news-banner__pagination button {
        width: 12px;
        height: 12px;
    }

    .news-banner__pagination button.is-active {
        width: 48px;
    }

    .news-panel {
        width: 100%;
        height: auto;
    }

    .news-panel__head {
        height: auto;
        align-items: center;
        gap: 12px;
    }

    .news-tabs {
        flex: 1 1 auto;
        height: auto;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .news-tabs::-webkit-scrollbar {
        display: none;
    }

    .news-tabs__item {
        flex: 0 0 auto;
        min-width: auto;
        height: 38px;
        padding: 0 12px 8px;
        font-size: 17px;
    }

    .news-panel__more {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        margin: 0;
        font-size: 31px;
    }

    .news-panel__list {
        height: auto;
        min-height: 180px;
    }
}

/* =========================================================
   GIỚI THIỆU NHÂN VẬT - BỐ CỤC WEB GỐC
   Dùng trực tiếp asset local từ gioithieunhanvat.zip.
   Section trong suốt để ăn theo mainbackground-mobile.jpg.
   ========================================================= */
.character-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 1020;
    margin-top: -1px;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

.character-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 246, 173, .15), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,244,202,.08));
}

.character-showcase__title {
    position: absolute;
    z-index: 20;
    top: 2.2%;
    left: 50%;
    width: 50.5%;
    height: auto;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
}

.character-showcase__card {
    position: absolute;
    z-index: 12;
    left: 9.6%;
    top: 20.6%;
    width: 24.4%;
    height: 70.5%;
    padding: 3.2% 2.4% 2.1%;
    box-sizing: border-box;
    border: 2px solid rgba(225, 204, 131, .72);
    border-radius: 15px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.86), rgba(255,255,255,.26) 45%, transparent 66%),
        repeating-radial-gradient(circle at 20% 20%, rgba(212,190,123,.11) 0 1px, transparent 1px 14px),
        rgba(255, 253, 228, .80);
    box-shadow:
        inset 0 0 0 5px rgba(255, 249, 211, .42),
        0 8px 20px rgba(115, 71, 10, .08);
    backdrop-filter: blur(.3px);
}

.character-showcase__name {
    display: block;
    width: 55%;
    max-height: 31%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center top;
    user-select: none;
    pointer-events: none;
}

.character-showcase__details {
    position: absolute;
    left: 9.5%;
    right: 8%;
    top: 49%;
    color: #4c3a21;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(13px, 1.02vw, 20px);
    line-height: 1.48;
}

.character-showcase__details p {
    margin: 0 0 10px;
}

.character-showcase__details strong {
    font-weight: 700;
}

/* Nút Bộ Chiêu Thức thay cho khung video cũ */
.character-showcase__skills-button {
    position: absolute;
    left: 15.5%;
    bottom: 6.2%;
    width: 69%;
    min-height: clamp(54px, 5.2vw, 92px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 2px solid #a56b0b;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255,239,142,.98), rgba(221,147,25,.98) 48%, rgba(160,75,5,.98) 100%);
    box-shadow:
        inset 0 0 0 2px rgba(255,248,190,.72),
        inset 0 -8px 16px rgba(106,42,0,.22),
        0 4px 10px rgba(92,50,4,.22);
    color: #6b2d00;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 800;
    cursor: pointer;
    overflow: hidden;
    transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.character-showcase__skills-button::before,
.character-showcase__skills-button::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(111,45,0,.65));
    pointer-events: none;
}

.character-showcase__skills-button::before { left: 2%; }
.character-showcase__skills-button::after {
    right: 2%;
    transform: rotate(180deg);
}

.character-showcase__skills-button-icon,
.character-showcase__skills-button-arrow,
.character-showcase__skills-button-text {
    position: relative;
    z-index: 1;
}

.character-showcase__skills-button-icon {
    display: grid;
    place-items: center;
    width: clamp(34px, 3vw, 54px);
    aspect-ratio: 1;
    border: 2px solid rgba(116,49,0,.55);
    border-radius: 50%;
    background: radial-gradient(circle, #fff3a5 0 18%, #e5a127 42%, #8c3700 100%);
    color: #fff7ba;
    font-size: clamp(18px, 1.7vw, 31px);
    text-shadow: 0 1px 3px #6e2500;
}

.character-showcase__skills-button-text {
    text-align: center;
    font-size: clamp(15px, 1.25vw, 24px);
    letter-spacing: .04em;
    text-shadow: 0 1px 0 rgba(255,245,176,.72);
}

.character-showcase__skills-button-arrow {
    font-size: clamp(28px, 2.6vw, 46px);
    line-height: 1;
}

.character-showcase__skills-button:hover,
.character-showcase__skills-button:focus-visible {
    filter: brightness(1.09) saturate(1.06);
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 0 2px rgba(255,248,190,.9),
        inset 0 -8px 16px rgba(106,42,0,.18),
        0 7px 16px rgba(92,50,4,.30),
        0 0 18px rgba(255,191,42,.35);
    outline: none;
}

/* Popup toàn màn hình hiển thị bảng chiêu thức môn phái */
.character-skills-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: clamp(12px, 2.2vw, 36px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.character-skills-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.character-skills-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 5, 2, .86);
    backdrop-filter: blur(3px);
}

.character-skills-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1500px, 94vw);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #b87a19;
    border-radius: 10px;
    background: #17120c;
    box-shadow: 0 18px 70px rgba(0,0,0,.62), 0 0 0 4px rgba(255,205,72,.10);
    transform: translateY(12px) scale(.985);
    transition: transform .18s ease;
}

.character-skills-modal.is-open .character-skills-modal__dialog {
    transform: translateY(0) scale(1);
}

.character-skills-modal__bar {
    flex: 0 0 auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px 8px 18px;
    border-bottom: 1px solid rgba(222,161,51,.42);
    background: linear-gradient(180deg, #6f2608, #351408);
    color: #ffe89a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(16px, 1.2vw, 22px);
    letter-spacing: .03em;
}

.character-skills-modal__close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,221,123,.55);
    border-radius: 50%;
    background: rgba(37,10,3,.72);
    color: #ffe7a1;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.character-skills-modal__close:hover,
.character-skills-modal__close:focus-visible {
    background: #8b2f09;
    outline: none;
}

.character-skills-modal__image-wrap {
    min-height: 0;
    overflow: hidden;
    background: #070605;
}

.character-skills-modal__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(92vh - 54px);
    object-fit: contain;
    margin: 0 auto;
}

body.character-skills-modal-open {
    overflow: hidden;
}

.character-showcase__classes {
    position: absolute;
    z-index: 18;
    left: 9.4%;
    top: 21.5%;
    width: 6.6%;
    display: flex;
    flex-direction: column;
    gap: 2.1vh;
}

.character-showcase__class {
    display: block;
    width: 100%;
    aspect-ratio: 151 / 138;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: .68;
    filter: grayscale(.18) saturate(.84);
    transform-origin: center;
    transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

.character-showcase__class img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.character-showcase__class:hover,
.character-showcase__class:focus-visible,
.character-showcase__class.is-active {
    opacity: 1;
    filter: none;
    transform: scale(1.07);
}

.character-showcase__effect {
    position: absolute;
    z-index: 2;
    left: 41.4%;
    top: 17.5%;
    width: 47.5%;
    height: auto;
    opacity: .95;
    pointer-events: none;
    user-select: none;
    transition: opacity .22s ease;
}

.character-showcase__art {
    position: absolute;
    z-index: 7;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    clip-path: inset(0 0 0 34%);
    pointer-events: none;
    user-select: none;
    transition: opacity .22s ease, transform .22s ease;
}

.character-showcase__effect.is-switching,
.character-showcase__art.is-switching {
    opacity: 0;
}

.character-showcase__elements {
    position: absolute;
    z-index: 24;
    right: 4.6%;
    top: 24.2%;
    width: 7.5%;
    height: 62.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.character-showcase__elements::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 3%;
    bottom: 3%;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, rgba(191,150,67,.50) 10%, rgba(191,150,67,.50) 90%, transparent);
}

.character-showcase__element {
    position: relative;
    display: grid;
    place-items: center;
    width: min(78px, 5.2vw);
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid rgba(171, 143, 86, .30);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,.95), rgba(224,220,206,.92) 40%, rgba(150,145,136,.88) 75%, rgba(255,255,255,.78));
    box-shadow: 0 2px 10px rgba(89, 65, 25, .18), inset 0 0 0 3px rgba(255,255,255,.26);
    color: #5f5b54;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 1.7vw, 34px);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
    transform: rotate(-5deg);
    transition: transform .16s ease, filter .16s ease, color .16s ease, background .16s ease;
}

.character-showcase__element:nth-child(even) {
    transform: rotate(5deg);
}

.character-showcase__element:hover,
.character-showcase__element:focus-visible {
    transform: scale(1.08) rotate(0deg);
    filter: brightness(1.04);
}

.character-showcase__element.is-active {
    color: #b2740e;
    background:
        radial-gradient(circle at 35% 30%, #fff8c8, #f0cf68 42%, #c58a1c 76%, #fff0a2);
    border-color: rgba(180,116,5,.52);
    box-shadow: 0 0 14px rgba(255, 205, 74, .38), inset 0 0 0 3px rgba(255,248,186,.36);
}

@media (max-width: 1200px) {
    .character-showcase__card {
        left: 7.8%;
        width: 27.5%;
    }

    .character-showcase__classes {
        left: 5.4%;
        width: 9.5%;
    }

    .character-showcase__elements {
        right: 11.2%;
    }
}

@media (max-width: 900px) {
    .character-showcase {
        min-height: 980px;
        aspect-ratio: auto;
        overflow: hidden;
    }

    .character-showcase__title {
        top: 2.2%;
        width: 92%;
    }

    .character-showcase__card {
        left: 5%;
        top: 15%;
        width: 90%;
        height: 36%;
        padding: 4% 5%;
    }

    .character-showcase__name {
        width: 32%;
        margin-left: 7%;
    }

    .character-showcase__details {
        left: 43%;
        right: 5%;
        top: 16%;
        font-size: 14px;
    }

    .character-showcase__skills-button {
        left: 6%;
        bottom: 6%;
        width: 35%;
        min-height: 58px;
        padding: 7px 9px;
    }

    .character-showcase__skills-button-text {
        font-size: 13px;
    }

    .character-showcase__classes {
        left: 5%;
        top: 52%;
        width: 90%;
        flex-direction: row;
        justify-content: center;
        gap: 14px;
    }

    .character-showcase__class {
        width: 82px;
    }

    .character-showcase__effect {
        left: 8%;
        top: 58%;
        width: 84%;
    }

    .character-showcase__art {
        top: 54%;
        bottom: auto;
        height: 46%;
        object-fit: cover;
        object-position: 68% center;
        clip-path: none;
    }

    .character-showcase__elements {
        right: auto;
        left: 50%;
        top: auto;
        bottom: 2.5%;
        width: 92%;
        height: auto;
        flex-direction: row;
        transform: translateX(-50%);
    }

    .character-showcase__elements::before {
        top: 50%;
        left: 3%;
        right: 3%;
        bottom: auto;
        width: auto;
        height: 2px;
        transform: translateY(-50%);
    }

    .character-showcase__element {
        width: 56px;
        font-size: 19px;
    }
}

/* =========================================================
   BÀI VIẾT TỪ ADMIN -> TRANG CHỦ / TRANG DANH SÁCH / CHI TIẾT
   ========================================================= */
.news-post::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b48a49;
}

/* Trang nội dung dùng chung header hiện tại. */
.inner-page {
    min-height: 100vh;
    background: #f8edd5;
    color: #32271b;
}

.inner-page .site-header {
    position: relative;
    z-index: 30;
}

.content-page {
    min-height: calc(100vh - 90px);
    padding: 70px 20px 90px;
    background:
        radial-gradient(circle at 50% 0, rgba(255,255,255,.72), transparent 42%),
        #f8edd5;
}

.content-page__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.content-page__titlebar {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d7c19a;
}

.content-page__titlebar h1 {
    margin: 0;
    color: #5b3517;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.25;
}

.content-page__breadcrumb {
    margin-bottom: 10px;
    color: #9a7952;
    font-size: 14px;
}

.content-page__breadcrumb a {
    color: #b94a2c;
    text-decoration: none;
}

.post-list-page {
    display: grid;
    gap: 14px;
}

.post-list-card {
    min-height: 120px;
    padding: 18px;
    border: 1px solid #e0caa4;
    border-radius: 4px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 20px;
    background: rgba(255,255,255,.68);
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.post-list-card:hover,
.post-list-card:focus-visible {
    transform: translateY(-2px);
    border-color: #c89c55;
    box-shadow: 0 10px 25px rgba(74, 45, 16, .08);
}

.post-list-card__poster {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 3px;
    background: #e8d9bd;
}

.post-list-card__body {
    min-width: 0;
}

.post-list-card__title {
    margin: 2px 0 8px;
    color: #5b3517;
    font-size: 21px;
    line-height: 1.35;
}

.post-list-card__meta {
    margin-bottom: 9px;
    color: #9a7952;
    font-size: 13px;
}

.post-list-card__excerpt {
    margin: 0;
    color: #69543c;
    font-size: 15px;
    line-height: 1.6;
}

.content-pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.content-pagination a,
.content-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #d3b783;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.55);
    color: #68451e;
    text-decoration: none;
}

.content-pagination .is-active {
    border-color: #a56c27;
    background: #a56c27;
    color: #fff;
}

.article-card {
    padding: clamp(22px, 4vw, 52px);
    border: 1px solid #ddc59b;
    background: rgba(255,255,255,.82);
    box-shadow: 0 14px 35px rgba(77, 48, 18, .07);
}

.article-card__title {
    margin: 0 0 12px;
    color: #5a3213;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.3;
}

.article-card__meta {
    margin-bottom: 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ead9b8;
    color: #9a7952;
    font-size: 14px;
}

.article-card__poster {
    display: block;
    width: min(900px, 100%);
    max-height: 520px;
    margin: 0 auto 30px;
    object-fit: contain;
}

.article-content {
    color: #3c3024;
    font-size: 17px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100% !important;
    height: auto;
}

.article-content table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse;
}

.article-content td,
.article-content th {
    padding: 8px;
}

.article-back {
    margin-top: 30px;
}

.article-back a {
    color: #a54424;
    font-weight: 700;
    text-decoration: none;
}

.content-empty {
    padding: 55px 20px;
    border: 1px dashed #d4ba88;
    text-align: center;
    color: #91744f;
    background: rgba(255,255,255,.42);
}

@media (max-width: 900px) {
    .news-post__title {
        font-size: 14px;
    }

    .content-page {
        padding: 45px 14px 60px;
    }

    .post-list-card {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .post-list-card__poster {
        width: 100px;
        height: 78px;
    }

    .post-list-card__title {
        margin-top: 0;
        font-size: 17px;
    }

    .post-list-card__excerpt {
        display: none;
    }

    .article-card {
        padding: 20px 16px;
    }
}

/* =========================================================
   FIX V21 - DANH SÁCH BÀI VIẾT TRANG CHỦ
   Chỉ hiển thị panel của tab đang chọn và tách mỗi bài 1 dòng.
   ========================================================= */
.news-panel__content {
    display: none;
    width: 100%;
}

.news-panel__content.is-active {
    display: block;
}

.news-posts {
    width: 100%;
    display: block;
}

.news-post {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(111, 72, 20, 0.22);
    color: #46351c;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.35;
    box-sizing: border-box;
    transition: color .15s ease, background-color .15s ease, padding-left .15s ease;
}

.news-post:first-child {
    border-top: 1px solid rgba(111, 72, 20, 0.16);
}

.news-post:hover,
.news-post:focus-visible {
    padding-left: 12px;
    color: #c93a21;
    background: rgba(255, 232, 181, 0.45);
}

.news-post__title {
    min-width: 0;
    flex: 1 1 auto;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
}

.news-post__date {
    flex: 0 0 auto;
    color: #8d7955;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.news-post__pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 18px;
    margin-right: 7px;
    padding: 0 5px;
    border-radius: 2px;
    background: #c93a21;
    color: #fff7df;
    font-size: 10px;
    line-height: 18px;
    font-weight: 700;
    vertical-align: 1px;
}

.news-post.is-pinned .news-post__title {
    font-weight: 700;
}

@media (max-width: 900px) {
    .news-post {
        min-height: 42px;
        gap: 10px;
        padding: 0 4px;
        font-size: 14px;
    }

    .news-post__date {
        font-size: 12px;
    }
}

/* =========================================================
   V22 - TRANG CHI TIẾT BÀI VIẾT KIỂU SUBPAGE VLTK
   Bố cục theo trang tin gốc: header -> strip -> title -> sidebar + article.
   ========================================================= */
.article-detail-page {
    background: #f6f4ef;
}

.article-detail-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.article-top-art {
    width: 100%;
    height: clamp(320px, 25vw, 420px);
    background: url("../image/article-top-bg.jpg") center 46% / cover no-repeat;
}

.article-category-band {
    width: 100%;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #201a15 url("../image/article-title-bg.jpg") center / cover no-repeat;
    color: #fff8df;
    text-align: center;
    text-transform: uppercase;
}

.article-category-band span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(28px, 2.1vw, 42px);
    font-weight: 800;
    letter-spacing: .5px;
    text-shadow: 0 2px 2px rgba(0,0,0,.25);
}

.article-subpage {
    min-height: 760px;
    padding: 0 20px;
    background: #f5f3ef url("../image/article-page-bg.jpg") center top / 2000px auto repeat-y;
}

.article-subpage__inner {
    width: min(1200px, 100%);
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: stretch;
    background: #fff2d5;
}

.article-sidebar {
    padding: 42px 22px 50px;
    background: rgba(255, 244, 216, .72);
}

.article-sidebar__heading {
    height: 58px;
    margin-bottom: 14px;
    border: 1px solid #e6d5a4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(255,250,225,.96), rgba(efe,239,194,.96));
    color: #9b4b28;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 800;
}

.article-sidebar__posts {
    display: grid;
    gap: 20px;
}

.article-sidebar-card {
    display: block;
    border: 2px solid #69665d;
    background: #f5c94a;
    color: #7f3319;
    text-decoration: none;
    overflow: hidden;
    transition: transform .15s ease, filter .15s ease;
}

.article-sidebar-card:hover,
.article-sidebar-card:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.article-sidebar-card img,
.article-sidebar-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1.75 / 1;
    object-fit: cover;
    background: #dec58e;
}

.article-sidebar-card__caption {
    min-height: 77px;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f6c84b;
}

.article-sidebar-card__caption strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 17px;
    line-height: 1.22;
    text-transform: uppercase;
}

.article-sidebar-card__caption span {
    margin-top: 5px;
    color: #3b2c19;
    font-size: 13px;
    font-weight: 700;
}

.article-main {
    min-width: 0;
    padding: 38px 54px 70px 38px;
    background: #fff2d5;
}

.article-breadcrumb {
    min-height: 38px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(150, 102, 42, .28);
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    color: #3a2d21;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
}

.article-breadcrumb a {
    flex: 0 0 auto;
    color: #221c17;
    font-weight: 700;
}

.article-breadcrumb strong {
    overflow: hidden;
    color: #b3341c;
    font-weight: 700;
    text-overflow: ellipsis;
}

.article-breadcrumb__home {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5a5a52 !important;
    font-size: 27px;
    line-height: 1;
}

.article-heading {
    margin-bottom: 28px;
    text-align: center;
}

.article-heading h1 {
    margin: 0 0 10px;
    color: #c9341c;
    font-size: clamp(28px, 2.45vw, 40px);
    line-height: 1.18;
    font-weight: 800;
    text-transform: uppercase;
}

.article-heading__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: #c4361c;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
}

.article-heading__meta i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: block;
    background: #0c8e86;
}

.article-content--vng-style {
    color: #17130f;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.62;
}

.article-content--vng-style p {
    margin: 0 0 22px;
}

.article-content--vng-style p:empty {
    display: none;
}

.article-content--vng-style strong,
.article-content--vng-style b {
    font-weight: 800;
}

.article-content--vng-style a {
    color: #0968bc;
    text-decoration: none;
}

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

.article-content--vng-style ul,
.article-content--vng-style ol {
    margin: 10px 0 24px 28px;
    padding: 0;
}

.article-content--vng-style ul {
    list-style: disc;
}

.article-content--vng-style ol {
    list-style: decimal;
}

.article-content--vng-style li {
    margin: 8px 0;
    padding-left: 2px;
}

.article-content--vng-style img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 18px auto 24px;
}

.article-content--vng-style iframe,
.article-content--vng-style video {
    display: block;
    max-width: 100% !important;
    margin: 18px auto 24px;
}

.article-content--vng-style table {
    width: auto !important;
    max-width: 100%;
    margin: 20px auto 28px;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
    line-height: 1.35;
}

.article-content--vng-style th,
.article-content--vng-style td {
    min-width: 64px;
    padding: 12px 14px;
    border: 1px solid #b9b6ae;
    text-align: center;
    vertical-align: middle;
}

.article-content--vng-style th {
    background: #a8352c;
    color: #fff;
    font-weight: 800;
}

.article-not-found {
    grid-column: 1 / -1;
    min-height: 420px;
    padding: 90px 30px;
    text-align: center;
    color: #8e5e35;
    font-size: 20px;
}

@media (max-width: 1050px) {
    .article-subpage__inner {
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .article-sidebar {
        padding-left: 14px;
        padding-right: 14px;
    }

    .article-sidebar__heading {
        font-size: 21px;
    }

    .article-main {
        padding: 32px 28px 55px;
    }
}

@media (max-width: 900px) {
    .article-detail-page .site-header {
        position: relative;
    }

    .article-top-art {
        height: clamp(180px, 32vw, 280px);
    }

    .article-category-band {
        height: 68px;
    }

    .article-subpage {
        padding: 0;
        background-size: auto 1500px;
    }

    .article-subpage__inner {
        display: block;
        width: 100%;
    }

    .article-sidebar {
        padding: 20px 14px;
    }

    .article-sidebar__heading {
        height: 48px;
        font-size: 20px;
    }

    .article-sidebar__posts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .article-sidebar-card {
        border-width: 1px;
    }

    .article-sidebar-card__caption {
        min-height: 62px;
        padding: 8px;
    }

    .article-sidebar-card__caption strong {
        font-size: 12px;
    }

    .article-sidebar-card__caption span {
        font-size: 10px;
    }

    .article-main {
        padding: 24px 16px 45px;
    }

    .article-breadcrumb {
        gap: 8px;
        font-size: 12px;
    }

    .article-heading__meta {
        font-size: 13px;
    }

    .article-content--vng-style {
        font-size: 16px;
        line-height: 1.62;
    }

    .article-content--vng-style table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        font-size: 13px;
    }

    .article-content--vng-style th,
    .article-content--vng-style td {
        min-width: 72px;
        padding: 8px;
    }
}

@media (max-width: 560px) {
    .article-sidebar__posts {
        grid-template-columns: 1fr;
    }

    .article-sidebar-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .article-sidebar-card img,
    .article-sidebar-card__placeholder {
        height: 86px;
        aspect-ratio: auto;
    }

    .article-sidebar-card__caption {
        min-height: 86px;
    }
}

/* =========================================================
   BỘ CHIÊU THỨC MÔN PHÁI - V26
   ========================================================= */
.char-tabs__label {
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0 !important;
    word-spacing: 0 !important;
    font-kerning: normal;
}

/* Giữ chữ Thiếu Lâm nguyên một cụm, tránh render tách kỳ lạ ở một số font/browser. */
.char-tabs__item:first-child .char-tabs__label {
    min-width: max-content;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.skill-modal-open {
    overflow: hidden;
}

.skill-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 34px 70px;
    background: rgba(0, 0, 0, .83);
    backdrop-filter: blur(1.5px);
}

.skill-modal.is-open {
    display: flex;
}

.skill-modal__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(88vw, 1420px);
    max-height: calc(100vh - 68px);
}

.skill-modal__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 68px);
    object-fit: contain;
    box-shadow: 0 16px 60px rgba(0, 0, 0, .48);
}

.skill-modal__close {
    position: fixed;
    z-index: 2;
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: rgba(18, 18, 18, .72);
    color: #fff;
    font: 300 42px/44px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.skill-modal__close:hover,
.skill-modal__close:focus-visible {
    background: rgba(196, 55, 34, .95);
    transform: scale(1.04);
    outline: 0;
}

@media (max-width: 900px) {
    .skill-modal {
        padding: 54px 12px 18px;
        overflow: auto;
    }

    .skill-modal__panel {
        width: 100%;
        max-height: none;
    }

    .skill-modal__image {
        width: 100%;
        max-height: none;
    }

    .skill-modal__close {
        top: 8px;
        right: 8px;
        width: 42px;
        height: 42px;
        font-size: 36px;
        line-height: 38px;
    }
}


/* =========================================================
   FIX FONT TIẾNG VIỆT TÊN MÔN PHÁI - V27
   Georgia trên một số Chrome/Windows render ký tự ế sai vị trí dấu.
   ========================================================= */
.char-tabs__item,
.char-tabs__label {
    font-family: "Times New Roman", Times, serif !important;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* =========================================================
   HERO EMBERS / TIA LỬA BAY
   Viết mới hoàn toàn, dùng CSS + JS local, không phụ thuộc domain ngoài.
   ========================================================= */
.hero__embers {
    position: absolute;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
}

.hero__ember {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border-radius: 999px;
    opacity: 0;
    transform-origin: 50% 50%;
    background: linear-gradient(
        180deg,
        rgba(255,255,220,.98) 0%,
        rgba(255,236,120,.98) 16%,
        rgba(255,153,34,.98) 52%,
        rgba(225,65,8,.45) 78%,
        rgba(180,35,3,0) 100%
    );
    box-shadow:
        0 0 5px rgba(255,240,160,.92),
        0 0 11px rgba(255,154,35,.82),
        0 0 22px rgba(255,74,8,.42);
    filter: blur(var(--blur));
    animation: tnghHeroEmberRise var(--duration) cubic-bezier(.18,.58,.24,1) var(--delay) infinite;
    will-change: transform, opacity;
}

.hero__ember::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 55%;
    width: max(2px, calc(var(--w) * .52));
    height: calc(var(--h) * 1.7);
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(255,125,18,.56), rgba(255,60,4,0));
    filter: blur(1px);
}

.hero__ember.is-flare {
    box-shadow:
        0 0 7px rgba(255,247,175,1),
        0 0 17px rgba(255,145,25,.95),
        0 0 34px rgba(255,58,4,.6);
}

@keyframes tnghHeroEmberRise {
    0% {
        transform: translate3d(0, 42px, 0) rotate(var(--angle)) scale(.42);
        opacity: 0;
    }
    7% {
        opacity: .95;
    }
    26% {
        transform: translate3d(var(--drift1), -82px, 0) rotate(calc(var(--angle) + 22deg)) scale(.8);
        opacity: .98;
    }
    58% {
        transform: translate3d(var(--drift2), -220px, 0) rotate(calc(var(--angle) - 16deg)) scale(1.04);
        opacity: .76;
    }
    100% {
        transform: translate3d(var(--drift3), var(--rise), 0) rotate(calc(var(--angle) + var(--spin))) scale(.62);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .hero__ember {
        opacity: .9;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__ember {
        animation: none !important;
        display: none !important;
    }
}


/* =========================================================
   HOME NEWS V3 - GIỐNG HÌNH 2, GIỮ KHUNG SLIDER CŨ
   Chỉ áp dụng cho #newsEvent ngoài trang chủ.
   ========================================================= */
#newsEvent.news-event {
    position: relative;
    width: 100%;
    min-height: 670px;
    padding: 86px 0 58px;
    overflow: hidden;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

#newsEvent.news-event::before,
#newsEvent.news-event::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

#newsEvent .news-event__inner {
  position: relative;
  background: url(../image/bangtt-bg.png) top center no-repeat;
  background-size: contain;
  width: 100%;
  height: 33vw;
  padding: 4.425vw 17vw 1vw 17vw;
  z-index: 1;
}

/* Giữ khung slider bên trái, dùng poster local ổn định bên trong */
#newsEvent .news-banner {
    position: absolute;
    left: 19.1%;
    top: 17.5%;
    width: 26.2%;
    height: 47.1%;
    overflow: hidden;
    border: 1px solid rgba(163, 103, 25, .65);
    background: url('../posters/f2c4ce5b.jpg') center center / cover no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}

#newsEvent .news-banner__track,
#newsEvent .news-banner__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Ẩn bộ slide tạm vì source hiện tại không có file news-banner-* ổn định. */
#newsEvent .news-banner__slide,
#newsEvent .news-banner__slide.is-active,
#newsEvent .news-banner__slide img,
#newsEvent .news-banner__pagination {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#newsEvent .news-panel {
    position: absolute;
    left: 46.1%;
    top: 17.0%;
    width: 34.8%;
    height: 65.5%;
    min-height: 0;
    color: #4a2e0e;
}

#newsEvent .news-panel__head {
    position: static;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    display: block;
}

#newsEvent .news-tabs {
    width: 100%;
    height: 39px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
}

#newsEvent .news-tabs__item,
#newsEvent .news-tabs__item:nth-child(3),
#newsEvent .news-tabs__item:nth-child(4) {
    min-width: 0;
    width: 100%;
    height: 38px;
    padding: 0 8px;
    border: 1px solid #c88a2e;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff9df 0%, #fff0bd 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
    color: #9a5a12;
    font-size: clamp(13px, .95vw, 16px);
    line-height: 36px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

#newsEvent .news-tabs__item::after {
    display: none;
}

#newsEvent .news-tabs__item:hover,
#newsEvent .news-tabs__item.is-active {
    color: #fffdf2;
    background: linear-gradient(180deg, #ffc443 0%, #e48d08 100%);
    border-color: #e49a1b;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 1px 2px rgba(93,45,0,.20);
}

#newsEvent .news-panel__list {
    position: relative;
    width: 100%;
    height: calc(100% - 52px);
    min-height: 0;
    padding-bottom: 66px;
    box-sizing: border-box;
}

#newsEvent .news-panel__content {
    display: none;
    width: 100%;
    height: 100%;
}

#newsEvent .news-panel__content.is-active {
    display: block;
}

#newsEvent .news-posts {
    width: 100%;
    display: block;
}

#newsEvent .news-post {
    position: relative;
    width: 100%;
    min-height: 47px;
    padding: 0 4px 0 0;
    border-top: 0;
    border-bottom: 1px solid rgba(179, 112, 29, .52);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    box-sizing: border-box;
    color: #392615;
    background: transparent;
    text-decoration: none;
    transition: color .14s ease, padding-left .14s ease;
}

#newsEvent .news-post:nth-child(n+6) {
    display: none;
}

#newsEvent .news-post::before {
    content: "";
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: 0;
    border-radius: 50%;
    background: #b98536;
}

#newsEvent .news-post:hover,
#newsEvent .news-post:focus-visible {
    padding-left: 5px;
    color: #b74716;
    background: transparent;
}

#newsEvent .news-post__title {
    min-width: 0;
    flex: 1 1 auto;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(13px, .96vw, 16px);
    line-height: 1.2;
    font-weight: 600;
}

#newsEvent .news-post__date {
    flex: 0 0 auto;
    color: #765c35;
    font-size: clamp(11px, .82vw, 14px);
    font-weight: 500;
    white-space: nowrap;
}

#newsEvent .news-post__pin {
    display: none;
}

#newsEvent .news-panel__empty {
    padding: 18px 0;
    font-size: 15px;
    color: #7e6140;
}

#newsEvent .news-panel__more {
    position: absolute;
    /* .news-panel__list bắt đầu sau hàng tab 53px, nên kéo nút lên ngang tab */
    top: 45px;
    right: -54px;
    bottom: auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #e6b65b;
    border-radius: 3px;
    background: linear-gradient(145deg, #8b5109 0%, #4f2a02 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 231, 154, .35),
        0 2px 5px rgba(69, 31, 0, .28);
    color: transparent;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
    transform: rotate(45deg);
    transform-origin: center;
    transition: filter .14s ease, transform .14s ease;
    z-index: 5;
}

#newsEvent .news-panel__more::before {
    content: "+";
    display: block;
    color: #fff3c4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(77, 35, 0, .75);
    transform: rotate(-45deg) translateY(-1px);
}

#newsEvent .news-panel__more:hover,
#newsEvent .news-panel__more:focus-visible {
    filter: brightness(1.12);
    transform: rotate(45deg) scale(1.07);
    outline: none;
}

@media (max-width: 1200px) {
    #newsEvent.news-event {
        min-height: 560px;
        padding: 70px 0 44px;
    }

    #newsEvent .news-event__inner {
        width: min(1510px, 95vw);
    }

    #newsEvent .news-tabs {
        gap: 6px;
    }

    #newsEvent .news-tabs__item,
    #newsEvent .news-tabs__item:nth-child(3),
    #newsEvent .news-tabs__item:nth-child(4) {
        font-size: 13px;
    }
}

@media (max-width: 900px) {
    #newsEvent.news-event {
        min-height: auto;
        padding: 26px 0 20px;
    }

    #newsEvent .news-event__inner {
        width: min(700px, 94vw);
        aspect-ratio: auto;
        background: none;
        display: grid;
        gap: 14px;
    }

    #newsEvent .news-banner,
    #newsEvent .news-panel {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
    }

    #newsEvent .news-banner {
        min-height: 220px;
    }

    #newsEvent .news-panel {
        padding: 16px;
        border-radius: 12px;
        background: rgba(255, 248, 225, .85);
        border: 1px solid rgba(200, 138, 46, .35);
        box-shadow: 0 8px 24px rgba(88, 40, 0, .08);
    }

    #newsEvent .news-tabs__item,
    #newsEvent .news-tabs__item:nth-child(3),
    #newsEvent .news-tabs__item:nth-child(4) {
        height: 36px;
        line-height: 34px;
        font-size: 13px;
    }

    #newsEvent .news-panel__list {
        height: auto;
        min-height: 0;
        padding-bottom: 48px;
    }

    #newsEvent .news-post {
        min-height: 42px;
    }

    #newsEvent .news-post__title {
        font-size: 14px;
    }

    #newsEvent .news-post__date {
        font-size: 12px;
    }

    #newsEvent .news-panel__more {
        top: auto;
        right: 2px;
        bottom: 2px;
        width: 34px;
        height: 34px;
        font-size: 0;
    }

    #newsEvent .news-panel__more::before {
        font-size: 27px;
    }
}

/* =========================================================
   FIX CUỐI: XÓA ĐƯỜNG NỐI HERO -> NEWS
   Nguyên nhân: style.css của patch News đã bật lại .hero__background,
   làm phần Hero dùng 1 ảnh riêng trong khi phần dưới nhìn xuyên xuống
   mainbackground-mobile.jpg. Hai lớp gặp nhau tại đáy Hero tạo đường ngang.
   Giải pháp: chỉ dùng DUY NHẤT mainbackground-mobile.jpg trên <main>.
   ========================================================= */
main {
    background-image: url('../image/mainbackground-mobile.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: 100% auto !important;
    background-color: transparent !important;
}

/* Tắt ảnh nền riêng của Hero để không còn ghép/crop 2 ảnh tại mép section. */
.hero > .hero__background,
.hero__background {
    display: none !important;
    visibility: hidden !important;
}

/* Section tin tức chỉ chứa nội dung/khung, không được tự tô một nền khác. */
/* Không tạo một vạch nền ở ranh giới 2 section. */
.hero + #newsEvent.news-event {
    margin-top: 0 !important;
}

@media (max-width: 900px) {
    main {
        background-image: url('../image/bgmb-detail.png') !important;
        background-repeat: no-repeat !important;
        background-position: center top !important;
        background-size: 100% auto !important;
    }
}

/* Không tạo border/box-shadow từ pseudo-element của Hero. */
.hero::before,
.hero::after {
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   TÍNH NĂNG ĐẶC SẮC - COVERFLOW SLIDER THEO WEB GỐC
   Asset local: assets/image/feature-slider/
   ========================================================= */
.feature-section {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 865px;
    overflow: hidden;
    isolation: isolate;

    /* Không dùng nền đỏ riêng. Section trong suốt để hiển thị
       trực tiếp background gốc mainbackground-mobile.jpg của <main>. */
    background: transparent !important;
    background-image: none !important;
}

/* Xóa toàn bộ lớp phủ đỏ/tối cũ để không đổi màu background gốc. */
.feature-section::before,
.feature-section::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.feature-section__title {
    position: relative;
    z-index: 10;
    display: block;
    width: min(520px, 45vw);
    height: auto;
    margin: 117px auto 8px; /* Dời nguyên cụm title + slider xuống 75px */
    pointer-events: none;
    user-select: none;
}

.feature-slider {
    position: relative;
    z-index: 5;
    width: min(1510px, 96vw);
    height: 535px;
    margin: 6px auto 0;
}

.feature-slider__stage {
    position: absolute;
    inset: 0 92px;
    overflow: visible;
    perspective: 1400px;
}

.feature-slider__slide {
    --feature-x: 0px;
    --feature-scale: .60;
    --feature-rotate: 0deg;
    --feature-opacity: 0;
    --feature-z: 0;
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(580px, 42vw);
    aspect-ratio: 1557 / 1172;
    transform:
        translate(-50%, -50%)
        translateX(var(--feature-x))
        scale(var(--feature-scale))
        rotateY(var(--feature-rotate));
    transform-origin: center center;
    opacity: var(--feature-opacity);
    z-index: var(--feature-z);
    filter: brightness(.58) saturate(.78);
    transition:
        transform .58s cubic-bezier(.2,.75,.2,1),
        opacity .42s ease,
        filter .42s ease;
    pointer-events: none;
    will-change: transform, opacity;
}

.feature-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.feature-slider__slide[data-pos="0"] {
    --feature-x: 0px;
    --feature-scale: 1;
    --feature-rotate: 0deg;
    --feature-opacity: 1;
    --feature-z: 7;
    filter: none;
    pointer-events: auto;
}

.feature-slider__slide[data-pos="-1"] {
    --feature-x: clamp(-370px, -24vw, -260px);
    --feature-scale: .76;
    --feature-rotate: 1.5deg;
    --feature-opacity: .82;
    --feature-z: 5;
}

.feature-slider__slide[data-pos="1"] {
    --feature-x: clamp(260px, 24vw, 370px);
    --feature-scale: .76;
    --feature-rotate: -1.5deg;
    --feature-opacity: .82;
    --feature-z: 5;
}

.feature-slider__slide[data-pos="-2"] {
    --feature-x: clamp(-560px, -36vw, -400px);
    --feature-scale: .62;
    --feature-rotate: 2.5deg;
    --feature-opacity: .55;
    --feature-z: 3;
}

.feature-slider__slide[data-pos="2"] {
    --feature-x: clamp(400px, 36vw, 560px);
    --feature-scale: .62;
    --feature-rotate: -2.5deg;
    --feature-opacity: .55;
    --feature-z: 3;
}

.feature-slider__slide[data-pos="-3"],
.feature-slider__slide[data-pos="3"] {
    --feature-opacity: 0;
    --feature-z: 1;
}

.feature-slider__arrow {
    position: absolute;
    top: 48%;
    z-index: 20;
    width: 62px;
    height: 86px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    transition: filter .18s ease, transform .18s ease;
}

.feature-slider__arrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,.28));
}

.feature-slider__arrow--prev { left: 12px; }
.feature-slider__arrow--next { right: 12px; }
.feature-slider__arrow--prev img { transform: rotate(180deg); }

.feature-slider__arrow:hover,
.feature-slider__arrow:focus-visible {
    filter: brightness(1.18) drop-shadow(0 0 8px rgba(255, 186, 71, .35));
    outline: none;
}

.feature-slider__arrow:hover { transform: translateY(-50%) scale(1.07); }

.feature-slider__pagination {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: -3px auto 0;
}

.feature-slider__pagination button {
    position: relative;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 3px solid #fff4bd;
    background: transparent;
    transform: rotate(45deg);
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(123, 58, 17, .38);
    transition: background .18s ease, transform .18s ease, filter .18s ease;
}

.feature-slider__pagination button::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 244, 189, .72);
}

.feature-slider__pagination button.is-active {
    background: #f3b128;
    transform: rotate(45deg) scale(1.12);
    filter: drop-shadow(0 0 5px rgba(255, 181, 42, .38));
}

.feature-slider__pagination button:focus-visible {
    outline: 2px solid #fff3b7;
    outline-offset: 5px;
}

@media (max-width: 1200px) {
    .feature-section { min-height: 680px; }
    .feature-section__title { width: min(470px, 54vw); margin-top: 34px; }
    .feature-slider { height: 460px; }
    .feature-slider__stage { left: 70px; right: 70px; }
    .feature-slider__slide { width: min(520px, 48vw); }
    .feature-slider__arrow { width: 50px; height: 70px; }
    .feature-slider__arrow--prev { left: 6px; }
    .feature-slider__arrow--next { right: 6px; }
    .feature-slider__pagination { gap: 16px; }
    .feature-slider__pagination button { width: 21px; height: 21px; }
}

@media (max-width: 900px) {
    .feature-section {
        min-height: 0;
        padding: 28px 0 34px;
    }

    .feature-section__title {
        width: min(430px, 78vw);
        margin: 0 auto 10px;
    }

    .feature-slider {
        width: 100%;
        height: auto;
        min-height: 420px;
        margin-top: 0;
    }

    .feature-slider__stage {
        inset: 0 38px;
        min-height: 385px;
    }

    .feature-slider__slide {
        top: 50%;
        width: min(560px, 76vw);
    }

    .feature-slider__slide[data-pos="-1"] {
        --feature-x: -34vw;
        --feature-scale: .66;
        --feature-opacity: .42;
    }
    .feature-slider__slide[data-pos="1"] {
        --feature-x: 34vw;
        --feature-scale: .66;
        --feature-opacity: .42;
    }
    .feature-slider__slide[data-pos="-2"],
    .feature-slider__slide[data-pos="2"] { --feature-opacity: 0; }

    .feature-slider__arrow {
        top: 50%;
        width: 38px;
        height: 54px;
    }

    .feature-slider__arrow--prev { left: 4px; }
    .feature-slider__arrow--next { right: 4px; }

    .feature-slider__pagination {
        margin-top: -8px;
        gap: 13px;
    }

    .feature-slider__pagination button {
        width: 17px;
        height: 17px;
        border-width: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-slider__slide,
    .feature-slider__arrow,
    .feature-slider__pagination button {
        transition: none !important;
    }
}

/* =========================================================
   FOOTER GIỐNG TINHTRONGTHIENHA.VN
   Chỉ áp dụng cho footer mới ở cuối trang chủ.
   ========================================================= */
.site-footer-original {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 560px;
    padding: 58px 20px 34px;
    overflow: hidden;
    color: #fff5d4;
    background:
        radial-gradient(circle at 50% -25%, rgba(145, 38, 20, .16), transparent 42%),
        linear-gradient(180deg, #2b0502 0%, #210302 58%, #2a0703 100%);
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.site-footer-original::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 25%, rgba(255, 128, 53, .045), transparent 20%),
        radial-gradient(circle at 88% 70%, rgba(255, 97, 34, .035), transparent 24%);
}

.site-footer-original__inner {
    position: relative;
    z-index: 1;
    width: min(1040px, 86vw);
    margin: 0 auto;
}

.site-footer-original__product {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    width: 760px;
    max-width: 100%;
    margin: 0 auto;
}

.site-footer-original__app {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer-original__app img {
    width: 145px;
    height: 145px;
    object-fit: contain;
    display: block;
}

.site-footer-original__specs {
    display: grid;
    gap: 17px;
    font-size: 15px;
    line-height: 1.23;
}

.site-footer-original__spec-row {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.site-footer-original__spec-row strong {
    color: #fff3d3;
    font-weight: 700;
}

.site-footer-original__spec-row span {
    color: #fff3d3;
    font-weight: 700;
}

.site-footer-original__social {
    width: min(950px, 96%);
    margin: 52px auto 0;
    display: grid;
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
    align-items: center;
    gap: 26px;
    text-align: center;
}

.site-footer-original__social a {
    color: #ffe628;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 5px;
    text-shadow: 0 1px 1px rgba(0,0,0,.35);
    transition: filter .16s ease, transform .16s ease;
}

.site-footer-original__social a:hover {
    filter: brightness(1.25);
    transform: translateY(-1px);
}

.site-footer-original__social i {
    width: 1px;
    height: 22px;
    display: block;
    background: #ffe628;
    box-shadow: 0 0 5px rgba(255, 230, 40, .25);
}

.site-footer-original__partners {
    margin: 34px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-footer-original__partners img {
    width: 260px;
    max-width: 70vw;
    height: auto;
    display: block;
    mix-blend-mode: screen;
}

.site-footer-original__legal {
    margin: 30px auto 0;
    text-align: center;
    color: #fff5d9;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.site-footer-original__legal p {
    margin: 10px 0 0;
}

.site-footer-original__privacy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 13px !important;
}

.site-footer-original__privacy a {
    color: #fff5d9;
    text-decoration: none;
}

.site-footer-original__privacy a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .site-footer-original {
        min-height: 0;
        padding: 44px 18px 28px;
    }

    .site-footer-original__inner {
        width: min(760px, 94vw);
    }

    .site-footer-original__product {
        width: 100%;
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 28px;
    }

    .site-footer-original__app img {
        width: 118px;
        height: 118px;
    }

    .site-footer-original__spec-row {
        grid-template-columns: 170px minmax(0, 1fr);
        gap: 15px;
    }

    .site-footer-original__social {
        gap: 14px;
    }

    .site-footer-original__social a {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

@media (max-width: 620px) {
    .site-footer-original__product {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .site-footer-original__specs {
        width: 100%;
        gap: 12px;
        font-size: 13px;
    }

    .site-footer-original__spec-row {
        grid-template-columns: 42% 1fr;
        gap: 10px;
    }

    .site-footer-original__social {
        grid-template-columns: 1fr 1fr;
        gap: 16px 22px;
        margin-top: 36px;
    }

    .site-footer-original__social i {
        display: none;
    }

    .site-footer-original__partners {
        margin-top: 28px;
    }

    .site-footer-original__partners img {
        width: 220px;
    }

    .site-footer-original__legal {
        font-size: 12px;
        line-height: 1.4;
    }
}


/* =========================================================
   FOOTER - thay khối logo đối tác + pháp lý bằng text thương hiệu
   ========================================================= */
.site-footer-original__partners,
.site-footer-original__legal,
.site-footer-original__privacy {
    display: none !important;
}

.site-footer-original__brand-text {
    width: 100%;
    margin: 34px auto 12px;
    text-align: center;
    color: #f8dc8b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 2.4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 2px;
    text-shadow:
        0 2px 0 rgba(73, 21, 8, .95),
        0 0 12px rgba(255, 185, 44, .28);
}

@media (max-width: 768px) {
    .site-footer-original__brand-text {
        margin-top: 24px;
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: 1px;
    }
}
