/* ASMAR CARD — shared account / finance UI */
:root {
    --asmar-bg: #060b18;
    --asmar-card: #0a1128;
    --asmar-card-2: #121c3d;
    --asmar-border: rgba(212, 175, 55, 0.28);
    --asmar-border-soft: rgba(255, 255, 255, 0.06);
    --asmar-gold: #d4af37;
    --asmar-gold-light: #f3e5ab;
    --asmar-text: #ffffff;
    --asmar-muted: #8a9bb8;
    --asmar-green: #2ecc71;
    --asmar-red: #e74c3c;
    --asmar-amber: #fbbf24;
    --asmar-radius: 12px;
    --asmar-page: 520px;
}

.asmar-page {
    max-width: var(--asmar-page);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.asmar-page.wide { max-width: 960px; }

.asmar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 2px;
}
.asmar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--asmar-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.asmar-title i { font-size: 18px; }
.asmar-brand {
    font-size: 11px;
    color: var(--asmar-muted);
    letter-spacing: .04em;
    white-space: nowrap;
}
.asmar-sub {
    font-size: 12px;
    color: var(--asmar-muted);
    line-height: 1.6;
    margin: 0;
}

.asmar-card {
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border);
    border-radius: var(--asmar-radius);
    padding: 12px 14px;
}
.asmar-card.soft { border-color: var(--asmar-border-soft); }
.asmar-card.hero {
    background: linear-gradient(135deg, #0a1128 0%, #121c3d 100%);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .35);
}
.asmar-card.flush { padding: 0; overflow: hidden; }

.asmar-label { font-size: 11px; color: var(--asmar-muted); margin-bottom: 2px; }
.asmar-amount {
    font-size: 24px;
    font-weight: 800;
    color: var(--asmar-gold-light);
    margin-bottom: 10px;
}
.asmar-amount.sm { font-size: 18px; margin-bottom: 0; }
.asmar-amount.xs { font-size: 14px; margin-bottom: 0; }

.asmar-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.asmar-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.asmar-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.asmar-kpi {
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border-soft);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}
.asmar-kpi .n { font-size: 14px; font-weight: 800; }
.asmar-kpi .l { font-size: 10px; color: var(--asmar-muted); margin-top: 3px; }
.asmar-kpi.plus .n { color: var(--asmar-green); }
.asmar-kpi.minus .n { color: var(--asmar-red); }
.asmar-kpi.gold .n { color: var(--asmar-gold-light); }

.asmar-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.asmar-tab {
    flex: 1;
    min-width: 90px;
    text-align: center;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(212, 175, 55, .22);
    color: var(--asmar-muted);
    text-decoration: none;
    background: var(--asmar-card);
}
.asmar-tab.active {
    color: var(--asmar-gold-light);
    border-color: rgba(212, 175, 55, .55);
    background: rgba(212, 175, 55, .1);
}

.asmar-filter {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border);
    border-radius: 10px;
    padding: 8px;
}
.asmar-filter input[type="date"],
.asmar-input {
    flex: 1;
    min-width: 110px;
    background: var(--asmar-bg);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}

.asmar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.asmar-btn-gold { background: var(--asmar-gold); color: #000; }
.asmar-btn-mute {
    background: rgba(148, 163, 184, .12);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, .25);
}
.asmar-btn-outline {
    background: transparent;
    color: var(--asmar-gold);
    border: 1px solid var(--asmar-border);
}
.asmar-btn-block { width: 100%; }

.asmar-row {
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border-soft);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.asmar-row-id { font-size: 12px; font-weight: 800; color: #fff; word-break: break-all; }
.asmar-row-desc { font-size: 11px; color: var(--asmar-muted); margin-top: 2px; }
.asmar-row-meta { font-size: 10px; color: #556b8d; margin-top: 3px; }
.asmar-row-val { font-size: 13px; font-weight: 800; text-align: left; direction: ltr; }
.asmar-row-val.plus { color: var(--asmar-green); }
.asmar-row-val.minus { color: var(--asmar-red); }

.asmar-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
}
.asmar-pill.ok,
.asmar-pill.approved { background: rgba(46, 204, 113, .15); color: var(--asmar-green); }
.asmar-pill.wait,
.asmar-pill.pending { background: rgba(245, 158, 11, .15); color: var(--asmar-amber); }
.asmar-pill.bad,
.asmar-pill.canceled { background: rgba(231, 76, 60, .15); color: #f87171; }

.asmar-section {
    font-size: 12px;
    color: var(--asmar-muted);
    border-bottom: 1px solid var(--asmar-border-soft);
    padding-bottom: 6px;
    font-weight: 700;
}

.asmar-empty {
    text-align: center;
    padding: 28px 16px;
    color: var(--asmar-muted);
    font-size: 13px;
}
.asmar-empty i { font-size: 28px; display: block; margin-bottom: 8px; }

.asmar-table-wrap { overflow-x: auto; }
.asmar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.asmar-table th,
.asmar-table td {
    padding: 10px 12px;
    text-align: right;
}
.asmar-table thead tr {
    border-bottom: 1px solid rgba(148, 163, 184, .25);
    color: var(--asmar-muted);
    font-size: 11px;
}
.asmar-table tbody tr { border-bottom: 1px solid rgba(148, 163, 184, .12); }
.asmar-table tbody tr:hover { background: rgba(212, 175, 55, .05); }
.asmar-table .num {
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.asmar-table tfoot td {
    padding: 10px 12px;
    font-weight: 700;
    border-top: 2px solid rgba(148, 163, 184, .3);
}
.asmar-credit { color: var(--asmar-green); font-weight: 700; }
.asmar-debit { color: var(--asmar-red); font-weight: 700; }

.asmar-details {
    border: 1px solid var(--asmar-border-soft);
    border-radius: 10px;
    background: var(--asmar-card);
    overflow: hidden;
}
.asmar-details > summary {
    cursor: pointer;
    list-style: none;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--asmar-gold-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.asmar-details > summary::-webkit-details-marker { display: none; }
.asmar-details[open] > summary { border-bottom: 1px solid var(--asmar-border-soft); }
.asmar-details .body { padding: 0; }

.asmar-accordion {
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border-soft);
    border-radius: 10px;
    overflow: hidden;
}
.asmar-accordion-main {
    width: 100%;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    text-align: right;
}
.asmar-accordion-body {
    display: none;
    background: rgba(6, 11, 24, .55);
    border-top: 1px solid var(--asmar-border-soft);
    padding: 10px 12px;
    flex-direction: column;
    gap: 6px;
}
.asmar-accordion-body.open { display: flex; }
.asmar-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
}
.asmar-detail-row .k { color: var(--asmar-muted); }
.asmar-detail-row .v { color: #e2e8f0; font-weight: 600; text-align: left; }

.asmar-pager { display: flex; justify-content: center; }
.asmar-pager nav,
.asmar-pager .pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.asmar-pager .page-link,
.asmar-pager a,
.asmar-pager span {
    border-radius: 8px !important;
    border: 1px solid rgba(148, 163, 184, .3) !important;
    background: var(--asmar-card) !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 6px 11px !important;
}
.asmar-pager .active .page-link,
.asmar-pager .active span {
    background: var(--asmar-gold) !important;
    color: #000 !important;
    border-color: transparent !important;
}

.asmar-copy {
    border: 1px solid var(--asmar-border);
    background: rgba(212, 175, 55, .1);
    color: var(--asmar-gold-light);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* Agent overrides toward gold */
.asmar-agent .agent-tabs { border-bottom-color: rgba(212, 175, 55, .25); }
.asmar-agent .agent-tab.active { color: var(--asmar-gold); border-bottom-color: var(--asmar-gold); }
.asmar-agent .ag-avatar { background: linear-gradient(135deg, #d4af37, #b45309); }
.asmar-agent .ag-submit { background: linear-gradient(135deg, #d4af37, #b45309); color: #111; }
.asmar-agent .ag-input:focus { border-color: var(--asmar-gold); }
.asmar-agent .ag-btn-blue,
.asmar-agent .ag-btn-purple {
    background: rgba(212, 175, 55, .12);
    color: var(--asmar-gold-light);
    border-color: rgba(212, 175, 55, .3);
}
.asmar-agent .ag-card,
.asmar-agent .stat-box {
    background: var(--asmar-card);
    border-color: var(--asmar-border-soft);
}

@media (max-width: 480px) {
    .asmar-grid-3 { grid-template-columns: 1fr; }
    .asmar-page.wide { max-width: 100%; }
}

/* Light mode */
html:not(.dark) .asmar-title { color: #92400e; }
html:not(.dark) .asmar-brand,
html:not(.dark) .asmar-sub,
html:not(.dark) .asmar-label,
html:not(.dark) .asmar-section,
html:not(.dark) .asmar-row-desc,
html:not(.dark) .asmar-row-meta,
html:not(.dark) .asmar-kpi .l,
html:not(.dark) .asmar-empty,
html:not(.dark) .asmar-table thead tr,
html:not(.dark) .asmar-detail-row .k { color: #64748b; }
html:not(.dark) .asmar-card,
html:not(.dark) .asmar-kpi,
html:not(.dark) .asmar-tab,
html:not(.dark) .asmar-filter,
html:not(.dark) .asmar-row,
html:not(.dark) .asmar-accordion,
html:not(.dark) .asmar-details,
html:not(.dark) .asmar-pager .page-link,
html:not(.dark) .asmar-pager a,
html:not(.dark) .asmar-pager span {
    background: #fff;
    border-color: rgba(148, 163, 184, .35);
}
html:not(.dark) .asmar-amount,
html:not(.dark) .asmar-kpi.gold .n { color: #92400e; }
html:not(.dark) .asmar-row-id,
html:not(.dark) .asmar-detail-row .v,
html:not(.dark) .asmar-details > summary { color: #0f172a; }
html:not(.dark) .asmar-filter input[type="date"],
html:not(.dark) .asmar-input {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(148, 163, 184, .4);
}
html:not(.dark) .asmar-tab.active {
    color: #92400e;
    background: #fffbeb;
    border-color: #f59e0b;
}
html:not(.dark) .asmar-btn-mute {
    background: #f1f5f9;
    color: #475569;
}
html:not(.dark) .asmar-accordion-body { background: #f8fafc; }
html:not(.dark) .asmar-copy {
    background: #fffbeb;
    color: #92400e;
    border-color: #f59e0b;
}
html:not(.dark) .asmar-agent .agent-tab.active { color: #92400e; border-bottom-color: #b45309; }
html:not(.dark) .asmar-agent .ag-card,
html:not(.dark) .asmar-agent .stat-box {
    background: #fff;
    border-color: rgba(148, 163, 184, .35);
}

/* Bank select + deposit */
.asmar-bank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 720px) {
    .asmar-bank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.asmar-bank-card {
    display: flex;
    flex-direction: column;
    background: var(--asmar-card);
    border: 1px solid var(--asmar-border-soft);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, transform .15s;
}
.asmar-bank-card:hover { border-color: rgba(212, 175, 55, .45); transform: translateY(-1px); }
.asmar-bank-card.voucher { border-color: rgba(46, 204, 113, .35); }
.asmar-bank-media {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, .08);
}
.asmar-bank-card.voucher .asmar-bank-media {
    background: rgba(46, 204, 113, .1);
    color: #34d399;
    font-size: 42px;
}
.asmar-bank-media.logo img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
}
.asmar-bank-body { padding: 10px 12px 12px; }
.asmar-bank-name { font-size: 13px; font-weight: 800; color: var(--asmar-gold-light); }
.asmar-bank-hint { font-size: 11px; color: var(--asmar-muted); margin-top: 3px; }

.asmar-copy-address {
    width: 100%;
    text-align: right;
    background: rgba(212, 175, 55, .08);
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 10px;
    padding: 12px;
    color: inherit;
    cursor: pointer;
}
.asmar-copy-address-text {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.6;
    word-break: break-word;
    color: #fff;
    margin-top: 4px;
}
.asmar-copy-address-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 11px;
    color: var(--asmar-gold);
    font-weight: 700;
}
.asmar-bank-qr {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--asmar-border-soft);
    background: rgba(6, 11, 24, .45);
    padding: 8px;
    text-align: center;
}
.asmar-bank-qr img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}
.asmar-deposit-form { display: flex; flex-direction: column; gap: 12px; }
.asmar-input {
    width: 100%;
    min-height: 44px;
    background: var(--asmar-bg);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}
.asmar-input:focus { border-color: rgba(212, 175, 55, .55); }
.asmar-input-error { border-color: rgba(231, 76, 60, .55) !important; }
.asmar-error { display: block; margin-top: 4px; font-size: 11px; color: #f87171; }
.asmar-limits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 11px;
    color: var(--asmar-muted);
}
.asmar-calc,
.asmar-credit-box {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid var(--asmar-border-soft);
    background: rgba(255, 255, 255, .03);
}
.asmar-credit-box { border-color: rgba(46, 204, 113, .28); background: rgba(46, 204, 113, .08); }
.asmar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 14px;
    border-radius: 12px;
    border: 1.5px dashed rgba(212, 175, 55, .4);
    background: rgba(212, 175, 55, .05);
    cursor: pointer;
    text-align: center;
}
.asmar-upload i { font-size: 26px; color: var(--asmar-gold); }
.asmar-upload strong { font-size: 13px; color: #fff; }
.asmar-upload span { font-size: 11px; color: var(--asmar-muted); }

/* Bottom nav — floating dock + raised center CTA */
.asmar-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: none;
    pointer-events: none;
    padding: 0 14px calc(10px + env(safe-area-inset-bottom));
    background: transparent;
    border: none;
}
@media (max-width: 767px) {
    .asmar-bottom-nav { display: block; }
}
.asmar-bottom-nav-inner {
    pointer-events: auto;
    max-width: 420px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
    position: relative;
    padding: 10px 8px 8px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(18, 28, 61, .96) 0%, rgba(8, 13, 28, .98) 100%);
    border: 1px solid rgba(212, 175, 55, .32);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 -8px 24px rgba(212, 175, 55, .06);
    backdrop-filter: blur(18px);
}
.asmar-bottom-nav-inner::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(243, 229, 171, .55), transparent);
    pointer-events: none;
}
.asmar-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 2px;
    border-radius: 14px;
    text-decoration: none;
    color: #8a9bb8;
    background: transparent;
    border: none;
    cursor: pointer;
    min-height: 48px;
    position: relative;
    transition: color .18s ease, transform .18s ease;
}
.asmar-bottom-item i { font-size: 18px; line-height: 1; }
.asmar-bottom-item span { font-size: 10px; font-weight: 700; letter-spacing: .01em; }
.asmar-bottom-item.active { color: #f3e5ab; }
.asmar-bottom-item:hover { color: #f3e5ab; transform: translateY(-1px); }
.asmar-bottom-item.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    width: 14px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b45309, #d4af37, #f3e5ab);
}

/* Center elevated charge button */
.asmar-bottom-item.center-cta {
    transform: translateY(-18px);
    min-height: 0;
    padding: 0;
    gap: 5px;
}
.asmar-bottom-item.center-cta:hover { transform: translateY(-20px); }
.asmar-bottom-item.center-cta .asmar-cta-orb {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f3e5ab 0%, #d4af37 48%, #b45309 100%);
    color: #111;
    box-shadow:
        0 10px 22px rgba(212, 175, 55, .38),
        0 0 0 4px rgba(10, 17, 40, .92),
        0 0 0 5px rgba(212, 175, 55, .28);
}
.asmar-bottom-item.center-cta i { font-size: 22px; color: #111; }
.asmar-bottom-item.center-cta span {
    color: #f3e5ab;
    font-size: 10px;
    font-weight: 800;
}
.asmar-bottom-item.center-cta.active::after,
.asmar-bottom-item.center-cta:hover::after { display: none; }
.asmar-bottom-item.center-cta.active .asmar-cta-orb,
.asmar-bottom-item.center-cta:hover .asmar-cta-orb {
    filter: brightness(1.05);
}

html:not(.dark) .asmar-bank-card,
html:not(.dark) .asmar-calc,
html:not(.dark) .asmar-credit-box,
html:not(.dark) .asmar-upload {
    background: #fff;
    border-color: rgba(148, 163, 184, .35);
}
html:not(.dark) .asmar-bank-name,
html:not(.dark) .asmar-copy-address-text,
html:not(.dark) .asmar-upload strong { color: #0f172a; }
html:not(.dark) .asmar-input {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(148, 163, 184, .4);
}
html:not(.dark) .asmar-copy-address {
    background: #fffbeb;
    border-color: #f59e0b;
}
html:not(.dark) .asmar-bottom-nav {
    background: transparent;
    border: none;
}
html:not(.dark) .asmar-bottom-nav-inner {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: rgba(180, 83, 9, .22);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, .12),
        0 0 0 1px rgba(255, 255, 255, .8) inset;
}
html:not(.dark) .asmar-bottom-nav-inner::before {
    background: linear-gradient(90deg, transparent, rgba(180, 83, 9, .35), transparent);
}
html:not(.dark) .asmar-bottom-item { color: #64748b; }
html:not(.dark) .asmar-bottom-item.active,
html:not(.dark) .asmar-bottom-item:hover { color: #92400e; }
html:not(.dark) .asmar-bottom-item.center-cta span { color: #92400e; }
html:not(.dark) .asmar-bottom-item.center-cta .asmar-cta-orb {
    box-shadow:
        0 10px 22px rgba(180, 83, 9, .28),
        0 0 0 4px #fff,
        0 0 0 5px rgba(212, 175, 55, .35);
}

/* ─── Shop: home / category / game packages ─── */
.asmar-shop { max-width: 720px; margin: 0 auto; }
.asmar-banner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    margin-bottom: 14px;
}
.asmar-banner #banner-slider { height: 180px; }
@media (min-width: 640px) {
    .asmar-banner #banner-slider { height: 220px; }
}
.asmar-banner .banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, .35);
    background: rgba(10, 17, 40, .72);
    color: #f3e5ab;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}
.asmar-banner .banner-nav.prev { right: 10px; }
.asmar-banner .banner-nav.next { left: 10px; }
.asmar-banner .banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.asmar-banner .banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: .15s;
}
.asmar-banner .banner-dot.is-active {
    width: 18px;
    background: #d4af37;
}

.asmar-news {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, .28);
    background: linear-gradient(90deg, rgba(212, 175, 55, .14), rgba(10, 17, 40, .9));
    padding: 10px 12px;
    margin-bottom: 14px;
    overflow: hidden;
}
.asmar-news i { color: #d4af37; font-size: 18px; flex: none; }
.asmar-news marquee { color: #f3e5ab; font-size: 13px; font-weight: 700; }

.asmar-home-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.asmar-home-stat {
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, .28);
    background: linear-gradient(145deg, #0a1128, #121c3d);
    padding: 14px 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}
.asmar-home-stat .ico {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, .12);
    color: #d4af37;
    font-size: 20px;
}
.asmar-home-stat .val {
    font-size: 18px;
    font-weight: 900;
    color: #f3e5ab;
    direction: ltr;
}
.asmar-home-stat .lbl { font-size: 11px; color: #8a9bb8; margin-top: 3px; }

.asmar-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.asmar-sec-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #d4af37;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.asmar-sec-head .meta { font-size: 12px; color: #8a9bb8; }

.asmar-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.asmar-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.asmar-cat-item .thumb {
    width: 100%;
    aspect-ratio: 1;
    max-width: 84px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, .3);
    background: #0a1128;
    position: relative;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
    transition: transform .18s, border-color .18s;
}
.asmar-cat-item:hover .thumb {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(243, 229, 171, .65);
}
.asmar-cat-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.asmar-cat-item .thumb .dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2ecc71;
    box-shadow: 0 0 0 2px rgba(10, 17, 40, .8);
}
.asmar-cat-item .name {
    margin-top: 7px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #e2e8f0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.asmar-cat-item.is-off { opacity: .55; pointer-events: none; }
.asmar-cat-item.is-off .thumb img { filter: grayscale(1); }
.asmar-cat-item.is-off .thumb .dot { background: #f59e0b; }

.asmar-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.asmar-why-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .06);
    background: #0a1128;
    padding: 14px 12px;
    text-align: center;
}
.asmar-why-card i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, .12);
    color: #d4af37;
    font-size: 20px;
    margin-bottom: 8px;
}
.asmar-why-card h3 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    color: #f1f5f9;
}
.asmar-why-card p {
    margin: 0;
    font-size: 11px;
    color: #8a9bb8;
    line-height: 1.5;
}

.asmar-prod-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 640px) {
    .asmar-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .asmar-prod-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.asmar-prod-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #0a1128;
    border: 1px solid rgba(255, 255, 255, .06);
    transition: border-color .15s, transform .15s;
    min-width: 0;
    position: relative;
}
.asmar-prod-card:hover {
    border-color: rgba(212, 175, 55, .45);
    transform: translateY(-2px);
}
.asmar-prod-card .media {
    aspect-ratio: 1 / 1;
    background: #060b18;
    overflow: hidden;
}
.asmar-prod-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.asmar-prod-card .body {
    padding: 10px;
    text-align: center;
}
.asmar-prod-card .title {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #f3e5ab;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.asmar-prod-card.is-off { opacity: .55; pointer-events: none; }
.asmar-prod-card.is-off .media img { filter: grayscale(1); }
.asmar-prod-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(231, 76, 60, .92);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 999px;
    padding: 3px 8px;
}

.asmar-subcat-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}
.asmar-subcat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 14px;
    background: #0a1128;
    border: 1px solid rgba(212, 175, 55, .2);
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.asmar-subcat img,
.asmar-subcat .ph {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}
.asmar-subcat .ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, .15);
    color: #d4af37;
    font-size: 18px;
}
.asmar-subcat span {
    font-size: 10px;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asmar-game-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, .3);
    background: linear-gradient(135deg, #0a1128, #121c3d);
}
.asmar-game-hero img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, .28);
    flex: none;
}
.asmar-game-hero h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 900;
    color: #f3e5ab;
}
.asmar-game-hero p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #8a9bb8;
}

.asmar-pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 480px) {
    .asmar-pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .asmar-pkg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.asmar-pkg {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: #0a1128;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, transform .15s, background .15s;
    color: inherit;
    font: inherit;
    width: 100%;
    min-width: 0;
}
.asmar-pkg:hover {
    border-color: rgba(212, 175, 55, .5);
    background: rgba(212, 175, 55, .08);
    transform: translateY(-2px);
}
.asmar-pkg.unavailable {
    opacity: .45;
    pointer-events: none;
}
.asmar-pkg img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin: 0 auto 6px;
    display: block;
}
.asmar-pkg .qty {
    font-size: 12px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.35;
    word-break: break-word;
}
.asmar-pkg .price {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 900;
    color: #d4af37;
    direction: ltr;
}
.asmar-pkg .badge-off {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 6px;
    padding: 2px 6px;
}

html:not(.dark) .asmar-home-stat,
html:not(.dark) .asmar-why-card,
html:not(.dark) .asmar-prod-card,
html:not(.dark) .asmar-subcat,
html:not(.dark) .asmar-pkg,
html:not(.dark) .asmar-cat-item .thumb {
    background: #fff;
    border-color: rgba(148, 163, 184, .35);
}
html:not(.dark) .asmar-sec-head h2,
html:not(.dark) .asmar-home-stat .val,
html:not(.dark) .asmar-prod-card .title,
html:not(.dark) .asmar-game-hero h1,
html:not(.dark) .asmar-pkg .price { color: #92400e; }
html:not(.dark) .asmar-cat-item .name,
html:not(.dark) .asmar-why-card h3,
html:not(.dark) .asmar-pkg .qty,
html:not(.dark) .asmar-subcat span { color: #0f172a; }
html:not(.dark) .asmar-game-hero {
    background: linear-gradient(135deg, #fff7ed, #fff);
    border-color: rgba(180, 83, 9, .25);
}
html:not(.dark) .asmar-news {
    background: #fffbeb;
    border-color: #f59e0b;
}
html:not(.dark) .asmar-news marquee { color: #92400e; }
html:not(.dark) .asmar-banner .banner-nav {
    background: rgba(255, 255, 255, .9);
    color: #92400e;
}
