/* ==========================================================================
   Catalog pages (shop, top-ups, cards, subscriptions, games-keys) and
   game account pages — same calm dark theme as the homepage. Design only.
   ========================================================================== */
html[data-theme="dark"] {
    --lu-bg: #121212; --lu-surface: #1b1b1b; --lu-surface-2: #222222; --lu-surface-3: #2a2a2a;
    --lu-border: rgba(255,255,255,.08); --lu-border-2: rgba(255,255,255,.14);
    --lu-text: #f4f4f5; --lu-text-2: #a1a1aa; --lu-muted: #71717a;
    --lu-accent: #10b981; --lu-accent-soft: rgba(16,185,129,.12); --lu-accent-line: rgba(16,185,129,.32);
}

/* ---------------- catalog ---------------- */
html[data-theme="dark"] body .gczbd-catalog { background: var(--lu-bg) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-header {
    background: var(--lu-surface) !important; background-image: none !important;
    border: 1px solid var(--lu-border) !important; border-radius: 16px !important; box-shadow: none !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-header::before,
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-header::after { display: none !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-header-ico { background: var(--lu-accent-soft) !important; border-color: var(--lu-accent-line) !important; color: var(--lu-accent) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-title { color: var(--lu-text) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-subtitle { color: var(--lu-text-2) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-badge { background: transparent !important; border: 1px solid var(--lu-border-2) !important; color: var(--lu-text-2) !important; }

html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn {
    background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; border-radius: 10px !important;
    color: var(--lu-text) !important; box-shadow: none !important; min-width: 0 !important; max-width: 100% !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn:hover { border-color: var(--lu-border-2) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn i { color: var(--lu-muted) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn select {
    background-color: transparent !important; color: var(--lu-text) !important; border: 0 !important;
    min-width: 0 !important; max-width: 100% !important; text-overflow: ellipsis !important; outline: none !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn select option { background: var(--lu-surface-2); color: var(--lu-text); }

html[data-theme="dark"] body .gczbd-catalog .gczbd-cat-nav-btn {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; color: var(--lu-text-2) !important; box-shadow: none !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-cat-nav-btn:hover { color: var(--lu-text) !important; border-color: var(--lu-border-2) !important; }
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; color: var(--lu-text-2) !important;
    box-shadow: none !important; font-weight: 600 !important;
}
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill:hover { color: var(--lu-text) !important; border-color: var(--lu-border-2) !important; }
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill i { color: var(--lu-muted) !important; }
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill.active {
    background: var(--lu-accent-soft) !important; border-color: var(--lu-accent-line) !important; color: var(--lu-text) !important;
}
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill.active i { color: var(--lu-accent) !important; }
html[data-theme="dark"] body .gczbd-catalog .hp-pill-count {
    background: rgba(255,255,255,.06) !important; border: 0 !important; color: var(--lu-text-2) !important;
}
html[data-theme="dark"] body .gczbd-catalog .hp-filter-pill.active .hp-pill-count { background: rgba(16,185,129,.18) !important; color: #6ee7b7 !important; }

html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; border-radius: 16px !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card::before,
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card::after,
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card__media::after { display: none !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card:hover { border-color: var(--lu-border-2) !important; background: var(--lu-surface-2) !important; transform: translateY(-2px) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card__media { background: var(--lu-surface-2) !important; border: 0 !important; border-radius: 11px !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card__title { color: var(--lu-text) !important; font-weight: 600 !important; }

html[data-theme="dark"] body .gczbd-catalog .page-link { background: var(--lu-surface) !important; border-color: var(--lu-border) !important; color: var(--lu-text-2) !important; }
html[data-theme="dark"] body .gczbd-catalog .page-item.active .page-link,
html[data-theme="dark"] body .gczbd-catalog .page-link:hover { background: var(--lu-accent-soft) !important; border-color: var(--lu-accent-line) !important; color: var(--lu-text) !important; }

/* SEO/FAQ block under the catalog */
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; border-radius: 16px !important; box-shadow: none !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo__capsule {
    background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; border-left: 3px solid var(--lu-accent) !important;
}
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo__card,
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo__faq-item,
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo__table-wrap { background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-geo__refs { border-color: var(--lu-border) !important; }

/* ---------------- game accounts: list ---------------- */
html[data-theme="dark"] body .arora-acc-market .acc-hero-banner {
    background: var(--lu-surface) !important; background-image: none !important;
    border: 1px solid var(--lu-border) !important; border-radius: 16px !important; box-shadow: none !important;
}
html[data-theme="dark"] body .arora-acc-market .acc-hero-bg-orbs,
html[data-theme="dark"] body .arora-acc-market .acc-hero-banner::before,
html[data-theme="dark"] body .arora-acc-market .acc-hero-banner::after { display: none !important; }
html[data-theme="dark"] body .arora-acc-market .acc-search-box {
    background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; box-shadow: none !important;
}
html[data-theme="dark"] body .arora-acc-market .acc-filter-bar select {
    background-color: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; color: var(--lu-text) !important;
}
html[data-theme="dark"] body .arora-acc-market .acc-game-pill {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; color: var(--lu-text-2) !important; box-shadow: none !important;
}
html[data-theme="dark"] body .arora-acc-market .acc-game-pill.active,
html[data-theme="dark"] body .arora-acc-market .acc-game-pill.is-active { background: var(--lu-accent-soft) !important; border-color: var(--lu-accent-line) !important; color: var(--lu-text) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-card {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; border-radius: 16px !important; box-shadow: none !important;
}
html[data-theme="dark"] body .arora-acc-market .acc-card:hover { border-color: var(--lu-border-2) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-card-thumb { background: var(--lu-surface-2) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-login-chip { background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; color: var(--lu-text-2) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-view-btn {
    background: var(--lu-accent-soft) !important; border: 1px solid var(--lu-accent-line) !important; color: #6ee7b7 !important;
}

/* ---------------- game accounts: detail ---------------- */
html[data-theme="dark"] body .arora-acc-detail-page .acc-gallery-card,
html[data-theme="dark"] body .arora-acc-detail-page .acc-desc-card,
html[data-theme="dark"] body .arora-acc-detail-page .acc-side-card {
    background: var(--lu-surface) !important; border: 1px solid var(--lu-border) !important; border-radius: 16px !important; box-shadow: none !important;
}
html[data-theme="dark"] body .arora-acc-detail-page .acc-main-stage { background: var(--lu-bg) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-stage-nav,
html[data-theme="dark"] body .arora-acc-detail-page .acc-stage-expand {
    background: rgba(18,18,18,.82) !important; border: 1px solid var(--lu-border-2) !important; color: var(--lu-text) !important;
}
html[data-theme="dark"] body .arora-acc-detail-page .acc-thumb-btn { background: var(--lu-surface-2) !important; border-color: var(--lu-border) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-thumb-btn.active,
html[data-theme="dark"] body .arora-acc-detail-page .acc-thumb-btn.is-active { border-color: var(--lu-accent) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-price-banner { background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-login-info-box { background: var(--lu-surface-2) !important; border: 1px solid var(--lu-border) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .login-method-pill { background: var(--lu-surface-3) !important; border: 1px solid var(--lu-border-2) !important; color: var(--lu-text) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-breadcrumb a { color: var(--lu-text-2) !important; }
html[data-theme="dark"] body .arora-acc-detail-page .acc-breadcrumb a:hover { color: var(--lu-accent) !important; }

/* ---------------- mobile ---------------- */
@media (max-width: 640px) {
    html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-controls { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; width: 100% !important; }
    html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn { width: 100% !important; overflow: hidden !important; padding: 8px 10px !important; }
    html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-filter-btn select { flex: 1 1 auto !important; width: 100% !important; font-size: 13px !important; padding-right: 0 !important; }
    html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card { border-radius: 14px !important; }
    html[data-theme="dark"] body .arora-acc-detail-page .acc-breadcrumb {
        display: flex !important; flex-wrap: wrap !important; gap: 2px 6px !important; height: auto !important;
        overflow: visible !important; white-space: normal !important; font-size: 13px !important; line-height: 1.5 !important;
    }
    html[data-theme="dark"] body .arora-acc-detail-page .acc-breadcrumb > span:nth-last-child(2) { display: none !important; }
}

/* account list hero polish */
html[data-theme="dark"] body .arora-acc-market .acc-search-btn { box-shadow: none !important; background: var(--lu-accent) !important; color: #04130d !important; border: 0 !important; }
html[data-theme="dark"] body .arora-acc-market .acc-hero-title { color: var(--lu-text) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-hero-sub { color: var(--lu-text-2) !important; }
@media (max-width: 640px) {
    html[data-theme="dark"] body .arora-acc-market .acc-hero-banner { padding: 18px 16px !important; }
    html[data-theme="dark"] body .arora-acc-market .acc-hero-title {
        display: block !important; font-size: 22px !important; line-height: 1.3 !important; margin-bottom: 8px !important;
    }
    html[data-theme="dark"] body .arora-acc-market .acc-hero-title i { margin-right: 6px !important; }
    html[data-theme="dark"] body .arora-acc-market .acc-hero-sub { font-size: 14px !important; line-height: 1.55 !important; margin-bottom: 14px !important; }
    html[data-theme="dark"] body .arora-acc-market .acc-filter-bar { display: flex !important; flex-direction: column !important; gap: 10px !important; }
    html[data-theme="dark"] body .arora-acc-market .acc-filter-bar > *, html[data-theme="dark"] body .arora-acc-market .acc-filter-bar select { width: 100% !important; max-width: 100% !important; }
    html[data-theme="dark"] body .arora-acc-market .acc-search-box input { min-width: 0 !important; }
}

/* ===== glass sweep on product images (v1.3) ===== */
@keyframes aroGlassSweep { 0% { transform: translateX(-130%) skewX(-18deg); } 38%, 100% { transform: translateX(230%) skewX(-18deg); } }
html[data-theme] body .gczbd-catalog a.gczbd-catalog-card .gczbd-catalog-card__media,
html[data-theme] body .arora-acc-market a.acc-card .acc-card-thumb { position: relative !important; overflow: hidden !important; isolation: isolate; }
html[data-theme] body .gczbd-catalog a.gczbd-catalog-card .gczbd-catalog-card__media::after,
html[data-theme] body .arora-acc-market a.acc-card .acc-card-thumb::after {
    content: "" !important; display: block !important; position: absolute !important; top: 0; bottom: 0; left: 0; width: 55%;
    pointer-events: none; z-index: 1;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.07) 30%, rgba(255,255,255,.26) 50%, rgba(255,255,255,.07) 70%, rgba(255,255,255,0) 100%) !important;
    transform: translateX(-130%) skewX(-18deg);
    animation: aroGlassSweep 5s ease-in-out infinite;
}
html[data-theme] body .gczbd-catalog a.gczbd-catalog-card:nth-child(3n+2) .gczbd-catalog-card__media::after,
html[data-theme] body .arora-acc-market a.acc-card:nth-child(3n+2) .acc-card-thumb::after { animation-delay: .6s; }
html[data-theme] body .gczbd-catalog a.gczbd-catalog-card:nth-child(3n) .gczbd-catalog-card__media::after,
html[data-theme] body .arora-acc-market a.acc-card:nth-child(3n) .acc-card-thumb::after { animation-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) {
    html[data-theme] body .gczbd-catalog a.gczbd-catalog-card .gczbd-catalog-card__media::after,
    html[data-theme] body .arora-acc-market a.acc-card .acc-card-thumb::after { animation: none; display: none !important; }
}

/* ===== Instant badge on catalog cards ===== */
html[data-theme] body .gczbd-catalog .aro-instant-badge {
    position: absolute; left: 6px; bottom: 6px; top: auto; right: auto; z-index: 2;
    display: inline-flex; align-items: center; gap: 4px; width: auto; height: auto; max-width: calc(100% - 12px);
    font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: .01em; white-space: nowrap;
    color: #04130d; background: #10b981; padding: 4px 7px; border-radius: 6px; box-shadow: none;
}
html[data-theme] body .gczbd-catalog .aro-instant-badge i { font-size: 9px; }

/* ===== card polish ===== */
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card__media img { transition: transform .35s ease !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card:hover .gczbd-catalog-card__media img { transform: scale(1.05) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card:hover { border-color: rgba(16,185,129,.35) !important; }
html[data-theme="dark"] body .arora-acc-market .acc-card:hover { border-color: rgba(16,185,129,.35) !important; }
html[data-theme="dark"] body .gczbd-catalog .gczbd-catalog-card__title {
    display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; white-space: normal !important;
}
@media (max-width: 640px) {
    html[data-theme] body .gczbd-catalog .aro-instant-badge { font-size: 9.5px; padding: 3px 6px; left: 5px; bottom: 5px; }
    html[data-theme] body .gczbd-catalog-pagination { margin-top: 18px !important; }
}
