
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f0f4f8 !important;
    font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, sans-serif !important;
    color: #1e293b !important;
    line-height: 1.4;
    font-size: 18px !important;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

:root {
    --primary-navy: #0f172a;
    --primary-blue: #1e3a8a;
    --primary-light: #2563eb;
    --gray-bg: #f8fafc;
    --gray-border: #e2e8f0;
    --gray-text: #475569;
    --white: #ffffff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.page-name.parallax {
    padding-top: 150px !important;
    margin-top: 0 !important;
}


.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.col-lg-8, .col-lg-4 {
    display: flex;
    flex-direction: column;
}

.imgs-banner {
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
    width: 100%;
    height: auto !important;
    flex: 1;
}

.imgs-banner img {
    width: 100%;
    height: auto !important;
    display: block;
    border-radius: 0.25rem;
}


.xTech-bntbox {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px);
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    overflow: hidden;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.25s ease;
}


.modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2) !important;
}
.modal-header {
    border-bottom: 2px solid var(--gray-border) !important;
    padding: 25px 30px !important;
}
.modal-title {
    color: var(--primary-blue) !important;
    font-weight: 800 !important;
    font-size: 3rem !important;
    text-align: left !important;
}
.modal-title i {
    font-size: 3rem;
    margin-right: 12px;
}
.modal-body {
    padding: 30px !important;
}
.modal-body p, .modal-body span, .modal-body strong {
    color: var(--gray-text) !important;
    font-size: 1.3rem !important;
    line-height: 1.4;
}
.modal-footer {
    border-top: 2px solid var(--gray-border) !important;
    padding: 20px 30px !important;
}
.modal-footer .btn {
    background: var(--primary-blue) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 30px !important;
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: 700;
}


.xTech-bnnav-tabs {
    display: flex;
    background: rgba(248, 250, 252, 0.7);
    border-bottom: 2px solid var(--gray-border);
    flex-shrink: 0;
}
.xTech-bnnav-tabs li {
    flex: 1;
    list-style: none;
    text-align: center;
}
.xTech-bnnav-tabs li a {
    display: block;
    padding: 16px 12px;
    font-weight: 800;
    color: var(--gray-text);
    text-decoration: none;
    font-size: 1.8rem !important;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    transition: 0.2s ease;
}
.xTech-bnnav-tabs li.active a {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.9);
}
.xTech-bntcbox, .tab-content {
    padding: 25px;
    background: transparent;
    flex: 1;
}
.form-group {
    margin-bottom: 20px;
}


.form-control, select, input {
    background: rgba(248, 250, 252, 0.9) !important;
    border: 1px solid var(--gray-border) !important;
    border-radius: 14px !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    color: #000000 !important;
    font-weight: 500 !important;
    width: 100%;
    height: auto !important;
    min-height: 44px !important;
}
.form-control option, select option {
    color: #000000 !important;
    padding: 8px !important;
}
.form-control:focus, select:focus, input:focus {
    border-color: var(--primary-blue) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30,58,138,0.15);
}
.btn.recharge {
    background: var(--primary-blue) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 14px !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    color: white !important;
    width: 100%;
    cursor: pointer;
    transition: 0.2s ease;
}
.btn.recharge:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,58,138,0.3);
}


.xTech-topthe {
    list-style: none;
}
.xTech-topthe li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-border);
    transition: 0.2s ease;
}
.xTech-topthe li:hover {
    background: rgba(248, 250, 252, 0.5);
    padding-left: 8px;
    border-radius: 12px;
}
.xTech-topthe li i {
    background: var(--gray-bg);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    font-size: 1.1rem;
    font-style: normal;
    font-weight: 800;
}
.xTech-topthe li:first-child i {
    background: #fef3c7;
    color: #d97706;
}
.xTech-topthe li span {
    flex: 1;
    margin-left: 14px;
    font-weight: 600;
    font-size: 1.5rem !important;
    color: var(--gray-text);
}
.xTech-topthe li label {
    background: var(--gray-bg);
    color: var(--primary-blue);
    padding: 5px 12px;
    border-radius: 24px;
    font-size: 1.85rem !important;
    font-weight: 700;
}


.vongquay-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 20px;
    margin: 0 -12px;
    padding-left: 12px;
}
.vongquay-wrapper::-webkit-scrollbar {
    height: 6px;
}
.vongquay-wrapper::-webkit-scrollbar-track {
    background: var(--gray-border);
    border-radius: 10px;
}
.vongquay-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}
.vongquay-list {
    display: inline-flex;
    gap: 22px;
    white-space: nowrap;
}
.vongquay-item {
    display: inline-block;
    width: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: normal;
    position: relative;
    transition: 0.25s ease;
}
.vongquay-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}
.category.title-minigame {
    background: rgba(248, 250, 252, 0.8) !important;
    color: var(--primary-blue) !important;
    padding: 14px !important;
    font-weight: 800;
    font-size: 1.1rem !important;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vongquay-item .image-bl {
    width: 100%;
    overflow: hidden;
}
.vongquay-item .image-bl img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}
.vongquay-item:hover .image-bl img {
    transform: scale(1.03);
}
.vongquay-item .bottom-info {
    padding: 14px;
    text-align: center;
}
.xtechGia .oldPrice {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}
.xtechGia .newPrice {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.2rem;
}
.xTech-Info {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin: 6px 0;
}
.xTech-btnImg {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 16px;
    transition: 0.2s ease;
}
.xTech-btnImg img {
    width: 105px !important;
    height: auto;
    opacity: 0.9;
    transition: 0.2s;
}
.xTech-btnImg:hover img {
    opacity: 1;
    transform: scale(1.05);
}


.shop-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 20px;
    margin: 0 -12px;
    padding-left: 12px;
}
.shop-wrapper::-webkit-scrollbar {
    height: 6px;
}
.shop-wrapper::-webkit-scrollbar-track {
    background: var(--gray-border);
    border-radius: 10px;
}
.shop-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}
.shop-list {
    display: inline-flex;
    gap: 22px;
    white-space: nowrap;
}
.shop-item {
    display: inline-block;
    width: 260px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: normal;
    transition: 0.25s ease;
}
.shop-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}
.shop-item .category {
    background: rgba(248, 250, 252, 0.8) !important;
    padding: 14px !important;
    font-weight: 800;
    font-size: 1rem !important;
    color: var(--primary-blue) !important;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-item .service-icon {
    padding: 18px;
    text-align: center;
}
.shop-item .service-icon img {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    transition: 0.2s ease;
}
.shop-item:hover .service-icon img {
    opacity: 1;
    transform: scale(1.05);
}
.shop-item .service-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary-blue);
}
.shop-item .service-desc {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin: 6px 0 12px;
    padding: 0 8px;
}
.shop-item .service-btn {
    background: var(--gray-bg);
    border: 1px solid var(--gray-border);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-text);
    cursor: pointer;
    margin-bottom: 18px;
    transition: 0.2s;
}
.shop-item .service-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}


.section-title {
    margin: 35px 0 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gray-border);
}
.section-title h3 {
    color: var(--primary-navy);
    font-weight: 800;
    font-size: 2.5rem !important;
    margin: 0;
}
.section-title p {
    color: var(--gray-text);
    font-size: 1rem !important;
    margin: 8px 0 0;
}


.newyear-banner {
    background: var(--primary-blue) !important;
    padding: 12px 0;
    margin: 25px 0;
    border-radius: 0px !important;
    overflow: hidden;
}
.newyear-marquee span {
    color: white !important;
    font-weight: 600;
    font-size: 1rem !important;
    margin: 0 20px;
    white-space: nowrap;
}
.newyear-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeLeft 25s linear infinite;
}
@keyframes marqueeLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    body {
        font-size: 16px !important;
    }
    .section-title h3 {
        font-size: 2rem !important;
    }
    .xTech-bnnav-tabs li a {
        font-size: 1.5rem !important;
        padding: 14px 8px;
    }
    .vongquay-item {
        width: 260px;
    }
    .shop-item {
        width: 240px;
    }
    .row {
        flex-direction: column;
    }
    .col-lg-8, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .xTech-bntbox {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    .section-title h3 {
        font-size: 1.8rem !important;
    }
    .xTech-bnnav-tabs li a {
        font-size: 1.3rem !important;
        padding: 12px 6px;
        white-space: normal;
    }
    .vongquay-item {
        width: 240px;
    }
    .vongquay-item .image-bl img {
        height: 120px;
    }
    .shop-item {
        width: 220px;
    }
    .modal-title {
        font-size: 1.8rem !important;
    }
    .form-control, select, input {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        min-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .xTech-bnnav-tabs li a {
        font-size: 1.1rem !important;
        padding: 10px 4px;
    }
    .vongquay-item {
        width: 220px;
    }
    .shop-item {
        width: 200px;
    }

.notification-center {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 380px;
    max-width: calc(100vw - 40px);
}

.notification-toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
}

.notification-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-toast.removing {
    transform: translateX(400px);
    opacity: 0;
}

.notification-header {
    padding: 16px 20px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.notification-title {
    flex: 1;
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
}

.notification-time {
    font-size: 0.7rem;
    color: #94a3b8;
}

.notification-body {
    padding: 12px 20px 16px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.notification-footer {
    padding: 10px 20px 16px;
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.notification-btn {
    flex: 1;
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.notification-btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
}

.notification-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30,58,138,0.3);
}

.notification-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.2s;
    z-index: 9998;
}

.notification-badge:hover {
    transform: scale(1.05);
}

.notification-badge .count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}

.history-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 9997;
    transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.history-panel.show {
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.history-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-header h4 {
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0;
    color: #1e293b;
}

.history-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}

.history-item {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    transition: 0.2s;
    border-radius: 12px;
    margin-bottom: 5px;
}

.history-item:hover {
    background: #f8fafc;
}

.history-item .title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.history-item .content {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 5px;
}

.history-item .time {
    font-size: 0.7rem;
    color: #94a3b8;
}

.history-empty {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-center, .history-panel {
        width: 320px;
        right: 20px;
        bottom: 20px;
    }
    .notification-badge {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    .history-panel {
        bottom: 85px;
    }
}