:root {
    --color-primary: #ffc648;
    --color-primary-dark: #f48e31;
    --color-text: #61360d;
    --color-white: #ffffff;
    --color-bg: #fff5e6;
    --color-overlay-light: rgba(255, 255, 255, 0.15);
    --color-overlay-medium: rgba(255, 255, 255, 0.25);
    --color-overlay-strong: rgba(255, 255, 255, 0.5);
    --color-divider: rgba(255, 255, 255, 0.2);
    --color-avatar-border: rgba(255, 255, 255, 0.4);
    --color-sidebar-bg: #e8f0fe;
    --radius-navbar: 10px;
    --radius-link: 6px;
    --radius-pill: 20px;
    --radius-circle: 50%;
    --font-family: 'Inter', sans-serif;
    --font-size-sm: 13px;
    --transition-speed: 0.25s;
    --radius: 8px;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-primary-dark {
    color: var(--color-primary-dark) !important;
}

.header-section {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: transparent;
    transition: all 0.3s ease;
}

.main-content {
    padding: 20px 0;
}

.hero-row {
    /* Để Bootstrap xử lý Row */
}

.hero-row .top-nap-section {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-row .notice-section {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.banner-wrapper {
    width: 100%;
    border-radius: var(--radius-navbar);
    overflow: hidden;
}

.notice-box {
    background-color: #fff;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
    position: relative;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.notice-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    border-bottom: 2px solid var(--color-bg);
    padding-bottom: 8px;
}

.notice-tab {
    flex: 1;
    background: var(--color-bg);
    border: 1px solid #eee;
    color: var(--color-text);
    font-weight: 800;
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.notice-tab.active {
    background: var(--color-primary);
    color: var(--color-text);
    border-color: var(--color-primary-dark);
}

.notice-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}

.notice-tab-panel {
    display: none;
    width: 100%;
}

.notice-tab-panel.active {
    display: block;
}

.notice-frame-img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px !important;
}

.notice-footer-icons {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    font-size: 24px;
    color: var(--color-text);
    opacity: 0.3;
}

.notice-slider-wrapper {
    width: 60%;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#noticeCarousel .carousel-item {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.notice-frame-img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.btn-dismiss-normal {
    background-color: #eee;
    color: #555;
    font-weight: 700;
    border: none;
    padding: 10px 35px;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-dismiss-normal:hover {
    background-color: #ddd;
}

.btn-dismiss-hour {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-weight: 700;
    border: none;
    padding: 10px 35px;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-dismiss-hour:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.notice-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.border-0 {
    border: none !important;
}

.bg-light {
    background-color: #f1f5f9 !important;
}

@media (max-width: 768px) {
    .notice-slider-wrapper {
        width: 100%;
    }

    .hero-row {
        flex-direction: column;
        gap: 15px;
    }

    .header-section {
        padding: 8px 0 4px 0;
    }

    .hero-row {
        flex-direction: column;
        gap: 10px;
    }

    .hero-row .top-nap-section {
        width: 100%;
    }

    .banner-carousel {
        height: auto;
    }

    .profile-dropdown {
        margin-right: -20px;
    }
}

.banner-carousel {
    cursor: grab;
    user-select: none;
    border-radius: var(--radius-navbar);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.banner-carousel .carousel-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.banner-carousel .carousel-item {
    flex: 1;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.carousel-item {
    transition: transform 0.6s ease-in-out !important;
    flex: 1;
}

.banner-carousel .carousel-indicators {
    margin-bottom: 12px;
}

.banner-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-speed) ease;
    margin: 0 4px;
}

.banner-carousel .carousel-indicators button.active {
    background-color: var(--color-white);
    width: 24px;
    border-radius: 4px;
}

.custom-navbar {
    background-color: var(--color-primary);
    border-radius: 15px;
    border: 4px solid var(--color-primary-dark);
    padding: 10px 16px 10px 5px;
    min-height: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.custom-navbar .navbar-brand {
    padding: 0;
    margin: 0 10px;
}

.navbar-toggler {
    padding: 0px;
}

.profile-dropdown {
    position: relative;
    z-index: 1050;
}

.profile-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    padding: 8px 0;
    min-width: 200px;
    margin-top: 10px !important;
}

.custom-navbar .nav-link {
    color: var(--color-text) !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.custom-navbar .nav-link i {
    margin-right: 3px;
    font-size: var(--font-size-sm);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.custom-navbar .nav-link:hover {
    background-color: var(--color-overlay-light);
    color: var(--color-white) !important;
    text-decoration: none;
}

.custom-navbar .nav-link:hover i {
    opacity: 1;
}

.nav-divider {
    width: 1px;
    height: 18px;
    background-color: var(--color-divider);
    align-self: center;
    margin: 0 2px;
    flex-shrink: 0;
}

.profile-section {
    cursor: pointer;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--color-overlay-medium);
    transition: all var(--transition-speed) ease;
}

.profile-section:hover {
    background-color: var(--color-overlay-light);
    border-color: var(--color-overlay-strong);
}

.profile-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-white);
}

.avatar-img {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid var(--color-avatar-border);
}

.profile-dropdown {
    position: relative;
    z-index: 1001;
}

.profile-menu {
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    padding: 10px;
    min-width: 240px;
    margin-top: 15px !important;
    background: #fff;
    overflow: hidden;
}

.profile-menu .dropdown-item {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-menu .dropdown-item:last-child {
    margin-bottom: 0;
}

.profile-menu .dropdown-item iconify-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.profile-menu .dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.profile-menu .dropdown-item:hover iconify-icon {
    transform: scale(1.1);
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Individual Icon Colors */
.profile-menu .text-primary iconify-icon {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

.profile-menu .text-success iconify-icon {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
}

.profile-menu .text-warning iconify-icon {
    background: rgba(234, 179, 8, 0.08);
    color: #ca8a04;
}

.profile-menu .text-info iconify-icon {
    background: rgba(8, 145, 178, 0.08);
    color: #0891b2;
}

.profile-menu .text-danger iconify-icon {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}

.profile-menu .fw-bold.text-primary iconify-icon {
    background: rgba(251, 189, 8, 0.1);
    color: #b45309;
}

.profile-menu .dropdown-divider {
    margin: 8px 10px;
    border-color: #f1f5f9;
    opacity: 1;
}

.navbar-toggler-icon {
    filter: brightness(0);
}

.navbar-brand {
    padding: 0;
    margin: 0;
    text-decoration: none !important;
}

.brand-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-slogan {
    color: var(--color-white);
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.sidebar-mobile {
    max-width: 340px;
    border: none !important;
    display: flex;
    flex-direction: column;
    z-index: 99999 !important;
}

.sidebar-header {
    background-color: var(--color-sidebar-bg);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sidebar-brand-card {
    background-color: var(--color-primary);
    border-radius: var(--radius-navbar);
    padding: 12px 16px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.btn-close-sidebar {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.btn-close-sidebar:hover {
    opacity: 1;
}

.btn-close-sidebar iconify-icon {
    color: var(--color-text) !important;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-item>a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-navbar);
    transition: all var(--transition-speed) ease;
}

.sidebar-item>a iconify-icon {
    font-size: 17px;
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #555;
}

.sidebar-item>a:hover {
    background-color: rgba(1, 90, 224, 0.08);
}

.sidebar-item.active>a {
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    font-weight: 600;
}

.sidebar-item.active>a i {
    color: var(--color-text) !important;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform var(--transition-speed) ease;
}

.sidebar-toggle[aria-expanded="true"] .submenu-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
}

.sidebar-submenu li a {
    display: block;
    padding: 10px 16px 10px 46px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    border-radius: var(--radius-link);
    transition: all var(--transition-speed) ease;
}

.sidebar-submenu li a:hover {
    background-color: rgba(1, 90, 224, 0.08);
    color: var(--color-primary);
}

.sidebar-footer {
    background-color: var(--color-sidebar-bg);
    padding: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: auto;
}

.sidebar-footer-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.sidebar-user-detail {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.sidebar-username {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.sidebar-balance {
    font-size: 12px;
    color: #666;
}

.sidebar-balance strong {
    color: var(--color-primary);
}

.sidebar-footer-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-sidebar-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-link);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.btn-sidebar-icon:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-sidebar-icon.btn-logout {
    background-color: #fff;
    color: #dc3545;
    border: 1.5px solid #dc3545;
}

.btn-sidebar-icon.btn-logout:hover {
    background-color: #dc3545;
    color: var(--color-white);
}

.sidebar-body {
    background-color: var(--color-sidebar-bg);
    padding: 16px 14px;
    flex: 1;
    overflow-y: auto;
}

.hidden {
    display: none !important;
}

.top-nap-section {
    background-color: #fff;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px !important;
    position: relative;
    border: 3px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
    overflow: hidden;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: var(--radius-navbar);
    overflow: hidden;
    margin-top: 12px;
}

.ticker-label {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 38px;
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
    gap: 0;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    font-size: 13px;
    color: #444;
    padding: 0 32px;
    border-right: 1px solid #e5eaf3;
}

.ticker-item i {
    color: var(--color-primary);
    margin-right: 4px;
}

.ticker-item b {
    color: #111;
}

.card-ticker-wrap {
    overflow: hidden;
    margin-top: 14px;
    background: #fff;
    border-radius: var(--radius-navbar);
    border: 1px solid #e5eaf3;
    padding: 10px 0;
    position: relative;
}

.card-ticker-wrap::before,
.card-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.card-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.card-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.card-ticker-track {
    overflow: hidden;
    padding: 0 12px;
}

.card-ticker-content {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: card-ticker-scroll 40s linear infinite;
}

.card-ticker-content:hover {
    animation-play-state: paused;
}

@keyframes card-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8faff;
    border: 1px solid #e5eaf3;
    border-radius: calc(var(--radius) + 2px);
    padding: 8px 14px 8px 10px;
    min-width: 220px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.ticker-card:hover {
    background: #eef3ff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(1, 90, 224, 0.08);
}

.ticker-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.ticker-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid transparent;
    background-clip: padding-box;
    outline: 2px solid #015ae0;
    outline-offset: 1px;
}

.ticker-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: #22c55e;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: calc(var(--radius) / 2);
    white-space: nowrap;
    line-height: 1.4;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.ticker-user {
    font-size: 12px;
    font-weight: 800;
    color: #4f46e5;
    /* Nice purple indigo */
    white-space: nowrap;
}

.ticker-bought {
    font-size: 10px;
    color: #64748b;
    white-space: nowrap;
    opacity: 0.8;
}

.ticker-nick {
    font-size: 11px;
    color: var(--color-primary);
    font-weight: 700;
    white-space: nowrap;
}

/* ===== PRODUCT SECTION ===== */
.product-section {
    margin-top: 24px;
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 8px;
    line-height: 1.4;
    /* Thêm khoảng cách để không bị mất dấu */
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.no-affter:after {
    display: none !important;
}

.section-more {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.section-more:hover {
    gap: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.product-card {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(var(--border-angle),
            #ff0000, #ff7700, #ffee00,
            #00cc00, #0099ff, #6633ff, #ff00cc, #ff0000) border-box;
    border: 1px solid transparent;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: rainbow-spin 3s linear infinite;
}

@keyframes rainbow-spin {
    to {
        --border-angle: 360deg;
    }
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(150, 50, 255, 0.25);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0f4ff;
    border-radius: 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #64748b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.product-card:hover .product-tag {
    transform: translateY(-2px);
}

.product-tag.tag-hot {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.product-tag.tag-sale {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-tag.tag-new {
    background: linear-gradient(135deg, #10b981, #059669);
}

.product-tag.tag-cheap {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.product-tag.tag-trust {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.product-tag.tag-super-hot {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
    animation: pulse-tag 2s infinite;
}

.product-tag.tag-best-seller {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.product-tag.tag-discount {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.product-tag.tag-promo {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

@keyframes pulse-tag {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.product-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-stock {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-game {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: rgba(244, 142, 49, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f4fb;
}

.form-price {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
    margin: 5px 0px;
    text-align: end;
}

.form-price>.product-price {
    font-size: 17px;
    font-weight: 800;
    color: var(--color-primary-dark);
    align-items: end;

}

.form-price>.product-price-old {
    font-size: 14px;
    color: var(--color-text);
    align-self: flex-start;
    text-decoration: line-through;
    text-align: start;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    cursor: pointer;
    color: var(--color-text);
    font-weight: bold;
    text-transform: uppercase;
    background: var(--color-primary);
    text-decoration: none !important;
}

.view-all-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-view-all {
    display: inline-block;
    width: 250px;
    height: 65px;
    background: url('https://shopshinz.com/uploads/24-12-2025/ec0c8502-311b-410d-88b9-e1e51b6819eb.gif') center/contain no-repeat;
    font-size: 0;
    color: transparent;
    transition: transform 0.2s ease;
}

.btn-view-all:hover {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-body {
        padding: 10px 10px;
        gap: 6px;
    }

    .product-name {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        -webkit-line-clamp: unset;
    }

    .product-price {
        font-size: 14px;
    }

    .product-game {
        font-size: 9px;
        padding: 1px 6px;
    }

    .section-title {
        font-size: 18px;
        white-space: nowrap;
    }

    .section-more {
        font-size: 11px;
        white-space: nowrap;
    }
}

.m-0 {
    margin: 0 !important;
}

.top-nap-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 8px 12px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 8px;
    background: var(--color-primary);
    align-items: center;
}

.top-nap-title {
    font-size: 27px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.top-nap-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 5px 16px;
    border: 1.5px solid #dde3ee;
    border-radius: 5px;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.tab-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text) !important;
}

.tab-btn:hover:not(.active) {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.top-nap-list {
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.top-nap-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-link);
    transition: background var(--transition-speed) ease;
}

.top-nap-item:hover {
    background-color: #f4f7fe;
}

.rank-badge {
    font-size: 20px;
    width: 32px;
    text-align: center;
    flex-shrink: 0;
}

.rank-num {
    font-size: 14px;
    font-weight: 700;
    color: #999;
}

.top-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    object-fit: cover;
    border: 2px solid #e5eaf3;
    flex-shrink: 0;
}

.top-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.top-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-amount {
    font-size: 11px;
    background-color: var(--color-primary);
    color: var(--color-text) !important;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(255, 204, 0, 0.3);
    white-space: nowrap;
}

.rank-1 .top-name {
    color: #b45309;
}

.rank-2 .top-name {
    color: #64748b;
}

.rank-3 .top-name {
    color: #92400e;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    margin-top: 40px;
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-heading i {
    color: var(--color-primary);
    font-size: 14px;
}

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

.footer-links li a {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.2s;
}

.footer-links li a i {
    font-size: 10px;
    color: var(--color-primary);
}

.footer-links li a:hover {
    color: #fff;
    gap: 10px;
}

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

.footer-contact li {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact li i {
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 12px;
    color: #475569;
}

.footer-made {
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-made b {
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px 15px !important;
    }

    .footer-brand,
    .footer-col:last-child {
        grid-column: span 2 !important;
    }

    .footer-heading {
        font-size: 14px !important;
        white-space: nowrap;
    }

    .footer-links li a {
        font-size: 13px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 20px 0;
    }
}

/* ===== STICKY CONTACTS ===== */
.sticky-contacts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.sticky-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    background: #fff;
}

.sticky-item:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.sticky-item.tiktok {
    background: #000;
}

.sticky-item.zalo {
    background: #0084ff;
    padding: 8px;
}

.sticky-item.zalo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sticky-item.messenger {
    background: linear-gradient(135deg, #00B2FF 0%, #006AFF 100%);
}

.sticky-item.back-to-top {
    background: var(--color-primary);
    color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.sticky-item.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}


.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: var(--color-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
    padding: 0;
    border-top: 3px solid var(--color-primary-dark);
}

.mobile-bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    gap: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    height: 100%;
}

.nav-icon {
    font-size: 22px;
    margin-bottom: 3px;
    color: var(--color-text);
}

.mobile-bottom-nav .nav-item:active {
    transform: translateY(2px) scale(0.95);
    opacity: 0.8;
}

.center-item {
    position: relative;
    z-index: 10;
}

.center-icon {
    width: 80px;
    height: 80px;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.center-icon img {
    width: 120%;
    height: 120%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.center-text {
    margin-top: 45px;
    font-size: 16px;
    font-weight: 900;
    color: #92400e;
}

.shadow-pulse {
    animation: floating-avatar 3s ease-in-out infinite;
}

@keyframes floating-avatar {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

@media (max-width: 991.98px) {
    body {
        padding-bottom: 75px !important;
        /* Space for the bottom nav */
    }
}

@media (max-width: 576px) {
    .sticky-contacts {
        bottom: 80px;
        /* Nhích nút liên hệ lên trên thanh điều hướng */
        right: 16px;
        gap: 10px;
    }

    .sticky-item {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ===== AUTH MODAL ===== */
@media (max-width: 991.98px) {
    .auth-modal .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100%;
    }

    .auth-modal .modal-content {
        border-radius: 0;
    }
}

@media (min-width: 992px) {
    .auth-modal .modal-dialog {
        max-width: 500px;
    }

    .auth-modal .modal-content {
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }
}

.auth-modal .modal-content {
    border: none;
    overflow: hidden;
    background: #fff;
}

.auth-modal .modal-header {
    background: linear-gradient(135deg, #fbbd08 0%, #eab308 100%);
    color: #000;
    border: none;
    padding: 40px 20px 30px;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.auth-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.15;
    pointer-events: none;
}

.auth-modal .modal-logo-circle {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.auth-modal .modal-logo-circle img {
    height: 50px;
}

.auth-modal .modal-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.auth-modal .modal-subtitle {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.65);
    max-width: 80%;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.auth-modal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    filter: brightness(0);
    opacity: 0.6;
    transition: all 0.2s;
    z-index: 2;
}

.auth-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.auth-modal .modal-body {
    padding: 40px;
}

.auth-form-group {
    margin-bottom: 24px;
}

.auth-form-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    transition: all 0.3s;
}

.auth-input {
    width: 100%;
    height: 54px;
    padding: 0 50px 0 54px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    background: #f8fafc;
    color: #1e293b;
}

.auth-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.auth-input:focus {
    background: #fff;
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 10px 15px -3px rgba(251, 189, 8, 0.1), 0 4px 6px -2px rgba(251, 189, 8, 0.05);
}

.auth-input:focus+.auth-input-icon {
    color: var(--color-primary);
}

.auth-password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.2s;
}

.auth-password-toggle:hover {
    color: #475569;
}

.auth-submit-btn {
    width: 100%;
    height: 54px;
    background: var(--color-primary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    box-shadow: 0 4px 14px 0 rgba(251, 189, 8, 0.39);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-submit-btn:hover {
    background: #eab308;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 189, 8, 0.5);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

.auth-switch-text {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.auth-switch-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.2s;
}

.auth-switch-link:hover {
    background: rgba(251, 189, 8, 0.1);
}

.custom-navbar .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.custom-navbar .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.custom-navbar .btn-dark {
    background: #000;
    border: 2px solid #000;
}

.custom-navbar .btn-dark:hover {
    background: #222;
}

/* ===== SWAL CUSTOM ===== */
.swal2-popup {
    border-radius: 20px !important;
    padding: 2rem !important;
    border: 4px solid var(--color-primary) !important;
}

.swal2-title {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #000 !important;
}

.swal2-html-container {
    font-weight: 500 !important;
    color: #475569 !important;
}

.swal-confirm-btn {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(255, 198, 72, 0.3) !important;
}

.swal-cancel-btn {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 30px !important;
    border-radius: 12px !important;
}

.btn-uu-dai {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.btn-uu-dai:hover {
    transform: scale(1.05) rotate(-2deg);
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.4);
}

.btn-uu-dai i {
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-3px);
    }

    60% {
        transform: translateY(-2px);
    }
}

/* ===== REWARD MODAL ===== */
.reward-modal-content {
    border-radius: var(--radius);
    border: none;
    background: var(--color-bg);
    color: #334155;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.reward-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reward-main-icon {
    font-size: 44px;
    color: #f59e0b;
}

.reward-title {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
    font-size: 22px;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.reward-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: calc(var(--radius) - 2px);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reward-item:hover {
    background: #fff;
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(251, 198, 72, 0.15);
}

.reward-rank {
    font-weight: 800;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.reward-rank.rank-1 {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: var(--color-text);
}

.reward-rank.rank-2 {
    background: linear-gradient(135deg, #94a3b8, #475569);
    color: #fff;
}

.reward-rank.rank-3 {
    background: linear-gradient(135deg, #d97706, #92400e);
    color: #fff;
}

.reward-value {
    font-weight: 800;
    font-size: 18px;
    color: #1e293b;
}

.btn-reward-close {
    background: var(--color-primary);
    color: var(--color-text);
    border: none;
    padding: 7px 30px;
    border-radius: calc(var(--radius) / 2 + 4px);
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 198, 72, 0.3);
}

.btn-reward-close:hover {
    background: #f59e0b;
    color: #fff;
    transform: scale(1.05);
}

/* ===== SERVICE DETAIL / ACCOUNT GRID ===== */
.service-header-card {
    background: var(--color-primary);
    border-radius: var(--radius);
    padding: 17px;
    margin-bottom: 24px;
    border: 2px solid var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text)
}

.service-header-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fs-20 {
    font-size: 20px !important;
}

.service-description-content svg {
    color: var(--color-text) !important;
}

.service-description-content>p {
    margin-bottom: 0px !important;
}

.service-description-content span {
    margin-bottom: 0px !important;
}

.service-header-info h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 4px;
}

.service-header-info p {
    font-size: 13px;
    color: var(--color-text);
    margin: 0;
}

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

@media (max-width: 1200px) {
    .account-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.account-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.account-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.account-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.account-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.account-card:hover .account-thumb {
    transform: scale(1.1);
}

.account-id-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}

.account-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    margin-bottom: auto;
    padding-bottom: 10px;
    justify-content: center;
}

.account-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    width: calc(50% - 3px);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-badge:only-child {
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.account-footer {
    padding: 12px 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed #e2e8f0;
    margin: 0;
    margin-top: auto;
}

.account-price {
    font-size: 17px;
    font-weight: 800;
    color: #f59e0b;
}

.btn-account-buy {
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 198, 72, 0.3);
}

.btn-account-buy:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 198, 72, 0.4);
    color: #fff;
}

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

.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0;
}

.pagination li a,
.pagination li span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0 4px;
}

.pagination li.active span {
    background: #ffc648;
    /* Yellow from image */
    border-color: #ffc648;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 198, 72, 0.4);
}

.pagination li a:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    color: #ffc648;
}

.pagination li.disabled span {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .account-badge {
        font-size: 10px;
    }

    .account-price {
        font-size: 14px;
    }

    .btn-account-buy {
        font-size: 11px;
        padding: 6px 12px;
    }
}

.btn-primary {
    background: var(--color-primary) !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-primary-dark) !important;
    border-radius: var(--radius) !important;
}

.btn-primary:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-primary-dark) !important;
    border-radius: var(--radius) !important;
}

/* Icon Box Helper */
.icon-box-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

/* Service Detail Filter */
.service-filter-card {
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: var(--radius-navbar);
    padding: 20px;
    margin-bottom: 24px;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-link);
    font-size: 14px;
    color: #1e293b;
    transition: all 0.2s;
    background-color: #f8fafc;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(1, 90, 224, 0.1);
}

.btn-filter-submit {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-link);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-filter-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 90, 224, 0.2);
}

@media (max-width: 768px) {
    .service-filter-card {
        padding: 15px;
    }
}

/* Mobile Filter Button */
.btn-mobile-filter {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-navbar);
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(1, 90, 224, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.btn-mobile-filter:active {
    transform: scale(0.98);
}

.modal-filter .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-filter .modal-header {
    background: var(--color-primary);
    color: #fff;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-filter .modal-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-filter .modal-body {
    padding: 25px;
    background: #fff;
}

.modal-filter .filter-label {
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-filter .filter-input,
.modal-filter .filter-select {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
}

.global-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vh;
    max-width: 800px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

.game-page-wrapper {
    margin: 40px auto;
    padding: 0;
    background: transparent;
}

.game-card-custom {
    background: #fff;
    border-radius: var(--radius) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    border: 1px solid #eef2f7;
}

.game-header-title {
    text-align: center;
    font-weight: 800;
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notification-bar {
    background: #fff;
    border: 2px solid var(--color-bg);
    padding: 12px 20px;
    border-radius: var(--radius) !important;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.wheel-outer {
    max-width: 480px;
    position: relative;
    margin: 0 auto;
}

.wheel-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 25px;
}

.wheel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 4s cubic-bezier(0.15, 0, 0.15, 1);
    z-index: 1;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
}

.wheel-pointer {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 21%;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wheel-pointer:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.wheel-pointer img {
    width: 100%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
}

.price-badge {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-bg);
    border: 2px dashed var(--color-primary);
    border-radius: var(--radius) !important;
    font-weight: 800;
    color: var(--color-text);
    font-size: 16px;
}

.price-val {
    color: var(--color-primary-dark);
}

.wheel-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-home-style {
    border: none;
    padding: 14px 25px;
    border-radius: var(--radius) !important;
    font-weight: 800;
    color: var(--color-text);
    transition: all 0.3s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    justify-content: center;
}

.btn-demo-color {
    background: #e2e8f0;
    color: #475569;
}

.btn-play-color {
    background: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 198, 72, 0.3);
}

.btn-home-style:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

.section-title {
    font-weight: 800;
    font-size: 25px;
    color: var(--color-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
}

.history-list::-webkit-scrollbar {
    width: 4px;
}

.history-list::-webkit-scrollbar-thumb {
    background: var(--color-bg);
    border-radius: var(--radius) !important;
}

.history-item {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius) !important;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.history-item:hover {
    transform: translateX(5px);
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.history-info {
    display: flex;
    flex-direction: column;
}

.history-title {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
    margin-bottom: 2px;
}

.history-time {
    font-size: 13px;
    color: #94a3b8;
}

.history-status {
    background: #ecfdf5;
    color: #10b981;
    padding: 6px 14px;
    border-radius: var(--radius) !important;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .game-card-custom {
        margin-bottom: 20px;
    }
}

.wheel-desc-content {
    color: #64748b;
    line-height: 1.6;
}

.wheel-desc-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-center {
    text-align: center !important;
    justify-content: center !important;
}

/* Floating Wheel Button */
.fixed-wheel-btn-container {
    position: fixed;
    bottom: 2rem;
    left: 2.5rem;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    align-items: center;
}

.fixed-wheel-btn {
    position: relative;
    display: block;
}

.close-wheel-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #fff;
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
    color: var(--color-primary-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.close-wheel-btn:hover {
    transform: scale(1.1);
    background: #f8fafc;
}

.close-wheel-btn iconify-icon {
    font-size: 18px;
}

.fixed-wheel-btn a {
    width: 60px;
    height: 60px;
}


@keyframes wheelShake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-8deg) scale(1.05);
    }

    50% {
        transform: rotate(8deg) scale(1.05);
    }

    75% {
        transform: rotate(-8deg) scale(1.05);
    }

    100% {
        transform: rotate(0deg);
    }
}

.fixed-wheel-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    border: none;
    animation: wheelShake 0.8s infinite ease-in-out;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixed-wheel-btn a:hover {
    animation-play-state: paused;
    transform: scale(1.15);
}

.fixed-wheel-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
}

@media (max-width: 991px) {
    .fixed-wheel-btn-container {
        bottom: 100px;
        left: 0.5rem;
    }

    .fixed-wheel-btn a {
        width: 100px;
        height: 100px;
    }
}