/* =========================================
   1. CSS VARIABLES (Biến màu sắc & Font)
   ========================================= */
:root {
    /* Font */
    --global-font: 'Neue Frutiger World', Tahoma, sans-serif;
    
    /* Màu sắc (Override sang Dark Mode theo yêu cầu) */
    --primary-color: #ef4757;       /* Màu đỏ hồng chủ đạo */
    --primary-hover-color: #d13639;
    
    /* Màu nền & Box */
    --bg-color: #1a1a1a;           /* Nền body tối */
    --bg-header: #000000;          /* Nền header đen */
    --bg-layout: #121212;          /* Nền bao quanh */
    --bg-card: #1f1f1f;            /* Nền thẻ */
    --input-disable-color: #2a2a2a;/* Nền ô input/icon (Xám tối) */
    
    /* Màu chữ */
    --text-color: #ffffff;         /* Chữ trắng */
    --text-title-color: #f9f9f9;   /* Tiêu đề */
    --text-blur: #a7abc3;          /* Chữ mờ */
    
    /* Trạng thái */
    --invalid-color: #ef4757;      /* Màu đỏ lỗi/badge */
    --border-default-color: #333333;
}

/* =========================================
   2. RESET & TYPOGRAPHY
   ========================================= */
* { box-sizing: border-box; }

body {
    font-family: var(--global-font); /* Dùng font khai báo trong biến */
    background: #000000 url("https://cdn3.upanh.info/upload/server-sw3/images/d94d400.jpg") no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul, li { list-style: none; margin: 0; padding: 0; }

/* =========================================
   3. UTILITY CLASSES (Hỗ trợ hiển thị)
   ========================================= */
.container { max-width: 1264px; margin: 0 auto; padding: 0 16px; }
.d-none { display: none; }
.d-flex { display: flex; }
.d-md-flex { display: none; }
.d-lg-block { display: none; }
.d-lg-none { display: none; }
.d-md-block { display: block; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.position-relative { position: relative; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.fw-700 { font-weight: 700; }
.fw-500 { font-weight: 500; }
.c-ml-16 { margin-left: 16px; }
.c-mr-16 { margin-right: 16px; }

/* Responsive Bootstrap Fake */
@media (max-width: 991.98px) {
    .d-lg-block { display: none !important; }
    .d-lg-none { display: block !important; }
    .d-lg-none.d-flex { display: flex !important; }
    .d-lg-flex { display: none !important; }
}
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-none { display: none !important; }
}

/* =========================================
   4. BOOTSTRAP DARK OVERRIDE (giống pubg.shoprito)
   ========================================= */
.text-muted { color: var(--text-blur) !important; }
.bg-secondary-subtle { background-color: var(--input-disable-color); }
.bg-primary { background-color: var(--primary-color) !important; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gy-4 { --bs-gutter-y: 1.5rem; }
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-0.5 * var(--bs-gutter-x)); margin-left: calc(-0.5 * var(--bs-gutter-x)); }
.row > * { padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5); margin-top: var(--bs-gutter-y); }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
    .d-md-flex { display: flex !important; }
}
@media (min-width: 992px) {
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
}
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.rounded-3 { border-radius: 0.5rem !important; }
.rounded-top-3 { border-radius: 0.5rem 0.5rem 0 0 !important; }
.rounded-pill { border-radius: 50rem !important; }
.small { font-size: 0.875rem; }
.flex-grow-1 { flex-grow: 1; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-center { justify-content: center !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-warning { color: #ffc107 !important; }
.text-md-end { text-align: left !important; }
@media (min-width: 768px) {
    .text-md-end { text-align: right !important; }
    .mt-md-0 { margin-top: 0 !important; }
}

/* =========================================
   5. BANNER SECTION (Slider / Carousel)
   ========================================= */
.banner-section .banner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}
.banner-section .banner-wrapper img,
.banner-section .banner-slide-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 370;
    object-fit: cover;
}
/* Carousel dark theme */
.banner-section .carousel {
    background: var(--bg-card);
}
.banner-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
}
.banner-section .carousel-indicators .active {
    background-color: var(--primary-color);
}
/* Nút slider giống Rito: dạng pill, nền trong mờ xám-tím, mũi tên trắng */
.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    bottom: auto;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}
.banner-section .carousel:hover .carousel-control-prev,
.banner-section .carousel:hover .carousel-control-next {
    opacity: 1;
    visibility: visible;
}
.banner-section .carousel-control-prev {
    left: 0;
    transform: translateY(-50%);
}
.banner-section .carousel-control-next {
    right: 0;
    transform: translateY(-50%);
}
.banner-section .carousel-control-prev-icon,
.banner-section .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(220, 222, 233, 0.5);
    background-image: url("https://pubg.shoprito.com/assets/frontend/theme_rito/image/svg/navigation-swiper.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    border-radius: 0 100% 100% 0;
    padding: 0;
}
.banner-section .carousel-control-next-icon {
    transform: rotate(180deg);
}
.visually-hidden { 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; }

/* =========================================
   5b. PROMO BANNERS — giống 100% pubg.shoprito.com
   (4 hàng, mỗi hàng 2 ảnh, 1200x370, không bo góc, khoảng cách chuẩn Rito)
   ========================================= */
.promo-banners-section {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.promo-banners-container {
    margin-bottom: 0;
}
.promo-banners-row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
.promo-banners-row > .promo-banners-col {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
@media (min-width: 992px) {
    .promo-banners-row > .promo-banners-col {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}
.promo-banners-section .promo-banner-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.2s;
}
.promo-banners-section .promo-banner-card:hover {
    opacity: 0.92;
}
/* Rito: width="1200" height="370", tỉ lệ cố định */
.promo-banners-section .promo-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1200 / 370;
    vertical-align: middle;
}
@media (min-width: 992px) {
    /* Chiều cao thực tế trên desktop khoảng 120px như Rito */
    .promo-banners-section .promo-banner-img {
        height: 120px;
        max-height: 120px;
    }
}
@media (max-width: 991px) {
    .promo-banners-col {
        flex: 0 0 auto;
        width: 100%;
    }
}
@media (max-width: 767.98px) {
    .banner-section {
        padding-top: 0.75rem !important;
        padding-bottom: 0.5rem !important;
    }
    .banner-section .banner-wrapper {
        border-radius: 10px;
    }
    .banner-section .carousel-control-prev,
    .banner-section .carousel-control-next {
        width: 34px;
        height: 34px;
        opacity: 1;
        visibility: visible;
    }
    .banner-section .carousel-control-prev-icon,
    .banner-section .carousel-control-next-icon {
        width: 34px;
        height: 34px;
        background-size: 10px 10px;
    }
    .banner-section .carousel-indicators {
        margin-bottom: 0.35rem;
    }
    .banner-section .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
    .promo-banners-section {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .promo-banners-row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    .promo-banners-row > .promo-banners-col {
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }
    .promo-banners-section .promo-banner-card {
        border-radius: 10px;
    }
}

/* =========================================
   6. IDOL PR ĐẢM BẢO UY TÍN (giống Rito, chỉ ảnh idol)
   ========================================= */
.idol-pr-title {
    margin: 0 0 16px;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-title-color);
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
}
.idol-scroll-container {
    width: 100%;
    overflow: hidden;
    --idol-gap: 16px;
    --idol-slide-width: calc((min(1320px, calc(100vw - 24px)) - var(--idol-gap) - var(--idol-gap) - var(--idol-gap)) / 4);
}
.idol-scroll-track {
    display: flex;
    align-items: stretch;
    gap: var(--idol-gap);
    width: max-content;
}
.idol-scroll-track.is-animated {
    animation: idolMarquee var(--idol-duration, 24s) linear infinite;
    will-change: transform;
}
.idol-scroll-group {
    display: flex;
    flex-shrink: 0;
    gap: var(--idol-gap);
}
.idol-scroll-slide {
    flex: 0 0 var(--idol-slide-width);
    min-width: var(--idol-slide-width);
}
.idol-scroll-slide a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.idol-scroll-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    height: auto;
    margin: 0;
    object-fit: cover;
    border-radius: 0;
}
@keyframes idolMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - (var(--idol-gap) / 2)));
    }
}
@media (max-width: 991.98px) {
    .idol-scroll-container {
        --idol-gap: 14px;
        --idol-slide-width: calc((100vw - 24px - var(--idol-gap)) / 2);
    }
}
@media (max-width: 768px) {
    .idol-pr-title {
        font-size: 20px;
        line-height: 28px;
    }
    .idol-scroll-container {
        --idol-gap: 12px;
        --idol-slide-width: calc((100vw - 24px - var(--idol-gap)) / 2);
    }
}

/* =========================================
   7. HOME CATEGORY SECTIONS (2 block kiểu Rito)
   ========================================= */
.home-category-section {
    padding: 18px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.home-account-showcase .home-category-section {
    border-top: none;
}
.home-category-section:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.home-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.home-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
.home-category-title-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.home-category-link {
    color: #f5c001;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    white-space: nowrap;
}
.home-category-link:hover {
    color: #ffd65e;
}
.home-category-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.home-category-item {
    min-width: 0;
}
.home-category-card {
    height: 100%;
    background: #050505;
    border: 1px solid #b07f1f;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.18);
}
.home-category-card-body {
    height: 100%;
    padding: 16px 12px 12px;
}
.home-category-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home-category-card-thumb {
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 10px;
    background: #111111;
}
.home-category-card-image {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s linear;
}
.home-category-card:hover .home-category-card-image {
    transform: scale(1.06);
}
.home-category-card-attr {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.home-category-card-name {
    margin-bottom: auto;
    color: #f5c001;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-category-card-count {
    margin-top: 8px;
    color: #d88f2a;
    font-size: 13px;
    line-height: 20px;
}
@media (max-width: 1199px) {
    .home-category-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .home-category-header {
        align-items: flex-start;
    }
    .home-category-title {
        font-size: 18px;
        line-height: 24px;
    }
    .home-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .home-category-card-body {
        padding: 12px 10px 10px;
    }
    .home-category-card-image {
        height: 96px;
    }
    .home-category-card-name {
        font-size: 14px;
        line-height: 20px;
    }
    .home-category-card-count {
        font-size: 12px;
        line-height: 18px;
    }
}

/* =========================================
   8. INTRO HOME CARD (giống Rito)
   ========================================= */
.intro-home-wrap {
    padding-bottom: 16px;
    padding-top: 16px;
}
.intro-home-card {
    overflow: hidden;
    background: #050505;
    border: 1px solid #b07f1f;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.18);
}
.intro-home-card-body {
    padding: 0 16px;
}
.intro-home-content {
    position: relative;
    color: #e5b44a;
}
.intro-home-content.is-collapsed {
    max-height: 365px;
    overflow: hidden;
}
.intro-home-content.is-collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.55) 30%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}
.intro-home-content h1 {
    margin: 20px 0 16px;
    text-align: center;
    color: #f5c001;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
}
.intro-home-content h2 {
    margin: 18px 0 12px;
    color: #f0cc77;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}
.intro-home-content h3 {
    margin: 16px 0 10px;
    color: #f0cc77;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}
.intro-home-content p,
.intro-home-content li,
.intro-home-content figcaption {
    color: #e2b24f;
    font-size: 16px;
    line-height: 1.6;
}
.intro-home-content p {
    margin: 0 0 14px;
}
.intro-home-content a {
    color: #f5c001;
}
.intro-home-content ul {
    margin: 0 0 16px 20px;
    padding: 0;
}
.intro-home-content li {
    list-style: disc;
    margin-bottom: 8px;
}
.intro-home-figure {
    margin: 0;
    text-align: center;
}
.intro-home-figure img {
    display: inline-block;
    width: 100%;
    max-width: 800px;
    height: auto;
}
.intro-home-figure figcaption {
    margin-top: 8px;
    text-align: left;
    font-weight: 700;
}
.intro-home-card-footer {
    background-color: #ffffff;
    border-top: none;
    padding: 8px 0;
}
.intro-home-toggle {
    display: inline-block;
    position: relative;
    padding: 0 20px 0 0;
    border: none;
    background: transparent;
    color: #f5c001;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    cursor: pointer;
}
.intro-home-toggle:hover {
    color: #d16500;
}
.intro-home-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-image: url("https://pubg.shoprito.com/assets/frontend/theme_rito/image/svg/see-more.svg");
    background-repeat: no-repeat;
    background-position: 100% center;
    background-size: 16px 16px;
    transition: transform .15s linear;
}
.intro-home-toggle.is-expanded::after {
    transform: translateY(-50%) rotate(-180deg);
}
@media (max-width: 767px) {
    .intro-home-content.is-collapsed {
        max-height: 320px;
    }
    .intro-home-content h1 {
        font-size: 22px;
        line-height: 1.35;
    }
    .intro-home-content h2 {
        font-size: 17px;
    }
    .intro-home-content p,
    .intro-home-content li,
    .intro-home-content figcaption {
        font-size: 15px;
    }
}

/* =========================================
   9. SECTION BLOCK (tiêu đề + link "Xem tất cả")
   ========================================= */
.section-block .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-title-color);
}
.section-block .section-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}
.section-block .section-link:hover {
    color: var(--primary-hover-color);
}

/* =========================================
   10. CATEGORY CARD (card danh mục VNG/Global)
   ========================================= */
.category-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-default-color);
    padding: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.category-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(239, 71, 87, 0.15);
}
.category-card .category-thumb {
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-layout);
}
.category-card .category-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.category-card .category-info {
    color: var(--text-color);
}
.category-card .category-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 4px;
}
.category-card .category-count {
    font-size: 0.8rem;
    color: var(--text-blur);
}
.category-card-inner.small .category-name { font-size: 0.8rem; }

/* =========================================
   11. FOOTER (giống pubg.shoprito)
   ========================================= */
.footer {
    position: relative;
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.98), rgba(4, 4, 4, 0.98));
    border-top: 1px solid rgba(245, 192, 1, 0.16);
    color: var(--text-color);
    box-shadow:
        0 -18px 36px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(245, 192, 1, 0.04);
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100%, 1180px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(245, 192, 1, 0.3), transparent);
}
.footer .container {
    position: relative;
}
.footer .footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #f5c001;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .footer-links li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}
.footer .footer-links a {
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer .footer-links a:hover {
    color: #f5c001;
}
.footer-divider {
    border-color: rgba(245, 192, 1, 0.12);
    opacity: 1;
}
.footer-disclaimer {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
}
.footer-contact-list li {
    color: rgba(255, 255, 255, 0.76);
}
.footer-meta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 14px;
}
.footer-bottom-row {
    align-items: flex-end;
}
.footer-meta-links li {
    margin-bottom: 0;
}
.footer-copy {
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
    line-height: 1.6;
}
.footer-social .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.18);
    background: rgba(245, 192, 1, 0.06);
    color: #f5c001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-social .social-icon:hover {
    transform: translateY(-1px);
    background: rgba(245, 192, 1, 0.14);
    border-color: rgba(245, 192, 1, 0.32);
    color: #ffd86d;
}
@media (max-width: 767.98px) {
    .footer .footer-title {
        margin-bottom: 12px;
    }
    .footer-meta-links {
        gap: 8px 12px;
    }
    .footer-copy {
        display: block;
        text-align: left;
    }
}

/* =========================================
   10. TRANG MUA ACC
   ========================================= */
.mua-acc-page {
    position: relative;
}
.mua-acc-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}
.mua-acc-hero-copy {
    max-width: 780px;
}
.mua-acc-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.3);
    background: rgba(245, 192, 1, 0.08);
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.mua-acc-page .section-title {
    color: #f5c001;
    font-size: 2rem;
}
.mua-acc-subtitle {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    line-height: 1.7;
}
.mua-acc-hero-actions {
    margin-top: 14px;
}
.mua-acc-backlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(245, 192, 1, 0.28);
    background: rgba(245, 192, 1, 0.06);
    color: #f5c001;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.mua-acc-backlink:hover {
    color: #f8cf4a;
    border-color: rgba(245, 192, 1, 0.48);
    background: rgba(245, 192, 1, 0.1);
    transform: translateY(-1px);
}
.mua-acc-countbox {
    min-width: 200px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(245, 192, 1, 0.24);
    background:
        radial-gradient(circle at top right, rgba(245, 192, 1, 0.18), transparent 45%),
        linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(5, 5, 5, 0.96));
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    text-align: right;
}
.mua-acc-countbox-label,
.mua-acc-countbox-unit {
    display: block;
}
.mua-acc-countbox-label {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mua-acc-countbox-value {
    display: block;
    margin: 4px 0;
    color: #f5c001;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
}
.mua-acc-countbox-unit {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
}
.mua-acc-filter-panel {
    margin-bottom: 22px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.18);
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.95), rgba(5, 5, 5, 0.95));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(245, 192, 1, 0.05);
}
.mua-current-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background: rgba(245, 192, 1, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}
.mua-current-context strong {
    color: #ffffff;
    font-weight: 700;
}
.mua-current-context-label {
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mua-current-context-separator {
    color: rgba(245, 192, 1, 0.46);
}
.filter-toolbar {
    display: grid;
    gap: 18px;
}
.filter-group {
    display: grid;
    gap: 10px;
}
.filter-label {
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.filter-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.mua-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0b0b;
    color: #f4f4f4;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.mua-filter-chip:hover {
    color: #ffffff;
    border-color: rgba(245, 192, 1, 0.45);
    transform: translateY(-1px);
}
.mua-filter-chip.is-active {
    color: #f5c001;
    border-color: #f5c001;
    background: linear-gradient(180deg, rgba(245, 192, 1, 0.12), rgba(245, 192, 1, 0.04));
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.12);
}
.mua-empty-state {
    padding: 18px 20px;
}
.mua-empty-title {
    color: #f5c001;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}
.mua-empty-text {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}
.mua-empty-link {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: #f5c001;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.mua-empty-link:hover {
    color: #f8cf4a;
}
.mua-account-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
.mua-acc-page .account-card {
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #b07f1f;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mua-acc-page .account-card:hover {
    transform: translateY(-3px);
    border-color: #f5c001;
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(245, 192, 1, 0.22);
}
.mua-acc-page .account-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.mua-acc-page .account-card-link:hover {
    color: inherit;
}
.mua-acc-page .account-thumb {
    position: relative;
    overflow: hidden;
    background: #111111;
}
.mua-acc-page .account-thumb img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
    background: #111111;
    transition: transform 0.3s linear;
}
.mua-acc-page .account-card:hover .account-thumb img {
    transform: scale(1.02);
}
.account-id-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.3);
    background: rgba(0, 0, 0, 0.76);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.account-status-chip {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 97, 97, 0.28);
    background: rgba(111, 16, 16, 0.82);
    color: #ffd6d6;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
}
.account-status-chip.is-sold {
    border-color: rgba(255, 97, 97, 0.28);
    background: rgba(111, 16, 16, 0.82);
    color: #ffd6d6;
}
.mua-acc-page .account-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 12px 12px;
}
.mua-acc-page .account-title {
    color: #f5c001;
    font-size: 14px;
    line-height: 22px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.account-price-wrap {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.account-price-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mua-acc-page .account-price {
    color: #ffb41d;
    font-size: 18px;
    line-height: 26px;
    font-weight: 800;
}
.account-installment-note {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    margin-top: 6px;
    padding: 6px 16px 6px 20px;
    background: url("https://pubg.shoprito.com/assets/frontend/image/voucher-index.png") center / 100% 100% no-repeat;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    filter: drop-shadow(0 6px 12px rgba(255, 75, 75, 0.18));
}
.mua-acc-page .alert-dark {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(245, 192, 1, 0.16);
    background: rgba(10, 10, 10, 0.94);
    color: rgba(255, 255, 255, 0.76);
}

/* =========================================
   11. PAGINATION (mua acc)
   ========================================= */
.mua-acc-page .pagination {
    gap: 8px;
}
.mua-acc-page .pagination .page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0a0a;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}
.mua-acc-page .pagination .page-link:hover {
    color: #f5c001;
    border-color: rgba(245, 192, 1, 0.28);
    background: rgba(245, 192, 1, 0.06);
}
.mua-acc-page .pagination .page-item.active .page-link {
    border-color: #f5c001;
    background: linear-gradient(180deg, #f5c001, #d79a00);
    color: #111111;
}
.mua-acc-page .pagination .page-item.disabled .page-link {
    opacity: 0.5;
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 991.98px) {
    .mua-acc-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .mua-acc-countbox {
        width: 100%;
        text-align: left;
    }
}
@media (max-width: 767.98px) {
    .mua-acc-page .section-title {
        font-size: 1.6rem;
    }
    .mua-acc-filter-panel {
        padding: 16px;
    }
    .mua-current-context {
        flex-direction: column;
        align-items: stretch;
    }
    .mua-acc-page .account-price {
        font-size: 15px;
    }
    .mua-acc-page .account-thumb img {
        height: 96px;
    }
    .mua-acc-page .account-body {
        padding: 12px 10px 10px;
    }
    .mua-acc-page .account-title {
        font-size: 14px;
        line-height: 20px;
    }
    .account-installment-note {
        min-height: auto;
        margin-top: 6px;
        padding: 3px 10px;
    }
}

/* =========================================
   11. TRANG CHI TIET ACC
   ========================================= */
.account-detail-page {
    position: relative;
}
.account-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    line-height: 1.5;
}
.account-detail-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}
.account-detail-breadcrumb a:hover {
    color: #f5c001;
}
.account-detail-media-card,
.account-detail-summary,
.account-detail-empty {
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.96), rgba(5, 5, 5, 0.96));
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(245, 192, 1, 0.05);
}
.account-detail-media-card {
    overflow: hidden;
}
.account-detail-carousel {
    position: relative;
}
.account-detail-zoom-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.account-detail-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: contain;
    object-position: center;
    background: #080808;
}
.account-detail-zoom-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(11, 11, 11, 0.78);
    border: 1px solid rgba(245, 192, 1, 0.24);
    color: #f5c001;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    pointer-events: none;
}
.account-detail-carousel-nav {
    width: 54px;
    opacity: 1;
}
.account-detail-carousel-nav .carousel-control-prev-icon,
.account-detail-carousel-nav .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-color: rgba(11, 11, 11, 0.7);
    background-size: 16px 16px;
    border: 1px solid rgba(245, 192, 1, 0.22);
}
.account-detail-carousel .carousel-item {
    transition-duration: .28s;
}
.account-detail-thumb-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.account-detail-thumb-btn {
    flex: 0 0 96px;
    width: 96px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    scroll-snap-align: start;
}
.account-detail-thumb-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 192, 1, 0.2);
}
.account-detail-thumb-btn.is-active {
    border-color: rgba(245, 192, 1, 0.7);
    box-shadow: 0 0 0 2px rgba(245, 192, 1, 0.12);
}
.account-detail-thumb-image {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.35);
}
.account-image-zoom-modal .modal-content {
    border-radius: 20px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(4, 4, 4, 0.98));
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
}
.account-image-zoom-modal .modal-header,
.account-image-zoom-modal .modal-body {
    border-color: rgba(255, 255, 255, 0.06);
}
.account-image-zoom-modal .modal-body {
    padding: 10px;
}
.account-image-zoom-carousel {
    position: relative;
}
.account-image-zoom-image {
    display: block;
    width: 100%;
    max-height: min(80vh, 900px);
    object-fit: contain;
    border-radius: 16px;
    background: #050505;
}
.account-image-zoom-nav {
    width: 72px;
    opacity: 1;
}
.account-image-zoom-nav .carousel-control-prev-icon,
.account-image-zoom-nav .carousel-control-next-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background-color: rgba(11, 11, 11, 0.78);
    background-size: 18px 18px;
    border: 1px solid rgba(245, 192, 1, 0.22);
}
@media (max-width: 767.98px) {
    .account-detail-zoom-hint {
        right: 10px;
        bottom: 10px;
        min-height: 30px;
        padding: 7px 10px;
        font-size: 11px;
    }
    .account-detail-thumb-list {
        gap: 8px;
        padding: 10px;
    }
    .account-detail-thumb-btn {
        flex-basis: 78px;
        width: 78px;
        border-radius: 10px;
    }
    .account-image-zoom-modal .modal-body {
        padding: 8px;
    }
    .account-image-zoom-nav {
        width: 56px;
    }
    .account-image-zoom-nav .carousel-control-prev-icon,
    .account-image-zoom-nav .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}
.account-detail-summary {
    padding: 22px;
}
.account-detail-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.account-detail-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.24);
    background: rgba(245, 192, 1, 0.08);
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.account-detail-tag i {
    flex: 0 0 auto;
    font-size: 12px;
}
.account-detail-tag span {
    display: inline-flex;
    align-items: center;
}
.account-detail-tag.is-available {
    border-color: rgba(67, 217, 138, 0.28);
    background: rgba(67, 217, 138, 0.12);
    color: #76ffb3;
}
.account-detail-tag.is-sold {
    border-color: rgba(255, 97, 97, 0.24);
    background: rgba(255, 97, 97, 0.12);
    color: #ff9b9b;
}
.account-detail-title {
    margin: 0 0 14px;
    color: #f5c001;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}
.account-detail-price-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.account-detail-price {
    color: #ffb41d;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 800;
}
.account-detail-note {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.65;
}
.account-detail-installment-card {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(245, 192, 1, 0.16);
    background: rgba(245, 192, 1, 0.06);
}
.account-detail-installment-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 7px 16px 7px 20px;
    background: url("https://pubg.shoprito.com/assets/frontend/image/voucher-index.png") center / 100% 100% no-repeat;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    filter: drop-shadow(0 6px 12px rgba(255, 75, 75, 0.18));
}
.account-detail-installment-value {
    display: block;
    color: #f5c001;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 800;
}
.account-detail-installment-text {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    line-height: 1.55;
}
.account-detail-sold-box {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 97, 97, 0.22);
    background: rgba(111, 16, 16, 0.18);
}
.account-detail-sold-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 97, 97, 0.28);
    background: rgba(111, 16, 16, 0.82);
    color: #ffd6d6;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}
.account-detail-sold-title {
    display: block;
    margin-top: 12px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
}
.account-detail-sold-text {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.65;
}
.account-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}
.account-admin-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(245, 192, 1, 0.32);
    background: rgba(245, 192, 1, 0.07);
}
.account-admin-note-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.account-admin-note-text {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.6;
    white-space: normal;
    word-break: break-word;
}
.account-detail-actions.is-single .account-detail-btn {
    flex: 1 1 auto;
    width: 100%;
}
.account-detail-btn {
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}
.account-detail-btn.primary {
    border: 1px solid #f5c001;
    background: linear-gradient(180deg, #f5c001, #d79b00);
    color: #111111;
}
.account-detail-btn.primary:hover {
    color: #111111;
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.account-detail-btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #ffffff;
}
.account-detail-btn.secondary:hover {
    color: #f5c001;
    border-color: rgba(245, 192, 1, 0.34);
    transform: translateY(-1px);
}
.account-related-section {
    margin-top: 24px;
}
.account-related-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.account-related-nav-btn {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    background: rgba(220, 222, 233, 0.5);
    border-radius: 999px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}
.account-related-nav-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://pubg.shoprito.com/assets/frontend/theme_rito/image/svg/navigation-swiper.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 10px;
}
.account-related-nav-btn[data-related-next]::before {
    transform: rotate(180deg);
}
.account-related-nav-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.account-related-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.account-related-slider {
    overflow: hidden;
}
.account-related-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.account-related-track::-webkit-scrollbar {
    display: none;
}
.account-related-slide {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}
.account-related-card {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #b07f1f;
    background: #050505;
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.18);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.account-related-card:hover {
    transform: translateY(-2px);
    border-color: #f5c001;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.26),
        inset 0 0 0 1px rgba(245, 192, 1, 0.2);
}
.account-related-thumb {
    position: relative;
    overflow: hidden;
    background: #111111;
}
.account-related-thumb img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center;
    background: #111111;
    transition: transform 0.3s linear;
}
.account-related-card:hover .account-related-thumb img {
    transform: scale(1.02);
}
.account-related-body {
    padding: 16px 14px 14px;
}
.account-related-title {
    color: #f5c001;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.account-related-price {
    margin-top: 8px;
    color: #ffb41d;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}
.account-related-installment {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    margin-top: 8px;
    padding: 6px 16px 6px 20px;
    background: url("https://pubg.shoprito.com/assets/frontend/image/voucher-index.png") center / 100% 100% no-repeat;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    filter: drop-shadow(0 6px 12px rgba(255, 75, 75, 0.18));
}
.account-detail-qr-modal .modal-content,
.account-detail-plan-modal .modal-content {
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.18);
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.98), rgba(5, 5, 5, 0.98));
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(245, 192, 1, 0.05);
}
.account-detail-qr-modal .modal-header,
.account-detail-plan-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
}
.account-detail-qr-modal .modal-title,
.account-detail-plan-modal .modal-title {
    margin: 0;
    color: #f5c001;
    font-size: 22px;
    font-weight: 800;
}
.account-detail-qr-modal .modal-body,
.account-detail-plan-modal .modal-body {
    padding: 20px;
    text-align: center;
}
.account-plan-header {
    text-align: center;
}
.account-plan-price {
    color: #ffb41d;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}
.account-plan-title {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
}
.account-plan-switch {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.account-plan-option {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.account-plan-option:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 192, 1, 0.34);
}
.account-plan-option.is-active {
    border-color: #f5c001;
    background: rgba(245, 192, 1, 0.1);
    color: #f5c001;
    box-shadow: inset 0 0 0 1px rgba(245, 192, 1, 0.12);
}
.account-plan-result {
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(245, 192, 1, 0.16);
    background: rgba(245, 192, 1, 0.06);
    text-align: left;
}
.account-plan-result-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.account-plan-result-value {
    display: block;
    color: #f5c001;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}
.account-plan-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.account-plan-meta-item {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
}
.account-plan-meta-item span {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
}
.account-plan-meta-item strong {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
}
.account-plan-text,
.account-plan-empty {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}
.account-detail-qr-wrap {
    width: 280px;
    max-width: 100%;
    margin: 0 auto 18px;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
}
.account-detail-qr-image {
    display: block;
    width: 100%;
    height: auto;
}
.account-detail-qr-price {
    color: #ffb41d;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
}
.account-detail-qr-text {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}
.account-detail-qr-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}
.account-detail-qr-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.18);
    background: rgba(245, 192, 1, 0.06);
    color: #f5c001;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}
.account-detail-section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 192, 1, 0.26);
}
.account-detail-section-title {
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    color: #f5c001;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}
.account-detail-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 74px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f5c001, #ffcf4a);
}
.account-detail-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}
.account-detail-empty {
    padding: 26px;
}
.account-detail-empty-title {
    margin: 0 0 8px;
    color: #f5c001;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}
.account-detail-empty-text {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.7;
}
@media (max-width: 991.98px) {
    .account-related-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }
}
@media (max-width: 767.98px) {
    .account-detail-title {
        font-size: 18px;
    }
    .account-detail-price {
        font-size: 22px;
    }
    .account-detail-installment-value {
        font-size: 19px;
    }
    .account-plan-switch {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-plan-result-value {
        font-size: 24px;
    }
    .account-plan-meta {
        grid-template-columns: minmax(0, 1fr);
    }
    .account-detail-summary,
    .account-detail-empty {
        padding: 18px;
    }
    .account-detail-actions {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .account-detail-btn {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
        padding: 10px 12px;
    }
    .account-detail-actions.is-single .account-detail-btn {
        flex: 1 1 100%;
        width: 100%;
    }
    .account-related-thumb img {
        height: 120px;
    }
    .account-related-nav {
        width: 100%;
        justify-content: flex-end;
    }
    .account-related-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }
    .account-related-title {
        font-size: 13px;
        line-height: 18px;
    }
    .account-related-price {
        font-size: 17px;
    }
}

@media (max-width: 767.98px) {
    .banner-section .banner-slide-img,
    .promo-banners-section .promo-banner-img,
    .home-category-card-image,
    .mua-acc-page .account-thumb img,
    .account-detail-main-image,
    .account-related-thumb img {
        height: auto !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
    }
}

.home-popup-modal .modal-dialog {
    max-width: 520px;
}

.home-popup-modal .modal-content {
    border-radius: 24px;
    border: 1px solid rgba(245, 192, 1, 0.16);
    background: rgba(8, 8, 8, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.home-popup-modal .modal-body {
    padding: 12px;
    max-height: min(72vh, 720px);
    overflow-y: auto;
}

.home-popup-modal .modal-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 12px;
    padding: 0 12px 12px;
    border: 0;
}

.home-popup-list {
    display: grid;
    gap: 12px;
}

.home-popup-item {
    display: block;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background: #111111;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-popup-item:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 192, 1, 0.28);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.26);
}

.home-popup-image {
    display: block;
    width: 100%;
    height: auto;
}

.home-popup-action {
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(245, 192, 1, 0.24);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-popup-action--ghost {
    background: #080808;
    color: #f5c001;
}

.home-popup-action--ghost:hover {
    background: rgba(245, 192, 1, 0.08);
    color: #ffd147;
}

.home-popup-action--primary {
    background: linear-gradient(180deg, #ffd11c, #f5c001);
    color: #111111;
}

.home-popup-action--primary:hover {
    background: linear-gradient(180deg, #ffe04a, #ffd11c);
    color: #111111;
}

@media (max-width: 767.98px) {
    .home-popup-modal .modal-dialog {
        margin: 12px;
    }

    .home-popup-modal .modal-content {
        border-radius: 20px;
    }

    .home-popup-modal .modal-body {
        padding: 10px;
        max-height: min(72vh, 600px);
    }

    .home-popup-modal .modal-footer {
        padding: 0 10px 10px;
        gap: 10px;
    }

    .home-popup-list {
        gap: 10px;
    }

    .home-popup-item {
        border-radius: 16px;
    }
}

/* =========================================
   15. TRANG NAP UC
   ========================================= */
.uc-page {
    position: relative;
}

.uc-hero-card,
.uc-section-card {
    border-radius: 20px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.97), rgba(5, 5, 5, 0.97));
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(245, 192, 1, 0.05);
}

.uc-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 18px;
    padding: 24px;
}

.uc-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(245, 192, 1, 0.24);
    background: rgba(245, 192, 1, 0.08);
    color: #f5c001;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.uc-hero-title {
    margin: 14px 0 10px;
    color: #f5c001;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.uc-hero-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.75;
    max-width: 760px;
}

.uc-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.uc-hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.uc-hero-side {
    display: flex;
}

.uc-hero-side-card {
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background:
        radial-gradient(circle at top right, rgba(245, 192, 1, 0.22), transparent 42%),
        rgba(255, 255, 255, 0.03);
}

.uc-hero-side-title {
    color: rgba(255, 255, 255, 0.74);
    font-size: 13px;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.uc-hero-side-value {
    margin-top: 10px;
    color: #f5c001;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
}

.uc-hero-side-text {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.7;
}

.uc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
    gap: 20px;
    margin-top: 22px;
}

.uc-main,
.uc-sidebar {
    min-width: 0;
}

.uc-section-card {
    padding: 22px;
}

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

.uc-section-title {
    margin: 0;
    color: #f5c001;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
}

.uc-section-subtitle {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.65;
}

.uc-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.uc-price-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

.uc-price-table th,
.uc-price-table td {
    padding: 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    vertical-align: middle;
}

.uc-price-table th {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 800;
}

.uc-price-table th small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 600;
}

.uc-price-table td {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}

.uc-price-table .uc-price-cell {
    color: #f5c001;
    white-space: nowrap;
}

.uc-price-table .is-featured {
    background:
        linear-gradient(180deg, rgba(245, 192, 1, 0.11), rgba(245, 192, 1, 0.04));
}

.uc-mobile-card-list {
    display: none;
}

.uc-mobile-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.uc-mobile-card-price {
    color: #f5c001;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
}

.uc-mobile-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.uc-mobile-card-row strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.uc-mobile-card-row.is-featured {
    background:
        linear-gradient(180deg, rgba(245, 192, 1, 0.12), rgba(245, 192, 1, 0.04));
}

.uc-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.uc-note-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.uc-note-card h3 {
    margin: 0 0 8px;
    color: #f5c001;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
}

.uc-note-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.uc-support-card {
    position: sticky;
    top: 92px;
}

.uc-support-qr {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(245, 192, 1, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.uc-support-qr-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #050505;
}

.uc-support-lines {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.uc-support-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.uc-support-line span {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.uc-support-line strong {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.uc-support-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.uc-support-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.uc-support-btn:hover {
    transform: translateY(-1px);
    color: inherit;
}

.uc-support-btn.is-primary {
    background: linear-gradient(180deg, #ffd11c, #f5c001);
    color: #111111;
}

.uc-support-btn.is-secondary {
    border: 1px solid rgba(245, 192, 1, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #f5c001;
}

@media (max-width: 991.98px) {
    .uc-hero-card,
    .uc-layout,
    .uc-note-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .uc-support-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .uc-hero-card,
    .uc-section-card {
        border-radius: 18px;
    }

    .uc-hero-card,
    .uc-section-card {
        padding: 16px;
    }

    .uc-hero-title {
        font-size: 24px;
    }

    .uc-hero-text,
    .uc-note-card p {
        font-size: 14px;
    }

    .uc-table-wrap {
        display: none;
    }

    .uc-mobile-card-list {
        display: grid;
        gap: 12px;
    }

    .uc-section-head {
        margin-bottom: 14px;
    }
}