/* ==========================================================================
   NEXUS FF PANELS — PREMIUM GAMING STORE STYLESHEET
   Dark Premium Interface • Neon Green Accent • Glassmorphism • Mobile-First
   ========================================================================== */

:root {
    --bg-dark: #020704;
    --bg-surface: #06110a;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --bg-glass: rgba(255, 255, 255, 0.06);
    
    /* True Transparent Liquid Glass Design Tokens */
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.22) 100%);
    --glass-bg-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.035) 40%, rgba(0, 0, 0, 0.28) 100%);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-border-light: rgba(255, 255, 255, 0.35);
    --glass-border-hover: rgba(0, 255, 136, 0.65);
    
    --glass-blur: blur(18px) saturate(190%) contrast(106%);
    --glass-blur-deep: blur(28px) saturate(210%) contrast(108%);
    --glass-blur-nav: blur(24px) saturate(190%);
    
    --glass-shadow: 
        inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 45px -10px rgba(0, 0, 0, 0.55),
        0 0 22px -5px rgba(0, 255, 136, 0.12);

    --glass-shadow-hover: 
        inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.68),
        inset 0 0 20px 0 rgba(0, 255, 136, 0.14),
        0 26px 55px -10px rgba(0, 0, 0, 0.72),
        0 0 35px -4px rgba(0, 255, 136, 0.36);
    
    --g: #00ff88;
    --g2: #00c766;
    --g-glow: rgba(0, 255, 136, 0.4);
    --cyan: #00f0ff;
    --red: #ff3366;
    --yellow: #ffb703;
    
    --line: rgba(255, 255, 255, 0.16);
    --line-active: rgba(0, 255, 136, 0.55);
    --line-hover: rgba(0, 255, 136, 0.35);
    
    --tx-main: #edf9f2;
    --tx-muted: #9cc4b0;
    --tx-dim: #6d9681;
    
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: #020604;
    color: var(--tx-main);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    padding-bottom: 84px; /* Space for mobile nav */
}

/* ==========================================================================
   CINEMATIC BACKGROUND VIDEO & ATMOSPHERE (100% VISIBLE THROUGH LIQUID GLASS)
   ========================================================================== */
.cinematic-bg-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: #010603;
}

.cinematic-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    will-change: transform;
    filter: brightness(1.02) contrast(1.06) saturate(1.12);
}

.cinematic-bg-overlay {
    position: absolute;
    inset: 0;
    /* Ultra-light subtle vignette allowing video to remain 100% clearly visible through all glass panels */
    background: 
        radial-gradient(ellipse at 50% 25%, rgba(0, 0, 0, 0.02) 0%, rgba(2, 6, 4, 0.16) 65%, rgba(2, 6, 4, 0.38) 100%),
        linear-gradient(180deg, rgba(2, 6, 4, 0.12) 0%, rgba(2, 6, 4, 0.06) 50%, rgba(2, 6, 4, 0.28) 100%);
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(2, 7, 4, 0.8); }
::-webkit-scrollbar-thumb { background: var(--line-active); border-radius: 4px; }

/* SVG Icons */
.icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ==========================================================================
   TRUE LIQUID GLASS BASE SURFACE (.glass)
   ========================================================================== */
.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 32%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}

.glass:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow-hover);
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   TOP NAVBAR (LIQUID GLASS HEADER)
   ========================================================================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(2, 8, 5, 0.35);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 -1px 0 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.4);
    height: 64px;
    display: flex;
    align-items: center;
}
.top-nav .nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--tx-main);
}
.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 240, 255, 0.15));
    border: 2px solid var(--g);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--g);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    flex-shrink: 0;
}
.brand-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.brand-name span {
    color: var(--g);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Balance Pill (Liquid Glass Pill) */
.balance-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 255, 136, 0.45);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    color: var(--g);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 14px rgba(0, 255, 136, 0.22);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.balance-pill:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.5), 0 0 20px var(--g-glow);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    position: relative;
    user-select: none;
}
.btn-primary {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #020c06;
    font-weight: 800;
    letter-spacing: 0.3px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), 0 4px 18px rgba(0, 255, 136, 0.35);
}
.btn-primary:hover {
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.8), 0 8px 28px rgba(0, 255, 136, 0.55);
    transform: translateY(-2px);
}
.btn-primary:active {
    transform: translateY(0);
}
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 14px rgba(0, 0, 0, 0.3);
    color: #fff;
}
.btn-outline:hover {
    background: rgba(0, 255, 136, 0.12);
    border-color: rgba(0, 255, 136, 0.45);
    color: var(--g);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 6px 20px rgba(0, 255, 136, 0.25);
    transform: translateY(-1px);
}
.btn-danger {
    background: rgba(255, 51, 102, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 51, 102, 0.38);
    color: var(--red);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-danger:hover {
    background: rgba(255, 51, 102, 0.24);
    border-color: rgba(255, 51, 102, 0.6);
    box-shadow: 0 4px 18px rgba(255, 51, 102, 0.3);
}
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; }

/* Mobile Bottom Navigation (Floating Liquid Glass Dock) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 68px;
    background: rgba(6, 14, 20, 0.45);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 -12px 36px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    padding: 0 6px;
    box-sizing: border-box;
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--tx-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    min-width: 0;
    padding: 5px 2px;
    text-align: center;
    border-radius: 10px;
}
.nav-item span {
    white-space: nowrap;
    font-size: 10.5px;
    letter-spacing: -0.2px;
}
.nav-item.active, .nav-item:hover {
    color: var(--g);
}
.nav-item.active .icon {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.6));
    color: var(--g);
}

/* Floating Add Funds FAB */
.nav-fab-wrap {
    position: relative;
    top: -14px;
    flex-shrink: 0;
    padding: 0 4px;
}
.nav-fab {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #00ff88 0%, #00d2ff 100%);
    color: #011409;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 0 25px rgba(0, 255, 136, 0.5), 0 8px 20px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
}
.nav-fab:hover {
    transform: scale(1.1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 0 35px rgba(0, 255, 136, 0.7), 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* Section Header & Filters */
.section-header {
    margin: 24px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.section-title {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}
.section-title span { color: var(--g); }

/* Liquid Glass Search Box */
.search-bar {
    position: relative;
    width: 100%;
}
.search-bar input {
    width: 100%;
    padding: 13px 18px 13px 44px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-bar input:focus {
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.45), 0 0 25px rgba(0, 255, 136, 0.35);
}
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tx-muted);
    pointer-events: none;
}

/* Category Filter Chips (Liquid Glass Pills) */
.chips-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.chips-row::-webkit-scrollbar { display: none; }
.chip {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tx-muted);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}
.chip:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.chip.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 210, 255, 0.12) 100%);
    border-color: rgba(0, 255, 136, 0.75);
    color: var(--g);
    box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.4), 0 0 18px rgba(0, 255, 136, 0.35);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* Product Card (True Liquid Crystal Glass Transformation) */
.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 38%, rgba(0, 0, 0, 0.22) 100%);
    backdrop-filter: blur(18px) saturate(190%) contrast(106%);
    -webkit-backdrop-filter: blur(18px) saturate(190%) contrast(106%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 
        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.48),
        inset 0 -1px 2px 0 rgba(0, 255, 136, 0.12),
        0 22px 48px -12px rgba(0, 0, 0, 0.65),
        0 0 24px -5px rgba(0, 255, 136, 0.14);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}
.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.14) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
    z-index: 1;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 136, 0.65);
    box-shadow: 
        inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.68),
        inset 0 -1px 3px 0 rgba(0, 255, 136, 0.28),
        0 28px 55px -10px rgba(0, 0, 0, 0.75),
        0 0 38px -3px rgba(0, 255, 136, 0.38);
}
.product-card:hover::after {
    opacity: 1;
    transform: scale(1);
}
.card-banner {
    position: relative;
    width: 100%;
    height: 165px;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.card-glass-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: radial-gradient(circle at 50% 45%, rgba(0, 255, 136, 0.1) 0%, rgba(0, 0, 0, 0.2) 75%);
    position: relative;
    overflow: hidden;
}
.card-glass-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 55%);
    pointer-events: none;
}
.placeholder-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.14);
    border: 1px solid rgba(0, 255, 136, 0.45);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.3), inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}
.product-card:hover .placeholder-icon-wrap {
    transform: scale(1.12);
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}
.placeholder-icon {
    width: 26px;
    height: 26px;
    stroke: #00ff88;
    fill: none;
    stroke-width: 1.8;
}
.placeholder-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(237, 249, 242, 0.85);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
}
.card-banner img,
.card-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .card-banner img,
.product-card:hover .card-banner video {
    transform: scale(1.06);
}
.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.video-preview-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 13px;
    border-radius: var(--radius-full);
    background: rgba(2, 8, 6, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.25s;
    z-index: 2;
}
.video-preview-btn:hover {
    background: rgba(0, 255, 136, 0.28);
    border-color: rgba(0, 255, 136, 0.8);
    color: var(--g);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.45);
}
.video-preview-btn:hover {
    background: rgba(0, 255, 136, 0.25);
    border-color: rgba(0, 255, 136, 0.7);
    color: var(--g);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.45);
}
.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
}
.card-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.card-subtitle {
    font-size: 12px;
    color: var(--tx-muted);
    margin-bottom: 14px;
    line-height: 1.4;
}

/* Plan Duration Selector (Liquid Crystal Glass Pills) */
.plan-selector {
    margin-bottom: 16px;
}
.plan-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--tx-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
    display: block;
}
.plan-pills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.plan-pill {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--tx-muted);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    min-width: 60px;
    text-align: center;
    user-select: none;
}
.plan-pill:hover {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-1.5px);
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.35), 0 4px 10px rgba(0, 0, 0, 0.3);
}
.plan-pill.active {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.22) 0%, rgba(0, 210, 255, 0.14) 100%);
    border-color: rgba(0, 255, 136, 0.75);
    color: var(--g);
    box-shadow: 
        inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.45),
        0 0 16px rgba(0, 255, 136, 0.4);
}

/* Card Price & CTA */
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.price-tag {
    display: flex;
    flex-direction: column;
}
.price-val {
    font-size: 21px;
    font-weight: 900;
    color: var(--g);
    text-shadow: 0 0 16px rgba(0, 255, 136, 0.35);
}
.stock-status {
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}
.stock-in { color: var(--g); }
.stock-out { color: var(--red); }

/* Modals (Deep Liquid Glass Backdrop & Frame) */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.modal-box {
    width: 100%;
    max-width: 480px;
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 35%, rgba(3, 10, 8, 0.55) 100%);
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 22px;
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.55), 0 35px 70px -15px rgba(0, 0, 0, 0.85), 0 0 40px -5px rgba(0, 255, 136, 0.25);
    padding: 26px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.modal-backdrop.open .modal-box {
    transform: scale(1);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--tx-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}
.modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Form Controls (Frosted Glass Inputs) */
.form-group {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--tx-muted);
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    transition: all 0.2s;
}
.form-input:focus {
    border-color: rgba(0, 255, 136, 0.7);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Key Delivered Card (Liquid Glass Badge) */
.key-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 210, 255, 0.05) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 136, 0.45);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.4), 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(0, 255, 136, 0.2);
}
.key-text {
    font-family: monospace;
    font-size: 15px;
    color: var(--g);
    word-break: break-all;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* UPI Payment QR display */
.qr-frame {
    background: #ffffff;
    padding: 14px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin: 14px auto;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4), 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.qr-frame img {
    display: block;
    width: 190px;
    height: 190px;
}

/* Toast System */
/* ========================================================
   CYBERPUNK HIGH-END GAMING NOTIFICATIONS / TOASTS
======================================================== */
.toast-container, #toast-container, #admin-toasts {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 400px;
    width: calc(100% - 48px);
}

.toast {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    background: rgba(11, 18, 24, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

@keyframes toastSlideIn {
    0% {
        opacity: 0;
        transform: translateX(110%) scale(0.92);
    }
    70% {
        transform: translateX(-6px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.toast.toast-closing {
    opacity: 0 !important;
    transform: translateX(120%) scale(0.9) !important;
}

/* Accent Bars on the left */
.toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.toast-success::before {
    background: linear-gradient(180deg, #00ff88, #00d2ff);
    box-shadow: 0 0 16px #00ff88;
}

.toast-error::before {
    background: linear-gradient(180deg, #ff3366, #ff7700);
    box-shadow: 0 0 16px #ff3366;
}

.toast-info::before {
    background: linear-gradient(180deg, #00d2ff, #7928ca);
    box-shadow: 0 0 16px #00d2ff;
}

.toast-warning::before {
    background: linear-gradient(180deg, #ffaa00, #ff5500);
    box-shadow: 0 0 16px #ffaa00;
}

/* Glow Borders */
.toast-success {
    border-color: rgba(0, 255, 136, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 255, 136, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.toast-error {
    border-color: rgba(255, 51, 102, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 51, 102, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.toast-info {
    border-color: rgba(0, 210, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 210, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.toast-warning {
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 170, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Icon Badge */
.toast-icon-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 1px;
}

.toast-success .toast-icon-badge {
    background: rgba(0, 255, 136, 0.12);
    border: 1px solid rgba(0, 255, 136, 0.45);
    color: #00ff88;
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.25);
}

.toast-error .toast-icon-badge {
    background: rgba(255, 51, 102, 0.12);
    border: 1px solid rgba(255, 51, 102, 0.45);
    color: #ff3366;
    box-shadow: 0 0 14px rgba(255, 51, 102, 0.25);
}

.toast-info .toast-icon-badge {
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.45);
    color: #00d2ff;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.25);
}

.toast-warning .toast-icon-badge {
    background: rgba(255, 170, 0, 0.12);
    border: 1px solid rgba(255, 170, 0, 0.45);
    color: #ffaa00;
    box-shadow: 0 0 14px rgba(255, 170, 0, 0.25);
}

.toast-icon-badge svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

/* Content Area */
.toast-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.toast-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.toast-category {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toast-success .toast-category { color: #00ff88; }
.toast-error .toast-category { color: #ff3366; }
.toast-info .toast-category { color: #00d2ff; }
.toast-warning .toast-category { color: #ffaa00; }

.toast-close-btn {
    background: transparent;
    border: none;
    color: var(--tx-muted, #8b949e);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    transition: 0.2s all;
}

.toast-close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.toast-message {
    font-size: 13.5px;
    color: #f0f6fc;
    line-height: 1.45;
    font-weight: 500;
    word-break: break-word;
}

/* Animated Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    animation: toastTimer 3.5s linear forwards;
}

.toast-success .toast-progress {
    background: linear-gradient(90deg, #00ff88, #00d2ff);
    box-shadow: 0 0 10px #00ff88;
}

.toast-error .toast-progress {
    background: linear-gradient(90deg, #ff3366, #ff7700);
    box-shadow: 0 0 10px #ff3366;
}

.toast-info .toast-progress {
    background: linear-gradient(90deg, #00d2ff, #7928ca);
    box-shadow: 0 0 10px #00d2ff;
}

.toast-warning .toast-progress {
    background: linear-gradient(90deg, #ffaa00, #ff5500);
    box-shadow: 0 0 10px #ffaa00;
}

@keyframes toastTimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--tx-muted);
}
.empty-state .icon {
    width: 44px;
    height: 44px;
    color: var(--tx-dim);
    margin-bottom: 12px;
}

/* Table styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px 14px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
th {
    color: var(--g);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.7); }
}
.glow-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Responsive Overrides */
@media (min-width: 768px) {
    body { padding-bottom: 20px; }
    .bottom-nav { display: none; }
    .desktop-nav-links {
        display: flex;
        align-items: center;
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .desktop-nav-links { display: none; }
    .desktop-profile-btn { display: none !important; }
}
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    #profile-container { padding: 18px 14px !important; }
}

/* ==========================================================================
   MULTI-PAGE NAVIGATION & HERO COMPONENTS
   ========================================================================== */

/* Mobile Drawer & Slide Menu */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 84%;
    max-width: 340px;
    background: rgba(4, 12, 8, 0.72);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.15), -14px 0 40px rgba(0, 0, 0, 0.85);
    z-index: 101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    padding: 20px;
}
.drawer-backdrop.open .mobile-drawer {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 16px;
}
.drawer-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--tx-dim);
    font-weight: 800;
    margin: 16px 0 8px;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--tx-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: 0.2s;
    margin-bottom: 4px;
}
.drawer-link:hover, .drawer-link.active {
    background: rgba(0, 255, 136, 0.14);
    color: var(--g);
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 14px rgba(0, 255, 136, 0.2);
}
.drawer-link .icon {
    width: 18px;
    height: 18px;
}

/* Secondary Desktop Subnav / Account Toolbar (Liquid Glass) */
.account-toolbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.22) 100%);
    backdrop-filter: blur(18px) saturate(190%);
    -webkit-backdrop-filter: blur(18px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.4), 0 12px 30px rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 12px;
    overflow-x: auto;
}
.toolbar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    color: var(--tx-muted);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toolbar-link:hover, .toolbar-link.active {
    background: rgba(0, 255, 136, 0.16);
    color: var(--g);
    border: 1px solid rgba(0, 255, 136, 0.45);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 0 14px rgba(0, 255, 136, 0.25);
}

/* Hero Section (Home page - True Liquid Glass Transformation) */
.hero-banner {
    position: relative;
    padding: 38px 24px 34px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.22) 100%);
    backdrop-filter: blur(20px) saturate(190%) contrast(106%);
    -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(106%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.45), 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(0, 255, 136, 0.12);
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.hero-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 136, 0.45);
    color: var(--g);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 14px rgba(0, 255, 136, 0.25);
}
.hero-title {
    position: relative;
    z-index: 1;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 12px;
}
.hero-title span {
    color: var(--g);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.45);
}
.hero-desc {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--tx-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.hero-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
    padding: 12px 14px;
    border-radius: 12px;
}
.hero-stat-card .val {
    font-size: 18px;
    font-weight: 800;
    color: var(--g);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.35);
}
.hero-stat-card .lbl {
    font-size: 11px;
    color: var(--tx-muted);
    font-weight: 600;
}

/* Category cards grid (Liquid Glass Cards) */
.cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.cat-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.015) 35%, rgba(0, 0, 0, 0.2) 100%);
    backdrop-filter: blur(18px) saturate(190%) contrast(106%);
    -webkit-backdrop-filter: blur(18px) saturate(190%) contrast(106%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.45), 0 18px 40px -10px rgba(0, 0, 0, 0.55), 0 0 20px -5px rgba(0, 255, 136, 0.1);
    border-radius: 18px;
    padding: 22px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.03) 30%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}
.cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.65);
    box-shadow: inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.65), 0 26px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 136, 0.35);
}
.cat-card-icon {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 255, 136, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 18px rgba(0, 255, 136, 0.25);
    color: var(--g);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.cat-card:hover .cat-card-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* Category Header Banner (Liquid Glass) */
.cat-header-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.24) 100%);
    backdrop-filter: blur(20px) saturate(190%) contrast(106%);
    -webkit-backdrop-filter: blur(20px) saturate(190%) contrast(106%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.45), 0 20px 45px rgba(0, 0, 0, 0.55);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    overflow: hidden;
}
.cat-header-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.cat-header-info h2 {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-header-info p {
    font-size: 13px;
    color: var(--tx-muted);
}

/* Futuristic Cyberpunk Page Preloader & Smooth Transitions */
#page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #061a10 0%, #020704 80%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    pointer-events: auto;
}

#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    position: relative;
    padding: 3px;
    background: conic-gradient(from 0deg, var(--g), #00d2ff, #ff2d55, var(--g));
    animation: preloader-spin 1.8s linear infinite;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.45);
    margin-bottom: 18px;
}

.preloader-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: #020704;
}

@keyframes preloader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.preloader-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preloader-title span {
    color: var(--g);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.preloader-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--tx-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.preloader-line {
    width: 140px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 45%;
    background: linear-gradient(90deg, transparent, var(--g), transparent);
    animation: preloader-glide 1.2s ease-in-out infinite;
}

@keyframes preloader-glide {
    0% { left: -45%; }
    100% { left: 100%; }
}

/* ==========================================================================
   AMBIENT MUSIC / SOUND TOGGLE BUTTON (LIQUID GLASS)
   ========================================================================== */
.sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    user-select: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.sound-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.45);
}

.sound-toggle-btn:active {
    transform: scale(0.96);
}

.sound-toggle-btn.sound-on {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.55);
    color: var(--g);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 0 18px rgba(0, 255, 136, 0.35);
}

.sound-toggle-btn.sound-on:hover {
    background: rgba(0, 255, 136, 0.22);
    border-color: var(--g);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 24px rgba(0, 255, 136, 0.5);
}

.sound-icon-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.sound-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

/* Mini Audio Equalizer Bars */
.audio-equalizer-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
    margin-left: 3px;
}

.eq-bar {
    width: 2px;
    background: var(--g);
    border-radius: 1px;
    animation: eqPulse 0.8s ease-in-out infinite alternate;
}

.bar-1 { height: 5px; animation-delay: 0.1s; }
.bar-2 { height: 11px; animation-delay: 0.35s; }
.bar-3 { height: 7px; animation-delay: 0.6s; }

@keyframes eqPulse {
    0% { height: 3px; opacity: 0.4; }
    50% { height: 12px; opacity: 1; }
    100% { height: 5px; opacity: 0.6; }
}

@media (max-width: 600px) {
    .sound-toggle-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .sound-btn-text {
        display: none !important;
    }
    .audio-equalizer-bars {
        display: none !important;
    }
}

/* ==========================================================================
   SPA ZERO-RELOAD CLIENT-SIDE VIEW SECTIONS
   ========================================================================== */
.spa-view-section {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.spa-view-section.active {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
    animation: spaViewFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spaViewFadeIn {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Maintenance Product Card Enhancements */
.product-card.card-under-maintenance {
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: inset 0 1px 2px 0 rgba(239, 68, 68, 0.25), 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}
.product-card.card-under-maintenance:hover {
    border-color: rgba(239, 68, 68, 0.75);
    box-shadow: 
        inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 3px 0 rgba(239, 68, 68, 0.35),
        0 24px 50px -10px rgba(0, 0, 0, 0.8),
        0 0 35px -5px rgba(239, 68, 68, 0.4);
}
.product-card.card-under-maintenance .card-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 5, 5, 0.3);
    pointer-events: none;
}

/* Reseller API Durations Buttons */
.api-dur-btn {
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.api-dur-btn:hover {
    background: rgba(0, 255, 136, 0.14) !important;
    border-color: rgba(0, 255, 136, 0.6) !important;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}
.api-dur-btn:active {
    transform: scale(0.96);
}






