/* 
   SMMFLUX Reseller Platform CSS Design System
   Modern SaaS / Fintech Dark Mode with Vibrant Orange/Amber Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    color-scheme: dark;
    /* Color Palette */
    --bg-dark: #0d0f12;
    --bg-card: #16181f;
    --bg-sidebar: #090a0d;
    --bg-input: #1b1d26;
    
    --primary: #ff6a00;
    --primary-hover: #e05c00;
    --primary-glow: rgba(255, 106, 0, 0.3);
    --primary-light: rgba(255, 106, 0, 0.1);
    
    --text-white: #ffffff;
    --text-light: #f3f4f6;
    --text-muted: #7e8794;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 106, 0, 0.2);
    --border-focus: rgba(255, 106, 0, 0.5);
    
    /* Semantic Colors */
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.15);
    --info: #3b82f6;
    --info-glow: rgba(59, 130, 246, 0.15);
    
    /* Layout Rules */
    --font-sans: 'Inter', sans-serif;
    --font-title: 'Outfit', sans-serif;
    --sidebar-width: 270px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

:root.light-theme {
    color-scheme: light;
    --bg-dark: #f0f2f5;
    --bg-card: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-input: #f0f2f5;
    
    --text-white: #0f172a;
    --text-light: #334155;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(255, 106, 0, 0.3);
    --border-focus: rgba(255, 106, 0, 0.6);
    
    --primary-glow: rgba(255, 106, 0, 0.15);
    --primary-light: rgba(255, 106, 0, 0.08);
}

/* Theme Toggle button show/hide icon rules */
.theme-toggle-btn .sun-icon {
    display: block !important;
}
.theme-toggle-btn .moon-icon {
    display: none !important;
}
:root.light-theme .theme-toggle-btn .sun-icon {
    display: none !important;
}
:root.light-theme .theme-toggle-btn .moon-icon {
    display: block !important;
}

:root.light-theme ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #232d35;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-white);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Layout Modules */

/* Landing Page Layout */
.landing-navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.logo-container span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Dashboard Sidebar Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    padding: 25px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 90;
    overflow-y: auto;
}

.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 30px;
    min-height: 100vh;
    background-color: var(--bg-dark);
}

.sidebar-logo {
    margin-bottom: 30px;
    padding-left: 10px;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-item a:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.02);
}

.sidebar-item.active a {
    color: var(--text-white);
    background-color: var(--primary);
    font-weight: 600;
}

.sidebar-item a svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
    stroke-width: 2;
}

.sidebar-item.active a svg {
    color: var(--text-white);
}

.sidebar-footer {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Sidebar Affiliate Card Widget */
.sidebar-affiliate-card {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(255, 106, 0, 0.02) 100%);
    border: 1px solid rgba(255, 106, 0, 0.15);
    border-radius: 14px;
    padding: 16px;
    margin: 0 5px 20px 5px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


/* Authentication Page Styles (Centred Card) */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-white);
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    color-scheme: dark !important;
}

.form-control:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 10px var(--primary-glow);
    background-color: rgba(255, 122, 0, 0.02);
}

select.form-control {
    color-scheme: dark !important;
}

select.form-control option {
    background-color: #0b0f12 !important; /* fallback to var(--bg-card) value */
    color: var(--text-white) !important;
    color-scheme: dark !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

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

.btn-danger {
    background-color: var(--danger);
    color: #fff;
    box-shadow: 0 4px 14px var(--danger-glow);
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-full {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: var(--success-glow);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.alert-danger {
    background-color: var(--danger-glow);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Dashboard Dashboard Cards & Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 35px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.stat-card-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.stat-card-value {
    font-size: 2.1rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.stat-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-top: 10px;
}

.stat-trend-up {
    color: var(--success);
    font-weight: 600;
}

.stat-trend-down {
    color: var(--danger);
    font-weight: 600;
}

/* Main Layout Areas */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 35px;
}

.card-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.table th {
    padding: 14px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-pending {
    background-color: var(--warning-glow);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.badge-success {
    background-color: var(--success-glow);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.15);
}

.badge-danger {
    background-color: var(--danger-glow);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.15);
}

.badge-info {
    background-color: var(--info-glow);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.15);
}

/* Tab bar */
.tabs-container {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    gap: 8px;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

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

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* Help banner */
.help-banner {
    background: linear-gradient(135deg, #1b160f 0%, #0e0b07 100%);
    border: 1px solid rgba(255, 122, 0, 0.15);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.help-banner-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.help-banner-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Service catalogue custom list items */
.service-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Custom donut layout */
.donut-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 0;
}

.donut-inner-text {
    position: absolute;
    text-align: center;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.donut-inner-text .amount {
    font-size: 1.5rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--text-white);
}

.donut-inner-text .label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.legend-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* UI Elements */
.search-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex-grow: 1;
}

.select-input {
    min-width: 180px;
}

.topup-step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.topup-step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.topup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.topup-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.topup-step.active .topup-step-number {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
    box-shadow: 0 0 12px var(--primary-glow);
}

.topup-step.completed .topup-step-number {
    background-color: var(--success);
    border-color: var(--success);
    color: #000;
}

.topup-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.topup-step.active .topup-step-label {
    color: var(--text-white);
}

/* File Upload input */
.file-upload-wrapper {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.file-upload-wrapper:hover {
    border-color: var(--border-focus);
    background-color: rgba(255, 122, 0, 0.01);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.file-upload-help {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile menu toggling */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 85;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    .sidebar {
        display: flex !important;
        position: fixed !important;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 95 !important;
        box-shadow: 5px 0 25px rgba(0,0,0,0.5);
    }
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
    body.sidebar-open .sidebar-overlay {
        display: block !important;
        animation: fadeInOverlay 0.3s ease forwards;
    }
    @keyframes fadeInOverlay {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 15px 15px 85px 15px !important; /* Leave room for bottom nav */
    }
    
    .search-wrapper {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }

    /* Mobile Header/Navbar Adjustments */
    .top-navbar {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 20px !important;
        padding-bottom: 15px !important;
        gap: 15px;
    }
    .mobile-logo-wrapper {
        display: block !important;
    }
    .mobile-logo-wrapper img {
        max-height: 42px;
        width: auto;
        object-fit: contain;
    }
    .topbar-search-form {
        display: none !important;
    }
    .topbar-user-block .user-meta {
        display: none !important;
    }
    .topbar-user-block {
        padding-left: 10px !important;
        border-left: none !important;
    }
    .promo-banner-premium {
        flex-direction: column !important;
        padding: 20px !important;
        text-align: center !important;
        gap: 15px !important;
    }
    .promo-banner-text-side {
        max-width: 100% !important;
    }
    .promo-banner-graphic-side {
        display: none !important;
    }
    .footer-perks-row {
        display: none !important;
    }
    .user-panel-rank {
        display: none !important;
    }
    .balance-pill {
        padding: 6px 10px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }
    .user-panel-avatar {
        width: 34px !important;
        height: 34px !important;
        font-size: 0.8rem !important;
    }

    /* Mobile Bottom Navigation Bar Styles */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background-color: var(--bg-sidebar);
        border-top: 1px solid var(--border-color);
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(10px);
        padding-bottom: env(safe-area-inset-bottom); /* iOS notch support */
    }
    
    .mobile-bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.65rem;
        font-weight: 600;
        gap: 3px;
        flex: 1;
        height: 100%;
        transition: var(--transition);
        padding: 8px 0;
    }
    
    .mobile-bottom-nav-item svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        stroke-width: 2;
    }
    
    .mobile-bottom-nav-item.active {
        color: var(--primary);
    }
    
    .mobile-bottom-nav-item.active svg {
        filter: drop-shadow(0 0 5px var(--primary-glow));
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ---------------------------------------------------- */
/* Premium Layout, Search, Widgets and Components Styling */
/* ---------------------------------------------------- */

.mobile-logo-wrapper {
    display: none;
}

/* Top Navigation Bar Details */
.topbar-search-form {
    flex-grow: 1;
    max-width: 400px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 15px 12px 42px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-input);
    color: var(--text-white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.top-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.top-action-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.topbar-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-user-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
}

.user-meta {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.user-meta .user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
}

.user-meta .user-role {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.user-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 106, 0, 0.15);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.95rem;
}

/* 3-Column Layout */
.dashboard-3-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 30px;
}
@media (max-width: 992px) {
    .dashboard-3-col {
        grid-template-columns: 1fr;
    }
}

/* Stat Card Premium Grid */
.dashboard-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 1024px) {
    .dashboard-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .dashboard-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card-premium {
        padding: 15px;
        gap: 8px;
    }
    .stat-card-value-display {
        font-size: 1.35rem;
    }
    .btn-card-action-orange {
        font-size: 0.72rem;
        padding: 6px 10px;
    }
}

.stat-card-premium {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.stat-card-premium:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
}
.stat-card-header-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stat-card-value-display {
    font-size: 1.8rem;
    font-family: var(--font-title);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}
.btn-card-action-orange {
    background-color: var(--primary);
    color: #000 !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    text-align: center;
    transition: var(--transition);
    margin-top: 8px;
    display: block;
}
.btn-card-action-orange:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Social Network badges row */
.social-badges-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 25px;
    scroll-behavior: smooth;
}
.social-badges-row::-webkit-scrollbar {
    height: 4px;
}
.social-badges-row::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}
.social-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 86px;
    height: 86px;
    border-radius: 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 10px;
    flex-shrink: 0;
}
.social-badge-item:hover, .social-badge-item.active {
    color: var(--text-white);
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(255, 106, 0, 0.1) 0%, rgba(255, 106, 0, 0.01) 100%);
}
.social-badge-item.active {
    border-bottom: 3px solid var(--primary);
}
.social-badge-item .social-badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

/* Promotional Banner */
.promo-banner-premium {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.18) 0%, rgba(22, 24, 31, 0.98) 100%);
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.promo-banner-text-side {
    max-width: 60%;
}
.promo-banner-text-side h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-white);
}
.promo-banner-text-side p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.promo-banner-graphic-side {
    flex-grow: 1;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.promo-banner-graphic-side .rocket-3d-box {
    background: radial-gradient(circle, rgba(255, 106, 0, 0.25) 0%, transparent 70%);
    padding: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatAnimation 4s ease-in-out infinite;
}
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Featured Services Grid */
.featured-services-section {
    margin-bottom: 30px;
}
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-header-flex h3 {
    font-size: 1.2rem;
    font-weight: 800;
}
.section-header-flex a {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
}
.featured-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .featured-grid-2 {
        grid-template-columns: 1fr;
    }
}
.featured-service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: var(--transition);
}
.featured-service-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.featured-service-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    overflow: hidden;
}
.featured-service-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.featured-service-meta {
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-service-meta h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-service-meta p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.featured-service-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-title);
}
.featured-service-limits {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.btn-featured-buy {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: var(--primary);
    color: #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-featured-buy:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 10px var(--primary-glow);
    transform: scale(1.05);
}

/* Footer perks list */
.footer-perks-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}
@media (max-width: 992px) {
    .footer-perks-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 600px) {
    .footer-perks-row {
        grid-template-columns: 1fr;
    }
}
.perk-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.perk-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.perk-text h5 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}
.perk-text p {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Quick help card orange styling */
.help-banner-premium {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.9) 0%, rgba(255, 78, 0, 0.95) 100%);
    border-radius: 20px;
    padding: 24px;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.15);
}
.help-banner-premium h4 {
    color: #000;
    font-size: 1.15rem;
    font-weight: 800;
}
.help-banner-premium p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.85rem;
    line-height: 1.4;
}
.btn-help-ticket {
    background-color: #000;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    transition: var(--transition);
}
.btn-help-ticket:hover {
    background-color: #1a1a1a;
    transform: translateY(-1px);
}

/* Notifications Widget */
.notifications-widget-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.notif-widget-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
    line-height: 1.4;
}
.notif-dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}
.notif-dot-indicator.green { background-color: var(--success); }
.notif-dot-indicator.orange { background-color: var(--primary); }
.notif-dot-indicator.blue { background-color: var(--info); }
.notif-dot-indicator.grey { background-color: var(--text-muted); }
.notif-widget-content {
    flex-grow: 1;
}
.notif-widget-time {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Ticket Chat UI Container */
.ticket-chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 520px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}
.ticket-chat-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ticket-chat-header h3 {
    font-size: 1.05rem;
    margin-bottom: 3px;
}
.ticket-chat-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.ticket-chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.4;
}
.chat-bubble.sent {
    background-color: var(--primary);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.chat-bubble.received {
    background-color: var(--bg-input);
    color: var(--text-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}
.chat-bubble .time-stamp {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 5px;
    text-align: right;
}
.chat-bubble.sent .time-stamp {
    color: rgba(0, 0, 0, 0.7);
}
.chat-bubble.received .time-stamp {
    color: var(--text-muted);
}
.ticket-chat-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.01);
}
.chat-form {
    display: flex;
    gap: 10px;
}
.chat-input {
    flex-grow: 1;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.9rem;
    transition: var(--transition);
}
.chat-input:focus {
    border-color: var(--primary);
}
.btn-chat-send {
    background-color: var(--primary);
    color: #000 !important;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-chat-send:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* ---------------------------------------------------- */
/* Premium Mobile App layout & widgets styling          */
/* ---------------------------------------------------- */

.desktop-only-layout {
    display: block;
}
.mobile-only-layout {
    display: none;
}

/* Gold Promotion Banner */
.promo-gold-banner-link {
    text-decoration: none !important;
    display: block;
    margin-bottom: 25px;
}
.promo-gold-banner {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(75, 63, 17, 0.25) 50%, rgba(22, 24, 31, 0.95) 100%);
    border: 1px solid rgba(255, 152, 0, 0.35);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.promo-gold-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    animation: gold-shimmer 8s infinite ease-in-out;
}
@keyframes gold-shimmer {
    0% { left: -100%; }
    12% { left: 150%; }
    100% { left: 150%; }
}
.promo-gold-banner:hover {
    border-color: rgba(255, 152, 0, 0.6);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.15);
    transform: translateY(-2px);
}
.promo-gold-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.promo-gold-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(255, 152, 0, 0.4);
    animation: pulse-gold-badge 2s infinite;
}
@keyframes pulse-gold-badge {
    0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(255, 152, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}
.promo-gold-text {
    display: flex;
    flex-direction: column;
}
.promo-gold-title {
    color: #ff9800;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: var(--font-title);
    margin-bottom: 2px;
}
.promo-gold-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.promo-gold-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-gold-cta {
    background: #ff9800;
    color: #0d0f12 !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}
.promo-gold-banner:hover .promo-gold-cta {
    background: #ffb74d;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.3);
}
.promo-gold-arrow {
    width: 18px;
    height: 18px;
    color: #ff9800;
    transition: transform 0.2s ease;
}
.promo-gold-banner:hover .promo-gold-arrow {
    transform: translateX(4px);
}

/* Sidebar Gold Promo Link Styles */
.sidebar-item a.gold-promo-link {
    color: #ff9800 !important;
    font-weight: 700;
}
.sidebar-item a.gold-promo-link svg {
    color: #ff9800 !important;
}
.sidebar-item a.gold-promo-link:hover {
    color: #ffb74d !important;
    background-color: rgba(255, 152, 0, 0.08) !important;
}
.sidebar-item a.gold-promo-link:hover svg {
    color: #ffb74d !important;
}

/* Active override so it becomes white on orange */
.sidebar-item.active a.gold-promo-link {
    color: var(--text-white) !important;
    background-color: var(--primary) !important;
}
.sidebar-item.active a.gold-promo-link svg {
    color: var(--text-white) !important;
}

@media (max-width: 768px) {
    .desktop-only-layout {
        display: none !important;
    }
    .mobile-only-layout {
        display: block !important;
    }

    /* Hide unnecessary headers on mobile */
    .top-navbar .top-action-btn:not([aria-label="Notifications"]) {
        display: none !important;
    }

    /* Adjust notification badge to be a small orange dot matching mockup */
    .topbar-badge {
        width: 10px;
        height: 10px;
        top: 2px;
        right: 2px;
        background-color: var(--primary);
        color: transparent;
        font-size: 0;
        border: 2px solid var(--bg-dark);
        border-radius: 50%;
        position: absolute;
    }

    /* 1. Wallet Card Styling */
    .mobile-wallet-card {
        background: linear-gradient(135deg, #f85f10 0%, #ff9800 100%);
        border-radius: 24px;
        padding: 24px;
        color: #ffffff;
        position: relative;
        overflow: hidden;
        margin-bottom: 24px;
        box-shadow: 0 8px 30px rgba(248, 95, 16, 0.3);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 160px;
    }
    .mobile-wallet-card::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 30px;
        width: 70px;
        height: 70px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='1.5'%3E%3Crect x='2' y='4' width='20' height='16' rx='4'/%3E%3Cpath d='M16 8h4v8h-4z'/%3E%3Ccircle cx='18' cy='12' r='1' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        pointer-events: none;
    }
    .wallet-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .wallet-label {
        font-size: 0.85rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.85);
    }
    .wallet-balance {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 4px;
    }
    .wallet-balance .currency-symbol {
        font-size: 1.5rem;
        font-weight: 700;
        font-family: var(--font-title);
    }
    .wallet-balance .balance-amount {
        font-size: 2.3rem;
        font-weight: 800;
        font-family: var(--font-title);
        letter-spacing: -0.02em;
    }
    .view-details-link {
        font-size: 0.8rem;
        color: #ffffff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        opacity: 0.95;
    }
    .view-details-link:hover {
        opacity: 1;
        text-decoration: underline;
    }
    .wallet-action {
        display: flex;
        justify-content: flex-end;
        margin-top: 8px;
    }
    .btn-add-funds {
        background-color: #0b0d10;
        color: #ffffff !important;
        font-weight: 700;
        font-size: 0.85rem;
        padding: 12px 20px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        transition: var(--transition);
    }
    .btn-add-funds:hover {
        background-color: #12151b;
        transform: translateY(-1px);
    }

    /* 2. Search Input Styling */
    .mobile-search-form {
        margin-bottom: 24px;
    }
    .mobile-search-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .mobile-search-wrapper .search-icon {
        position: absolute;
        left: 15px;
        color: var(--text-muted);
        pointer-events: none;
    }
    .mobile-search-wrapper input {
        flex-grow: 1;
        background-color: #12141a;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: 14px 15px 14px 44px;
        color: var(--text-white);
        font-size: 0.95rem;
        transition: var(--transition);
    }
    .mobile-search-wrapper input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 12px var(--primary-glow);
    }
    .filter-btn {
        width: 48px;
        height: 48px;
        background-color: #12141a;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        flex-shrink: 0;
    }
    .filter-btn:hover {
        border-color: var(--primary);
        background-color: var(--primary-light);
    }

    /* 3. Social Networks Carousel Styling */
    .mobile-social-carousel {
        margin-bottom: 24px;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .mobile-social-carousel::-webkit-scrollbar {
        display: none;
    }
    .mobile-social-carousel .carousel-track {
        display: flex;
        gap: 16px;
    }
    .carousel-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 0.72rem;
        font-weight: 600;
        transition: var(--transition);
        min-width: 65px;
    }
    .carousel-item span {
        white-space: nowrap;
    }
    .carousel-item.active {
        color: var(--primary);
    }
    .network-icon-circle {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        transition: var(--transition);
        position: relative;
    }
    .carousel-item.active .network-icon-circle {
        box-shadow: 0 0 12px var(--primary-glow);
        border: 2px solid var(--primary);
    }
    .carousel-item:not(.active) .network-icon-circle {
        opacity: 0.65;
    }

    /* 4. Categories Section Styling */
    .mobile-categories-section {
        margin-bottom: 28px;
    }
    .mobile-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }
    .mobile-section-header h3 {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--text-white);
    }
    .mobile-section-header .view-all-link {
        color: var(--primary);
        font-size: 0.8rem;
        font-weight: 700;
    }
    .mobile-categories-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .category-item-card {
        background-color: #12141a;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 12px 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
        transition: var(--transition);
    }
    .category-item-card:hover {
        border-color: rgba(255, 106, 0, 0.3);
        transform: translateY(-2px);
    }
    .cat-icon-wrapper {
        color: var(--primary);
        opacity: 0.95;
    }
    .category-item-card span {
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    /* 5. Popular Services Section Styling */
    .mobile-popular-section {
        margin-bottom: 24px;
    }
    .mobile-popular-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mobile-popular-card {
        background-color: #12141a;
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    .popular-card-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-grow: 1;
        overflow: hidden;
    }
    .popular-icon-box {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        flex-shrink: 0;
    }
    .popular-icon-box.instagram {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    }
    .popular-icon-box.tiktok {
        background-color: #000000;
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .popular-icon-box.youtube {
        background-color: #FF0000;
    }
    .popular-card-details {
        overflow: hidden;
    }
    .popular-card-details h4 {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-white);
        margin-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .quality-tag {
        font-size: 0.72rem;
        color: var(--text-muted);
    }
    .quality-high {
        color: var(--success);
        font-weight: 700;
    }
    .limits-pills {
        display: flex;
        gap: 6px;
        margin-top: 4px;
    }
    .limit-pill {
        background-color: rgba(255, 255, 255, 0.04);
        border-radius: 6px;
        padding: 2px 6px;
        font-size: 0.62rem;
        color: var(--text-muted);
        font-weight: 600;
    }
    .popular-card-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        flex-shrink: 0;
    }
    .popular-price-block {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .popular-price {
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--primary);
        font-family: var(--font-title);
    }
    .price-unit {
        font-size: 0.65rem;
        color: var(--text-muted);
    }
    .btn-buy-popular {
        background-color: var(--primary);
        color: #000000 !important;
        font-weight: 700;
        font-size: 0.75rem;
        padding: 6px 16px;
        border-radius: 20px;
        text-decoration: none;
        transition: var(--transition);
        display: inline-block;
        text-align: center;
    }
    .btn-buy-popular:hover {
        background-color: var(--primary-hover);
        box-shadow: 0 4px 10px var(--primary-glow);
    }
    .no-services-msg {
        text-align: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        padding: 20px;
    }

    /* 6. Floating Support Button Styling */
    .mobile-floating-support {
        position: fixed;
        bottom: 80px;
        right: 16px;
        background: linear-gradient(135deg, #f85f10 0%, #ff9800 100%);
        color: #ffffff !important;
        border-radius: 30px;
        padding: 10px 18px;
        display: flex;
        align-items: center;
        box-shadow: 0 8px 20px rgba(248, 95, 16, 0.4);
        z-index: 999;
        font-size: 0.85rem;
        font-weight: 800;
        transition: var(--transition);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-floating-support:hover {
        transform: translateY(-2px) scale(1.02);
    }

    /* Mobile Gold Promo overrides */
    .promo-gold-banner-link {
        margin-bottom: 16px;
        padding: 0 4px;
    }
    .promo-gold-banner {
        padding: 12px 16px;
        border-radius: 12px;
    }
    .promo-gold-badge-icon {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
        border-radius: 8px;
    }
    .promo-gold-title {
        font-size: 0.95rem;
    }
    .promo-gold-subtitle {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }
    .promo-gold-cta {
        display: none;
    }
    .promo-gold-arrow {
        width: 16px;
        height: 16px;
    }
}

