/**
 * gaming-theme.css — Gaming / Neon UI override
 * Load sau modern-ui.css trong header.php
 * Tạo giao diện gaming sôi động cho Shop Game Account
 */

/* ═══════════════════════════════════════════════════════════
   GAMING DESIGN TOKENS
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Gaming neon palette */
    --gaming-cyan: #00f0ff;
    --gaming-magenta: #ff00aa;
    --gaming-purple: #7c3aed;
    --gaming-electric: #3b82f6;
    --gaming-green: #00ff88;
    --gaming-orange: #ff6b00;
    --gaming-gold: #ffd700;

    /* Neon glow values */
    --neon-cyan-glow: 0 0 10px rgba(0, 240, 255, .3), 0 0 30px rgba(0, 240, 255, .15);
    --neon-purple-glow: 0 0 10px rgba(124, 58, 237, .3), 0 0 30px rgba(124, 58, 237, .15);
    --neon-magenta-glow: 0 0 10px rgba(255, 0, 170, .3), 0 0 30px rgba(255, 0, 170, .15);

    /* Gaming gradients */
    --gaming-gradient: linear-gradient(135deg, var(--gaming-cyan) 0%, var(--gaming-purple) 100%);
    --gaming-gradient-btn: linear-gradient(135deg, #00b4d8 0%, #7c3aed 100%);
    --gaming-gradient-hot: linear-gradient(135deg, #ff6b00 0%, #ff0055 100%);
    --gaming-gradient-dark: linear-gradient(180deg, #0a0e1a 0%, #0f1429 100%);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, .4), 0 0 15px rgba(0, 240, 255, .2); }
    50% { box-shadow: 0 0 10px rgba(0, 240, 255, .6), 0 0 30px rgba(0, 240, 255, .3); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes glowBorder {
    0%, 100% { border-color: rgba(0, 240, 255, .3); }
    50% { border-color: rgba(0, 240, 255, .7); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 240, 255, .15); box-shadow: 0 0 5px rgba(0, 240, 255, .05); }
    50% { border-color: rgba(124, 58, 237, .4); box-shadow: 0 0 15px rgba(124, 58, 237, .15); }
}

@keyframes rainbowBorder {
    0% { border-color: rgba(0, 240, 255, .4); }
    25% { border-color: rgba(124, 58, 237, .4); }
    50% { border-color: rgba(255, 0, 170, .4); }
    75% { border-color: rgba(255, 107, 0, .4); }
    100% { border-color: rgba(0, 240, 255, .4); }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 4px rgba(0, 240, 255, .3); }
    50% { text-shadow: 0 0 12px rgba(0, 240, 255, .6), 0 0 25px rgba(0, 240, 255, .2); }
}

@keyframes pulseScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes slideShine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE GAMING OVERRIDES (default = dark)
   ═══════════════════════════════════════════════════════════ */

[data-theme="dark"] {
    --neutral-50:  #0d1117;
    --neutral-100: #0f1429;
    --neutral-200: #1a1f36;
    --neutral-300: #2a3050;
    --neutral-500: #6b7fa3;
    --neutral-700: #c4d0e9;
    --neutral-900: #e8efff;
    --border: #1a1f36;
    --body: #0a0e1a;
    --white: #0f1429;
    --chalk: #161b30;
    --text: #a0b3d0;
    --heading: #e2eaff;
}

/* ─── Body & Global ───────────────────────────────────────── */
[data-theme="dark"] body {
    background: var(--gaming-gradient-dark);
    color: #a0b3d0;
}

/* ─── Header ──────────────────────────────────────────────── */
[data-theme="dark"] .header-part {
    background: rgba(10, 14, 26, .92);
    border-bottom: 1px solid rgba(0, 240, 255, .12);
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .header-logo img,
[data-theme="dark"] .header-logo video {
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, .3));
}

/* Search bar neon */
[data-theme="dark"] .header-form {
    background: rgba(15, 20, 41, .8);
    border-color: rgba(0, 240, 255, .2);
}

[data-theme="dark"] .header-form:focus-within {
    border-color: var(--gaming-cyan);
    box-shadow: var(--neon-cyan-glow);
    background: rgba(15, 20, 41, .95);
}

[data-theme="dark"] .header-form button {
    background: var(--gaming-gradient-btn);
}

/* Widget icons */
[data-theme="dark"] .header-widget:hover {
    background: rgba(0, 240, 255, .08);
}

[data-theme="dark"] .header-widget i {
    transition: all .3s ease;
}

[data-theme="dark"] .header-widget:hover i {
    color: var(--gaming-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, .5);
}

/* Wallet balance */
[data-theme="dark"] .header-wallet-balance {
    color: var(--gaming-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, .4);
}

/* ─── Navbar ──────────────────────────────────────────────── */
[data-theme="dark"] .navbar-part {
    background: rgba(10, 14, 26, .95);
    border-bottom: 1px solid rgba(0, 240, 255, .1);
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .navbar-link {
    color: #c4d0e9;
    position: relative;
}

[data-theme="dark"] .navbar-link:hover,
[data-theme="dark"] .navbar-item:hover > .navbar-link {
    color: var(--gaming-cyan);
    background: rgba(0, 240, 255, .06);
    text-shadow: 0 0 8px rgba(0, 240, 255, .3);
}

/* Megamenu */
[data-theme="dark"] .megamenu {
    background: rgba(15, 20, 41, .98);
    border-color: rgba(0, 240, 255, .15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 20px rgba(0, 240, 255, .08);
}

[data-theme="dark"] .megamenu-title {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

[data-theme="dark"] .megamenu-list li a:hover {
    background: rgba(0, 240, 255, .08);
    color: var(--gaming-cyan);
}

/* Dropdown */
[data-theme="dark"] .dropdown-position-list {
    background: rgba(15, 20, 41, .98);
    border-color: rgba(0, 240, 255, .15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 15px rgba(0, 240, 255, .06);
}

[data-theme="dark"] .dropdown-position-list li a:hover {
    background: rgba(0, 240, 255, .08);
    color: var(--gaming-cyan);
}

/* ─── Category buttons → Gaming pills ────────────────────── */
[data-theme="dark"] .btn-category-home {
    background: rgba(15, 20, 41, .8);
    border-color: rgba(0, 240, 255, .15);
    color: #c4d0e9;
    box-shadow: none;
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btn-category-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, .1), rgba(124, 58, 237, .1));
    opacity: 0;
    transition: opacity .35s ease;
}

[data-theme="dark"] .btn-category-home:hover::before {
    opacity: 1;
}

[data-theme="dark"] .btn-category-home:hover {
    border-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, .3), 0 0 30px rgba(0, 240, 255, .1), inset 0 0 15px rgba(0, 240, 255, .05);
    transform: translateY(-3px) scale(1.02);
    text-shadow: 0 0 8px rgba(0, 240, 255, .4);
}

[data-theme="dark"] .btn-category-home.active {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 180, 216, .4), 0 4px 15px rgba(124, 58, 237, .3);
    font-weight: 700;
    animation: neonPulse 2.5s ease-in-out infinite;
}

/* ─── Product Cards ───────────────────────────────────────── */
[data-theme="dark"] .product-card {
    background: rgba(15, 20, 41, .9);
    border-color: rgba(0, 240, 255, .08);
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .06), transparent);
    transition: none;
    pointer-events: none;
}

[data-theme="dark"] .product-card:hover::after {
    animation: slideShine .6s ease forwards;
}

[data-theme="dark"] .product-card:hover {
    border-color: rgba(0, 240, 255, .4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 25px rgba(0, 240, 255, .15), 0 0 50px rgba(124, 58, 237, .08);
    transform: translateY(-6px);
}

[data-theme="dark"] .product-card .product-media img {
    transition: transform .4s ease, filter .4s ease;
}

[data-theme="dark"] .product-card:hover .product-media img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

[data-theme="dark"] .product-card .product-name a {
    color: #e2eaff;
}

[data-theme="dark"] .product-card .product-name a:hover {
    color: var(--gaming-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, .3);
}

[data-theme="dark"] .product-card .product-price {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

/* Product labels gaming */
[data-theme="dark"] .product-label.hot {
    background: var(--gaming-gradient-hot);
    box-shadow: 0 0 10px rgba(255, 107, 0, .4);
}

[data-theme="dark"] .product-label.new {
    background: var(--gaming-green);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 136, .4);
}

[data-theme="dark"] .product-label.sale {
    background: var(--gaming-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 170, .4);
}

/* Product action buttons */
[data-theme="dark"] .product-action button,
[data-theme="dark"] .product-action a {
    background: rgba(15, 20, 41, .9);
    color: var(--gaming-cyan);
    border: 1px solid rgba(0, 240, 255, .2);
}

[data-theme="dark"] .product-action button:hover,
[data-theme="dark"] .product-action a:hover {
    background: var(--gaming-gradient-btn);
    color: #fff;
    border-color: transparent;
}

/* Stock indicator gaming */
[data-theme="dark"] .product-stock.in-stock {
    color: var(--gaming-green);
    text-shadow: 0 0 6px rgba(0, 255, 136, .3);
}

/* ─── Feature Cards ───────────────────────────────────────── */
[data-theme="dark"] .feature-card {
    background: rgba(15, 20, 41, .9);
    border-color: rgba(0, 240, 255, .08);
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .05), transparent);
    pointer-events: none;
}

[data-theme="dark"] .feature-card:hover::after {
    animation: slideShine .6s ease forwards;
}

[data-theme="dark"] .feature-card:hover {
    border-color: rgba(0, 240, 255, .4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, .5), 0 0 20px rgba(0, 240, 255, .12), 0 0 40px rgba(124, 58, 237, .06);
    transform: translateY(-3px);
}

/* ─── Feature name: keep copy icon inline ─────────────────── */
h6.feature-name,
.feature-name {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

h6.feature-name a,
.feature-name a {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

h6.feature-name .btn-copy-name,
.feature-name .btn-copy-name {
    flex-shrink: 0;
}

[data-theme="dark"] .feature-name a {
    color: #e2eaff;
}

[data-theme="dark"] .feature-name a:hover {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .feature-price,
[data-theme="dark"] .feature-price span {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

/* Label badges gaming */
[data-theme="dark"] .label-text.feat {
    background: rgba(124, 58, 237, .25);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, .3);
}

[data-theme="dark"] .label-text.order {
    background: rgba(0, 240, 255, .15);
    color: var(--gaming-cyan);
    border: 1px solid rgba(0, 240, 255, .2);
}

[data-theme="dark"] .label-text.off {
    background: rgba(255, 0, 170, .15);
    color: #ff66cc;
    border: 1px solid rgba(255, 0, 170, .2);
}

[data-theme="dark"] .label-text.new {
    background: rgba(0, 255, 136, .15);
    color: var(--gaming-green);
    border: 1px solid rgba(0, 255, 136, .2);
}

/* ─── Box4 Theme Gaming ───────────────────────────────────── */
[data-theme="dark"] .product-box4 {
    background: rgba(15, 20, 41, .9);
    border-color: rgba(0, 240, 255, .08);
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .product-box4::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, .06), transparent);
    pointer-events: none;
    z-index: 1;
}

[data-theme="dark"] .product-box4:hover::after {
    animation: slideShine .7s ease forwards;
}

[data-theme="dark"] .product-box4:hover {
    border-color: rgba(0, 240, 255, .4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 25px rgba(0, 240, 255, .15), 0 0 50px rgba(124, 58, 237, .08);
    transform: translateY(-5px);
}

[data-theme="dark"] .product-head-box4 {
    background: rgba(10, 14, 26, .8);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .product-head-box4 h4 {
    color: #e2eaff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-head-box4 h4 a {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.product-head-box4 h4 .btn-copy-name {
    flex-shrink: 0;
}

[data-theme="dark"] .product-body-box4 {
    background: transparent;
}

[data-theme="dark"] .product-footer-box4 {
    background: rgba(10, 14, 26, .5);
    border-color: rgba(0, 240, 255, .08);
}

[data-theme="dark"] .price-box4 strong,
[data-theme="dark"] .proce-box4-not-discount {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

[data-theme="dark"] .border-end-box4 {
    border-color: rgba(0, 240, 255, .08) !important;
}

[data-theme="dark"] .product-buttons-box4 {
    background: transparent;
}

/* Custom button images */
.btn-custom-img {
    width: 100%;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    vertical-align: middle;
}

.btn-buy .btn-custom-img,
.buy-btn-box4 .btn-custom-img {
    max-height: 38px;
}

/* Buy button gaming */
[data-theme="dark"] .buy-btn-box4 {
    background: var(--gaming-gradient-btn) !important;
    box-shadow: 0 4px 15px rgba(0, 180, 216, .3), 0 0 10px rgba(124, 58, 237, .2);
}

[data-theme="dark"] .buy-btn-box4:hover {
    box-shadow: 0 6px 25px rgba(0, 180, 216, .5), 0 0 20px rgba(124, 58, 237, .3);
}

[data-theme="dark"] .more-btn-box4 {
    border-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
    background: transparent;
}

[data-theme="dark"] .more-btn-box4:hover {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    color: #fff;
}

/* ─── Buy & More buttons ──────────────────────────────────── */
[data-theme="dark"] .btn-buy {
    background: var(--gaming-gradient-btn) !important;
    box-shadow: 0 4px 15px rgba(0, 180, 216, .3), 0 0 10px rgba(124, 58, 237, .2);
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .btn-buy::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    pointer-events: none;
}

[data-theme="dark"] .btn-buy:hover::after {
    animation: slideShine .5s ease forwards;
}

[data-theme="dark"] .btn-buy:hover {
    box-shadow: 0 6px 30px rgba(0, 180, 216, .5), 0 0 25px rgba(124, 58, 237, .35);
    transform: translateY(-2px) scale(1.03);
}

[data-theme="dark"] .btn-more {
    background: rgba(15, 20, 41, .8);
    border-color: rgba(0, 240, 255, .2);
    color: var(--gaming-cyan);
}

[data-theme="dark"] .btn-more:hover {
    background: rgba(0, 240, 255, .08);
    border-color: var(--gaming-cyan);
}

[data-theme="dark"] .btn-more-new {
    border-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
}

[data-theme="dark"] .btn-more-new:hover {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    color: #fff;
}

/* ─── Wallet Card ─────────────────────────────────────────── */
[data-theme="dark"] .card-wallet-home {
    background: linear-gradient(135deg, rgba(0, 180, 216, .15) 0%, rgba(124, 58, 237, .15) 100%) !important;
    border: 1px solid rgba(0, 240, 255, .15) !important;
    backdrop-filter: blur(8px);
}

[data-theme="dark"] .card-wallet-home .my-wallet h3,
[data-theme="dark"] .card-wallet-home .wallet-card h3 {
    color: var(--gaming-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, .4);
}

[data-theme="dark"] .wallet-card {
    background: rgba(0, 240, 255, .06);
    border: 1px solid rgba(0, 240, 255, .1);
}

/* ─── Home Heading ────────────────────────────────────────── */
[data-theme="dark"] .home-heading {
    border-bottom-color: rgba(0, 240, 255, .15);
}

[data-theme="dark"] .home-heading h3 {
    color: #e2eaff;
}

[data-theme="dark"] .home-heading h3 i {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .4);
}

/* ─── Sidebars ────────────────────────────────────────────── */
[data-theme="dark"] .category-sidebar,
[data-theme="dark"] .cart-sidebar,
[data-theme="dark"] .nav-sidebar {
    background: rgba(10, 14, 26, .98);
    border-right: 1px solid rgba(0, 240, 255, .1);
}

[data-theme="dark"] .category-header,
[data-theme="dark"] .cart-header,
[data-theme="dark"] .nav-header {
    border-bottom-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .category-title,
[data-theme="dark"] .cart-total span {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .category-item a:hover,
[data-theme="dark"] .nav-list .nav-link:hover {
    background: rgba(0, 240, 255, .06);
    color: var(--gaming-cyan);
}

/* ─── Floating side menu ──────────────────────────────────── */
[data-theme="dark"] #top-menu-right,
[data-theme="dark"] #top-menu-left {
    background: rgba(15, 20, 41, .95);
    border-color: rgba(0, 240, 255, .1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .5), 0 0 10px rgba(0, 240, 255, .05);
}

[data-theme="dark"] #top-menu-right li a,
[data-theme="dark"] #top-menu-left li a {
    background: transparent;
    color: #c4d0e9;
}

[data-theme="dark"] #top-menu-right li a:hover,
[data-theme="dark"] #top-menu-left li a:hover {
    background: rgba(0, 240, 255, .06);
    color: var(--gaming-cyan);
}

[data-theme="dark"] #top-menu-right li a.active,
[data-theme="dark"] #top-menu-left li a.active {
    background: var(--gaming-gradient-btn);
    color: #fff;
}

[data-theme="dark"] #top-menu-right i,
[data-theme="dark"] #top-menu-left i {
    background: rgba(0, 240, 255, .08);
}

/* ─── Mobile bottom nav ───────────────────────────────────── */
[data-theme="dark"] .mobile-menu {
    background: rgba(10, 14, 26, .98);
    border-top: 1px solid rgba(0, 240, 255, .1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .5);
}

[data-theme="dark"] .mobile-menu a.active,
[data-theme="dark"] .mobile-menu button.active {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .mobile-menu a.active i,
[data-theme="dark"] .mobile-menu button.active i {
    text-shadow: 0 0 8px rgba(0, 240, 255, .5);
}

/* ─── Footer ──────────────────────────────────────────────── */
[data-theme="light"] .footer-part {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    color: #374151;
}

[data-theme="light"] .footer-title {
    color: #1e293b;
}

[data-theme="light"] .footer-title::after {
    background: var(--primary, #3b82f6);
}

[data-theme="light"] .footer-desc {
    color: #6b7280;
}

[data-theme="light"] .footer-social a {
    background: #fff;
    border-color: #e2e8f0;
    color: #374151;
}

[data-theme="light"] .footer-social a:hover {
    background: var(--primary, #3b82f6);
    border-color: transparent;
    color: #fff;
}

[data-theme="light"] .footer-links ul li a {
    color: #6b7280;
}

[data-theme="light"] .footer-links ul li a:hover {
    color: var(--primary, #3b82f6);
}

[data-theme="light"] .footer-links ul li a:hover::before {
    background: var(--primary, #3b82f6);
}

[data-theme="light"] .footer-contact li i,
[data-theme="light"] .footer-contact li svg {
    color: var(--primary, #3b82f6);
}

[data-theme="light"] .footer-contact li p {
    color: #6b7280;
}

[data-theme="light"] .footer-logo img,
[data-theme="light"] .footer-logo video {
    filter: none;
}

[data-theme="light"] .footer-announcement {
    border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-announcement .footer-title {
    color: var(--primary, #3b82f6);
    text-shadow: none;
}

[data-theme="light"] .footer-announcement .footer-list {
    color: #64748b;
}

[data-theme="dark"] .footer-part {
    background: linear-gradient(180deg, #060a14 0%, #0a0e1a 100%);
    border-top: 1px solid rgba(0, 240, 255, .08);
}

[data-theme="dark"] .footer-title {
    color: #e2eaff;
}

[data-theme="dark"] .footer-title::after {
    background: var(--gaming-gradient);
    height: 2px;
}

[data-theme="dark"] .footer-social a {
    background: rgba(0, 240, 255, .06);
    border-color: rgba(0, 240, 255, .15);
    color: #c4d0e9;
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    box-shadow: var(--neon-cyan-glow);
    color: #fff;
}

[data-theme="dark"] .footer-links ul li a:hover {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .footer-links ul li a:hover::before {
    background: var(--gaming-cyan);
}

[data-theme="dark"] .footer-contact li i,
[data-theme="dark"] .footer-contact li svg {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .footer-copytext a {
    color: var(--gaming-cyan);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .footer-announcement {
    border-top-color: rgba(0, 240, 255, .08);
}

[data-theme="dark"] .footer-announcement .footer-title {
    color: var(--gaming-cyan);
    text-shadow: 0 0 12px rgba(0, 240, 255, .3);
}

[data-theme="dark"] .footer-announcement .footer-list {
    color: #8a9bc0;
}

[data-theme="dark"] .footer-fanpage {
    background: rgba(0, 240, 255, .04);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .footer-fanpage:hover {
    border-color: rgba(0, 240, 255, .25);
    box-shadow: 0 0 20px rgba(0, 240, 255, .06);
}

[data-theme="dark"] .footer-fanpage-head img {
    border-color: rgba(0, 240, 255, .2);
}

[data-theme="dark"] .footer-fanpage-btn.is-primary {
    background: var(--gaming-gradient-btn);
}

[data-theme="dark"] .footer-fanpage-btn.is-secondary {
    background: rgba(0, 240, 255, .08);
    color: #c4d0e9;
}

[data-theme="dark"] .footer-fanpage-btn.is-secondary:hover {
    background: rgba(0, 240, 255, .15);
    color: var(--gaming-cyan);
}

/* ─── Footer bottom redesign ──────────────────────────────── */
.footer-bottom {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 40px;
    padding: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.footer-copytext {
    font-size: 13px;
    color: var(--neutral-500);
    font-family: inherit;
    letter-spacing: .3px;
}

.footer-copytext a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

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

[data-theme="light"] .footer-bottom {
    background: transparent !important;
    border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-copytext {
    color: #64748b !important;
}

[data-theme="light"] .footer-copytext a {
    color: var(--primary, #3b82f6) !important;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .footer-copytext {
    color: #6b7fa3 !important;
}

[data-theme="dark"] .footer-copytext a {
    color: var(--gaming-cyan) !important;
}

[data-theme="light"] .footer-copytext {
    color: #64748b;
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .footer-copytext {
    color: #6b7fa3;
}

[data-theme="dark"] .footer-copytext a {
    color: var(--gaming-cyan);
}

/* ─── Footer Cộng Đồng list ─────────────────────────────── */
.community-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.community-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0,240,255,.08);
    text-decoration: none;
    transition: all .25s ease;
}

.community-facebook  { background: rgba(24,119,242,.08); border-color: rgba(24,119,242,.12); }
.community-discord   { background: rgba(88,101,242,.08); border-color: rgba(88,101,242,.12); }
.community-telegram  { background: rgba(0,136,204,.08); border-color: rgba(0,136,204,.12); }
.community-tiktok    { background: rgba(255,0,85,.08);  border-color: rgba(255,0,85,.12); }

.community-item:hover {
    transform: translateX(4px);
}

.community-facebook:hover  { border-color: rgba(24,119,242,.3);  box-shadow: 0 4px 16px rgba(24,119,242,.15); }
.community-discord:hover  { border-color: rgba(88,101,242,.3); box-shadow: 0 4px 16px rgba(88,101,242,.15); }
.community-telegram:hover { border-color: rgba(0,136,204,.3); box-shadow: 0 4px 16px rgba(0,136,204,.15); }
.community-tiktok:hover   { border-color: rgba(255,0,85,.3);  box-shadow: 0 4px 16px rgba(255,0,85,.15); }

.community-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.community-facebook  .community-icon { background: linear-gradient(135deg, #1877f2, #0a59c7); }
.community-discord  .community-icon { background: linear-gradient(135deg, #5865f2, #4752c4); }
.community-telegram .community-icon { background: linear-gradient(135deg, #0088cc, #00b4d8); }
.community-tiktok   .community-icon { background: linear-gradient(135deg, #ff0055, #ff00aa); }

.community-body { min-width: 0; }

.community-name {
    font-size: 14px;
    font-weight: 700;
    color: #e2eaff;
    line-height: 1.3;
}

.community-desc {
    font-size: 12px;
    color: #6b7fa3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Light mode overrides ───────────────────────────────── */
[data-theme="light"] .community-facebook  { background: rgba(24,119,242,.06); border-color: rgba(24,119,242,.15); }
[data-theme="light"] .community-discord   { background: rgba(88,101,242,.06); border-color: rgba(88,101,242,.15); }
[data-theme="light"] .community-telegram  { background: rgba(0,136,204,.06); border-color: rgba(0,136,204,.15); }
[data-theme="light"] .community-tiktok    { background: rgba(255,0,85,.06);   border-color: rgba(255,0,85,.15); }

[data-theme="light"] .community-facebook:hover  { border-color: #1877f2; box-shadow: 0 4px 16px rgba(24,119,242,.15); }
[data-theme="light"] .community-discord:hover   { border-color: #5865f2; box-shadow: 0 4px 16px rgba(88,101,242,.15); }
[data-theme="light"] .community-telegram:hover  { border-color: #0088cc; box-shadow: 0 4px 16px rgba(0,136,204,.15); }
[data-theme="light"] .community-tiktok:hover    { border-color: #ff0055; box-shadow: 0 4px 16px rgba(255,0,85,.15); }

[data-theme="light"] .community-name { color: #1e293b; }
[data-theme="light"] .community-desc { color: #64748b; }

/* ─── Footer Cộng Đồng list (fanpage-list) ──────────────── */
.footer-fanpage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-fanpage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all .25s ease;
}

.footer-fanpage-item:hover {
    transform: translateX(4px);
    border-color: rgba(0,240,255,.18);
}

.footer-fanpage-item .footer-fanpage-name {
    font-size: 14px;
    font-weight: 700;
    color: #e2eaff;
    line-height: 1.3;
}

.footer-fanpage-item .footer-fanpage-meta {
    font-size: 12px;
    color: #6b7fa3;
    margin-top: 2px;
}

[data-theme="light"] .footer-fanpage-item {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

[data-theme="light"] .footer-fanpage-item:hover {
    border-color: var(--primary,#3b82f6);
    box-shadow: 0 4px 12px rgba(59,130,246,.1);
    transform: translateX(4px);
}

[data-theme="light"] .footer-fanpage-item .footer-fanpage-name {
    color: #1e293b !important;
}

[data-theme="light"] .footer-fanpage-item .footer-fanpage-meta {
    color: #64748b !important;
}
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all .25s ease;
    text-decoration: none;
    cursor: pointer;
}

.footer-fanpage:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, .2);
}

.footer-fanpage-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    color: #fff;
}

.footer-fanpage-icon img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-fanpage-body {
    flex: 1;
    min-width: 0;
}

.footer-fanpage-name {
    font-size: 14px;
    font-weight: 700;
    color: #e2eaff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.footer-fanpage-meta {
    font-size: 12px;
    color: #6b7fa3;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-fanpage-arrow {
    color: #4a5568;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform .25s ease;
}

.footer-fanpage:hover .footer-fanpage-arrow {
    transform: translateX(3px);
    color: var(--gaming-cyan);
}

[data-theme="light"] .footer-fanpage {
    background: #fff;
    border-color: #e8edf5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

[data-theme="light"] .footer-fanpage:hover {
    border-color: var(--primary, #3b82f6);
    box-shadow: 0 4px 16px rgba(59, 130, 246, .12);
    transform: translateX(4px);
}

[data-theme="light"] .footer-fanpage-name {
    color: #1e293b !important;
}

[data-theme="light"] .footer-fanpage-meta {
    color: #64748b !important;
}

[data-theme="light"] .footer-fanpage-arrow {
    color: #cbd5e1;
}

[data-theme="light"] .footer-fanpage:hover .footer-fanpage-arrow {
    color: var(--primary, #3b82f6);
}

[data-theme="dark"] .footer-fanpage {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(0, 240, 255, .08);
}

[data-theme="dark"] .footer-fanpage:hover {
    border-color: rgba(0, 240, 255, .22);
    box-shadow: 0 0 20px rgba(0, 240, 255, .05);
}

/* ─── Tables ──────────────────────────────────────────────── */
[data-theme="dark"] .table {
    background: rgba(15, 20, 41, .9);
}

[data-theme="dark"] .table thead th {
    background: rgba(10, 14, 26, .8);
    border-color: rgba(0, 240, 255, .08);
}

[data-theme="dark"] .table tbody td {
    border-color: rgba(0, 240, 255, .05);
}

[data-theme="dark"] .table tbody tr:hover {
    background: rgba(0, 240, 255, .04);
}

/* Footer totals text (vd: "Đã thanh toán", "Thực nhận") */
[data-theme="dark"] .table tfoot td,
[data-theme="dark"] .table tfoot th {
    color: rgba(255, 255, 255, .88);
    border-color: rgba(0, 240, 255, .08);
}
[data-theme="dark"] .table tfoot .float-right,
[data-theme="dark"] .table tfoot .float-end {
    color: rgba(255, 255, 255, .88);
}

/* ─── Modals ──────────────────────────────────────────────── */
[data-theme="dark"] .modal-content {
    background: rgba(15, 20, 41, .98);
    border: 1px solid rgba(0, 240, 255, .12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .6), 0 0 20px rgba(0, 240, 255, .06);
}

[data-theme="dark"] .modal-header {
    background: rgba(10, 14, 26, .8);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .modal-footer {
    background: rgba(10, 14, 26, .8);
    border-color: rgba(0, 240, 255, .1);
}

/* ─── Inputs ──────────────────────────────────────────────── */
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: rgba(15, 20, 41, .8) !important;
    border-color: rgba(0, 240, 255, .12) !important;
}

[data-theme="dark"] input[type="text"]:focus,
[data-theme="dark"] input[type="email"]:focus,
[data-theme="dark"] input[type="password"]:focus,
[data-theme="dark"] input[type="number"]:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--gaming-cyan) !important;
    box-shadow: var(--neon-cyan-glow) !important;
}

/* ─── Buttons ─────────────────────────────────────────────── */
[data-theme="dark"] .btn-inline,
[data-theme="dark"] .btn-primary {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 180, 216, .3);
}

[data-theme="dark"] .btn-inline:hover,
[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(0, 180, 216, .5);
    background: transparent;
    color: var(--gaming-cyan);
    border-color: var(--gaming-cyan);
}

[data-theme="dark"] .btn-outline {
    border-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    color: #fff;
}

/* ─── Alerts ──────────────────────────────────────────────── */
[data-theme="dark"] .alert-success {
    background: rgba(0, 255, 136, .08);
    border-left-color: var(--gaming-green);
    color: var(--gaming-green);
}

[data-theme="dark"] .alert-info {
    background: rgba(0, 240, 255, .08);
    border-left-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
}

/* ─── Theme toggle ────────────────────────────────────────── */
[data-theme="dark"] #theme-toggle {
    color: var(--gaming-cyan);
}

/* ─── Pagination ──────────────────────────────────────────── */
[data-theme="dark"] .pagination .page-item .page-link {
    background: rgba(15, 20, 41, .8);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .pagination .page-item .page-link:hover {
    background: rgba(0, 240, 255, .08);
    border-color: var(--gaming-cyan);
    color: var(--gaming-cyan);
}

[data-theme="dark"] .pagination .page-item.active .page-link {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 180, 216, .4);
}

/* ─── User auth / Profile ─────────────────────────────────── */
[data-theme="dark"] .user-form-card {
    background: rgba(15, 20, 41, .95);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .user-form-title {
    color: #e2eaff;
}

/* ─── Product detail page ─────────────────────────────────── */
[data-theme="dark"] .details-content {
    background: rgba(15, 20, 41, .9);
    border-color: rgba(0, 240, 255, .1);
}

[data-theme="dark"] .details-content:hover {
    border-color: rgba(0, 240, 255, .3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .4), 0 0 15px rgba(0, 240, 255, .06);
}

[data-theme="dark"] .details-price {
    color: var(--gaming-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, .3);
}

[data-theme="dark"] .details-preview li img:hover,
[data-theme="dark"] .details-preview li video:hover {
    border-color: var(--gaming-cyan);
    box-shadow: var(--neon-cyan-glow);
}

[data-theme="dark"] .details-thumb .slick-current img,
[data-theme="dark"] .details-thumb .slick-current video {
    border-color: var(--gaming-cyan);
}

/* ─── Badges ──────────────────────────────────────────────── */
[data-theme="dark"] .badge.bg-success {
    background: rgba(0, 255, 136, .15) !important;
    color: var(--gaming-green) !important;
}

[data-theme="dark"] .badge.bg-info {
    background: rgba(0, 240, 255, .15) !important;
    color: var(--gaming-cyan) !important;
}

/* ─── Scrollbar ───────────────────────────────────────────── */
[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, .2);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, .4);
}

/* ─── Notice home blocks ──────────────────────────────────── */
[data-theme="dark"] .nh-block {
    background: rgba(15, 20, 41, .9);
    border: 1px solid rgba(0, 240, 255, .08);
}

[data-theme="dark"] .nh-block-danger {
    background: rgba(255, 0, 85, .06);
    border-color: rgba(255, 0, 170, .2);
}

[data-theme="dark"] .nh-block-info {
    background: rgba(0, 240, 255, .06);
    border-color: rgba(0, 240, 255, .2);
}

/* ─── Poster / intro ──────────────────────────────────────── */
[data-theme="dark"] .posterd {
    background: linear-gradient(135deg, rgba(0, 180, 216, .2) 0%, rgba(124, 58, 237, .2) 100%);
    border-color: rgba(0, 240, 255, .15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3), 0 0 15px rgba(0, 240, 255, .08);
}

/* ─── Row menu home ───────────────────────────────────────── */
[data-theme="dark"] .row-menu-home .form-provide-home {
    background: rgba(15, 20, 41, .6);
    border-color: rgba(0, 240, 255, .1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

[data-theme="dark"] .row-menu-home .form-provide-home:hover {
    border-color: rgba(0, 240, 255, .3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .4), 0 0 10px rgba(0, 240, 255, .08);
}

/* ─── Product disable overlay ─────────────────────────────── */
[data-theme="dark"] .product-disable::before {
    background: rgba(255, 0, 170, .85);
    text-shadow: 0 0 8px rgba(255, 0, 170, .5);
}

/* ─── Card-price product list ─────────────────────────────── */
[data-theme="dark"] .card-price-product-list h5 {
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

/* ─── SweetAlert2 dark override ───────────────────────────── */
[data-theme="dark"] .swal2-popup {
    background: rgba(15, 20, 41, .98) !important;
    border: 1px solid rgba(0, 240, 255, .12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .6), 0 0 20px rgba(0, 240, 255, .06);
}

[data-theme="dark"] .swal2-title {
    color: #e2eaff !important;
}

[data-theme="dark"] .swal2-html-container {
    color: #a0b3d0 !important;
}

[data-theme="dark"] .swal2-confirm {
    background: var(--gaming-gradient-btn) !important;
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE GAMING — Gaming Light (colorful but lighter)
   ═══════════════════════════════════════════════════════════ */

[data-theme="light"] .header-form:focus-within {
    border-color: var(--gaming-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

[data-theme="light"] .btn-category-home.active {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 180, 216, .25);
}

[data-theme="light"] .buy-btn-box4,
[data-theme="light"] .btn-buy {
    background: var(--gaming-gradient-btn) !important;
}

[data-theme="light"] .product-label.hot {
    background: var(--gaming-gradient-hot);
}

[data-theme="light"] .product-label.new {
    background: #10b981;
}

[data-theme="light"] .btn-inline,
[data-theme="light"] .btn-primary {
    background: var(--gaming-gradient-btn);
    border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════
   GAMING UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */

.gaming-glow {
    box-shadow: var(--neon-cyan-glow);
}

.gaming-text-glow {
    text-shadow: 0 0 8px rgba(0, 240, 255, .4);
}

.gaming-border {
    border-color: rgba(0, 240, 255, .2);
}

.gaming-gradient-text {
    background: var(--gaming-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Banner Slider + Top Nạp Tiền
   ═══════════════════════════════════════════════════════════ */

.hero-home-section {
    padding: 15px 0 5px;
}

/* --- Slider --- */
.hero-slider-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, .1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    /* Banner ratio 853x319 */
    aspect-ratio: 853 / 319;
}

.hero-slider-wrapper,
.hero-slide-item img,
.hero-slide-item video {
    max-height: 100%;
}

.hero-slider {
    display: flex;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

.hero-slide-item {
    min-width: 100%;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-item a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.hero-slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-btn:hover {
    background: rgba(0, 240, 255, .3);
    border-color: var(--gaming-cyan);
    box-shadow: var(--neon-cyan-glow);
}

.hero-slider-prev { left: 10px; }
.hero-slider-next { right: 10px; }

.hero-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: all .3s ease;
}

.hero-dot.active {
    background: var(--gaming-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, .6);
    transform: scale(1.2);
}

/* --- Top Nạp Tiền Card --- */
.top-recharge-card {
    background: rgba(15, 20, 41, .9);
    border: 1px solid rgba(0, 240, 255, .1);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Make banner a bit smaller than top-recharge on large screens */
@media (min-width: 992px) {
    .hero-slider-wrapper {
        max-height: 300px;
    }
    .top-recharge-card {
        min-height: 340px;
    }
}

.top-recharge-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 240, 255, .1);
}

.top-tab {
    flex: 1;
    padding: 12px 10px;
    background: transparent;
    border: none;
    color: #6b7fa3;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s ease;
    letter-spacing: .5px;
}

.top-tab.active {
    background: var(--gaming-gradient-btn);
    color: #fff;
}

.top-tab:not(.active):hover {
    background: rgba(0, 240, 255, .06);
    color: var(--gaming-cyan);
}

.top-recharge-content {
    flex: 1;
}

.top-recharge-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, .2);
    font-weight: 700;
    font-size: 13px;
    color: #e2eaff;
}

.top-recharge-list {
    padding: 8px 0;
}

.top-recharge-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
    transition: background .3s ease;
}

.top-recharge-item:hover {
    background: rgba(0, 240, 255, .04);
}

.top-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
    background: #3a3f55;
}

.top-rank.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 0 10px rgba(255, 215, 0, .4);
}

.top-rank.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #8a8a8a);
    box-shadow: 0 0 8px rgba(192, 192, 192, .3);
}

.top-rank.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    box-shadow: 0 0 8px rgba(205, 127, 50, .3);
}

.top-username {
    flex: 1;
    font-size: 14px;
    color: #c4d0e9;
}

.top-amount {
    font-weight: 700;
    font-size: 14px;
    color: var(--gaming-cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

.top-recharge-cta {
    display: block;
    text-align: center;
    padding: 12px;
    margin: 10px 16px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00b4d8, #7c3aed, #ff00aa);
    background-size: 200% auto;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .4s ease;
    letter-spacing: .5px;
}

.top-recharge-cta:hover {
    background-position: right center;
    box-shadow: 0 4px 20px rgba(0, 180, 216, .4), 0 0 15px rgba(124, 58, 237, .3);
    transform: translateY(-1px);
}

/* Rewards tab items */
.reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(0, 240, 255, .05);
}

.reward-rank {
    font-weight: 800;
    font-size: 14px;
    color: var(--gaming-gold);
    text-shadow: 0 0 6px rgba(255, 215, 0, .3);
}

.reward-prize {
    font-size: 13px;
    color: #c4d0e9;
}

/* ═══════════════════════════════════════════════════════════
   MARQUEE — Giao dịch gần đây chạy ngang
   ═══════════════════════════════════════════════════════════ */

.marquee-section {
    padding: 0 0 6px;
    margin-top: -4px;
    overflow: hidden;
}

.marquee-row {
    overflow: hidden;
    margin-bottom: 6px;
    background: rgba(15, 20, 41, .7);
    border: 1px solid rgba(0, 240, 255, .06);
    border-radius: 6px;
    padding: 8px 0;
}

.marquee-track {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track.marquee-reverse {
    animation: marqueeScrollReverse 35s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #a0b3d0;
    flex-shrink: 0;
    padding: 0 5px;
}

.marquee-item i {
    color: var(--gaming-cyan);
    font-size: 12px;
}

.marquee-deposit strong {
    color: var(--gaming-green);
}

.marquee-order strong {
    color: var(--gaming-gold);
}

.marquee-item i.fa-house {
    color: var(--gaming-orange);
}

/* ═══════════════════════════════════════════════════════════
   CATEGORY ICONS — Danh mục dạng icon tròn
   ═══════════════════════════════════════════════════════════ */

.category-icons-section {
    padding: 10px 0 0;
    margin-bottom: -10px;
}

.category-icons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all .3s ease;
    min-width: 80px;
}

.category-icon-item:hover {
    transform: translateY(-4px);
}

.category-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 20, 41, .8);
    border: 1px solid rgba(0, 240, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}

.category-icon-item:hover .category-icon-img {
    border-color: var(--gaming-cyan);
    box-shadow: var(--neon-cyan-glow);
}

.category-icon-img img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-icon-name {
    font-size: 12px;
    color: #c4d0e9;
    text-align: center;
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-icon-item:hover .category-icon-name {
    color: var(--gaming-cyan);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Hero / Marquee / Category Icons
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 991.98px) {
    .hero-slide-item img,
    .hero-slide-item video {
        height: 100%;
    }

    .top-recharge-card {
        height: auto;
    }

    .category-icons-grid {
        gap: 15px;
    }

    .category-icon-img {
        width: 56px;
        height: 56px;
    }

    .category-icon-img img {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 575.98px) {
    .hero-home-section {
        padding: 10px 0 0;
    }

    .hero-slide-item img,
    .hero-slide-item video {
        height: 100%;
    }

    .hero-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .top-tab {
        font-size: 11px;
        padding: 10px 6px;
    }

    .category-icons-grid {
        gap: 12px;
    }

    .category-icon-img {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .category-icon-img img {
        width: 30px;
        height: 30px;
    }

    .category-icon-name {
        font-size: 11px;
        max-width: 70px;
    }

    .marquee-item {
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE overrides for new sections
   ═══════════════════════════════════════════════════════════ */

[data-theme="light"] .hero-slider-wrapper {
    border-color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

[data-theme="light"] .top-recharge-card {
    background: #fff;
    border-color: #e2e8f0;
}

[data-theme="light"] .top-recharge-tabs {
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .top-tab {
    color: #334155;
}

[data-theme="light"] .top-recharge-header {
    background: #f8fafc;
    color: #1e293b;
}

[data-theme="light"] .top-username {
    color: #334155;
}

[data-theme="light"] .top-amount {
    color: #059669;
    text-shadow: none;
}

[data-theme="light"] .marquee-row {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .marquee-item {
    color: #475569;
}

[data-theme="light"] .category-icon-img {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .category-icon-name {
    color: #334155;
}

[data-theme="light"] .reward-item {
    border-bottom-color: #e2e8f0;
}

[data-theme="light"] .reward-prize {
    color: #475569;
}

[data-theme="light"] .top-recharge-item:hover {
    background: rgba(0, 0, 0, .04);
}

[data-theme="light"] .top-rank {
    background: #cbd5e1;
    color: #1e293b;
}

[data-theme="light"] .top-username {
    color: #334155;
}

[data-theme="light"] .top-amount {
    color: #059669;
    text-shadow: none;
}

[data-theme="light"] .reward-rank {
    color: #b45309;
    text-shadow: none;
}

[data-theme="light"] .top-tab:not(.active) {
    color: #334155;
}

[data-theme="light"] .top-tab:not(.active):hover {
    background: rgba(0, 0, 0, .04);
    color: var(--primary, #3b82f6);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT CARD V2 — Kiểu thẻ ảnh lớn (CARD)
   ═══════════════════════════════════════════════════════════ */

.product-card-v2 {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 20, 41, .9);
    border: 2px solid rgba(124, 58, 237, .3);
    transition: all .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    border-color: rgba(124, 58, 237, .6);
    box-shadow: 0 4px 25px rgba(124, 58, 237, .2), 0 0 15px rgba(0, 240, 255, .08);
    transform: translateY(-3px);
}

.product-card-v2-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    padding: 10px 14px;
    text-align: center;
}

.product-card-v2-header span {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-card-v2-image {
    position: relative;
    overflow: hidden;
    background: rgba(10, 14, 26, .55);
    /* Card image ratio: fill nicely across many banners */
    aspect-ratio: 16 / 9;
}

.product-card-v2-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card-v2-image img,
.product-card-v2-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .4s ease;
}

/* Mobile: keep banner text/logo "cân" (no crop) */
@media (max-width: 575.98px) {
    .product-card-v2-image {
        /* Taller image area on mobile */
        aspect-ratio: 16 / 9;
        background: rgba(10, 14, 26, .55);
        padding: 6px;
    }
    .product-card-v2-image a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .product-card-v2-image img,
    .product-card-v2-image video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center center;
    }
}

.product-card-v2:hover .product-card-v2-image img,
.product-card-v2:hover .product-card-v2-image video {
    transform: scale(1.05);
}

.product-card-v2-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.product-card-v2-info {
    padding: 12px 14px;
    flex: 1;
}

.product-card-v2-info p {
    margin: 0 0 4px;
    font-size: 13px;
    color: #a0b3d0;
}

.product-card-v2-info p strong {
    color: #e2eaff;
}

.product-card-v2-rating {
    margin-top: 6px;
}

.product-card-v2-rating i {
    color: #ffd700;
    font-size: 13px;
}

.product-card-v2-rating span {
    color: #e2eaff;
    font-weight: 700;
    font-size: 14px;
    margin-left: 4px;
}

.product-card-v2-footer {
    padding: 0 14px 14px;
}

.product-card-v2-btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff0055 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .3s ease;
    text-transform: uppercase;
    font-style: italic;
}

.product-card-v2-btn:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 0, .4);
    transform: translateY(-1px);
}

/* Light mode */
[data-theme="light"] .product-card-v2 {
    background: #fff;
    border-color: #d8b4fe;
}

[data-theme="light"] .product-card-v2-info p {
    color: #475569;
}

[data-theme="light"] .product-card-v2-info p strong {
    color: #1e293b;
}

@media (max-width: 575.98px) {
    .product-card-v2-image img,
    .product-card-v2-image video,
    .product-card-v2-noimg {
        height: 160px;
    }

    .product-card-v2-header span {
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════
   NEON EFFECTS & HOVER ENHANCEMENTS
   ═══════════════════════════════════════════════════════════ */

/* ─── Wallet card glow pulse ─────────────────────────────── */
[data-theme="dark"] .card-wallet-home {
    animation: borderGlow 4s ease-in-out infinite;
}

[data-theme="dark"] .card-wallet-home:hover {
    box-shadow: 0 0 20px rgba(0, 180, 216, .25), 0 0 40px rgba(124, 58, 237, .15) !important;
    transform: translateY(-2px);
    transition: all .3s ease;
}

[data-theme="dark"] .card-wallet-home .my-wallet h3 {
    animation: textGlow 3s ease-in-out infinite;
}

/* ─── Product name neon hover ────────────────────────────── */
[data-theme="dark"] .feature-name a:hover,
[data-theme="dark"] .product-head-box4 h4 a:hover {
    text-shadow: 0 0 10px rgba(0, 240, 255, .5), 0 0 20px rgba(0, 240, 255, .2);
}

/* ─── Product price shimmer ──────────────────────────────── */
[data-theme="dark"] .feature-price span,
[data-theme="dark"] .price-box4 strong,
[data-theme="dark"] .proce-box4-not-discount,
[data-theme="dark"] .card-price-product-list h5 {
    background: linear-gradient(90deg, var(--gaming-cyan), #fff, var(--gaming-cyan));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* ─── BOX4 buy button shine ──────────────────────────────── */
[data-theme="dark"] .buy-btn-box4 {
    position: relative;
    overflow: hidden;
    transition: all .35s cubic-bezier(.25, .8, .25, 1);
}

[data-theme="dark"] .buy-btn-box4::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    pointer-events: none;
}

[data-theme="dark"] .buy-btn-box4:hover::after {
    animation: slideShine .5s ease forwards;
}

[data-theme="dark"] .buy-btn-box4:hover {
    transform: translateY(-2px) scale(1.04);
}

/* ─── More / Detail button glow ──────────────────────────── */
[data-theme="dark"] .more-btn-box4:hover,
[data-theme="dark"] .btn-more:hover,
[data-theme="dark"] .btn-more-new:hover {
    box-shadow: 0 0 12px rgba(0, 240, 255, .3), 0 0 25px rgba(0, 240, 255, .1);
    transform: translateY(-2px);
    transition: all .3s ease;
}

/* ─── Hero slider neon border ────────────────────────────── */
[data-theme="dark"] .hero-slider-wrapper {
    animation: borderGlow 5s ease-in-out infinite;
}

/* ─── Top recharge card shimmer border ───────────────────── */
[data-theme="dark"] .top-recharge-card {
    animation: borderGlow 6s ease-in-out infinite;
    transition: all .3s ease;
}

[data-theme="dark"] .top-recharge-card:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, .12), 0 8px 25px rgba(0, 0, 0, .4);
}

/* ─── Top recharge CTA pulse ─────────────────────────────── */
[data-theme="dark"] .top-recharge-cta {
    animation: pulseScale 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .top-recharge-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
    pointer-events: none;
    animation: slideShine 2s ease infinite;
}

/* ─── Category icon item hover glow ──────────────────────── */
[data-theme="dark"] .category-icon-item:hover .category-icon-img {
    box-shadow: 0 0 15px rgba(0, 240, 255, .35), 0 0 30px rgba(124, 58, 237, .15);
    animation: neonPulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] .category-icon-item:hover .category-icon-name {
    text-shadow: 0 0 8px rgba(0, 240, 255, .4);
}

/* ─── Marquee items glow ─────────────────────────────────── */
[data-theme="dark"] .marquee-item:hover {
    color: #e2eaff;
    text-shadow: 0 0 6px rgba(0, 240, 255, .3);
}

/* ─── Home heading neon underline ─────────────────────────── */
[data-theme="dark"] .home-heading h3 {
    position: relative;
    display: inline-block;
}

[data-theme="dark"] .home-heading h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gaming-gradient);
    transition: width .4s ease;
}

[data-theme="dark"] .home-heading:hover h3::after {
    width: 100%;
}

/* ─── Product image hover neon border ────────────────────── */
[data-theme="dark"] .product-image-square:hover,
[data-theme="dark"] .product-image-box6:hover {
    box-shadow: 0 0 12px rgba(0, 240, 255, .2);
    transition: box-shadow .3s ease;
}

/* ─── CARD V2 neon effects ───────────────────────────────── */
[data-theme="dark"] .product-card-v2 {
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
}

[data-theme="dark"] .product-card-v2:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .5), 0 0 25px rgba(124, 58, 237, .25), 0 0 50px rgba(0, 240, 255, .08);
    transform: translateY(-5px);
    animation: rainbowBorder 3s linear infinite;
}

[data-theme="dark"] .product-card-v2-btn {
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

[data-theme="dark"] .product-card-v2-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    pointer-events: none;
}

[data-theme="dark"] .product-card-v2-btn:hover::after {
    animation: slideShine .5s ease forwards;
}

[data-theme="dark"] .product-card-v2-btn:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 0, .5), 0 0 15px rgba(255, 0, 85, .3);
    transform: translateY(-2px);
}

/* ─── Header logo float ──────────────────────────────────── */
[data-theme="dark"] .header-logo img,
[data-theme="dark"] .header-logo video {
    animation: float 4s ease-in-out infinite;
}

/* ─── Navbar link hover neon line ─────────────────────────── */
[data-theme="dark"] .navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gaming-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, .5);
    transition: all .3s ease;
    transform: translateX(-50%);
}

[data-theme="dark"] .navbar-link:hover::after,
[data-theme="dark"] .navbar-item:hover > .navbar-link::after {
    width: 80%;
}

/* ─── Badge pulse ────────────────────────────────────────── */
[data-theme="dark"] .badge.bg-primary {
    animation: neonPulse 3s ease-in-out infinite;
}

/* ─── Top rank medals glow ───────────────────────────────── */
[data-theme="dark"] .top-rank.rank-1 {
    animation: pulseScale 2s ease-in-out infinite;
}

/* ─── Product CARD V2 rating stars glow ──────────────────── */
[data-theme="dark"] .product-card-v2-rating i {
    text-shadow: 0 0 6px rgba(255, 215, 0, .5);
}
