.site-footer-old__visa { background: rgba(255,255,255,0.92); color: #0b4ac7; }
.site-footer-old__master { background: linear-gradient(135deg, #f78a12, #ffb45a); color: #fff; }
.site-footer-old__bkash { background: linear-gradient(135deg, #e21e63, #ff5c9c); color: #fff; }
.site-footer-old__nagad { background: linear-gradient(135deg, #f7a700, #ffd03c); color: #fff; }
.site-footer-old__rocket { background: linear-gradient(135deg, #9c45c8, #b970ea); color: #fff; }
.site-footer-old__meghna { background: linear-gradient(135deg, #ff7a00, #ffb347); color: #fff; }
.site-footer-old__ssl { background: linear-gradient(135deg, #2d8cff, #6db6ff); color: #fff; }
.site-footer-old__bank { background: linear-gradient(135deg, #00a0a0, #7df0dc); color: #fff; }
.site-footer-old__eps { background: linear-gradient(135deg, #ff3d00, #ff8d36); color: #fff; }

.site-footer-old__bottom {
    text-align: center;
    padding: 1.1rem 0 2rem;
    color: rgba(240,248,255,0.8);
    font-size: 1rem;
    font-weight: 500;
}

.site-footer-old__bottom span {
    color: #ff5d9d;
    font-weight: 800;
}

.site-footer-old__telegram-fab {
    position: fixed;
    right: 1.4rem;
    bottom: 1.1rem;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #38b7ff, #1d5cd4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(44, 128, 255, 0.38);
    z-index: 55;
}

.site-footer-old__telegram-fab svg {
    width: 1.8rem;
    height: 1.8rem;
    fill: #fff;
}

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

    .site-footer-old__payments {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .site-footer-old__col h3 {
        font-size: 1.28rem;
    }

    .site-footer-old__info .site-footer-old__links {
        grid-template-columns: 1fr;
    }

    .site-footer-old__bottom {
        font-size: 0.75rem;
    }

    .site-footer-old__telegram-fab {
        bottom: 4.7rem;
        right: 1rem;
    }
}

.premium-banner-carousel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.premium-banner-carousel[hidden] {
    display: none;
}

.premium-banner-stage {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: auto;
    aspect-ratio: 1920 / 790;
    margin-inline: auto;
    perspective: 1400px;
    perspective-origin: 50% 48%;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.promo-banner-skeleton {
    position: absolute;
    inset: 0;
    z-index: 10;
    overflow: hidden;
    border-radius: clamp(0.8rem, 2vw, 1.4rem);
    background: rgba(8, 24, 42, 0.9);
    pointer-events: none;
}

.promo-banner-skeleton[hidden] {
    display: none;
}

.promo-banner-skeleton-image {
    width: 100%;
    height: 100%;
}

.premium-banner-stage.is-dragging {
    cursor: grabbing;
}

.premium-banner-slides {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.premium-banner-slide {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: clamp(0.8rem, 2vw, 1.4rem);
    background: transparent;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateZ(-180px) rotateY(0) scale(0.78);
    transform-style: preserve-3d;
    transition: transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1), opacity 500ms ease, filter 700ms ease, visibility 0s;
    will-change: transform, opacity;
}

.premium-banner-slide[data-position="-1"] {
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    filter: brightness(0.7) saturate(0.8);
    transform: translateX(-108%) translateZ(-125px) rotateY(22deg) scale(0.82);
}

.premium-banner-slide[data-position="0"] {
    z-index: 3;
    opacity: 1;
    visibility: visible;
    filter: none;
    transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
}

.premium-banner-slide[data-position="1"] {
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    filter: brightness(0.7) saturate(0.8);
    transform: translateX(8%) translateZ(-125px) rotateY(-22deg) scale(0.82);
}

.premium-banner-slide.is-exiting-left,
.premium-banner-slide.is-exiting-right {
    z-index: 4;
    opacity: 1;
    visibility: visible;
}

.premium-banner-slide.is-exiting-left {
    animation: premium-banner-exit-left 460ms cubic-bezier(0.22, 0.68, 0, 1) both;
}

.premium-banner-slide.is-exiting-right {
    animation: premium-banner-exit-right 460ms cubic-bezier(0.22, 0.68, 0, 1) both;
}

.premium-banner-slide.is-entering-left,
.premium-banner-slide.is-entering-right {
    z-index: 4;
    opacity: 1;
    visibility: visible;
}

.premium-banner-slide.is-entering-left {
    animation: premium-banner-enter-left 700ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

.premium-banner-slide.is-entering-right {
    animation: premium-banner-enter-right 700ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

@keyframes premium-banner-exit-left {
    from {
        opacity: 1;
        filter: none;
        transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
    }
    to {
        opacity: 0;
        filter: blur(5px);
        transform: translateX(-76%) translateZ(90px) rotateY(10deg) scale(0.94);
    }
}

@keyframes premium-banner-exit-right {
    from {
        opacity: 1;
        filter: none;
        transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
    }
    to {
        opacity: 0;
        filter: blur(5px);
        transform: translateX(-24%) translateZ(90px) rotateY(-10deg) scale(0.94);
    }
}

@keyframes premium-banner-enter-left {
    from {
        opacity: 0;
        filter: blur(5px) brightness(0.7);
        transform: translateX(-108%) translateZ(-125px) rotateY(22deg) scale(0.82);
    }
    to {
        opacity: 1;
        filter: none;
        transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
    }
}

@keyframes premium-banner-enter-right {
    from {
        opacity: 0;
        filter: blur(5px) brightness(0.7);
        transform: translateX(8%) translateZ(-125px) rotateY(-22deg) scale(0.82);
    }
    to {
        opacity: 1;
        filter: none;
        transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
    }
}

.premium-banner-slide-error {
    display: none;
}

.premium-banner-card {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    overflow: hidden;
    outline-offset: -4px;
    background: radial-gradient(ellipse, rgba(30, 64, 100, 0.45), transparent 75%);
}

.premium-banner-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
}

.premium-banner-footer {
    display: flex;
    justify-content: center;
    padding: 0.65rem 0.3rem 0;
}

.premium-banner-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.premium-banner-dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.35);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.premium-banner-dot.is-active {
    width: 1.5rem;
    background: #38bdf8;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.48);
}

.premium-banner-dot:focus-visible,
.premium-banner-stage:focus-visible {
    outline: 2px solid #7dd3fc;
    outline-offset: 3px;
}

@media (max-width: 640px) {
    .premium-banner-carousel {
        margin-right: 0;
        margin-left: 0;
    }

    .premium-banner-stage {
        perspective: 900px;
    }

    .premium-banner-slide {
        width: calc(100% + 2px);
        border-radius: 0;
    }

    .promo-banner-skeleton {
        border-radius: 0;
    }

    .premium-banner-slide[data-position="-1"] {
        transform: translateX(-95%) translateZ(-100px) rotateY(18deg) scale(0.8);
    }

    .premium-banner-slide[data-position="1"] {
        transform: translateX(-5%) translateZ(-100px) rotateY(-18deg) scale(0.8);
    }

    .premium-banner-footer {
        padding-top: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-banner-slide,
    .premium-banner-dot {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

:root {
    --site-navy: #060b16;
    --site-panel: #10243a;
    --site-panel-soft: #17334d;
    --site-sky: #0ea5e9;
    --site-sky-deep: #0369a1;
    --site-ice: #eaf4fb;
    --site-ice-card: #f8fcff;
    --site-blue-border: #bfdbed;
}

#auth-sec,
#history-sec,
#transactions-sec {
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 1.25rem;
    background: transparent;
}

#auth-sec {
    padding: 1rem;
}

#auth-sec > div:first-child {
    border-color: var(--site-blue-border);
    box-shadow: 0 18px 44px rgba(2, 8, 20, 0.3);
}

#history-sec {
    overflow: hidden;
    padding-bottom: 1.5rem;
    border-color: rgba(125, 211, 252, 0.34);
}

#history-sec,
#transactions-sec {
    overflow: hidden;
    padding-bottom: 1.5rem;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(14, 165, 233, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(7, 13, 26, 0.94) 0%, #060b16 100%);
}

#transactions-sec {
    border-color: rgba(125, 211, 252, 0.34);
}

.history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
    background: linear-gradient(110deg, var(--site-panel), var(--site-panel-soft));
}

.history-eyebrow {
    display: block;
    margin-bottom: 0.3rem;
    color: #7dd3fc;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.history-heading h2 {
    margin: 0;
    color: #f0f9ff;
    font-size: 1.2rem;
    font-weight: 800;
}

.history-heading p {
    margin: 0.25rem 0 0;
    color: #b7cde0;
    font-size: 0.75rem;
}

.history-refresh-button,
.history-empty-state button {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(125, 211, 252, 0.34);
    border-radius: 0.8rem;
    background: rgba(14, 165, 233, 0.14);
    color: #e0f2fe;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.history-refresh-button:hover,
.history-empty-state button:hover {
    background: rgba(14, 165, 233, 0.25);
}

.history-refresh-button:active,
.history-empty-state button:active {
    transform: scale(0.97);
}

.history-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    padding: 1rem 1rem 0;
}

.history-summary-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(16, 36, 58, 0.94), rgba(10, 25, 43, 0.96));
    box-shadow: 0 5px 16px rgba(2, 8, 20, 0.2);
}

.history-summary-icon {
    display: grid;
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.75rem;
    font-size: 0.92rem;
}

.history-summary-icon-blue { background: rgba(14, 165, 233, 0.2); color: #7dd3fc; }
.history-summary-icon-green { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.history-summary-icon-amber { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }

.history-summary-card > div {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.history-summary-card strong {
    overflow: hidden;
    color: #f0f9ff;
    font-size: 1rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-summary-card span:last-child {
    color: #9bb2c8;
    font-size: 0.66rem;
    font-weight: 600;
    white-space: nowrap;
}

.history-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1rem 0.6rem;
}

.history-toolbar h3 {
    margin: 0;
    color: #e0f2fe;
    font-size: 0.95rem;
    font-weight: 800;
}

.history-filters {
    display: flex;
    max-width: 100%;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.history-filters::-webkit-scrollbar { display: none; }

.history-filter {
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 999px;
    background: rgba(16, 36, 58, 0.86);
    color: #b7cde0;
    font-size: 0.66rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.history-filter.active {
    border-color: #0284c7;
    background: #0284c7;
    color: #fff;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.18);
}

.history-list {
    display: grid;
    gap: 0.65rem;
    padding: 0.25rem 1rem 1rem;
}

.history-order-card {
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(16, 36, 58, 0.94), rgba(9, 23, 40, 0.96));
    box-shadow: 0 6px 18px rgba(2, 8, 20, 0.24);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.history-order-card:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.48);
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.32);
}

.history-order-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.7rem;
}

.history-order-icon {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 0.85rem;
    background: linear-gradient(145deg, rgba(14, 116, 180, 0.28), rgba(30, 64, 110, 0.46));
    color: #7dd3fc;
    font-size: 1rem;
}

.history-order-copy {
    display: grid;
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.22rem;
}

.history-order-copy strong {
    overflow: hidden;
    color: #e5f4ff;
    font-size: 0.88rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-order-copy > span {
    color: #9bb2c8;
    font-size: 0.68rem;
}

.history-order-total {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 0.3rem;
}

.history-order-total > strong {
    color: #7dd3fc;
    font-size: 0.95rem;
    font-weight: 800;
}

.history-status {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.25rem 0.48rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
}

.history-status-completed { background: #dcfce7; color: #15803d; }
.history-status-pending { background: #fef3c7; color: #b45309; }
.history-status-failed { background: #fee2e2; color: #b91c1c; }

.history-order-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.8rem;
    margin: 0.8rem 0 0 3.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(125, 211, 252, 0.16);
}

.history-product-name,
.history-player-id {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
    color: #b2c6d9;
    font-size: 0.7rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.history-product-name i { color: #0ea5e9; }
.history-player-id i { color: #91a9c0; }

.history-loading,
.history-empty-state {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 2.5rem 1rem;
    border: 1px dashed rgba(125, 211, 252, 0.28);
    border-radius: 1rem;
    background: rgba(16, 36, 58, 0.6);
    color: #a9bfd4;
    text-align: center;
}

.history-loading {
    display: flex;
    justify-content: center;
    font-size: 0.82rem;
}

.history-loading i { color: #0284c7; }

.history-empty-state > span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    background: rgba(14, 165, 233, 0.2);
    color: #7dd3fc;
    font-size: 1.15rem;
}

.history-empty-state strong {
    color: #e0f2fe;
    font-size: 0.95rem;
}

.history-empty-state p {
    margin: 0;
    font-size: 0.75rem;
}

.history-empty-state button {
    margin-top: 0.35rem;
    border-color: #0284c7;
    background: #0284c7;
    color: #fff;
}

.history-error-state > span { background: #fee2e2; color: #dc2626; }
.history-error-state button { border-color: #dc2626; background: #dc2626; }

#history-sec > .bg-white {
    border-color: rgba(125, 211, 252, 0.2);
    background: linear-gradient(110deg, var(--site-panel), var(--site-panel-soft));
}

#history-list > .bg-white {
    border-color: rgba(125, 211, 252, 0.2);
    background: linear-gradient(145deg, rgba(16, 36, 58, 0.94), rgba(9, 23, 40, 0.96));
    box-shadow: 0 8px 22px rgba(2, 8, 20, 0.24);
}

#home-sec > div:last-child h3 {
    color: #e0f2fe;
}

#latest-orders-list > .bg-white {
    border-color: var(--site-blue-border);
    background: var(--site-ice-card);
}

#topup-sec {
    border-radius: 1.25rem;
    background: transparent;
    color: #e2e8f0;
}

#topup-sec .order-box {
    border-color: var(--site-blue-border);
    background: var(--site-ice-card);
    box-shadow: 0 8px 22px rgba(3, 105, 161, 0.1);
}

#topup-sec .order-box-header {
    border-color: #c8deed;
}

#topup-sec .order-step-circle {
    background: linear-gradient(145deg, var(--site-sky), var(--site-sky-deep));
}

#topup-sec .order-box-title {
    color: var(--site-sky-deep);
}

#topup-sec .topup-footer {
    border-color: var(--site-blue-border);
    background: linear-gradient(110deg, var(--site-panel), var(--site-panel-soft));
    color: #dbeafe;
}

#topup-sec .topup-footer a {
    color: #7dd3fc;
}

#account-sec {
    border-radius: 1.25rem;
    background: transparent;
    color: #e2e8f0;
}

#account-sec .bg-white {
    border-color: var(--site-blue-border);
    box-shadow: 0 8px 20px rgba(3, 105, 161, 0.08);
}

#account-sec > .flex:first-child .text-black {
    color: #e2e8f0;
}

#account-sec #profile-img-container {
    background: linear-gradient(145deg, var(--site-sky), var(--site-sky-deep));
}

#account-sec > div:first-child h2 {
    color: var(--site-sky-deep);
}

#addmoney-sec {
    background: transparent !important;
}

#addmoney-sec #am-step-2,
#addmoney-sec #am-step-3 {
    background: transparent !important;
}

#addmoney-sec .addmoney-method-card,
#addmoney-sec .addmoney-amount-inline,
#addmoney-sec .addmoney-method-panel,
#addmoney-sec .addmoney-amount-card,
#addmoney-sec .addmoney-details {
    border-color: var(--site-blue-border);
    box-shadow: 0 12px 30px rgba(3, 105, 161, 0.1);
}

#addmoney-sec .addmoney-method-heading,
#addmoney-sec .addmoney-method-options .gateway-card-footer {
    background: linear-gradient(110deg, var(--site-sky-deep), var(--site-sky));
}

#addmoney-sec .addmoney-step-card-heading,
#addmoney-sec .addmoney-details h3,
#addmoney-sec .addmoney-detail-total strong {
    color: var(--site-sky-deep);
}

.latest-orders-panel {
    overflow: hidden;
    padding: 0.8rem;
    border: 1px solid rgba(14, 165, 233, 0.38);
    border-radius: 0.85rem;
    background:
        radial-gradient(ellipse at top left, rgba(14, 165, 233, 0.09), transparent 42%),
        linear-gradient(155deg, #07182b 0%, #081527 58%, #061222 100%);
    box-shadow: 0 14px 34px rgba(2, 8, 20, 0.25), inset 0 1px 0 rgba(125, 211, 252, 0.05);
}

.latest-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.latest-orders-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.55rem;
}

.latest-orders-heading-icon {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 0.5rem;
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
    font-size: 0.85rem;
}

.latest-orders-heading h3 {
    margin: 0;
    color: #e2edf7;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.15;
    text-transform: uppercase;
}

.latest-orders-heading h3 span {
    color: #38bdf8;
}

.latest-orders-heading p {
    margin: 0.15rem 0 0;
    color: #7894ad;
    font-size: 0.52rem;
    line-height: 1.2;
}

.latest-orders-updated {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.45rem;
    border: 1px solid rgba(56, 189, 248, 0.26);
    border-radius: 999px;
    background: rgba(6, 25, 43, 0.88);
    color: #8eabc2;
    font-size: 0.5rem;
    line-height: 1;
    white-space: nowrap;
}

.latest-orders-updated time {
    color: #75d8ff;
    font-weight: 700;
}

.latest-orders-live-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 7px rgba(34, 197, 94, 0.7);
}

.latest-orders-list {
    display: grid;
    gap: 0.32rem;
}

.latest-order-item {
    display: flex;
    min-width: 0;
    min-height: 3.2rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.38rem 0.5rem;
    border: 1px solid rgba(14, 116, 164, 0.58);
    border-radius: 0.62rem;
    background:
        linear-gradient(110deg, rgba(16, 46, 74, 0.78), rgba(7, 25, 46, 0.95) 48%),
        #08172a;
    box-shadow: inset 0 1px 0 rgba(125, 211, 252, 0.035);
    transition: border-color 160ms ease, background-color 160ms ease;
}

.latest-order-item:hover {
    border-color: rgba(56, 189, 248, 0.78);
}

.latest-order-identity,
.latest-order-result,
.latest-order-result > div {
    display: flex;
    align-items: center;
}

.latest-order-identity {
    min-width: 0;
    gap: 0.5rem;
}

.latest-order-avatar {
    position: relative;
    display: grid;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 50%;
    background: linear-gradient(145deg, #164e73, #102640);
    color: #d8f3ff;
    font-size: 0.78rem;
    font-weight: 800;
}

.latest-order-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-order-avatar-fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.latest-order-copy {
    display: grid;
    min-width: 0;
    gap: 0.13rem;
}

.latest-order-copy strong {
    overflow: hidden;
    color: #e2edf7;
    font-size: 0.63rem;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-order-copy span {
    overflow: hidden;
    color: #84a2bb;
    font-size: 0.5rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-order-result {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.18rem;
}

.latest-order-result > strong {
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
}

.latest-order-result > div {
    justify-content: flex-end;
    gap: 0.32rem;
}

.latest-order-result time {
    color: #6f91ac;
    font-size: 0.44rem;
    line-height: 1;
    white-space: nowrap;
}

.latest-order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.17rem 0.36rem;
    border-radius: 999px;
    font-size: 0.43rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.latest-order-status-complete {
    background: #16a34a;
    color: #f0fdf4;
}

.latest-order-status-pending {
    background: #dbeafe;
    color: #1e3a5f;
}

.latest-order-status-other {
    background: #334155;
    color: #dbeafe;
}

.latest-orders-empty {
    margin: 0;
    padding: 1.5rem 0.75rem;
    border: 1px dashed rgba(56, 189, 248, 0.28);
    border-radius: 0.62rem;
    color: #8eabc2;
    font-size: 0.72rem;
    text-align: center;
}

.latest-order-skeleton {
    display: flex;
    min-height: 3.2rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 0.5rem;
    border: 1px solid rgba(14, 116, 164, 0.45);
    border-radius: 0.62rem;
    background: rgba(16, 46, 74, 0.54);
}

.latest-order-skeleton-avatar,
.latest-order-skeleton-copy,
.latest-order-skeleton-price,
.content-loading-skeleton {
    display: block;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.13);
    animation: latest-order-pulse 1.35s ease-in-out infinite alternate;
}

.promo-banner-skeleton .promo-banner-skeleton-image {
    border-radius: 0;
}

.notice-loading-skeleton {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(8, 30, 48, 0.96), rgba(11, 42, 64, 0.9));
}

.notice-loading-skeleton[hidden] {
    display: none;
}

.notice-loading-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
}

.notice-loading-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 0.65rem;
}

.notice-loading-label {
    width: 3.2rem;
    height: 1rem;
    flex: 0 0 3.2rem;
    border-radius: 5px;
}

.notice-loading-message {
    width: min(58%, 22rem);
    height: 0.8rem;
}

.notice-loading-close {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 7px;
}

.latest-order-skeleton-avatar {
    width: 2rem;
    height: 2rem;
}

.latest-order-skeleton-copy {
    width: 45%;
    height: 0.75rem;
}

.latest-order-skeleton-price {
    width: 3rem;
    height: 0.75rem;
    margin-left: auto;
}

.catalog-loading-section {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.catalog-loading-heading {
    width: 9rem;
    height: 0.85rem;
}

.catalog-loading-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.catalog-loading-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98));
}

.catalog-loading-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
}

.catalog-loading-label {
    display: grid;
    min-height: 3.25rem;
    place-items: center;
    padding: 0.65rem 0.75rem;
    border-top: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(2, 6, 23, 0.78);
}

.catalog-loading-title {
    width: 72%;
    height: 0.65rem;
}

.product-card-skeleton,
.product-card-skeleton:hover {
    cursor: default !important;
    pointer-events: none;
    transform: none !important;
    border-color: rgba(56, 139, 201, 0.35) !important;
    background: rgba(10, 30, 58, 0.84) !important;
    box-shadow: none !important;
}

.product-skeleton-title {
    width: 72%;
    height: 0.7rem;
}

.product-skeleton-price {
    width: 3rem;
    height: 0.8rem;
    border-radius: 0.35rem;
}

.history-order-skeleton {
    pointer-events: none;
}

.history-skeleton-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
}

.history-skeleton-title {
    width: min(12rem, 55vw);
    height: 0.72rem;
}

.history-skeleton-subtitle {
    width: min(8rem, 38vw);
    height: 0.58rem;
}

.history-skeleton-amount {
    width: 3.2rem;
    height: 0.72rem;
}

.history-skeleton-status {
    width: 4rem;
    height: 0.55rem;
}

.history-skeleton-detail {
    width: min(8rem, 36vw);
    height: 0.55rem;
}

.addmoney-tutorial-skeleton {
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding: 0.75rem;
}

.addmoney-tutorial-skeleton-image {
    width: min(100%, 24rem);
    aspect-ratio: 16 / 9;
    border-radius: 0.6rem;
}

.addmoney-tutorial-skeleton-title {
    width: min(70%, 12rem);
    height: 0.65rem;
}

.latest-orders-footer {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: min(13rem, 70%);
    margin: 0.65rem auto 0;
    color: #476b88;
}

.latest-orders-footer > span {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45));
}

.latest-orders-footer > span:last-child {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.45), transparent);
}

.latest-orders-footer p {
    margin: 0;
    font-size: 0.48rem;
    white-space: nowrap;
}

.latest-orders-footer i {
    color: #38bdf8;
    font-size: 0.45rem;
}

.home-category-subtitle {
    color: var(--category-accent, #38bdf8);
    font-size: 1em;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: uppercase;
}

.admin-category-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding-left: 0.25rem;
    color: #f8fafc;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-category-heading-image {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    object-fit: contain;
}

.admin-category-subtitle {
    color: #38bdf8;
}

.site-header {
    border-bottom: 1px solid rgba(125, 211, 252, 0.42);
    background: rgba(7, 18, 32, 0.58);
    backdrop-filter: blur(30px) saturate(125%);
    -webkit-backdrop-filter: blur(30px) saturate(125%);
}

.site-header.is-scrolled {
    background: rgba(7, 18, 32, 0.58);
    backdrop-filter: blur(30px) saturate(125%);
    -webkit-backdrop-filter: blur(30px) saturate(125%);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.24);
}

#auth-sec > div:first-child {
    border-radius: 1rem;
    background: var(--site-ice-card);
}

#auth-sec h2 {
    color: #10243a;
}

#auth-sec label {
    color: #334b61;
}

.auth-premium-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.82fr) minmax(360px, 1.18fr);
    width: min(920px, 100%);
    min-height: 520px;
    margin: 22px auto;
    overflow: hidden;
    border: 1px solid #d6e7f1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(2, 8, 20, 0.28);
}

.auth-premium-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    transition: 160ms ease;
}

.auth-premium-close:hover {
    border-color: #fecaca;
    background: #fff;
    color: #ef4444;
    transform: rotate(90deg);
}

.auth-premium-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.34), transparent 22%),
        radial-gradient(circle at 12% 88%, rgba(14, 165, 233, 0.22), transparent 28%),
        linear-gradient(145deg, #082f49 0%, #075985 58%, #0284c7 100%);
    color: #fff;
}

.auth-premium-aside::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -110px;
    width: 230px;
    height: 230px;
    border: 35px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.auth-aside-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
}

.auth-aside-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.auth-aside-content {
    position: relative;
    z-index: 2;
    margin: auto 0;
}

.auth-aside-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #bae6fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-aside-content h2 {
    max-width: 310px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.08;
}

.auth-aside-content p {
    max-width: 310px;
    margin: 0;
    color: #bae6fd;
    font-size: 0.82rem;
    line-height: 1.7;
}

.auth-aside-benefits {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 9px;
}

.auth-aside-benefits span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #f0f9ff;
    font-size: 0.74rem;
    font-weight: 600;
}

.auth-aside-benefits i {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.16);
    color: #7dd3fc;
    font-size: 0.58rem;
}

.auth-premium-panel {
    display: flex;
    min-width: 0;
    align-items: center;
    padding: 42px 48px 34px;
    background:
        linear-gradient(145deg, rgba(240, 249, 255, 0.72), transparent 38%),
        #fff;
}

.auth-view {
    width: 100%;
}

.auth-view-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.auth-view-heading p {
    margin: 0 0 3px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-view-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1.25;
}

.auth-view-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #bae6fd;
    border-radius: 15px;
    background: #f0f9ff;
    color: #0284c7;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.08);
}

.auth-google-button {
    min-height: 44px;
    width: 100%;
    margin-bottom: 18px;
}

.auth-google-button > div {
    margin: 0 auto;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e2e8f0;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 18px;
}

.auth-field-full {
    grid-column: 1 / -1;
}

.auth-field {
    min-width: 0;
    margin-bottom: 14px;
}

.auth-form-grid .auth-field {
    margin-bottom: 0;
}

.auth-field label {
    display: block;
    margin: 0 0 7px;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-label-row button {
    margin: 0 0 7px;
    border: 0;
    background: transparent;
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 700;
}

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

.auth-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 2;
    color: #94a3b8;
    font-size: 0.82rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    height: 48px;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #0f172a;
    padding: 0 14px 0 40px;
    font-size: 0.82rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-input-wrap input[type="password"],
.auth-input-wrap input[type="text"]:has(+ .auth-password-toggle) {
    padding-right: 46px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    display: grid;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    background: #e0f2fe;
    color: #0284c7;
    outline: none;
}

.auth-input-wrap input::placeholder {
    color: #a3afbd;
}

.auth-login-email input::placeholder,
.auth-login-password input::placeholder {
    transition: opacity 160ms ease;
}

.auth-login-email input:focus::placeholder,
.auth-login-password input:focus::placeholder {
    opacity: 0;
}

.auth-login-email:focus-within > i,
.auth-login-password:focus-within > i {
    color: #0284c7;
}

.auth-login-email:hover input:not(:focus),
.auth-login-password:hover input:not(:focus) {
    border-color: #b6c8d8;
}

.auth-input-wrap input:focus {
    border-color: #38bdf8;
    background: #f8fdff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10);
}

.auth-primary-button {
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.22);
    transition: 160ms ease;
}

.auth-primary-button i {
    font-size: 0.72rem;
    transition: transform 160ms ease;
}

.auth-primary-button:hover {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    transform: translateY(-1px);
}

.auth-primary-button:hover i {
    transform: translateX(3px);
}

.auth-switch-text {
    margin: 17px 0 0;
    color: #64748b;
    font-size: 0.76rem;
    text-align: center;
}

.auth-switch-text span {
    color: #334155;
    font-weight: 700;
}

.auth-switch-text button {
    border: 0;
    background: transparent;
    color: #0284c7;
    font-weight: 800;
}

.auth-view-description {
    margin: -8px 0 20px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.65;
}

@media (max-width: 767px) {
    #auth-sec {
        padding: 0.25rem;
    }

    .auth-premium-shell {
        grid-template-columns: 1fr;
        min-height: 0;
        margin: 8px auto 18px;
        border-radius: 20px;
    }

    .auth-premium-aside {
        min-height: 150px;
        padding: 22px 20px;
    }

    .auth-aside-brand {
        font-size: 0.9rem;
    }

    .auth-aside-brand img {
        width: 36px;
        height: 36px;
    }

    .auth-aside-content {
        margin: 18px 0 0;
    }

    .auth-aside-eyebrow {
        margin-bottom: 8px;
        font-size: 0.62rem;
    }

    .auth-aside-content h2 {
        font-size: 1.45rem;
    }

    .auth-aside-content p,
    .auth-aside-benefits {
        display: none;
    }

    .auth-premium-panel {
        padding: 28px 20px 24px;
    }

    .auth-premium-close {
        top: 12px;
        right: 12px;
        border-color: rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
        box-shadow: none;
    }

    .auth-view-heading {
        margin-bottom: 20px;
    }

    .auth-view-heading h2 {
        font-size: 1.25rem;
    }

    .auth-view-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr;
    }
}

#history-list {
    background: transparent;
}

#account-sec > .px-4.mb-4 > .bg-white > div:first-child {
    border-radius: 0.75rem 0.75rem 0 0;
    background: linear-gradient(105deg, var(--site-panel), var(--site-panel-soft));
}

#account-sec > .px-4.mb-4 > .bg-white > div:first-child i,
#account-sec > .px-4.mb-4 > .bg-white > div:first-child h3 {
    color: #e0f2fe;
}

#account-sec > .px-4.mb-4 > .bg-white > .border-t {
    background: #f3f9fd;
}

#account-sec .grid > .bg-white {
    background: linear-gradient(155deg, #ffffff, #f1f8fd);
}

#topup-sec .pay-option-card-new {
    border-color: var(--site-blue-border);
    background: #fff;
}

#topup-sec .pay-option-card-new.selected {
    border-color: var(--site-sky);
    box-shadow: 0 8px 22px rgba(14, 165, 233, 0.16);
}

#topup-sec .pay-option-card-new.selected .pay-card-footer {
    background: linear-gradient(105deg, var(--site-sky-deep), var(--site-sky));
}

#topup-sec .pay-option-card-new .pay-card-footer {
    border-color: var(--site-blue-border);
    background: #eff7fc;
}

#topup-sec .pay-option-card-new .pay-card-label {
    color: #23435d;
}

#topup-sec .pay-option-card-new.selected .pay-card-label {
    color: #fff;
}

#addmoney-sec .addmoney-toolbar,
#addmoney-sec .addmoney-quick-links button,
#addmoney-sec .addmoney-method-grid .instant-method-card {
    border-color: var(--site-blue-border);
    box-shadow: 0 5px 16px rgba(3, 105, 161, 0.07);
}

#addmoney-sec .addmoney-amount-inline {
    background: var(--site-ice-card);
}

#addmoney-sec .addmoney-step-footer {
    border-color: var(--site-blue-border);
    background: rgba(248, 252, 255, 0.96);
    box-shadow: 0 -8px 24px rgba(3, 37, 65, 0.09);
}

.premium-reference-footer {
    border-top: 1px solid rgba(56, 189, 248, 0.2);
}

@keyframes latest-order-pulse {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

@media (min-width: 768px) {
    .catalog-loading-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .catalog-loading-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .catalog-loading-card {
        border-radius: 0.85rem;
    }

    .catalog-loading-label {
        min-height: 2.75rem;
        padding: 0.5rem 0.35rem;
    }

    .catalog-loading-grid {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-order-skeleton-avatar,
    .latest-order-skeleton-copy,
    .latest-order-skeleton-price,
    .content-loading-skeleton {
        animation: none;
    }
}

@media (max-width: 480px) {
    .notice-loading-skeleton {
        min-height: 46px;
        gap: 0.45rem;
        padding: 0.35rem 0.4rem;
        border-radius: 10px;
    }

    .notice-loading-copy {
        gap: 0.4rem;
    }

    .notice-loading-label {
        width: 2.7rem;
        flex-basis: 2.7rem;
    }

    .notice-loading-message {
        width: 75%;
    }

    .latest-orders-panel {
        padding: 0.65rem;
    }

    .latest-orders-header {
        gap: 0.4rem;
    }

    .latest-orders-updated {
        gap: 0.22rem;
        padding: 0.23rem 0.35rem;
        font-size: 0.45rem;
    }

    .latest-orders-list {
        gap: 0.38rem;
    }

    .latest-order-item {
        min-height: 3.25rem;
        gap: 0.35rem;
        padding: 0.42rem 0.46rem;
    }

    .latest-order-avatar {
        width: 2.15rem;
        height: 2.15rem;
    }

    .latest-order-copy strong {
        max-width: 8.5rem;
        font-size: 0.68rem;
    }

    .latest-order-copy span {
        max-width: 9rem;
        font-size: 0.54rem;
    }

    .latest-order-result > strong {
        font-size: 0.78rem;
    }

    .latest-order-result time,
    .latest-order-status {
        font-size: 0.5rem;
    }

    .latest-order-result > div {
        gap: 0.2rem;
    }

    .latest-order-result time {
        font-size: 0.4rem;
    }

    .latest-order-status {
        padding: 0.16rem 0.27rem;
        font-size: 0.4rem;
    }
}

#topup-sec #products-grid .product-card,
#topup-sec #products-grid .product-card.out-of-stock {
    border-color: rgba(56, 139, 201, 0.35);
    background: rgba(10, 30, 58, 0.84) !important;
    background-image: none !important;
    box-shadow: none;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

#topup-sec #products-grid .product-card:hover,
#topup-sec #products-grid .product-card.selected {
    border-color: #38bdf8;
    background: rgba(14, 55, 94, 0.9) !important;
    background-image: none !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12);
}

#topup-sec #products-grid .product-card .prod-title,
#topup-sec #products-grid .product-card.out-of-stock .prod-title,
#topup-sec #products-grid .product-card.selected .prod-title {
    color: #e5efff !important;
}

#topup-sec #products-grid .product-card .prod-price,
#topup-sec #products-grid .product-card.out-of-stock .prod-price {
    background: #2563c9;
    color: #fff !important;
}

#topup-sec #products-grid .product-card .prod-sub {
    color: #93aac4;
}

#topup-sec #products-grid .product-card .stock-badge {
    border-color: rgba(248, 113, 113, 0.32);
    background: rgba(127, 29, 29, 0.75);
    color: #fecaca;
}

/* Compact dark top-up flow */
#topup-sec {
    width: min(calc(100% - 2rem), 900px);
    max-width: 900px;
    margin: 0 auto;
    padding: 0.75rem 0 2.5rem;
    border-radius: 0;
    background: transparent !important;
    color: #e7f1ff;
    box-sizing: border-box;
}

#topup-sec .order-box {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 0 0.8rem;
    padding: 0.8rem 0.85rem;
    border: 1px solid rgba(56, 139, 201, 0.4);
    border-radius: 0.8rem;
    background: linear-gradient(145deg, rgba(8, 25, 50, 0.97), rgba(6, 20, 42, 0.98));
    box-shadow: 0 8px 24px rgba(1, 7, 18, 0.16), inset 0 1px 0 rgba(147, 197, 253, 0.035);
    box-sizing: border-box;
}

#topup-sec .order-box:first-child {
    display: flex;
    min-height: 5rem;
    align-items: center;
    gap: 0.8rem;
}

#topup-sec .order-box:first-child > img {
    flex: 0 0 auto;
    border-color: rgba(56, 189, 248, 0.4);
}

#topup-sec .order-box:first-child h3 {
    margin: 0 0 0.2rem;
    color: #f0f7ff;
}

#topup-sec .order-box:first-child p {
    margin: 0;
    color: #9bb0ca;
}

#topup-sec .order-box-header {
    display: none;
}

#topup-sec .order-step-circle {
    top: 0.8rem;
    left: 0.85rem;
    width: 1.45rem;
    height: 1.45rem;
    border: 1px solid rgba(56, 189, 248, 0.18);
    background: rgba(14, 116, 180, 0.2);
    color: #67e8f9;
    box-shadow: none;
    font-size: 0.7rem;
}

#topup-sec .order-box-title {
    margin: 0 0 0.7rem;
    padding: 0.1rem 0 0.65rem 2rem;
    border-bottom: 1px solid rgba(56, 116, 190, 0.26);
    color: #edf6ff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

