/* ==========================================================
   Ultra Van Store — Novel Kars Light Novel Theme
   (High-Contrast Monochrome Black, White, & Titanium Grey)
   ========================================================== */

:root {
    --bg: #070709;
    --bg-card: #0f1015;
    --bg-card-hover: #161720;
    --bg-sidebar: #0b0c10;
    --bg-input: #121318;
    --text: #ffffff;
    --text-dim: #e4e4e7;
    --text-muted: #9ca3af;
    --accent: #ffffff;
    --accent-dark: #09090b;
    --accent-hover: #e4e4e7;
    --accent-glow: rgba(255, 255, 255, 0.22);
    --silver-1: #f4f4f5;
    --silver-2: #d4d4d8;
    --silver-3: #71717a;
    --silver-4: #27272a;
    --green: #22c55e;
    --green-dim: rgba(34, 197, 94, 0.15);
    --red: #ef4444;
    --red-dim: rgba(239, 68, 68, 0.15);
    --orange: #f59e0b;
    --orange-dim: rgba(245, 158, 11, 0.15);
    --border: rgba(255, 255, 255, 0.12);
    --border-hover: rgba(255, 255, 255, 0.35);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-xs: 5px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.75);
    --font: 'Inter', 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    overflow-x: hidden;
    overflow-y: scroll; /* Force vertical scrollbar on desktop so mouse wheel and scroll drag always work */
    background: #060709;
}

body {
    font-family: var(--font);
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Custom Desktop Scrollbar (Novel Kars Obsidian & Platinum) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #070709;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
    border: 2px solid #070709;
}
::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hidden { display: none !important; }
.text-success { color: var(--green) !important; }

/* ========== NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 64px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.logo-icon {
    font-size: 1.35rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-admin-link {
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 700;
    border: 1px solid #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-admin-link:hover {
    background: #e4e4e7 !important;
    color: #000000 !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

/* ========== NAVBAR USER AREA & BALANCE PILL ========== */
.nav-user-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.nav-btn-account {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.nav-btn-account:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #fff;
    box-shadow: 0 0 12px var(--accent-glow);
}

.nav-user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.user-balance-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.deposit-plus-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: #000;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.25rem;
    transition: transform 0.15s;
}

.deposit-plus-btn:hover {
    transform: scale(1.15);
    background: #e4e4e7;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.user-profile-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 0.85rem;
    box-shadow: 0 14px 35px rgba(0,0,0,0.8);
    z-index: 9999;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.role-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.user-dropdown-balance {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.user-dropdown-balance strong {
    color: #ffffff;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 0;
}

.dropdown-item-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.55rem 0.6rem;
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: background 0.15s;
}

.dropdown-item-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dropdown-item-btn.text-danger {
    color: #f87171;
}

.dropdown-item-btn.text-danger:hover {
    background: rgba(239, 68, 68, 0.12);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========== STORE LAYOUT ========== */
.store-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    min-height: calc(100vh - 64px);
}

.products-area {
    min-width: 0;
    width: 100%;
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    background: var(--bg-sidebar);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.category-list {
    list-style: none;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: all 0.2s;
    margin-bottom: 2px;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.category-item.active {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.category-item .cat-count {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 600;
}

.category-item.active .cat-count {
    background: #000000;
    color: #ffffff;
}

/* Featured Game Top-Up Category Item */
.topup-special-cat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.topup-special-cat:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateX(2px);
}

.topup-special-cat .cat-count {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
}

.topup-special-cat .cat-count .badge-icon {
    font-size: 0.72rem;
    line-height: 1;
    display: inline-block;
}

/* ========== FEATURED SECTION (Horizontal Scroll) ========== */
.featured-section {
    margin-bottom: 2rem;
}

.featured-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.featured-scroll::-webkit-scrollbar { display: none; }

.featured-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.featured-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-4px);
}

.featured-img {
    height: 100px;
    background: linear-gradient(135deg, var(--accent) 0%, #4338ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 6px;
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-hot {
    background: var(--red);
    color: #fff;
}

.badge-discount {
    background: var(--green);
    color: #fff;
}

.featured-info {
    padding: 1rem;
}

.featured-cat {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.featured-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.featured-price-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.featured-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.featured-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ========== PRODUCTS GRID ========== */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.products-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.product-count {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* ========== PRODUCT CARD (Shiryu Style) ========== */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-top {
    position: relative;
}

.card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.card-image {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    overflow: hidden;
    position: relative;
}

.card-image img.product-cover-photo,
.featured-img img.product-cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-card:hover .card-image img.product-cover-photo,
.featured-card:hover .featured-img img.product-cover-photo {
    transform: scale(1.05);
}

.detail-image-area {
    overflow: hidden;
    position: relative;
}

.detail-image-area img.detail-cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: calc(var(--radius) - 1px);
}


.card-body {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.7rem;
    color: #cbd5e1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text);
    line-height: 1.3;
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.card-rating .stars {
    color: #fbbf24;
    font-weight: 700;
}

.card-rating .review-count {
    color: var(--text-muted);
}

.card-footer {
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-price-prefix {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.card-original-price {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-stock {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-delivery {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-dim);
}

.card-buy-btn,
.card-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font);
    position: relative;
    z-index: 2;
    border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.card-buy-btn:hover,
.card-view-btn:hover {
    background: #e4e4e7;
    border-color: #e4e4e7;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.card-view-btn .arrow-icon {
    transition: transform 0.2s ease;
}

.card-view-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* ========== PRODUCT DETAIL VIEW ========== */
.product-detail-view {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
    min-height: calc(100vh - 64px);
}

.detail-container {
    max-width: 1050px;
    margin: 0 auto;
}

.back-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.back-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.detail-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
}

.detail-image-area {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.detail-emoji {
    font-size: 6rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.detail-guarantee-card {
    margin-top: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.guarantee-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    padding-top: 2px;
}

.guarantee-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.guarantee-item p {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin: 0;
    line-height: 1.4;
}

.guarantee-item a {
    color: var(--accent);
    text-decoration: underline;
}

.detail-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.detail-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.detail-source-badge {
    display: none !important;
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: #fff;
}

.store-box-header {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 0.85rem;
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail-rating .stars {
    color: #fbbf24;
    font-weight: 700;
    font-size: 0.95rem;
}

.detail-rating .review-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.detail-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.detail-original-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-stock-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stock-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-xs);
}

.stock-badge.in-stock {
    background: var(--green-dim);
    color: var(--green);
}

.stock-badge.out-of-stock {
    background: var(--red-dim);
    color: var(--red);
}

.delivery-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ========== SELECT DURATION / PACKAGE VARIANT (NOVEL KARS OBSIDIAN) ========== */
.detail-duration-container {
    margin-top: 1.15rem;
    margin-bottom: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.duration-section-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.duration-icon {
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.15));
}

.duration-section-label {
    font-size: 0.86rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.duration-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.duration-option-card {
    position: relative;
    background: rgba(18, 20, 28, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.75rem 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.duration-option-card:hover {
    background: rgba(26, 29, 42, 0.98);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.duration-option-card.active {
    background: rgba(25, 28, 40, 0.98);
    border: 1.5px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(255, 255, 255, 0.12);
}

.duration-option-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.duration-option-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.duration-option-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
}

.duration-discount-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    letter-spacing: 0.3px;
}

.duration-badge-value {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.duration-option-stock {
    font-size: 0.74rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.duration-option-stock.out-of-stock {
    color: #ef4444;
}

.duration-option-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.duration-option-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.duration-price-current {
    font-size: 1.05rem;
    font-weight: 900;
    color: #ffffff;
}

.duration-price-orig {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: line-through;
}

.duration-radio-pill {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.duration-option-card.active .duration-radio-pill {
    border-color: #ffffff;
    background: #ffffff;
}

.duration-radio-pill::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.duration-option-card.active .duration-radio-pill::after {
    opacity: 1;
}

/* ========== PRE-PURCHASE NOTICE & RULES (STORE.PY) ========== */
.pre-purchase-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 15, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.pre-purchase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 1rem;
}

.pre-purchase-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pre-warn-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.pre-purchase-heading {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.pre-purchase-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.lang-switch-tabs {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 3px;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.lang-tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.lang-tab-btn:hover {
    color: var(--text);
}

.lang-tab-btn.active {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.pre-purchase-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #cbd5e1;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.pre-purchase-body strong {
    color: #fff;
    font-weight: 700;
}

.pre-purchase-body code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: monospace;
}

.pre-purchase-body .rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.pre-purchase-body .rule-bullet {
    color: #ffffff;
    font-weight: bold;
    flex-shrink: 0;
}

.pre-purchase-body .callout-alert {
    background: rgba(239, 68, 68, 0.12);
    border-left: 3px solid #ef4444;
    padding: 0.6rem 0.85rem;
    border-radius: 4px;
    margin: 0.75rem 0;
    color: #fca5a5;
}

.pre-purchase-body .callout-info {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid #ffffff;
    padding: 0.6rem 0.85rem;
    border-radius: 4px;
    margin: 0.75rem 0;
    color: #ffffff;
}

.pre-purchase-status-bar {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* ========== ACTIONS & QUANTITY ========== */
.detail-actions-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.qty-selector-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.qty-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dim);
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: var(--bg-input);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #ffffff;
    color: #000000;
}

.qty-val {
    width: 44px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.qty-total-price {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-left: auto;
}

.detail-cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.buy-now-btn:hover {
    background: #e4e4e7;
    color: #000000;
    box-shadow: 0 6px 26px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.buy-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s;
    font-family: var(--font);
}

.buy-telegram-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== CHECKOUT MODAL STYLES ========== */
.modal-box-lg {
    max-width: 440px;
}

.modal-header-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}

.modal-heading {
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
    text-align: center;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-top: 0;
    margin-bottom: 0.85rem;
    text-align: center;
}

.checkout-summary-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.85rem;
}

.checkout-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
    color: #cbd5e1;
}

.checkout-sum-row .sum-label {
    color: #94a3b8;
    font-weight: 500;
}

.checkout-sum-row .sum-val {
    color: #ffffff;
    font-weight: 600;
}

.checkout-sum-row.total-row {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

.checkout-sum-row .sum-total {
    font-weight: 800;
    color: #fde047;
    font-size: 1.12rem;
}

.checkout-dynamic-area {
    margin-bottom: 0.85rem;
}

.checkout-input-alert {
    background: rgba(245, 158, 11, 0.12);
    border-left: 3px solid #fbbf24;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.78rem;
    color: #fef08a;
    margin-bottom: 0.6rem;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.35rem;
    margin-bottom: 0.85rem;
}

.payment-option {
    position: relative;
    cursor: pointer;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-opt-card {
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: all 0.2s;
    height: 100%;
}

.payment-option.selected .payment-opt-card,
.payment-option input:checked + .payment-opt-card {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

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

.payment-opt-card .opt-icon {
    font-size: 1.35rem;
}

.opt-badge-pill {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
}

.opt-badge-pill.req-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.opt-badge-pill.guest-pill {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.payment-opt-card strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.05rem;
}

.payment-opt-card small {
    display: block;
    font-size: 0.7rem;
    color: #cbd5e1;
}

/* Payment Status Callout */
.payment-status-callout {
    margin-top: 0.75rem;
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.payment-status-callout.status-login-required {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid #ffffff;
    color: #ffffff;
}

.payment-status-callout.status-balance-ok {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid var(--green);
    color: #86efac;
}

.payment-status-callout.status-balance-low {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--red);
    color: #fca5a5;
}

.payment-status-callout.status-khqr-guest {
    background: rgba(255, 255, 255, 0.06);
    border-left: 3px solid #ffffff;
    color: #ffffff;
}

.inline-action-link {
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 0.3rem;
}

.inline-action-link:hover {
    color: #cbd5e1;
}

/* ========== KHQR INVOICE CARD (NOVEL KARS MONOCHROME STYLE) ========== */
.khqr-invoice-card {
    background: linear-gradient(180deg, #121216 0%, #08080a 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.05);
}

.khqr-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.khqr-header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.khqr-tag {
    background: #ffffff;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.khqr-merchant {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.khqr-currency {
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff;
}

.khqr-qr-wrap {
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 165px;
    margin: 0 auto 0.45rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 16px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.khqr-qr-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.khqr-details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.65rem;
    margin-bottom: 0.45rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 0.6rem;
}

.khqr-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.72rem;
}

.khqr-row span {
    font-size: 0.64rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.05rem;
}

.khqr-row strong {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.khqr-row code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.08rem 0.3rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: monospace;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.khqr-highlight-amt {
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.khqr-pay-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    width: 100%;
}

.khqrcc-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.2s;
    font-family: var(--font);
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffff;
    text-align: center;
    width: 100%;
}

.khqrcc-pay-btn:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
}

.aba-mobile-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-decoration: none;
    padding: 0.55rem 0.35rem;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 700;
    transition: all 0.2s;
    font-family: var(--font);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.aba-mobile-pay-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.khqr-detect-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.6rem;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
}

.radar-ping {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: radar-pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes radar-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.khqr-timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: #cbd5e1;
    font-weight: 500;
}

.pulse-clock {
    animation: pulse-dot 1.5s infinite;
}

#btn-khqr-direct-paid, #btn-deposit-verify-paid {
    margin-top: 0.4rem;
    padding: 0.58rem 0.85rem;
    font-size: 0.84rem;
}

.btn-cancel-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.76rem;
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 0.25rem;
    font-family: var(--font);
    transition: color 0.2s;
    margin-top: 0.2rem;
}

.btn-cancel-link:hover {
    color: #ffffff;
}

/* ========== UNIFIED MULTI-PROVIDER AUTH MODAL ========== */
.modal-box-auth {
    max-width: 480px;
    width: 92%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.1);
}

.auth-tabs-nav {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 1rem 0 1.25rem 0;
}

.auth-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.4rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: calc(var(--radius-sm) - 2px);
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.auth-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.auth-tab-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tab-badge-rec {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.auth-tab-content {
    display: block;
    animation: fadeInTab 0.25s ease-out;
}

.auth-tab-content.hidden {
    display: none;
}

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

/* Reseller VIP Gold Callout Banner */
.reseller-vip-callout {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.15rem;
    position: relative;
    overflow: hidden;
}

.reseller-vip-callout::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, transparent);
}

.callout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.callout-badge {
    background: rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.callout-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.callout-text strong {
    color: #ffffff;
}

.callout-text b {
    color: #fbbf24;
}

/* Helper text below inputs */
.auth-helper-row {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.accent-link {
    color: #60a5fa;
    text-decoration: underline;
    font-weight: 600;
}

.accent-link:hover {
    color: #93c5fd;
}

.auth-helper-row code {
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
    color: #f59e0b;
    font-weight: 700;
}

/* Telegram OTP Sent Banner */
.tg-otp-sent-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.85rem;
}

/* Telegram OTP Input Container */
.tg-otp-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(59, 130, 246, 0.4);
    border-radius: 8px;
    padding: 0.85rem;
    margin: 0.85rem 0;
}

.tg-otp-container input {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

.auth-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.btn-secondary-auth {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-secondary-auth:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Google Tab Card */
.oauth-promo-box {
    text-align: center;
    padding: 1rem 0.5rem;
}

.oauth-icon-large {
    margin-bottom: 0.75rem;
    display: inline-block;
}

.oauth-promo-box h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.15rem;
    color: #ffffff;
}

.oauth-promo-box p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.btn-google-sign-in {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    font-family: var(--font);
}

.btn-google-sign-in:hover {
    background: #f8fafc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.google-prompt-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.85rem;
    margin-top: 1rem;
    text-align: left;
}

/* Email Sign In / Register Pill Switcher */
.email-mode-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 1.2rem;
}

.email-mode-btn {
    flex: 1;
    padding: 0.55rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.email-mode-btn.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Deposit Presets */
.deposit-presets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.preset-amt-btn {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.4rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.preset-amt-btn:hover,
.preset-amt-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ========== MODAL OVERLAY ========== */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex !important;
}

.modal-box {
    background: #0f1015;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    max-height: min(92vh, 720px);
    overflow-y: auto;
    padding: 1.25rem 1.4rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.04);
    margin: auto;
}

.modal-box::-webkit-scrollbar {
    width: 5px;
}
.modal-box::-webkit-scrollbar-track {
    background: transparent;
}
.modal-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: scale(1.08);
}

.modal-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* ========== FORMS ========== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ========== ADMIN PANEL ========== */
.admin-view {
    padding-top: 1.5rem;
    min-height: calc(100vh - 64px);
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.admin-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.admin-subtitle {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.btn-admin-action {
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover { background: var(--accent-hover); }

.btn-danger {
    background: var(--red-dim);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: var(--red);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.admin-tab-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-family: var(--font);
    border-bottom: 2px solid transparent;
    transition: 0.2s;
    margin-bottom: -1px;
}

.admin-tab-btn:hover { color: var(--text); }

.admin-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.admin-tab-content.active { display: block; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon { font-size: 2rem; }

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 800;
}

/* Admin Tables */
.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table-responsive {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.9rem;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255, 255, 255, 0.015); }

/* ========== FOOTER ========== */
.footer {
    margin-top: 4rem;
    border-top: 1px solid var(--border);
    background: var(--bg-sidebar);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE DESIGN (EVERY RESOLUTION) ========== */

/* Large Tablets & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 1rem;
    }
}

/* Tablets & Foldables (641px - 900px) */
@media (max-width: 900px) {
    .store-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        max-height: none;
    }

    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .category-item {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-image-area {
        height: 180px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.85rem;
    }
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
    /* Navbar & Logo Alignment */
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .nav-logo {
        gap: 0.35rem;
        font-size: 1.05rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .nav-logo .logo-icon {
        font-size: 1.25rem;
        line-height: 1;
    }

    .nav-logo .logo-text {
        white-space: nowrap;
        font-weight: 800;
        letter-spacing: -0.2px;
    }

    .nav-user-area {
        gap: 0.4rem;
        margin-left: auto;
    }

    .nav-btn-account {
        padding: 0.42rem 0.65rem;
        font-size: 0.76rem;
        gap: 0.35rem;
        white-space: nowrap;
    }

    .user-balance-pill {
        padding: 0.32rem 0.6rem;
        font-size: 0.78rem;
        gap: 0.3rem;
    }

    .user-profile-btn {
        padding: 0.36rem 0.55rem;
        font-size: 0.78rem;
    }

    .mobile-toggle {
        padding: 4px;
        margin-left: 0.2rem;
    }

    /* Store Layout & Spacing */
    .store-layout {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 0.65rem 2rem 0.65rem;
        gap: 0.85rem;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Modern Horizontal Scrollable Categories (Shiryu Style) */
    .sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
        margin: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        position: static;
    }

    .sidebar-header {
        display: none; /* Hide heavy vertical header on mobile */
    }

    .category-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.45rem;
        padding: 0.2rem 0.15rem 0.5rem 0.15rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .category-list::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        flex: 0 0 auto;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.42rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #cbd5e1;
        margin-bottom: 0;
        transition: all 0.2s ease;
    }

    .category-item.active {
        background: #ffffff;
        border-color: #ffffff;
        color: #000000;
        font-weight: 700;
        box-shadow: 0 2px 12px rgba(255, 255, 255, 0.3);
    }

    .category-item.active .cat-count {
        background: #000000;
        color: #ffffff;
    }

    .category-item .cat-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.15);
        color: inherit;
    }

    .topup-special-cat {
        margin-bottom: 0;
        border-radius: 9999px;
        background: rgba(249, 115, 22, 0.12);
        border: 1px solid rgba(249, 115, 22, 0.45);
        color: #fed7aa;
    }

    .topup-special-cat .cat-count {
        font-size: 0.65rem;
        padding: 0.12rem 0.45rem;
    }

    /* Main Navigation Drawer */
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #0f1019;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        z-index: 1000;
    }

    .nav-menu.open { display: flex; }
    .mobile-toggle { display: flex; }
    .featured-card { flex: 0 0 250px; }

    .modal-box {
        padding: 1.1rem 1rem;
        width: 95%;
        max-height: calc(100vh - 1.5rem);
    }

    .modal-heading {
        font-size: 1.1rem;
    }

    .khqr-qr-wrap {
        max-width: 175px;
        margin-bottom: 0.5rem;
    }

    .khqr-pay-buttons-stack {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        width: 100%;
    }

    .khqrcc-pay-btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
        width: 100%;
    }

    .products-area {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .products-header {
        margin-bottom: 0.65rem;
    }

    .products-header h2 {
        font-size: 1.15rem;
    }

    /* Products Grid: EXACTLY 2 COLUMNS (Shiryu Style) */
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
        width: 100%;
        box-sizing: border-box;
    }

    .product-card {
        border-radius: 14px;
        display: flex;
        flex-direction: column;
        background: #13141f;
        border: 1px solid rgba(255, 255, 255, 0.08);
        overflow: hidden;
    }

    .card-image {
        height: 85px;
    }

    .card-body {
        padding: 0.55rem 0.65rem 0.35rem 0.65rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .card-category {
        font-size: 0.62rem;
        margin-bottom: 0.2rem;
        letter-spacing: 0.3px;
    }

    .card-title {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 0.25rem;
        font-weight: 700;
        height: 2.1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-desc, .card-rating {
        display: none;
    }

    .card-footer {
        padding: 0.4rem 0.65rem 0.45rem 0.65rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .card-price-area {
        display: flex;
        align-items: baseline;
        gap: 0.35rem;
    }

    .card-price {
        font-size: 0.95rem;
        font-weight: 800;
        color: #38bdf8;
    }

    .card-original-price {
        font-size: 0.72rem;
    }

    .card-meta {
        display: flex;
        gap: 0.35rem;
        width: 100%;
    }

    .card-stock, .card-delivery {
        font-size: 0.62rem;
        padding: 0.1rem 0.35rem;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.05);
    }

    .card-stock {
        color: #34d399;
    }

    .card-view-btn {
        padding: 0.48rem 0.5rem;
        font-size: 0.78rem;
        font-weight: 700;
        border-radius: 0 0 13px 13px;
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        border: none;
        color: #ffffff;
    }

    .card-view-btn:hover {
        background: #1e40af;
    }

    .pre-purchase-box {
        padding: 0.85rem;
    }

    .detail-title {
        font-size: 1.45rem;
    }

    .detail-price {
        font-size: 1.7rem;
    }
}

/* Ultra-Compact Mobile Devices (<= 380px) */
@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }

    .payment-options-grid {
        grid-template-columns: 1fr;
    }

    .khqr-pay-buttons-stack {
        grid-template-columns: 1fr;
    }

    .khqr-details {
        grid-template-columns: 1fr;
    }

    .khqr-qr-wrap {
        max-width: 155px;
    }
}

/* ===================================================
   SECURE ORDER FULFILLMENT & POST-PAYMENT RECEIPT VIEW
   =================================================== */

.order-receipt-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    min-height: calc(100vh - 64px);
    animation: fadeInReceipt 0.3s ease-out;
}

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

.receipt-container {
    max-width: 1080px;
    margin: 0 auto;
}

.receipt-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.receipt-top-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.secure-ssl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}

.btn-print-receipt {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.btn-print-receipt:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
}

/* HERO STATUS BANNER */
.receipt-hero-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 18, 24, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.receipt-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff, #71717a, #ffffff);
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.3rem 0.95rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #22c55e; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.receipt-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.75rem 0 0.35rem;
    letter-spacing: -0.3px;
}

.receipt-hero-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 1.1rem;
    line-height: 1.5;
}

.receipt-order-id-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 17, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.chip-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.chip-code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-copy-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.btn-copy-chip:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

/* TWO COLUMN WORKSPACE */
.receipt-layout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: start;
}

/* LEFT COLUMN CARD */
.fulfillment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.fulfillment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.card-header-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.card-header-title .header-icon {
    font-size: 1.8rem;
}

.card-header-title h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.card-header-title .header-sub {
    font-size: 0.85rem;
    color: #94a3b8;
    display: block;
    margin-top: 0.15rem;
}

.btn-copy-all-creds {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-copy-all-creds:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: #22c55e;
    color: #ffffff;
}

/* CREDENTIAL ITEMS (ARCHETYPE 1) */
.cred-item-card {
    background: rgba(11, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    transition: 0.2s;
}

.cred-item-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.cred-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cred-item-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cred-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cred-field-row:last-child {
    border-bottom: none;
}

.cred-field-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #cbd5e1;
    min-width: 100px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cred-field-value-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.cred-value {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    word-break: break-all;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cred-value.password-masked {
    letter-spacing: 2px;
}

.btn-cred-copy, .btn-cred-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.2s;
    font-family: var(--font);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-cred-copy:hover, .btn-cred-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--accent);
    color: #ffffff;
}

.btn-cred-copy.copied {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
}

.cred-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.cred-service-link:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    color: #ffffff;
}

.cred-instruction-box {
    background: rgba(56, 189, 248, 0.08);
    border-left: 3px solid #38bdf8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 0.75rem;
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* EMAIL INVITE & ACCOUNT HANDOVER FORMS (ARCHETYPES 2 & 3) */
.fulfillment-form-box {
    background: rgba(11, 12, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.35rem;
    margin-bottom: 1.25rem;
}

.fulfillment-form-box.highlight-box {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.1);
}

.fulfillment-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.fulfillment-alert-banner.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.fulfillment-alert-banner.alert-info {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.fulfillment-alert-banner.alert-success {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.fulfillment-alert-banner .alert-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.fulfillment-alert-banner strong {
    display: block;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #ffffff;
}

.fulfillment-input-group {
    margin-bottom: 1.1rem;
}

.fulfillment-input-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.4rem;
}

.fulfillment-input-group .req-star {
    color: #ef4444;
}

.fulfillment-input-group input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: 0.2s;
}

.fulfillment-input-group input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.fulfillment-input-group small {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.btn-action-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.2s;
    font-family: var(--font);
    width: 100%;
}

.btn-action-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-action-accent {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.2s;
    font-family: var(--font);
    width: 100%;
}

.btn-action-accent:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.invite-status-view {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.invite-status-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.invite-steps-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.invite-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.86rem;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.invite-steps-list .step-num {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
    margin-top: 1px;
}

/* FOOTER WARRANTY NOTICE */
.fulfillment-footer-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.fulfillment-footer-notice .notice-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.fulfillment-footer-notice .notice-text strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.fulfillment-footer-notice .notice-text p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* RIGHT COLUMN: RECEIPT SUMMARY */
.receipt-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.summary-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.summary-card-header h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.summary-badge-paid {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.summary-product-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0;
}

.summary-prod-emoji {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-prod-meta {
    flex: 1;
}

.summary-prod-meta strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.summary-prod-meta span {
    font-size: 0.8rem;
    color: #94a3b8;
}

.summary-prod-amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.85rem 0;
}

.summary-kv-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.summary-kv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.84rem;
}

.summary-kv-label {
    color: #94a3b8;
}

.summary-kv-val {
    color: #ffffff;
    font-weight: 600;
}

.summary-kv-val.text-accent {
    color: #38bdf8;
}

.status-verified-text {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.82rem;
}

.summary-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.35rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.summary-total-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 24/7 SUPPORT CARD */
.receipt-support-card {
    background: linear-gradient(135deg, rgba(34, 158, 217, 0.12) 0%, rgba(15, 17, 26, 0.8) 100%);
    border: 1px solid rgba(34, 158, 217, 0.3);
    border-radius: var(--radius);
    padding: 1.35rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.support-card-top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.support-avatar {
    font-size: 1.8rem;
    line-height: 1;
    background: rgba(34, 158, 217, 0.2);
    padding: 0.4rem;
    border-radius: 10px;
}

.support-card-top h4 {
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.support-card-top p {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.receipt-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #229ed9, #0088cc);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(34, 158, 217, 0.3);
}

.receipt-telegram-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(34, 158, 217, 0.5);
    color: #ffffff;
}

.support-hint {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.6rem;
}

/* RESPONSIVE BREAKPOINTS FOR RECEIPT */
@media (max-width: 900px) {
    .receipt-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .receipt-hero-title {
        font-size: 1.35rem;
    }

    .receipt-hero-banner {
        padding: 1.25rem 1rem;
    }

    .fulfillment-card {
        padding: 1rem;
    }

    .cred-field-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .cred-field-value-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .cred-value {
        max-width: 220px;
    }
}

/* PRINT STYLES */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
    .navbar, .footer, .receipt-top-bar, .receipt-telegram-btn, .btn-action-primary, .btn-copy-chip, .btn-cred-copy {
        display: none !important;
    }
    .order-receipt-view {
        padding: 0 !important;
    }
    .fulfillment-card, .receipt-summary-card, .receipt-hero-banner {
        background: #ffffff !important;
        border: 1px solid #cccccc !important;
        color: #000000 !important;
        box-shadow: none !important;
    }
    .cred-value, code {
        background: #f1f5f9 !important;
        color: #000000 !important;
        border: 1px solid #cbd5e1 !important;
    }
}

/* ===================================================
   ORDER HISTORY & GUEST ORDER TRACKING VIEW
   =================================================== */

.order-nav-badge {
    background: var(--accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    margin-left: 0.3rem;
    display: inline-block;
}

.orders-history-view {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    min-height: calc(100vh - 64px);
    animation: fadeInReceipt 0.3s ease-out;
}

.orders-history-container {
    max-width: 1080px;
    margin: 0 auto;
}

.orders-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.orders-title-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.orders-header-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.orders-title-block h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
}

.orders-subtitle {
    font-size: 0.88rem;
    color: #cbd5e1;
}

/* ORDER LOOKUP / SEARCH CARD */
.orders-lookup-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.lookup-label-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.lookup-label-row .lookup-icon {
    font-size: 1.1rem;
    color: #38bdf8;
}

.lookup-input-wrap {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.lookup-input-wrap input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: 0.2s;
}

.lookup-input-wrap input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.btn-order-lookup {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    font-family: var(--font);
}

.btn-order-lookup:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.lookup-tip {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.5rem;
}

/* CLAIM GUEST ORDERS BANNER */
.claim-orders-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 18, 24, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    animation: fadeInReceipt 0.3s ease-out;
}

.claim-banner-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.claim-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.claim-banner-content strong {
    font-size: 0.96rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}

.claim-banner-content p {
    font-size: 0.84rem;
    color: #cbd5e1;
    margin-top: 0.15rem;
}

.btn-claim-orders {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.86rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
    white-space: nowrap;
}

.btn-claim-orders:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.35);
}

/* FILTER BAR */
.orders-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.orders-filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.orders-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #cbd5e1;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.orders-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.orders-tab-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.orders-device-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
}

.orders-device-tag .device-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

/* ORDER CARDS LIST */
.orders-list-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-history-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.order-history-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.order-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-card-id-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-card-id {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.88rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.order-status-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.order-status-badge.status-ready {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.45);
    color: #4ade80;
}

.order-status-badge.status-pending {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
}

.order-status-badge.status-processing {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fbbf24;
}

.order-card-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.1rem;
}

.order-card-emoji {
    font-size: 2.2rem;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.order-card-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.order-meta-line {
    font-size: 0.82rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.order-meta-line .meta-dot {
    opacity: 0.4;
}

.order-meta-payment {
    color: #cbd5e1;
    font-weight: 600;
}

.order-meta-customer {
    color: #38bdf8;
    font-weight: 600;
}

.order-card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.order-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.btn-view-receipt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.btn-view-receipt-link:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: translateX(2px);
}

.btn-copy-sm {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-copy-sm:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.order-type-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.order-type-badge.guest {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
}

.order-type-badge.account {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.order-card-snippet {
    margin-top: 0.65rem;
    padding: 0.55rem 0.85rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.order-card-snippet.ready {
    border-color: rgba(34, 197, 94, 0.25);
    background: rgba(34, 197, 94, 0.05);
}

.order-card-snippet.info {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.order-snippet-code {
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.8rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.btn-claim-sm {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-claim-sm:hover {
    background: rgba(34, 197, 94, 0.25);
    color: #ffffff;
    border-color: var(--green);
}

/* EMPTY STATE */
.orders-empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.orders-empty-state .empty-icon {
    font-size: 3.2rem;
    display: block;
    margin-bottom: 0.85rem;
    opacity: 0.8;
}

.orders-empty-state h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.orders-empty-state p {
    font-size: 0.9rem;
    color: #94a3b8;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

/* RESPONSIVE ORDER HISTORY */
@media (max-width: 650px) {
    .order-card-main {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .order-card-action {
        align-items: flex-start;
        margin-top: 0.5rem;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
    }

    .lookup-input-wrap {
        flex-direction: column;
    }

    .btn-order-lookup {
        width: 100%;
    }
}

/* ========== ADMIN USER MANAGEMENT & REAL-TIME BALANCES ========== */
.admin-users-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-users-title-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.admin-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    padding: 0.28rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.admin-live-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: admin-pulse 1.8s infinite;
}

@keyframes admin-pulse {
    0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #22c55e; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #22c55e; }
    100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 4px #22c55e; }
}

.admin-users-controls-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.admin-search-wrap {
    position: relative;
}

.admin-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #ffffff;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.84rem;
    min-width: 220px;
    outline: none;
    transition: 0.2s;
}

.admin-search-input:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.admin-user-cell {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.admin-user-info-text strong {
    display: block;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-user-info-text code {
    font-size: 0.74rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.admin-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-weight: 800;
    font-size: 0.98rem;
    transition: all 0.3s ease;
}

.admin-balance-pill.flash-green {
    animation: flash-green 1.2s ease;
}

.admin-balance-pill.flash-red {
    animation: flash-red 1.2s ease;
}

@keyframes flash-green {
    0% { background: rgba(34, 197, 94, 0.5); transform: scale(1.15); box-shadow: 0 0 20px #22c55e; }
    100% { background: rgba(34, 197, 94, 0.08); transform: scale(1); }
}

@keyframes flash-red {
    0% { background: rgba(239, 68, 68, 0.5); transform: scale(1.15); box-shadow: 0 0 20px #ef4444; }
    100% { background: rgba(34, 197, 94, 0.08); transform: scale(1); }
}

.admin-role-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-role-badge.role-admin {
    background: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.35);
    color: #fb7185;
}

.admin-role-badge.role-reseller {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.admin-role-badge.role-user {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

.admin-quick-group {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.btn-admin-quick-add {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-admin-quick-add:hover {
    background: rgba(34, 197, 94, 0.28);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-admin-quick-sub {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-admin-quick-sub:hover {
    background: rgba(239, 68, 68, 0.28);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-admin-custom-bal {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-admin-custom-bal:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-1px);
}

/* BALANCE MODAL COMPONENTS */
.balance-user-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.balance-user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.balance-mode-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.bal-mode-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #cbd5e1;
    padding: 0.55rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.bal-mode-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.bal-mode-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.bal-preset-pills {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.bal-preset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #cbd5e1;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.bal-preset-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: var(--accent);
}

.bal-preview-box {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   GAME CURRENCY TOP UP PAGE (SABAYSTORE INSPIRED STYLING)
   ========================================================================== */

/* Navbar Top Up Flame Icon */
.nav-topup-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700 !important;
}
.topup-nav-flame {
    filter: drop-shadow(0 0 6px #f97316);
    animation: flame-flicker 2s infinite alternate;
}
@keyframes flame-flicker {
    0% { transform: scale(1); filter: drop-shadow(0 0 4px #f97316); }
    100% { transform: scale(1.15) rotate(4deg); filter: drop-shadow(0 0 8px #ef4444); }
}

/* ═══════════════════════════════════════════════════════════════
   NOVEL KARS · GAME TOP-UP RECHARGE NEXUS (BLACK, WHITE & GREY)
   ═══════════════════════════════════════════════════════════════ */

/* Main Top Up View Container - Transparent to reveal animated swirling gradient */
.topup-view {
    min-height: calc(100vh - 64px);
    width: 100%;
    background: transparent;
    position: relative;
    z-index: 1;
    padding-bottom: 5rem;
}

.topup-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 2rem 1.25rem;
    position: relative;
    z-index: 2;
}

/* Top Up Hero Header */
.topup-hero-header {
    margin-bottom: 2.25rem;
}

.topup-badges-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
}

.topup-badge-trending {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.06);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.topup-badge-hotpicks {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #cbd5e1;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.topup-back-store-btn {
    margin-left: auto;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.4rem 0.95rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.topup-back-store-btn:hover {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.topup-main-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
}

.topup-sub-desc {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Featured Games Grid - Compact & Responsive */
.topup-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 190px);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.topup-game-card {
    background: linear-gradient(135deg, rgba(18, 19, 26, 0.96) 0%, rgba(9, 10, 14, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    width: 190px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.topup-game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.18);
}

.game-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.topup-game-card:hover .game-poster-img {
    transform: scale(1.06);
}

.game-badges-overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

.badge-tag-hot {
    background: rgba(14, 15, 21, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.24rem 0.6rem;
    border-radius: 9999px;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
}

.badge-tag-instant {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 0.24rem 0.6rem;
    border-radius: 9999px;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.game-action-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.btn-topup-action {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    border-radius: 9999px;
    padding: 0.48rem 1.45rem;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-topup-action:hover {
    background: #f1f5f9;
    transform: scale(1.08);
    box-shadow: 0 6px 26px rgba(255, 255, 255, 0.65);
}

.game-meta-wrap {
    padding: 0.85rem 1rem 1rem;
    background: #0c0d12;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-publisher {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Trust Perks Row */
.topup-perks-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(16, 17, 23, 0.94) 0%, rgba(9, 10, 14, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.8);
}

.topup-perks-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 35%, #3f3f46 70%, #ffffff 100%);
    z-index: 2;
}

.topup-perk-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.perk-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.06);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.topup-perk-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.topup-perk-item p {
    margin: 0;
    font-size: 0.82rem;
    color: #94a3b8;
}

/* Storefront Callout Banner */
.topup-promo-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 18, 23, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.topup-promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.topup-promo-left h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.topup-promo-left p {
    color: #cbd5e1;
    font-size: 0.82rem;
    margin: 0;
}

.topup-promo-btn {
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 800;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.topup-promo-btn:hover {
    background: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   TOP UP WIZARD VIEW (NOVEL KARS LIGHT NOVEL STYLE)
   ========================================================================== */
.topup-wizard {
    animation: fadeInTopup 0.25s ease-out;
}

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

.wizard-header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.wizard-back-btn {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wizard-back-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.wizard-game-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, rgba(18, 19, 26, 0.98) 0%, rgba(10, 11, 15, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85);
}

.wizard-game-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 35%, #3f3f46 70%, #ffffff 100%);
    z-index: 2;
}

.wizard-game-thumb {
    width: 64px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.wizard-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wizard-game-meta h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.wizard-game-meta p {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
}

/* Wizard Body Layout */
.wizard-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: flex-start;
}

.wizard-steps-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wizard-step-card {
    background: linear-gradient(135deg, rgba(15, 16, 22, 0.95) 0%, rgba(8, 9, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.step-num-pill {
    width: 32px;
    height: 32px;
    background: #ffffff;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.step-card-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.step-card-sub {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

/* Input Fields */
.topup-input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.topup-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.topup-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
}

.topup-form-group .req {
    color: #ffffff;
}

.topup-text-input {
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topup-text-input::placeholder {
    color: #71717a;
    opacity: 1;
}

.topup-text-input:focus {
    border-color: #ffffff;
    background: #06070a;
    box-shadow: 0 0 0 1px #ffffff, 0 0 18px rgba(255, 255, 255, 0.22);
}

.topup-hint-box {
    margin-top: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.45;
}

.topup-hint-box code {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #ffffff;
    font-family: monospace;
}

/* Roblox Type Selector */
.roblox-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.roblox-type-btn {
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    text-align: left;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.roblox-type-btn:hover {
    background: #14151c;
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.roblox-type-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.roblox-type-btn .type-icon {
    font-size: 1.4rem;
}

.roblox-type-btn strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.1rem;
}

.roblox-type-btn small {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
}

.roblox-type-btn.active small {
    color: #e4e4e7;
}

.topup-warning-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.topup-warning-banner.banner-blue {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.topup-warning-banner p {
    margin: 0;
}

/* Package Sub Tabs (Diamonds vs Passes) */
.package-tabs-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
    overflow-x: auto;
}

.pkg-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #94a3b8;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pkg-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.pkg-tab-btn.active {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 0.85rem;
    max-height: 440px;
    overflow-y: auto;
    padding-right: 4px;
}

.packages-grid::-webkit-scrollbar {
    width: 6px;
}
.packages-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.packages-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

.topup-package-card {
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.85rem 0.65rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
}

.topup-package-card:hover {
    background: #14151c;
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.85);
}

.topup-package-card.selected {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.3), 0 0 0 1px #ffffff;
}

.pkg-icon {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.pkg-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.4rem;
}

.pkg-price-tag {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    width: 100%;
}

.topup-package-card.selected .pkg-price-tag {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    font-weight: 900;
}

/* Payment Options */
.topup-pay-options {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.topup-pay-card {
    background: #08090d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topup-pay-card:hover {
    background: #14151c;
    border-color: rgba(255, 255, 255, 0.38);
}

.topup-pay-card.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
}

.topup-pay-card input[type="radio"] {
    display: none;
}

.pay-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pay-card-logo {
    font-size: 1.6rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.pay-card-text strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.pay-card-text small {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
}

.pay-card-badge {
    background: #ffffff;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #ffffff;
}

/* Right Sticky Summary Box */
.wizard-summary-col {
    position: sticky;
    top: 90px;
}

.topup-summary-box {
    background: linear-gradient(135deg, rgba(18, 19, 26, 0.98) 0%, rgba(9, 10, 14, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.9);
}

.topup-summary-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 35%, #3f3f46 70%, #ffffff 100%);
    z-index: 2;
}

.summary-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.summary-line .s-label {
    color: #94a3b8;
}

.summary-line .s-value {
    color: #ffffff;
    text-align: right;
    word-break: break-all;
}

.summary-line .s-value-dest {
    font-family: monospace;
    font-weight: 700;
    color: #ffffff;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.1rem 0;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.summary-total-row span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
}

.summary-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
}

.btn-topup-checkout {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 0.9rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-topup-checkout:hover:not(:disabled) {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.btn-topup-checkout:disabled {
    background: #14151c;
    border-color: rgba(255, 255, 255, 0.1);
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
}

.summary-guarantee-note {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    margin: 1rem 0 0 0;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .wizard-body {
        grid-template-columns: 1fr;
    }
    .wizard-summary-col {
        position: static;
    }
    .topup-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 190px));
        gap: 1.25rem;
    }
    .topup-input-grid {
        grid-template-columns: 1fr;
    }
    .roblox-type-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    /* Sleek Compact Mobile Top-Up Banner */
    .topup-promo-banner {
        padding: 0.75rem 0.85rem !important;
        margin-bottom: 0.85rem !important;
        border-radius: 12px !important;
        gap: 0.5rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    }

    .topup-promo-badge {
        font-size: 0.62rem !important;
        padding: 0.12rem 0.45rem !important;
        margin-bottom: 0.2rem !important;
        border-radius: 5px !important;
    }

    .topup-promo-left h3 {
        font-size: 0.95rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.15rem !important;
    }

    .topup-promo-left p {
        font-size: 0.74rem !important;
        line-height: 1.35 !important;
        color: #94a3b8 !important;
        margin-bottom: 0 !important;
    }

    .topup-promo-btn {
        width: 100% !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        padding: 0.5rem 0.75rem !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* Featured Games 2-Column Grid (Like Digital Products Page) */
    .topup-hub-container {
        padding: 1rem 0.75rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .topup-hub-header {
        margin-bottom: 1.25rem !important;
    }

    .topup-hub-header h1 {
        font-size: 1.6rem !important;
    }

    .topup-sub-desc {
        font-size: 0.82rem !important;
    }

    .topup-games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 2rem !important;
    }

    .topup-game-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 14px !important;
    }

    .topup-game-card .game-poster-wrap {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
    }

    .topup-game-card .badge-tag-hot,
    .topup-game-card .badge-tag-instant {
        font-size: 0.52rem !important;
        padding: 0.15rem 0.38rem !important;
    }

    .topup-game-card .btn-topup-action {
        padding: 0.35rem 0.85rem !important;
        font-size: 0.72rem !important;
        bottom: 8px !important;
    }

    .topup-game-card .game-meta-wrap {
        padding: 0.65rem 0.65rem 0.75rem 0.65rem !important;
    }

    .topup-game-card .game-card-title {
        font-size: 0.85rem !important;
        margin-bottom: 0.15rem !important;
    }

    .topup-game-card .game-card-publisher {
        font-size: 0.68rem !important;
    }

    .topup-perks-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        padding: 1rem 0.85rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 1: DUAL LANGUAGE TOGGLE
   ═══════════════════════════════════════════════════════════════ */
.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-lang-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

.nav-lang-toggle .lang-flag {
    font-size: 1.05rem;
    line-height: 1;
}

.nav-lang-toggle .lang-code {
    letter-spacing: 0.5px;
    color: #e2e8f0;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 2: INSTANT SEARCH & AUTOCOMPLETE & SORTING TOOLBAR
   ═══════════════════════════════════════════════════════════════ */
.store-toolbar {
    position: sticky;
    top: 64px;
    z-index: 40;
    background: rgba(11, 12, 16, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    transition: all 0.25s ease;
}

.store-search-wrap {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.store-search-wrap .search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.store-search-wrap:focus-within .search-icon {
    color: #ffffff;
}

.store-search-input {
    width: 100%;
    height: 44px;
    background: #0d0e13;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 0 2.6rem 0 2.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-family: var(--font);
    font-weight: 500;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.store-search-input::placeholder {
    color: #828a9b;
    opacity: 1;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.store-search-input:focus {
    border-color: #ffffff;
    background: #090a0d;
    box-shadow: 0 0 0 1px #ffffff, 0 0 18px rgba(255, 255, 255, 0.22);
}

.search-clear-btn {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    transition: 0.2s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0d0e13;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 255, 255, 0.05);
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
    padding: 0.5rem 0;
}

.search-autocomplete-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.search-autocomplete-item:last-child {
    border-bottom: none;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.active {
    background: rgba(255, 255, 255, 0.1);
}

.search-auto-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.search-auto-info {
    flex: 1;
    min-width: 0;
}

.search-auto-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-auto-cat {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.search-auto-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.store-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.sort-label {
    font-size: 0.82rem;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 2.3: CUSTOM OBSIDIAN SORT PICKER & MOBILE BOTTOM SHEET
   ═══════════════════════════════════════════════════════════════ */
.sr-only-select {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.custom-sort-container {
    position: relative;
    display: inline-block;
}

.custom-sort-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    height: 44px;
    padding: 0 1rem;
    background: #0d0e13;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    color: #f8fafc;
    font-size: 0.85rem;
    font-family: var(--font);
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.custom-sort-trigger:hover {
    background: #141620;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 14px rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.custom-sort-trigger:focus-visible,
.custom-sort-trigger.active {
    border-color: #ffffff;
    background: #171822;
    box-shadow: 0 0 0 1px #ffffff, 0 0 18px rgba(255, 255, 255, 0.2);
}

.custom-sort-chevron {
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: 0.25rem;
}

.custom-sort-trigger.active .custom-sort-chevron {
    transform: rotate(180deg);
    color: #ffffff;
}

/* Desktop Custom Floating Dropdown */
.custom-sort-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 225px;
    background: rgba(13, 14, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 20px rgba(255, 255, 255, 0.08);
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.custom-sort-dropdown.hidden {
    display: none !important;
}

.custom-sort-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.custom-sort-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.custom-sort-option.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 800;
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-sort-option .opt-check {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.custom-sort-option.active .opt-check {
    opacity: 1;
    transform: scale(1);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE SORT BOTTOM SHEET (Ultra-Sleek Obsidian UI)
   ═══════════════════════════════════════════════════════════════ */
.sort-sheet-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
}

.sort-sheet-modal.show {
    display: flex !important;
}

.sort-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: sheetBackdropFade 0.3s ease;
}

@keyframes sheetBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sort-sheet-panel {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(180deg, #181922 0%, #0c0d12 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px 22px 0 0;
    padding: 0.65rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) 1.15rem;
    box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 255, 255, 0.08);
    z-index: 2;
    animation: sheetSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sort-sheet-drag-handle {
    width: 42px;
    height: 5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    margin: 0.2rem auto 0.75rem auto;
}

.sort-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0.75rem;
}

.sort-sheet-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-sheet-title-icon {
    font-size: 1.15rem;
}

.sort-sheet-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.sort-sheet-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #cbd5e1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-sheet-close:hover,
.sort-sheet-close:active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: #ffffff;
}

.sort-sheet-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sort-sheet-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #e2e8f0;
    font-size: 0.94rem;
    font-family: var(--font);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
}

.sort-sheet-item:active {
    transform: scale(0.98);
}

.sort-sheet-item.active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.1);
}

.sort-sheet-item .item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sort-sheet-item .item-label {
    flex: 1;
}

.sort-sheet-item .item-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sort-sheet-item.active .item-radio {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.sort-sheet-item .radio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sort-sheet-item.active .radio-dot {
    opacity: 1;
    transform: scale(1);
}


/* ═══════════════════════════════════════════════════════════════
   FEATURE 2.4: NOVEL KARS AMBIENT SWIRLING GRADIENT BACKGROUND (BLACK, WHITE & GREY)
   ═══════════════════════════════════════════════════════════════ */
.kars-ambient-swirl-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    background-color: #050608;
}

/* Layer 1: Huge rotating & shifting monochrome gradient mesh */
.swirl-layer-mesh {
    position: absolute;
    top: -75%;
    left: -75%;
    width: 250%;
    height: 250%;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 75% 35%, rgba(212, 212, 216, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at 35% 80%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 85% 85%, rgba(161, 161, 170, 0.18) 0%, transparent 48%),
        conic-gradient(from 0deg at 50% 50%, #050608 0deg, #181920 60deg, #3f3f46 115deg, #090a0d 180deg, #27272a 240deg, #52525b 300deg, #050608 360deg);
    background-size: 160% 160%;
    animation: karsSwirlRotate 20s ease-in-out infinite alternate;
    will-change: transform;
    opacity: 0.95;
}

/* Layer 2: Blurred floating orbs that swirl continuously */
.swirl-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(85px);
    mix-blend-mode: screen;
    will-change: transform;
}

.swirl-orb-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(228, 228, 231, 0.1) 45%, transparent 70%);
    top: 5%;
    left: -5%;
    animation: karsOrbSwirl1 18s ease-in-out infinite alternate;
}

.swirl-orb-2 {
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(161, 161, 170, 0.24) 0%, rgba(113, 113, 122, 0.1) 45%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: karsOrbSwirl2 22s ease-in-out infinite alternate;
}

.swirl-orb-3 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(161, 161, 170, 0.08) 45%, transparent 70%);
    top: 40%;
    right: 20%;
    animation: karsOrbSwirl3 16s ease-in-out infinite alternate;
}

.swirl-orb-4 {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(113, 113, 122, 0.24) 0%, rgba(63, 63, 70, 0.1) 45%, transparent 70%);
    top: 15%;
    left: 35%;
    animation: karsOrbSwirl4 24s ease-in-out infinite alternate;
}

/* Layer 3: Subtle dark vignette to ensure perfect text contrast */
.swirl-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(5, 6, 8, 0.65) 100%);
    pointer-events: none;
}

/* Swirling Keyframes for Background Motion */
@keyframes karsSwirlRotate {
    0% {
        transform: rotate(0deg) scale(1) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) scale(1.15) translate(-4%, 5%);
    }
    100% {
        transform: rotate(360deg) scale(1.05) translate(5%, -4%);
    }
}

@keyframes karsOrbSwirl1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(160px, 140px) scale(1.25);
    }
    100% {
        transform: translate(50px, 220px) scale(0.9);
    }
}

@keyframes karsOrbSwirl2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-170px, -120px) scale(1.2);
    }
    100% {
        transform: translate(-70px, -200px) scale(0.92);
    }
}

@keyframes karsOrbSwirl3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-120px, 100px) scale(1.18);
    }
    100% {
        transform: translate(90px, -70px) scale(0.88);
    }
}

@keyframes karsOrbSwirl4 {
    0% {
        transform: translate(0, 0) scale(0.9);
    }
    50% {
        transform: translate(120px, -110px) scale(1.3);
    }
    100% {
        transform: translate(-90px, 130px) scale(1);
    }
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 2.5: NOVEL KARS · COMPACT 2-COLUMN HERO BANNER
   ═══════════════════════════════════════════════════════════════ */
.novel-kars-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 19, 25, 0.96) 0%, rgba(9, 10, 14, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 1.35rem 1.65rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Subtle animated border top */
.novel-kars-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 35%, #3f3f46 70%, #ffffff 100%);
    background-size: 200% 100%;
    animation: karsBorderSwirl 6s linear infinite;
    z-index: 2;
}

@keyframes karsBorderSwirl {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.novel-kars-hero-banner::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.kars-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1;
}

.kars-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.kars-title {
    font-size: clamp(1.6rem, 2.7vw, 2.25rem);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.15);
}

.kars-sub {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 0 0.4rem 0;
    max-width: 540px;
}

.kars-cta-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.kars-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
    color: #000000 !important;
    border-radius: var(--radius-sm);
    border: 1px solid #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
    cursor: pointer;
    white-space: nowrap;
}

.kars-btn-primary:hover {
    background: #f1f5f9;
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

.kars-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc !important;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.kars-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.kars-btn-telegram {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.kars-btn-telegram:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
}

.kars-banner-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.kars-hero-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: calc(var(--radius) - 3px);
}

.kars-zoom-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(10, 10, 15, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.3px;
}

.kars-banner-visual:hover .kars-zoom-badge {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
    transform: scale(1.06);
}

.kars-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 195px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 3px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.kars-banner-visual:hover .kars-hero-img {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.15);
}

.kars-art-caption {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #94a3b8;
    text-transform: uppercase;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   NOVEL KARS INFINITE KEY PERKS TICKER (Flows Indefinitely to Left)
   ═══════════════════════════════════════════════════════════════ */
.kars-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: rgba(12, 13, 18, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.55rem 0;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    mask-image: linear-gradient(to right, transparent 0%, black 28px, black calc(100% - 28px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 28px, black calc(100% - 28px), transparent 100%);
}

.kars-ticker-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    animation: karsTickerMarquee 26s linear infinite;
    will-change: transform;
}

.kars-ticker-container:hover .kars-ticker-track {
    animation-play-state: paused;
}

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

.ticker-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(22, 24, 33, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.42rem 0.95rem;
    white-space: nowrap;
    user-select: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ticker-perk-item:hover {
    background: rgba(35, 38, 50, 0.98);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 255, 255, 0.08);
}

.ticker-perk-icon {
    font-size: 1.15rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.15));
}

.ticker-perk-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.ticker-perk-dot {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
}

.ticker-perk-desc {
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════
   NOVEL KARS WELCOME POP-UP MODAL (Luxurious Obsidian Glass)
   ═══════════════════════════════════════════════════════════════ */
.kars-welcome-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kars-welcome-modal.hidden {
    display: none !important;
}

.kars-welcome-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 9, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}

.kars-welcome-dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    background: #0d0f15;
    background: linear-gradient(180deg, #131620 0%, #0a0b10 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 2;
    animation: welcomePop 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

@keyframes welcomePop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.kars-welcome-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.kars-welcome-close:hover {
    background: #ffffff;
    color: #000000;
    transform: rotate(90deg) scale(1.05);
}

.kars-welcome-content {
    padding: 1.5rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
}

.kars-welcome-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #e2e8f0;
    text-transform: uppercase;
}

.kars-welcome-visual-wrap {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
    background: #000000;
}

.kars-welcome-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kars-welcome-visual-wrap:hover .kars-welcome-img {
    transform: scale(1.02);
}

.kars-welcome-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin: 0;
}

.kars-welcome-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 0;
    max-width: 440px;
}

.kars-welcome-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    width: 100%;
}

.welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f1f5f9;
}

.welcome-chip-icon {
    font-size: 0.9rem;
}

.kars-welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
}

.welcome-btn-primary {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.welcome-btn-primary:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.35);
}

.welcome-btn-secondary,
.welcome-btn-telegram {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.welcome-btn-secondary:hover,
.welcome-btn-telegram:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

.kars-welcome-footer {
    width: 100%;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.welcome-remember-label input[type="checkbox"] {
    accent-color: #ffffff;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* Nav Welcome Link / Button */
.nav-welcome-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f1f5f9 !important;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.nav-welcome-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .kars-welcome-dialog {
        max-width: 95vw;
        max-height: 94vh;
        border-radius: 16px;
    }
    .kars-welcome-content {
        padding: 1.15rem 1rem 0.85rem;
        gap: 0.55rem;
    }
    .kars-welcome-visual-wrap {
        max-height: 145px;
    }
    .kars-welcome-img {
        max-height: 145px;
        object-fit: cover;
    }
    .kars-welcome-title {
        font-size: 1.15rem;
    }
    .kars-welcome-desc {
        font-size: 0.76rem;
        line-height: 1.35;
    }
    .welcome-chip {
        padding: 0.25rem 0.5rem;
        font-size: 0.68rem;
    }
    .welcome-btn-primary {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    .welcome-btn-secondary,
    .welcome-btn-telegram {
        padding: 0.5rem 0.85rem;
        font-size: 0.78rem;
    }
    .welcome-remember-label {
        font-size: 0.72rem;
    }
}

@media (max-width: 900px) {
    .novel-kars-hero-banner {
        grid-template-columns: 1fr;
        padding: 1.15rem 1rem;
        gap: 1.15rem;
    }

    .kars-badge {
        font-size: 0.65rem;
        letter-spacing: 1px;
        padding: 0.3rem 0.7rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .kars-title {
        font-size: 1.65rem;
    }

    .kars-sub {
        font-size: 0.85rem;
    }

    .kars-banner-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .kars-hero-img {
        max-height: 240px;
        width: 100%;
        box-sizing: border-box;
    }

    .kars-cta-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }

    .kars-btn-primary, .kars-btn-secondary {
        text-align: center;
        font-size: 0.82rem;
        padding: 0.55rem 0.5rem;
    }

    .kars-btn-telegram {
        grid-column: span 2;
        text-align: center;
        font-size: 0.82rem;
        padding: 0.55rem 0.75rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 3: FLASH SALE SECTION & COUNTDOWN TIMER (NOVEL KARS LIGHT NOVEL)
   ═══════════════════════════════════════════════════════════════ */
.flash-sale-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(18, 18, 23, 0.95) 50%, rgba(9, 9, 12, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1rem 1.15rem 1.15rem 1.15rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.03);
}

.flash-sale-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ffffff, #94a3b8, #3f3f46, #ffffff);
}

.flash-sale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.flash-sale-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.flash-sale-title-wrap .flash-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
    animation: flashPulse 1.5s infinite;
}

@keyframes flashPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 12px #ffffff); }
}

.flash-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
}

.flash-badge {
    background: #ffffff;
    color: #000000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.flash-header-right {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.flash-timer-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
}

.timer-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 0.5px;
}

.countdown-clock {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.countdown-unit {
    background: #09090c;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
}

.countdown-colon {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.84rem;
    animation: colonBlink 1s infinite;
}

@keyframes colonBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.3; }
}

.flash-nav-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.flash-nav-btn {
    background: rgba(18, 18, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.flash-nav-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.4);
}

.flash-nav-btn:active {
    transform: scale(0.95);
}

.flash-sale-scroll {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.65rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.flash-sale-scroll.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* Custom sleek horizontal scrollbar for flash sale so user can see progress and drag it */
.flash-sale-scroll::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.flash-sale-scroll::-webkit-scrollbar-track {
    background: rgba(14, 14, 18, 0.8);
    border-radius: 4px;
}

.flash-sale-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #71717a, #ffffff);
    border-radius: 4px;
}

.flash-sale-scroll::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

.flash-card {
    flex: 0 0 185px;
    background: rgba(16, 16, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.flash-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 255, 255, 0.15);
}

.flash-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flash-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-card-img .flash-emoji {
    font-size: 2rem;
}

.flash-card-disc {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #ffffff;
    color: #000000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.flash-card-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flash-card-prices {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.flash-price-sale {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
}

.flash-price-orig {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.flash-stock-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.flash-stock-fill {
    height: 100%;
    background: linear-gradient(90deg, #71717a, #ffffff);
    border-radius: 9999px;
}

.flash-stock-label {
    font-size: 0.68rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-flash-grab {
    width: 100%;
    background: #ffffff;
    border: none;
    color: #000000;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
    letter-spacing: 0.3px;
    margin-top: auto;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.btn-flash-grab:hover {
    background: #e4e4e7;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.btn-flash-grab.disabled {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-flash-grab.disabled:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: none;
}

.flash-card.out-of-stock-card {
    opacity: 0.82;
    border-color: rgba(239, 68, 68, 0.25);
}

.flash-card.out-of-stock-card:hover {
    border-color: rgba(239, 68, 68, 0.45);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 4: CUSTOMER REVIEWS & RATINGS SYSTEM
   ═══════════════════════════════════════════════════════════════ */
.detail-reviews-container {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.reviews-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.reviews-heading {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.reviews-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-write-review {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.btn-write-review:hover {
    background: rgba(56, 189, 248, 0.22);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

.reviews-overview-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.overview-rating-score {
    text-align: center;
    min-width: 120px;
}

.score-large {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    display: block;
    margin-bottom: 0.35rem;
}

.score-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    letter-spacing: 2px;
}

.score-total {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.overview-rating-bars {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.rating-bar-track {
    flex: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 9999px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.review-item-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    transition: 0.2s;
}

.review-item-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.85);
}

.review-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.review-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.review-author-name {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 0.88rem;
}

.verified-buyer-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
}

.review-item-stars {
    color: #f59e0b;
    font-size: 0.92rem;
    letter-spacing: 1px;
}

.review-item-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 0.35rem 0;
}

.review-item-date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* STAR RATING SELECTOR (MODAL) */
.star-rating-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.star-rating-selector .star-item {
    background: none;
    border: none;
    font-size: 2rem;
    color: #475569;
    cursor: pointer;
    transition: 0.15s;
    line-height: 1;
    padding: 0 0.15rem;
}

.star-rating-selector .star-item.active,
.star-rating-selector .star-item:hover {
    color: #f59e0b;
    transform: scale(1.1);
}

.rating-feedback-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #f59e0b;
    display: block;
}

.review-textarea {
    resize: vertical;
    min-height: 80px;
}

/* RECEIPT REVIEW CALLOUT */
.receipt-review-callout {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    margin-top: 1rem;
}

.review-callout-inner .callout-stars {
    color: #f59e0b;
    font-size: 1.25rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 0.35rem;
}

.review-callout-inner h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.review-callout-inner p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 0.85rem 0;
}

.btn-receipt-review {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.btn-receipt-review:hover {
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 5: PROMO CODES & DISCOUNT VOUCHERS (CHECKOUT & ADMIN)
   ═══════════════════════════════════════════════════════════════ */
.checkout-promo-box {
    margin-bottom: 1.25rem;
}

.promo-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: 0.2s;
}

.promo-input-group:focus-within {
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.promo-input-group .promo-icon {
    font-size: 1.1rem;
    padding-left: 0.35rem;
}

.promo-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: var(--font);
    font-weight: 600;
    outline: none;
    text-transform: uppercase;
}

.btn-apply-promo {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font);
}

.btn-apply-promo:hover {
    background: #38bdf8;
    color: #0f172a;
}

.promo-status-msg {
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 0.4rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.promo-status-msg.success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.promo-status-msg.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.checkout-sum-row.discount-row {
    color: #4ade80;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE 6: ADMIN ANALYTICS & PROMOS DASHBOARD
   ═══════════════════════════════════════════════════════════════ */
.analytics-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.analytics-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.analytics-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.analytics-card-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.analytics-card-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.live-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chart-container {
    width: 100%;
    height: 220px;
    position: relative;
}

.revenue-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-rev { background: #38bdf8; }
.dot-ord { background: #8b5cf6; }

.analytics-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.payment-split-box {
    margin-top: 0.5rem;
}

.split-meter {
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.bar-khqr { background: #38bdf8; }
.bar-wallet { background: #a855f7; }

.split-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.top-prod-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.top-prod-rank {
    font-weight: 800;
    color: #38bdf8;
    width: 20px;
}

.top-prod-name {
    flex: 1;
    color: #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
}

.top-prod-stats {
    text-align: right;
    font-size: 0.76rem;
    color: #4ade80;
    font-weight: 700;
}

/* ADMIN INLINE FORM */
.admin-inline-form {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.form-actions-row {
    display: flex;
    gap: 0.75rem;
}

.promo-badge-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-family: monospace;
}

.promo-tag-active {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.promo-tag-inactive {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (PRESERVE 2-COL MOBILE LAYOUT)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .store-toolbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        background: rgba(12, 13, 17, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    }

    .store-sort-wrap {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .custom-sort-container {
        flex: 1;
        max-width: 220px;
    }

    .custom-sort-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .flash-sale-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .flash-timer-wrap {
        align-self: flex-start;
    }

    .flash-card {
        flex: 0 0 170px;
    }

    .reviews-overview-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .overview-rating-score {
        text-align: left;
    }
}

/* ==========================================================================
   ⚡ TELEGRAM AUTOMATED OTP LIVE INTERCEPTOR
   ========================================================================== */
.tg-otp-card {
    background: linear-gradient(145deg, rgba(13, 14, 19, 0.95), rgba(20, 24, 33, 0.92));
    border: 1px solid rgba(56, 189, 248, 0.28);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(56, 189, 248, 0.08);
    border-radius: 12px;
    padding: 1.4rem;
    margin-top: 1.25rem;
    position: relative;
    overflow: hidden;
}

.tg-otp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #38bdf8);
    background-size: 200% 100%;
    animation: tgGradientShine 4s linear infinite;
}

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

.tg-otp-header {
    margin-bottom: 1.1rem;
}

.tg-otp-badge {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tg-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: tgPulse 1.8s infinite;
}

@keyframes tgPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.tg-otp-display-area {
    margin-top: 0.8rem;
}

.tg-otp-waiting-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.tg-radar-loader {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid rgba(56, 189, 248, 0.2);
    border-top-color: #38bdf8;
    animation: tgRadarSpin 1s linear infinite;
    flex-shrink: 0;
}

@keyframes tgRadarSpin {
    to { transform: rotate(360deg); }
}

.tg-waiting-text {
    flex: 1;
    min-width: 220px;
}

.tg-waiting-title {
    display: block;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tg-waiting-hint {
    display: block;
    color: #94a3b8;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.btn-simulate-otp {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-simulate-otp:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.tg-otp-success-box {
    background: linear-gradient(145deg, rgba(6, 78, 59, 0.35), rgba(13, 14, 19, 0.85));
    border: 1.5px solid #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1.4rem;
    animation: tgSuccessPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes tgSuccessPop {
    0% { transform: scale(0.96); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.tg-success-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tg-success-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.tg-code-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin: 0.6rem 0;
    flex-wrap: wrap;
}

.tg-code-display {
    font-family: 'JetBrains Mono', monospace, Consolas;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 7px;
    color: #34d399;
    text-shadow: 0 0 15px rgba(52, 211, 153, 0.5);
    background: rgba(0, 0, 0, 0.55);
    padding: 0.5rem 1.4rem;
    border-radius: 8px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    user-select: all;
}

.btn-copy-otp {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.2s ease;
}

.btn-copy-otp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-copy-otp.copied {
    background: #047857;
}

.tg-success-instruction {
    margin: 0.6rem 0 0 0;
    font-size: 0.83rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   ACCOUNT MANAGEMENT DASHBOARD STYLING
   ═══════════════════════════════════════════════════ */

.modal-box-dashboard {
    max-width: 680px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(18, 22, 34, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.15);
    border-radius: 18px;
    padding: 2rem;
}

.dash-tabs-nav {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin: 1.25rem 0 1.5rem 0;
}

.dash-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.dash-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.dash-tab-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(99, 102, 241, 0.25));
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #60a5fa;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}

/* Profile Hero */
.dash-profile-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.dash-avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.dash-avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-profile-info {
    flex: 1;
}

.dash-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dash-name-row h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.dash-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 0.76rem;
    color: var(--text-dim);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Badges */
.badge-role-member {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.badge-role-vip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.3));
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
    letter-spacing: 0.5px;
}

.badge-role-admin {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.3));
    border: 1px solid rgba(139, 92, 246, 0.6);
    color: #c084fc;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
    letter-spacing: 0.5px;
}

/* Email Verification Card */
.dash-verification-card {
    margin-bottom: 1.25rem;
}

.verify-status-box {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.25s ease;
}

.verify-status-box.verified {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.verify-status-box.unverified {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.verify-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-verify-otp-action {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.btn-verify-otp-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.45);
}

.dash-otp-expand {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Sections */
.dash-edit-section,
.dash-linked-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.15rem;
    margin-bottom: 1.25rem;
}

.linked-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-outline-small {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dim);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline-small:hover {
    border-color: #3b82f6;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
}

/* Reseller Hub Tab */
.reseller-vip-active-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(180, 83, 9, 0.18));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.1);
}

.vip-crown-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-crown-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.5));
}

.reseller-vip-promo-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.18));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.reseller-discount-table {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.table-row-head {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row-item {
    display: flex;
    justify-content: space-between;
    padding: 9px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
    color: #e2e8f0;
}

.table-row-item .old-price {
    color: #94a3b8;
    text-decoration: line-through;
}

.table-row-item .vip-price {
    color: #fbbf24;
    font-weight: 800;
}

/* Wallet Tab */
.dash-wallet-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.wallet-badge-chip {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.dash-balance-display {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    text-shadow: 0 0 25px rgba(52, 211, 153, 0.4);
}

.dash-balance-display .currency-symbol {
    font-size: 1.8rem;
    color: #34d399;
}

.dash-balance-display .currency-code {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 600;
}




