/* ==========================================================================
   GAMEV — STITCH DARK THEME (DESKTOP & MOBILE)
   Thuần CSS, không dùng Tailwind CDN, tương thích Bootstrap 5 & các trang con
   ========================================================================== */

:root {
    --vnp-bg: #0b0c10;
    --vnp-surface: #111218;
    --vnp-card: #181922;
    --vnp-card-hover: #1d1f2b;
    --vnp-border: rgba(255, 255, 255, 0.07);
    --vnp-orange: #ff5722;
    --vnp-orange-hover: #ff7043;
    --vnp-orange-soft: #ffb694;
    --vnp-green-active: #76ff03;
    --vnp-text: #f1f5f9;
    --vnp-muted: #94a3b8;
    --head-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    --body-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

/* Đồng bộ 1 font duy nhất cho toàn bộ giao diện (trừ icon font Tabler/FontAwesome) */
html,
body,
body.insHome,
body.insHome h1,
body.insHome h2,
body.insHome h3,
body.insHome h4,
body.insHome h5,
body.insHome h6,
body.insHome p,
body.insHome a,
body.insHome span,
body.insHome li,
body.insHome button,
body.insHome input,
body.insHome select,
body.insHome textarea,
body.insHome .heading-font {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

body.insHome i.ti,
body.insHome [class^="ti-"],
body.insHome [class*=" ti-"] {
    font-family: 'tabler-icons' !important;
}

body.insHome i.fa,
body.insHome [class^="fa-"],
body.insHome [class*=" fa-"] {
    font-family: 'FontAwesome' !important;
}

body.insHome {
    background-color: var(--vnp-bg) !important;
    color: var(--vnp-text);
    overflow-x: hidden;
}

/* ==========================================================================
   1. HEADER (DESKTOP & MOBILE)
   ========================================================================== */
.header-section.vnp-stitch-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    z-index: 999 !important;
    background: rgba(15, 16, 21, 0.94) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: background 0.25s ease;
}

.vnp-header-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vnp-header-left {
    display: flex;
    align-items: center;
    gap: 36px;
    min-width: 0;
}

.vnp-brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.vnp-brand-link img {
    height: 36px;
    width: auto;
    max-width: 155px;
    object-fit: contain;
    display: block;
}

.vnp-desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vnp-desktop-nav li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1 !important;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    padding: 6px 2px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.vnp-desktop-nav li a:hover {
    color: #ffffff !important;
}

.vnp-desktop-nav li a.active {
    color: var(--vnp-green-active) !important;
}

.vnp-desktop-nav li a.active::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vnp-green-active);
    box-shadow: 0 0 8px rgba(118, 255, 3, 0.65);
    display: inline-block;
}

.vnp-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.vnp-auth-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vnp-btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: 999px;
    background: var(--vnp-orange);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.vnp-btn-register:hover {
    background: var(--vnp-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 87, 34, 0.5);
}

.vnp-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #0f1015 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.vnp-btn-login:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* Profile trigger khi đã đăng nhập */
.vnp-stitch-header .header-profile {
    position: relative;
}

.vnp-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.vnp-profile-trigger:hover {
    border-color: rgba(255, 87, 34, 0.55);
    background: rgba(255, 87, 34, 0.12);
}

.vnp-profile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(255, 87, 34, 0.7);
    flex-shrink: 0;
}

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

.vnp-profile-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Giữ nguyên popup tài khoản sắc nét, nổi rõ */
.vnp-stitch-header .user-account-popup {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    background: #181a24 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65) !important;
    z-index: 1050 !important;
}

/* Mobile header gọn gàng: KHÔNG search, KHÔNG chuông thông báo, KHÔNG hamburger thừa */
@media (max-width: 991px) {
    .vnp-desktop-nav {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .vnp-header-inner {
        height: 56px;
        padding: 0 14px;
    }

    .vnp-brand-link img {
        height: 28px;
    }

    .vnp-btn-register {
        padding: 6px 13px;
        font-size: 12.5px;
    }

    .vnp-btn-login {
        padding: 6px 13px;
        font-size: 12.5px;
    }

    .vnp-profile-trigger {
        padding: 3px;
        background: transparent;
        border: none;
    }

    .vnp-profile-name {
        display: none;
    }

    .vnp-profile-avatar {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   2. HERO & SLIDER 3D (DESKTOP & MOBILE)
   ========================================================================== */
.vnp-stitch-hero {
    position: relative;
    padding: 106px 0 30px;
    background: var(--vnp-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.vnp-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 58% 46% at 50% 6%, rgba(255, 109, 0, 0.34) 0%, rgba(255, 87, 34, 0.09) 46%, transparent 76%),
        radial-gradient(circle 420px at 14% 26%, rgba(255, 87, 34, 0.1) 0%, transparent 70%),
        radial-gradient(circle 420px at 86% 26%, rgba(99, 102, 241, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Họa tiết lưới công nghệ mờ tạo chiều sâu cho vùng Hero trên màn hình rộng */
.vnp-hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 82% 72% at 50% 34%, #000 12%, transparent 82%);
    mask-image: radial-gradient(ellipse 82% 72% at 50% 34%, #000 12%, transparent 82%);
    pointer-events: none;
    z-index: 1;
}

.vnp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 20px;
}

.vnp-hero-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 24px;
}

.vnp-hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.32);
    margin-bottom: 14px;
}

.vnp-hero-tagline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vnp-orange);
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.8);
}

.vnp-hero-tagline span {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e2e8f0;
}

.vnp-hero-tagline .vnp-tagline-accent {
    color: var(--vnp-orange) !important;
}

.vnp-hero-title {
    font-size: clamp(28px, 4.2vw, 54px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 0 12px !important;
}

.vnp-hero-title-accent {
    display: block;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    background: linear-gradient(90deg, #ff5722 0%, #ff8a65 55%, #ffab91 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.vnp-hero-subtitle {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 auto !important;
    max-width: 780px;
}

/* Hero Showcase Slider (7 card lớn, khít gọn tỷ lệ chóp 3D) */
.vnp-hero-slider-wrap {
    position: relative;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 8px;
}

.vnp-hero-slider-wrap .swiper-3d-container {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 44px 8px 44px !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.vnp-hero-slider-wrap .swiper-3d-container .swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
    align-items: center !important;
}

.vnp-hero-slider-wrap .swiper-3d-container .swiper-slide {
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 0.84;
    transform: scale(0.92);
}

.vnp-hero-slider-wrap .swiper-3d-container .swiper-slide-prev,
.vnp-hero-slider-wrap .swiper-3d-container .swiper-slide-next {
    opacity: 0.96;
    transform: scale(1.01);
    z-index: 12;
}

.vnp-hero-slider-wrap .swiper-3d-container .swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.18) !important;
    z-index: 30 !important;
}

.vnp-hero-card {
    position: relative;
    background: #161822;
    border: 1px solid #232733;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-card {
    background: #191c27;
    border: 2px solid var(--vnp-orange);
    border-radius: 22px;
    box-shadow: 0 14px 40px -4px rgba(255, 87, 34, 0.48), 0 10px 24px rgba(0, 0, 0, 0.55);
}

/* Chỉ card trung tâm có icon Play trên nút Chơi ngay */
.vnp-hero-play-btn svg {
    display: none;
}

.vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-play-btn svg {
    display: inline-block;
}

.vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-play-btn {
    padding: 6px 14px !important;
    font-size: 12px !important;
}

.vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-play-btn span {
    font-size: 12px !important;
}

.vnp-hero-card:hover {
    border-color: rgba(255, 87, 34, 0.85);
}

.vnp-hero-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #10121a;
}

.vnp-hero-card-media a.vnp-hero-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.vnp-hero-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.vnp-hero-card:hover .vnp-hero-card-media img {
    transform: scale(1.05);
}

.vnp-hero-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 24, 34, 0.92) 0%, rgba(22, 24, 34, 0.12) 45%, transparent 100%);
    pointer-events: none;
}

.vnp-age-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    padding: 3px 8px;
    border-radius: 6px;
    background: #e53935;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.vnp-hot-pill {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5708, #ff6a00);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.65);
    pointer-events: none;
}

.vnp-hero-play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vnp-hero-play-btn span {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
}

.vnp-hero-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.65);
}

.vnp-hero-play-btn svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
}

.vnp-hero-card-body {
    padding: 12px 14px 14px;
    text-align: center;
}

/* Dòng thể loại phụ: chỉ hiển thị trên Mobile để giữ nguyên bố cục Desktop */
.vnp-hero-card-cat,
.vnp-game-card-cat {
    display: none;
}

.vnp-hero-trend-label {
    display: none;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vnp-orange);
    margin-bottom: 3px;
}

.vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-trend-label {
    display: block;
}

.vnp-hero-card-title {
    margin: 0 !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vnp-hero-card-title a {
    color: inherit !important;
    text-decoration: none !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.vnp-hero-card:hover .vnp-hero-card-title a {
    color: var(--vnp-orange) !important;
}

/* Nút điều hướng 2 bên của Hero Slider 3D */
.vnp-hero-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(24, 25, 32, 0.94) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
    padding: 0 !important;
}

.vnp-hero-nav-btn:hover {
    border-color: var(--vnp-orange) !important;
    color: #ffffff !important;
    background: rgba(255, 87, 34, 0.22) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.vnp-hero-nav-btn.swiper-3d-button-prev {
    left: 14% !important;
}

.vnp-hero-nav-btn.swiper-3d-button-next {
    right: 14% !important;
}

@media (max-width: 1399px) {
    .vnp-hero-nav-btn.swiper-3d-button-prev {
        left: 8px !important;
    }

    .vnp-hero-nav-btn.swiper-3d-button-next {
        right: 8px !important;
    }
}

/* Pagination chấm cam (chỉ hiện trên Mobile đúng mẫu Stitch) */
.vnp-hero-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    position: static !important;
}

.vnp-hero-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #343439;
    opacity: 1;
    transition: all 0.25s ease;
    margin: 0 !important;
}

.vnp-hero-pagination .swiper-pagination-bullet-active {
    width: 20px;
    background: var(--vnp-orange);
    box-shadow: 0 0 8px rgba(255, 87, 34, 0.7);
}

@media (max-width: 768px) {
    .vnp-stitch-hero {
        padding: 72px 0 22px;
        border-bottom: none;
    }

    .vnp-hero-inner {
        padding: 0 14px;
    }

    .vnp-hero-head {
        margin-bottom: 18px;
    }

    .vnp-hero-title {
        font-size: 27px !important;
        text-transform: none;
        margin-bottom: 8px !important;
    }

    .vnp-hero-title-accent {
        display: inline;
    }

    .vnp-hero-subtitle {
        font-size: 12.5px;
        max-width: 340px;
    }

    .vnp-hero-slider-wrap {
        padding: 4px 0 0;
        max-width: 100%;
    }

    .vnp-hero-slider-wrap .swiper-3d-container {
        padding: 16px 0 22px !important;
    }

    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide {
        width: min(68vw, 266px) !important;
        transform: scale(0.86) translateY(10px) !important;
        opacity: 0.62 !important;
        filter: blur(0.4px) brightness(0.88);
        z-index: 1 !important;
        transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
    }

    /* Giảm lớp phủ tối trên 2 card bên cạnh để ảnh game sáng rõ hơn */
    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide:not(.swiper-slide-active) .vnp-hero-card-media::after {
        background: linear-gradient(to top, rgba(22, 24, 34, 0.45) 0%, transparent 60%);
    }

    /* Ẩn nút/badge/chữ trên 2 card mờ phía sau để tạo chiều sâu xóa phông đúng mẫu */
    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide:not(.swiper-slide-active) .vnp-age-pill,
    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide:not(.swiper-slide-active) .vnp-hot-pill,
    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide:not(.swiper-slide-active) .vnp-hero-play-btn,
    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide:not(.swiper-slide-active) .vnp-hero-card-body {
        opacity: 0;
        pointer-events: none;
    }

    .vnp-hero-slider-wrap .swiper-3d-container .swiper-slide-active {
        transform: scale(1) !important;
        opacity: 1 !important;
        filter: none !important;
        z-index: 25 !important;
    }

    .vnp-hero-card {
        padding: 0;
        border-radius: 16px;
        background: #1a1b22;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .vnp-hero-card-media {
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .vnp-hero-slider-wrap .swiper-slide-active .vnp-hot-pill {
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }

    .vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-trend-label {
        display: none;
    }

    .vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-card {
        transform: none !important;
        background: #1a1b22;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.78);
    }

    .vnp-hero-card-body {
        padding: 12px 14px 14px;
        text-align: left;
    }

    .vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-card-title,
    .vnp-hero-slider-wrap .swiper-slide-active .vnp-hero-card-title a {
        font-size: 14.5px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .vnp-hero-card-cat {
        display: block;
        margin: 4px 0 0 !important;
        font-size: 11.5px !important;
        font-weight: 500 !important;
        line-height: 1.3 !important;
        color: #9ca3af !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vnp-hero-nav-btn {
        display: none !important;
    }

    .vnp-hero-pagination {
        display: flex !important;
        margin: 4px auto 0 !important;
        transform: none !important;
        left: auto !important;
    }
}

/* Dải Quick Pills chọn nhanh dưới Hero Slider (Desktop) */
.vnp-hero-quick-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.vnp-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.vnp-quick-pill span {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: inherit !important;
}

.vnp-quick-pill i {
    color: var(--vnp-orange);
    font-size: 15px !important;
    line-height: 1 !important;
}

.vnp-quick-pill:hover {
    background: rgba(255, 87, 34, 0.16);
    border-color: rgba(255, 87, 34, 0.55);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.22);
}

@media (max-width: 768px) {
    .vnp-hero-quick-pills {
        display: none !important;
    }
}

/* ==========================================================================
   3. CÁC SECTION THỂ LOẠI & GAME PHỔ BIẾN
   ========================================================================== */
.vnp-home-sections-wrap {
    max-width: 1380px;
    margin: 0 auto;
    padding: 24px 24px 12px;
}

.vnp-cat-panel {
    background: rgba(17, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 26px 28px 22px;
    margin-bottom: 32px;
    position: relative;
}

.vnp-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.vnp-cat-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vnp-cat-accent-bar {
    width: 5px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff5722, #ff8a65);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.55);
    flex-shrink: 0;
}

.vnp-cat-title {
    margin: 0 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vnp-cat-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px !important;
    border-radius: 999px;
    background: var(--vnp-orange);
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.vnp-cat-more-btn span {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: inherit !important;
}

.vnp-cat-more-btn i {
    font-size: 14px !important;
    line-height: 1 !important;
}

.vnp-cat-more-btn:hover {
    background: var(--vnp-orange-hover);
    transform: translateY(-1px);
}

/* Game Card chuẩn Stitch */
.vnp-game-card {
    background: #181922;
    border: 1px solid rgba(35, 39, 51, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.7);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    height: auto !important;
}

.vnp-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 87, 34, 0.65);
    box-shadow: 0 12px 32px -4px rgba(255, 87, 34, 0.25);
}

.vnp-game-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #10121a;
}

.vnp-game-card-media a.vnp-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.vnp-game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.vnp-game-card:hover .vnp-game-card-media img {
    transform: scale(1.05);
}

.vnp-game-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 25, 34, 0.78) 0%, transparent 40%);
    pointer-events: none;
}

.vnp-card-play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 4;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--vnp-orange);
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.42);
    transition: background 0.2s ease, transform 0.2s ease;
}

.vnp-card-play-btn:hover {
    background: var(--vnp-orange-hover);
    transform: scale(1.05);
}

.vnp-game-card-body {
    padding: 12px 14px 14px;
    background: #181922;
}

.vnp-game-card-title {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #f3f4f6 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.vnp-game-card-title a {
    color: inherit !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.vnp-game-card:hover .vnp-game-card-title {
    color: var(--vnp-orange) !important;
}

/* Thanh nút điều hướng nhỏ dưới slider thể loại */
.vnp-cat-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.vnp-cat-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e2029;
    border: 1px solid #374151;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vnp-cat-nav-btn:hover {
    border-color: var(--vnp-orange);
    color: #ffffff;
    background: rgba(255, 87, 34, 0.2);
}

/* Đảm bảo Swiper trong panel luôn vừa khít, không bị kéo giãn chiều cao */
.vnp-cat-panel .swiper-top-player {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    padding: 4px 0 8px;
}

.vnp-cat-panel .swiper-top-player .swiper-wrapper {
    height: auto !important;
    align-items: flex-start !important;
}

.vnp-cat-panel .swiper-top-player .swiper-slide {
    height: auto !important;
}

@media (max-width: 768px) {
    .vnp-home-sections-wrap {
        padding: 12px 14px 4px;
    }

    .vnp-cat-panel {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-bottom: 24px;
    }

    .vnp-cat-header {
        margin-bottom: 12px;
    }

    .vnp-cat-accent-bar {
        width: 4px;
        height: 20px;
    }

    .vnp-cat-title {
        font-size: 18px;
    }

    .vnp-cat-more-btn {
        background: #1f1f24;
        color: var(--vnp-orange-soft) !important;
        padding: 5px 12px;
        font-size: 12px;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .vnp-game-card {
        border-radius: 14px;
        background: #1a1b22;
    }

    .vnp-game-card-media {
        aspect-ratio: 4 / 3;
    }

    .vnp-age-pill {
        top: 7px;
        left: 7px;
        padding: 2px 7px;
        border-radius: 999px;
        background: rgba(13, 14, 18, 0.85);
        font-size: 9.5px;
    }

    .vnp-card-play-btn {
        bottom: 7px;
        right: 7px;
        padding: 3px 9px !important;
        font-size: 10px !important;
    }

    .vnp-game-card-body {
        padding: 10px 12px 12px;
        background: #1a1b22;
    }

    .vnp-game-card-title,
    .vnp-game-card-title a {
        font-size: 12.5px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    .vnp-game-card-cat {
        display: block;
        margin: 3px 0 0 !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        line-height: 1.3 !important;
        color: #9ca3af !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vnp-cat-slider-nav {
        display: none !important;
    }
}

/* ==========================================================================
   4. FOOTER (DESKTOP & MOBILE CARD)
   ========================================================================== */
.vnp-stitch-footer {
    background: #08090c;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 56px 0 28px;
    margin-top: 24px;
    color: #94a3b8;
}

.vnp-footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

.vnp-footer-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.vnp-footer-logo img {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.vnp-footer-company {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin: 0 0 14px !important;
}

.vnp-footer-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vnp-footer-legal li {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    color: #9ca3af !important;
}

.vnp-footer-legal strong {
    font-size: 13px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.vnp-footer-contact-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin: 0 0 20px !important;
}

.vnp-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vnp-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.vnp-footer-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #14161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--vnp-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px !important;
}

.vnp-footer-contact-label {
    display: block;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af !important;
    margin-bottom: 3px;
}

.vnp-footer-contact-value {
    color: #e5e7eb !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

a.vnp-footer-contact-value:hover {
    color: var(--vnp-orange) !important;
}

.vnp-footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #9ca3af !important;
}

.vnp-footer-bottom span,
.vnp-footer-bottom a {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

.vnp-footer-bottom a.vnp-brand-copy {
    color: var(--vnp-orange) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.vnp-footer-policies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vnp-footer-policies li,
.vnp-footer-policies a {
    font-size: 12.5px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.vnp-footer-policies a:hover {
    color: #ffffff !important;
}

/* Contact pills ẩn trên desktop, hiện trên mobile */
.vnp-footer-mobile-pills {
    display: none;
}

@media (max-width: 991px) {
    .vnp-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .vnp-stitch-footer {
        background: transparent;
        border-top: none;
        padding: 10px 14px 28px;
        margin-top: 8px;
    }

    .vnp-footer-inner {
        background: #1a1b20;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        padding: 18px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .vnp-footer-grid {
        gap: 16px;
        padding-bottom: 16px;
    }

    .vnp-footer-logo {
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        margin-bottom: 12px;
    }

    .vnp-footer-logo img {
        height: 28px;
        margin-bottom: 0;
    }

    .vnp-footer-company {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .vnp-footer-legal {
        font-size: 12px;
        gap: 6px;
    }

    .vnp-footer-contact-col {
        display: none;
    }

    .vnp-footer-mobile-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;
    }

    .vnp-footer-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 12px;
        border-radius: 10px;
        background: #23242b;
        color: #ffffff !important;
        font-size: 12.5px;
        font-weight: 600;
        text-decoration: none !important;
    }

    .vnp-footer-pill,
    .vnp-footer-pill span {
        font-size: 12.5px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
    }

    .vnp-footer-mobile-address {
        display: block !important;
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.5;
        color: #9ca3af;
    }

    .vnp-footer-bottom {
        padding-top: 14px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        font-size: 11.5px;
    }

    .vnp-footer-policies {
        justify-content: center;
        gap: 12px;
    }
}

.vnp-footer-mobile-address {
    display: none;
}


/* ==========================================================================
   5. TRANG THỂ LOẠI GAME & PHÂN TRANG (PAGINATION DARK THEME)
   ========================================================================== */
.vnp-category-page {
    padding: 108px 0 48px;
    min-height: 70vh;
}

.vnp-category-page-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

.vnp-category-page-panel {
    background: rgba(17, 18, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 28px;
}

.vnp-category-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.vnp-category-count {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.vnp-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.vnp-category-grid .vnp-game-card-media {
    aspect-ratio: 4 / 3;
}

.vnp-category-empty {
    text-align: center;
    padding: 56px 20px;
    color: #94a3b8 !important;
    font-size: 15px !important;
}

/* Fallback khi ảnh game bị lỗi không tải được */
.vnp-game-card-media.is-img-error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #161925 0%, #10121b 100%);
}

.vnp-game-card-media.is-img-error img {
    display: none !important;
}

.vnp-img-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    text-align: center;
    color: #64748b;
    width: 100%;
    height: 100%;
}

.vnp-game-card-media.is-img-error .vnp-img-fallback {
    display: flex;
}

.vnp-img-fallback i {
    font-size: 28px !important;
    opacity: 0.65;
}

.vnp-img-fallback span {
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #64748b !important;
}

/* Phân trang Dark Theme (Laravel Bootstrap Pagination) */
.vnp-pagination-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vnp-pagination-wrap nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.vnp-pagination-wrap .pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.vnp-pagination-wrap .page-item {
    margin: 0 !important;
}

.vnp-pagination-wrap .page-item .page-link {
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    background: #181922 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.vnp-pagination-wrap .page-item:not(.active):not(.disabled) .page-link:hover {
    background: rgba(255, 87, 34, 0.16) !important;
    border-color: rgba(255, 87, 34, 0.65) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.vnp-pagination-wrap .page-item.active .page-link {
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    border-color: #ff5722 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.45) !important;
}

.vnp-pagination-wrap .page-item.disabled .page-link {
    background: rgba(24, 25, 34, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #475569 !important;
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1199px) {
    .vnp-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .vnp-category-page {
        padding: 72px 0 24px;
    }

    .vnp-category-page-inner {
        padding: 0 14px;
    }

    .vnp-category-page-panel {
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .vnp-category-page-head {
        margin-bottom: 14px;
    }

    .vnp-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vnp-pagination-wrap {
        margin-top: 22px;
    }

    .vnp-pagination-wrap .pagination {
        gap: 6px !important;
    }

    .vnp-pagination-wrap .page-item .page-link {
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 10px !important;
        font-size: 12.5px !important;
        border-radius: 9px !important;
    }
}

/* ==========================================================================
   6. MÀN HÌNH GÓI CƯỚC / GÓI DỊCH VỤ (DARK PRICING CARDS)
   ========================================================================== */
.vnp-packs-page {
    position: relative;
    padding: 116px 0 64px;
    min-height: 72vh;
    overflow: hidden;
}

.vnp-packs-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    height: 380px;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 87, 34, 0.2) 0%, rgba(255, 87, 34, 0.04) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.vnp-packs-inner {
    position: relative;
    z-index: 2;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.vnp-packs-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.vnp-packs-title {
    font-size: clamp(26px, 3.6vw, 42px) !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 10px !important;
}

.vnp-packs-subtitle {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

/* Thông báo trạng thái gói hiện tại (trang register-package) */
.vnp-pack-status-banner {
    max-width: 780px;
    margin: 0 auto 28px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(24, 25, 34, 0.92);
    border: 1px solid rgba(255, 87, 34, 0.35);
    text-align: center;
}

.vnp-pack-status-banner h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
}

.vnp-pack-status-banner p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
}

/* Swiper / Grid chứa các thẻ gói cước */
.vnp-packs-inner .swiper-pack {
    width: 100% !important;
    height: auto !important;
    padding: 12px 0 24px !important;
    overflow: hidden;
}

.vnp-packs-inner .swiper-pack.is-centered-grid {
    overflow: visible !important;
}

.vnp-packs-inner .swiper-pack .swiper-wrapper {
    height: auto !important;
    align-items: flex-start !important;
}

.vnp-packs-inner .swiper-pack .swiper-slide {
    height: auto !important;
    display: flex;
}

.vnp-pack-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 24px 24px;
    border-radius: 22px;
    background: linear-gradient(160deg, #1a1c28 0%, #12141d 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.vnp-pack-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.75), transparent);
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

.vnp-pack-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 87, 34, 0.6);
    box-shadow: 0 18px 42px rgba(255, 87, 34, 0.18), 0 12px 28px rgba(0, 0, 0, 0.55);
}

.vnp-pack-card:hover::before {
    opacity: 1;
}

.vnp-pack-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vnp-pack-name {
    margin: 0 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
}

.vnp-pack-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 87, 34, 0.16);
    border: 1px solid rgba(255, 87, 34, 0.45);
    color: #ffb020 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.vnp-pack-desc {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
}

/* Hộp quyền lợi & Data */
.vnp-pack-perk-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.vnp-pack-perk-text {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #e2e8f0 !important;
    flex: 1;
}

.vnp-pack-data-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 87, 34, 0.12);
    border: 1px solid rgba(255, 87, 34, 0.35);
    flex-shrink: 0;
    text-align: center;
}

.vnp-pack-data-value {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ff8a65 !important;
}

.vnp-pack-data-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #cbd5e1 !important;
    margin-top: 2px;
}

/* Hàng giá & nút Đăng ký */
.vnp-pack-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.vnp-pack-price-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin-bottom: 4px;
}

.vnp-pack-price-label i {
    color: var(--vnp-orange);
    font-size: 15px !important;
}

.vnp-pack-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.vnp-pack-price-num {
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
}

.vnp-pack-price-unit {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
}

.vnp-pack-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.vnp-pack-reg-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 87, 34, 0.55);
}

/* Khung Collapse cú pháp SMS / QR */
.vnp-pack-collapse-box {
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #0e1017;
    border: 1px dashed rgba(255, 87, 34, 0.48);
    color: #e2e8f0;
}

.vnp-pack-collapse-box p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #cbd5e1 !important;
    margin: 0 0 10px !important;
}

.vnp-pack-collapse-box strong {
    font-size: 13px !important;
    color: #ffffff !important;
}

.vnp-pack-sms-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.vnp-pack-sms-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 87, 34, 0.16);
    border: 1px solid rgba(255, 87, 34, 0.5);
    color: #ffb020 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.vnp-pack-sms-chip:hover {
    background: rgba(255, 87, 34, 0.3);
    color: #ffffff !important;
}

.vnp-pack-sms-send {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    color: #94a3b8 !important;
}

.vnp-pack-sms-send strong {
    color: var(--vnp-orange) !important;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .vnp-packs-page {
        padding: 76px 0 32px;
    }

    .vnp-packs-inner {
        padding: 0 14px;
    }

    .vnp-packs-head {
        margin-bottom: 22px;
    }

    /* Trên Mobile xếp dọc các gói để dễ so sánh và bấm đăng ký */
    .vnp-packs-inner .swiper-pack .swiper-wrapper {
        flex-direction: column !important;
        transform: none !important;
        gap: 14px !important;
    }

    .vnp-packs-inner .swiper-pack .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .vnp-pack-card {
        padding: 20px 18px;
        border-radius: 18px;
        gap: 16px;
    }

    .vnp-pack-name {
        font-size: 19px !important;
    }

    .vnp-pack-price-num {
        font-size: 21px !important;
    }

    .vnp-pack-reg-btn {
        padding: 9px 18px !important;
        font-size: 13px !important;
    }
}


/* ==========================================================================
   7. MÀN HÌNH HỒ SƠ CÁ NHÂN (PROFILE — DESKTOP & MOBILE)
   ========================================================================== */
.vnp-profile-page {
    padding: 108px 0 64px;
    min-height: 72vh;
}

.vnp-profile-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Card Profile */
.vnp-profile-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding: 28px 32px;
    border-radius: 22px;
    background: linear-gradient(155deg, #151722 0%, #10121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    margin-bottom: 26px;
}

.vnp-profile-identity {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

.vnp-profile-big-avatar {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #ffb020 0%, #ff5722 100%);
    box-shadow: 0 0 28px rgba(255, 140, 0, 0.28);
    flex-shrink: 0;
    overflow: hidden;
}

.vnp-profile-big-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #0d0f17;
}

.vnp-profile-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.vnp-profile-fullname {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.vnp-profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.vnp-prof-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.vnp-prof-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 87, 34, 0.55);
}

.vnp-prof-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    background: #1c1f2b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #e2e8f0 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.vnp-prof-btn-secondary:hover {
    background: #252938 !important;
    border-color: rgba(255, 87, 34, 0.5) !important;
    color: #ffffff !important;
}

.vnp-prof-btn-primary span,
.vnp-prof-btn-secondary span {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: inherit !important;
}

.vnp-prof-btn-primary i,
.vnp-prof-btn-secondary i {
    font-size: 15px !important;
    line-height: 1 !important;
}

/* Hộp trạng thái xác thực tài khoản bên phải */
.vnp-profile-security-box {
    min-width: 260px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vnp-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vnp-security-label {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    line-height: 1.3 !important;
}

.vnp-security-value {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #e2e8f0 !important;
}

.vnp-security-value.is-verified {
    color: #34d399 !important;
}

.vnp-security-value.is-unverified {
    color: #fbbf24 !important;
}

.vnp-security-bar {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.vnp-security-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #34d399);
}

.vnp-security-bar-fill.is-unverified {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Thanh Tabs Profile */
.vnp-profile-tabs-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    margin: 0 0 22px;
    padding: 0 0 4px;
    scrollbar-width: none;
}

.vnp-profile-tabs-bar::-webkit-scrollbar {
    display: none;
}

.vnp-profile-tabs-bar li {
    flex-shrink: 0;
}

.vnp-profile-tab-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px !important;
    border-radius: 10px !important;
    background: #181b25 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.vnp-profile-tab-link:hover {
    background: rgba(255, 87, 34, 0.14) !important;
    border-color: rgba(255, 87, 34, 0.45) !important;
    color: #ffffff !important;
}

.vnp-profile-tab-link.active {
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    border-color: #ff5722 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.42) !important;
}

/* Thẻ trạng thái gói hiện tại (khớp ảnh mẫu) */
.vnp-sub-panel {
    position: relative;
    padding: 26px 28px;
    border-radius: 20px;
    background: linear-gradient(155deg, #141722 0%, #10121b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid var(--vnp-orange);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 26px;
}

.vnp-sub-panel.is-expired {
    border-top-color: #ef4444;
}

.vnp-sub-panel.is-warning {
    border-top-color: #f59e0b;
}

.vnp-sub-panel-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vnp-sub-panel-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vnp-sub-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 176, 32, 0.1);
    border: 1px solid rgba(255, 176, 32, 0.25);
    color: #ffb020;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px !important;
    flex-shrink: 0;
}

.vnp-sub-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8 !important;
    margin-bottom: 4px;
    line-height: 1.2 !important;
}

.vnp-sub-code {
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
}

.vnp-sub-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.vnp-sub-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vnp-sub-pill.is-active {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399 !important;
}

.vnp-sub-pill.is-active .vnp-sub-pill-dot {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.vnp-sub-pill.is-expired {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171 !important;
}

.vnp-sub-pill.is-expired .vnp-sub-pill-dot {
    background: #f87171;
}

.vnp-sub-panel-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.vnp-sub-expiry {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px !important;
    color: #94a3b8 !important;
    line-height: 1.45 !important;
}

.vnp-sub-expiry i {
    color: #ffb020;
    font-size: 16px !important;
}

.vnp-sub-expiry strong {
    color: var(--vnp-orange) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Bảng dữ liệu Dark Theme (Lịch sử đăng ký & Game đã chơi) */
.vnp-profile-table-card {
    border-radius: 18px;
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.vnp-profile-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vnp-dark-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.vnp-dark-table thead th {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.vnp-dark-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    vertical-align: middle;
}

.vnp-dark-table tbody tr:last-child td {
    border-bottom: none;
}

.vnp-dark-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.vnp-table-game-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.vnp-table-game-link:hover {
    color: var(--vnp-orange) !important;
}

.vnp-table-game-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.vnp-table-score {
    color: #ffb020 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
}

.vnp-table-pack-code {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(255, 87, 34, 0.14);
    color: #ff8a65 !important;
    font-weight: 700 !important;
    font-size: 12.5px !important;
}

.vnp-table-empty {
    padding: 40px 20px !important;
    text-align: center;
    color: #64748b !important;
    font-size: 14px !important;
}

@media (max-width: 768px) {
    .vnp-profile-page {
        padding: 74px 0 32px;
    }

    .vnp-profile-inner {
        padding: 0 14px;
    }

    .vnp-profile-hero-card {
        padding: 18px 16px;
        border-radius: 18px;
        gap: 16px;
    }

    .vnp-profile-identity {
        gap: 14px;
        width: 100%;
    }

    .vnp-profile-big-avatar {
        width: 72px;
        height: 72px;
    }

    .vnp-profile-fullname {
        font-size: 20px !important;
    }

    .vnp-prof-btn-primary,
    .vnp-prof-btn-secondary {
        padding: 7px 12px !important;
        font-size: 12.5px !important;
    }

    .vnp-prof-btn-primary span,
    .vnp-prof-btn-secondary span {
        font-size: 12.5px !important;
    }

    .vnp-profile-tabs-bar {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        overflow: visible;
    }

    .vnp-profile-tab-link {
        width: 100%;
        justify-content: center;
        padding: 8px 4px !important;
        font-size: 12px !important;
        text-align: center;
    }

    .vnp-profile-security-box {
        width: 100%;
        min-width: 0;
    }

    .vnp-sub-panel {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .vnp-sub-code {
        font-size: 20px !important;
    }

    .vnp-dark-table thead th,
    .vnp-dark-table tbody td {
        padding: 12px 12px;
        font-size: 12.5px !important;
    }
}


/* ==========================================================================
   8. FORM CẬP NHẬT THÔNG TIN & ĐỔI MẬT KHẨU (DARK GLASS FORM)
   ========================================================================== */
.vnp-form-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 34px 38px 36px;
    border-radius: 22px;
    background: linear-gradient(155deg, #151722 0%, #10121a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.48);
}

.vnp-form-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 28px;
}

.vnp-form-title {
    margin: 0 0 10px !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.vnp-form-subtitle {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #94a3b8 !important;
}

.vnp-form-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    margin-bottom: 20px;
    text-align: center;
}

.vnp-form-alert.is-error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171 !important;
}

.vnp-form-alert.is-success {
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399 !important;
}

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

.vnp-form-group {
    margin-bottom: 18px;
}

.vnp-form-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #f1f5f9 !important;
}

.vnp-form-label i {
    color: var(--vnp-orange);
    font-size: 15px !important;
    line-height: 1 !important;
}

.vnp-form-label span {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
}

.vnp-req {
    color: #ef4444;
    font-style: normal;
}

.vnp-input-wrap {
    position: relative;
}

.vnp-input-control {
    width: 100% !important;
    height: 46px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    background: #0d0f16 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vnp-input-control.has-eye {
    padding-right: 46px !important;
}

.vnp-input-control::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.vnp-input-control:focus {
    background: #10131d !important;
    border-color: var(--vnp-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2) !important;
    outline: none !important;
}

.vnp-input-control[readonly],
.vnp-input-control:disabled {
    background: #0b0d13 !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.07) !important;
}

/* Giữ đồng bộ nền tối khi trình duyệt tự điền (autofill) trên toàn bộ form */
.vnp-input-control:-webkit-autofill,
.vnp-input-control:-webkit-autofill:hover,
.vnp-input-control:-webkit-autofill:focus,
.vnp-auth-input:-webkit-autofill,
.vnp-auth-input:-webkit-autofill:hover,
.vnp-auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0 1000px #0d0f16 inset !important;
    box-shadow: 0 0 0 1000px #0d0f16 inset !important;
    caret-color: #f8fafc !important;
    transition: background-color 5000s ease-in-out 0s;
}

.vnp-input-control.input-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.vnp-eye-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.vnp-eye-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
}

.vnp-eye-btn i {
    font-size: 18px !important;
    line-height: 1 !important;
}

.vnp-field-error {
    margin-top: 5px;
    color: #f87171 !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
}

.vnp-field-error span {
    display: block;
    font-size: 12.5px !important;
    color: #f87171 !important;
}

.vnp-guardian-box {
    margin: 8px 0 20px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.vnp-form-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 6px 0 26px;
}

.vnp-form-note i {
    color: var(--vnp-orange);
    font-size: 18px !important;
    flex-shrink: 0;
    margin-top: 1px;
}

.vnp-form-note span {
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
}

.vnp-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.vnp-btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    height: 46px;
    padding: 0 26px !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vnp-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 87, 34, 0.55);
}

.vnp-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    height: 46px;
    padding: 0 26px !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #111218 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vnp-btn-back:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.5);
    color: #111218 !important;
}

.vnp-btn-save span,
.vnp-btn-back span {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: inherit !important;
}

.vnp-btn-save i,
.vnp-btn-back i {
    font-size: 17px !important;
    line-height: 1 !important;
}

@media (max-width: 768px) {
    .vnp-form-card {
        padding: 22px 18px 24px;
        border-radius: 18px;
    }

    .vnp-form-title {
        font-size: 22px !important;
    }

    .vnp-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vnp-form-actions {
        flex-direction: column;
        width: 100%;
    }

    .vnp-btn-save,
    .vnp-btn-back {
        width: 100%;
    }
}


/* ==========================================================================
   9. XẾP HẠNG, NHẬT KÝ ĐIỂM & NHIỆM VỤ (SĂN ĐIỂM)
   ========================================================================== */
.vnp-page-head {
    margin-bottom: 24px;
}

.vnp-page-title {
    margin: 0 0 8px !important;
    font-size: clamp(26px, 3vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

.vnp-page-subtitle {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    color: #94a3b8 !important;
}

/* Xếp hạng */
.vnp-rank-player {
    display: flex;
    align-items: center;
    gap: 14px;
}

.vnp-rank-num {
    min-width: 28px;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #64748b !important;
}

.vnp-rank-num.is-top-1 {
    color: #fbbf24 !important;
}

.vnp-rank-num.is-top-2 {
    color: #e2e8f0 !important;
}

.vnp-rank-num.is-top-3 {
    color: #fb923c !important;
}

.vnp-rank-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
    background: #0d0f17;
}

.vnp-rank-avatar.is-top {
    border-color: #fbbf24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.vnp-rank-name {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #f8fafc !important;
}

.vnp-rank-points {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.vnp-table-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12.5px !important;
    color: #64748b !important;
}

/* Nhật ký điểm */
.vnp-log-point-badge {
    display: inline-flex;
    align-items: center;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffb020 !important;
}

.vnp-log-type-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.vnp-log-time {
    color: #94a3b8 !important;
    font-size: 13px !important;
    white-space: nowrap;
}

/* Nhiệm vụ / Săn điểm */
.vnp-mission-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 18px;
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.vnp-mission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.vnp-mission-item:last-child {
    border-bottom: none;
}

.vnp-mission-item:hover {
    background: rgba(255, 255, 255, 0.025);
}

.vnp-mission-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.vnp-mission-name {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #f8fafc !important;
}

.vnp-mission-point {
    color: #ffb020 !important;
    font-weight: 700 !important;
}

.vnp-mission-action {
    flex-shrink: 0;
}

.vnp-mission-btn-do {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 38px;
    padding: 0 18px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vnp-mission-btn-do:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 87, 34, 0.5);
}

.vnp-mission-badge-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 132px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.vnp-mission-badge-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .vnp-mission-item {
        padding: 14px 14px;
        gap: 12px;
    }

    .vnp-mission-name {
        font-size: 13px !important;
    }

    .vnp-mission-btn-do,
    .vnp-mission-badge-done,
    .vnp-mission-badge-pending {
        min-width: 108px;
        height: 34px;
        padding: 0 12px !important;
        font-size: 12px !important;
    }
}


/* ==========================================================================
   11. TRANG ĐĂNG NHẬP & ĐĂNG KÝ 3 BƯỚC (STITCH DARK THEME)
   ========================================================================== */
.vnp-auth-section {
    position: relative;
    min-height: calc(100vh - 220px);
    padding: 120px 16px 80px !important;
    background: #0a0b10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vnp-auth-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.16) 0%, rgba(255, 87, 34, 0.04) 45%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.vnp-auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.vnp-auth-container.is-register {
    max-width: 560px;
}

.vnp-auth-card {
    background: #14161f !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 22px !important;
    padding: 36px 34px 32px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.03) inset !important;
}

.vnp-auth-head {
    text-align: center;
    margin-bottom: 24px;
}

.vnp-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 87, 34, 0.12);
    border: 1px solid rgba(255, 87, 34, 0.32);
    color: #ff8a65 !important;
    margin-bottom: 14px;
}

.vnp-auth-badge i {
    font-size: 14px !important;
    color: var(--vnp-orange) !important;
}

.vnp-auth-badge span {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff8a65 !important;
    line-height: 1.2 !important;
}

.vnp-auth-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.02em;
}

.vnp-auth-subtitle {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

.vnp-auth-alert {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    color: #ff7a45 !important;
    text-align: center;
    margin: 0 0 16px !important;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
}

.vnp-auth-alert:empty {
    display: none;
    margin: 0 !important;
    padding: 0;
}

.vnp-auth-field {
    margin-bottom: 18px;
}

.vnp-auth-label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #e2e8f0 !important;
    margin: 0 0 7px !important;
}

.vnp-auth-label .vnp-req {
    color: #ff5c5c !important;
    font-size: inherit !important;
    margin-left: 2px;
}

.vnp-auth-label .vnp-opt {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    font-size: 12px !important;
}

.vnp-auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.vnp-auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px !important;
    color: #64748b !important;
    pointer-events: none;
    z-index: 2;
    transition: color 0.2s ease;
}

.vnp-auth-input-wrap:focus-within .vnp-auth-input-icon {
    color: var(--vnp-orange) !important;
}

.vnp-auth-section input.vnp-auth-input,
.vnp-auth-section input.form-control.vnp-auth-input {
    width: 100% !important;
    height: 46px !important;
    padding: 0 14px 0 42px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #0d0f16 !important;
    color: #f8fafc !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

/* Chống trình duyệt tự điền (autofill) tô nền trắng xanh — đặt sau rule input chính để thắng specificity */
.vnp-auth-section input.form-control.vnp-auth-input:-webkit-autofill,
.vnp-auth-section input.form-control.vnp-auth-input:-webkit-autofill:hover,
.vnp-auth-section input.form-control.vnp-auth-input:-webkit-autofill:focus,
.vnp-auth-section input.form-control.vnp-auth-input:-webkit-autofill:active,
.vnp-auth-section input.vnp-auth-input:-webkit-autofill,
.vnp-auth-section input.vnp-auth-input:-webkit-autofill:hover,
.vnp-auth-section input.vnp-auth-input:-webkit-autofill:focus,
.vnp-auth-section input.vnp-auth-input:-webkit-autofill:active,
input.vnp-input-control:-webkit-autofill,
input.vnp-input-control:-webkit-autofill:hover,
input.vnp-input-control:-webkit-autofill:focus,
input.vnp-input-control:-webkit-autofill:active {
    -webkit-text-fill-color: #f8fafc !important;
    -webkit-box-shadow: 0 0 0 1000px #0d0f16 inset !important;
    box-shadow: 0 0 0 1000px #0d0f16 inset !important;
    background-color: #0d0f16 !important;
    caret-color: #f8fafc !important;
    transition: background-color 999999s ease-in-out 0s !important;
}

.vnp-auth-section input.vnp-auth-input.has-toggle {
    padding-right: 44px !important;
}

.vnp-auth-section input.vnp-auth-input.otp-input-center {
    padding: 0 14px !important;
    text-align: center !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 6px !important;
}

.vnp-auth-section input.vnp-auth-input.otp-input-center::placeholder {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

.vnp-auth-section input.vnp-auth-input::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

.vnp-auth-section input.vnp-auth-input:focus {
    border-color: var(--vnp-orange) !important;
    background: #10131d !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.2) !important;
    outline: none !important;
}

.vnp-auth-section input.vnp-auth-input.input-invalid {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.22) !important;
}

/* Nút hiện/ẩn mật khẩu */
.vnp-auth-eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    z-index: 3;
    transition: color 0.2s ease, background 0.2s ease;
}

.vnp-auth-eye-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.vnp-auth-eye-btn i {
    font-size: 17px !important;
}

.vnp-auth-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -4px 0 20px;
}

.vnp-auth-link-muted {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

.vnp-auth-link-muted:hover {
    color: var(--vnp-orange) !important;
}

.vnp-auth-submit-btn {
    width: 100%;
    height: 48px !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(255, 87, 34, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.vnp-auth-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 87, 34, 0.5);
}

.vnp-auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.vnp-auth-footer-text {
    text-align: center;
    margin: 22px 0 0 !important;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 13.5px !important;
    color: #94a3b8 !important;
}

.vnp-auth-link-accent {
    color: var(--vnp-orange) !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.vnp-auth-link-accent:hover {
    color: #ff8a65 !important;
    text-decoration: underline !important;
}

/* Khối hướng dẫn SMS quên mật khẩu */
.vnp-auth-sms-box {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 87, 34, 0.08);
    border: 1px solid rgba(255, 87, 34, 0.25);
    text-align: center;
}

.vnp-auth-sms-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    margin: 0 0 10px !important;
}

.vnp-auth-sms-title i {
    color: var(--vnp-orange);
    font-size: 16px !important;
}

.vnp-auth-sms-title span {
    font-size: 13px !important;
    color: #e2e8f0 !important;
}

.vnp-auth-sms-item {
    padding: 8px 0;
}

.vnp-auth-sms-syntax {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    margin-bottom: 8px;
}

.vnp-auth-sms-syntax strong {
    color: #ff8a65 !important;
    font-weight: 700 !important;
}

.vnp-auth-sms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px !important;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff5722, #ff7043);
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

.vnp-auth-sms-btn span {
    font-size: 13px !important;
    color: #ffffff !important;
}

/* Thanh tiến trình 3 bước đăng ký */
.vnp-auth-section .register-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    margin: 4px auto 26px;
    padding: 0 6px;
}

.vnp-auth-section .register-stepper::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.vnp-auth-section .register-step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.vnp-auth-section .register-step-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1b1e2b;
    border: 2px solid rgba(255, 255, 255, 0.16);
    color: #94a3b8;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    transition: all 0.25s ease;
}

.vnp-auth-section .register-step-label {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    transition: color 0.25s ease;
}

.vnp-auth-section .register-step-item.is-active .register-step-circle {
    background: linear-gradient(135deg, #ff5722, #ff7043);
    border-color: var(--vnp-orange);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 87, 34, 0.45);
}

.vnp-auth-section .register-step-item.is-active .register-step-label {
    color: #ff8a65 !important;
    font-weight: 700 !important;
}

.vnp-auth-section .register-step-item.is-done .register-step-circle {
    background: rgba(255, 87, 34, 0.16);
    border-color: var(--vnp-orange);
    color: #ff8a65;
}

.vnp-auth-section .register-step-item.is-done .register-step-label {
    color: #e2e8f0 !important;
}

.vnp-auth-section .field-error {
    color: #ff6b6b !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    margin-top: 6px;
    display: none;
}

.vnp-auth-section .field-error span {
    display: block;
    font-size: 12.5px !important;
    color: #ff6b6b !important;
}

/* Khối thông tin người giám hộ */
.vnp-auth-section .guar-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}

.vnp-auth-section .guar-group h5 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
}

/* Khu vực OTP Bước 3 */
.vnp-auth-section .otp-info-banner {
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    text-align: center;
    color: #e2e8f0 !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
}

.vnp-auth-section .otp-info-banner span {
    font-size: 13.5px !important;
    color: #e2e8f0 !important;
}

.vnp-auth-section .otp-info-banner strong {
    color: #ff8a65 !important;
    font-weight: 700 !important;
}

.vnp-auth-section .otp-resend-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.vnp-auth-section .otp-status-note {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    text-align: center;
    min-height: 18px;
}

.vnp-auth-section .otp-status-note.is-success {
    color: #4ade80 !important;
    font-weight: 600 !important;
}

.vnp-auth-section .otp-status-note.is-error {
    color: #ff6b6b !important;
    font-weight: 600 !important;
}

.vnp-auth-section .btn-resend-otp {
    background: rgba(255, 87, 34, 0.12);
    color: #ff8a65 !important;
    border: 1px solid rgba(255, 87, 34, 0.35);
    border-radius: 10px;
    padding: 7px 16px;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vnp-auth-section .btn-resend-otp:hover:not(:disabled) {
    background: var(--vnp-orange);
    border-color: var(--vnp-orange);
    color: #ffffff !important;
}

.vnp-auth-section .btn-resend-otp:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Khối đồng ý điều khoản */
.vnp-auth-section .agree-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 16px;
}

.vnp-auth-section .agree-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.vnp-auth-section .agree-row input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--vnp-orange);
    flex-shrink: 0;
    cursor: pointer;
}

.vnp-auth-section .agree-row label {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #e2e8f0 !important;
    line-height: 1.5 !important;
    cursor: pointer;
}

.vnp-auth-section .agree-legal-note {
    margin: 10px 0 0 !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    line-height: 1.5 !important;
}

.vnp-auth-section .step-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.vnp-auth-section .btn-step-back {
    flex: 1;
    height: 48px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    background: #1d202d !important;
    color: #e2e8f0 !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.vnp-auth-section .btn-step-back:hover {
    background: #272b3b !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
}

.vnp-auth-section .btn-step-primary {
    flex: 2;
}

/* Popup lịch Datepicker Dark Theme */
#ui-datepicker-div,
.ui-datepicker {
    z-index: 999999 !important;
    background: #161822 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.65) !important;
    padding: 12px !important;
    color: #e2e8f0 !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
}

.ui-datepicker .ui-datepicker-header {
    background: #1f2230 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 6px 0 !important;
    color: #ffffff !important;
}

.ui-datepicker .ui-datepicker-title select {
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 7px !important;
    padding: 3px 6px !important;
    font-size: 12.5px !important;
    color: #f8fafc !important;
    background: #0d0f16 !important;
    margin: 0 2px !important;
}

.ui-datepicker th {
    color: #94a3b8 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.ui-datepicker td a.ui-state-default {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    text-align: center !important;
    padding: 5px 4px !important;
    font-size: 12.5px !important;
}

.ui-datepicker td a.ui-state-hover {
    background: rgba(255, 87, 34, 0.18) !important;
    border-color: rgba(255, 87, 34, 0.45) !important;
    color: #ffffff !important;
}

.ui-datepicker td .ui-state-active,
.ui-datepicker td .ui-state-highlight {
    background: var(--vnp-orange) !important;
    border-color: var(--vnp-orange) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .vnp-auth-section {
        padding: 86px 14px 104px !important;
        align-items: flex-start;
    }

    .vnp-auth-card {
        padding: 26px 20px 24px !important;
        border-radius: 18px !important;
    }

    .vnp-auth-title {
        font-size: 24px !important;
    }

    .vnp-auth-section .register-step-label {
        font-size: 11.5px !important;
    }
}
