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



:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --primary-glow: rgba(108, 92, 231, 0.4);
    --success: #00b894;
    --success-light: #55efc4;
    --success-glow: rgba(0, 184, 148, 0.4);
    --warning: #fdcb6e;
    --warning-glow: rgba(253, 203, 110, 0.4);
    --danger: #e17055;
    --danger-glow: rgba(225, 112, 85, 0.4);
    --info: #74b9ff;
    --info-glow: rgba(116, 185, 255, 0.4);
    --pink: #fd79a8;
    --purple: #a29bfe;
    --bg: #0a0e1a;
    --bg-card: #111827;
    --bg-card2: #1a2235;
    --bg-card3: #1e293b;
    --border: #1e293b;
    --text: #e2e8f0;
    --text-sec: #94a3b8;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-2: linear-gradient(135deg, #00b894, #55efc4);
    --gradient-3: linear-gradient(135deg, #e17055, #fdcb6e);
    --gradient-4: linear-gradient(135deg, #74b9ff, #a29bfe);
    --gradient-5: linear-gradient(135deg, #fd79a8, #6c5ce7);
    --gradient-6: linear-gradient(135deg, #fdcb6e, #e17055);
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --theme-icon: '\f186';
    --topbar-bg: rgba(17, 24, 39, 0.95);
}

[data-theme="light"] {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --primary-glow: rgba(108, 92, 231, 0.25);
    --success: #00b894;
    --success-light: #55efc4;
    --success-glow: rgba(0, 184, 148, 0.2);
    --warning: #e17055;
    --warning-glow: rgba(225, 112, 85, 0.2);
    --danger: #d63031;
    --danger-glow: rgba(214, 48, 49, 0.2);
    --info: #0984e3;
    --info-glow: rgba(9, 132, 227, 0.2);
    --pink: #e84393;
    --purple: #6c5ce7;
    --bg: #f0f2f5;
    --bg-card: #ffffff;
    --bg-card2: #f8f9fc;
    --bg-card3: #eef1f6;
    --border: #e2e8f0;
    --text: #1a202c;
    --text-sec: #4a5568;
    --text-muted: #a0aec0;
    --gradient-1: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --gradient-2: linear-gradient(135deg, #00b894, #55efc4);
    --gradient-3: linear-gradient(135deg, #e17055, #fdcb6e);
    --gradient-4: linear-gradient(135deg, #0984e3, #6c5ce7);
    --gradient-5: linear-gradient(135deg, #e84393, #6c5ce7);
    --gradient-6: linear-gradient(135deg, #fdcb6e, #e17055);
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 25px rgba(108, 92, 231, 0.12);
    --theme-icon: '\f185';
    --topbar-bg: rgba(255, 255, 255, 0.95);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

body *,
body *::before,
body *::after {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(    --bg); }
::-webkit-scrollbar-thumb { background: var(    --bg-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== ANIMATED BACKGROUND ===== */
#wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
}

#wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(108,92,231,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,184,148,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(116,185,255,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 260px;
    background: var(    --bg-card);
    border-right: 1px solid var(    --bg-border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

/* Sidebar overlay (mobile) */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
    display: block;
    opacity: 1;
}
body.sidebar-open { overflow: hidden; }

.sidebar-brand {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bg-border);
    position: relative;
    overflow: hidden;
}

.sidebar-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.sidebar-logo-img { width: 10rem; height: auto; max-width: 100%; display: block; }
@media (max-width: 768px) {
    .sidebar-logo-img { width: 7rem; }
}

.sidebar-user {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(    --bg-border);
    position: relative;
}

.sidebar-user .avatar {
    position: relative;
}

.sidebar-user .avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(    --bg-card);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.sidebar-user .avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.sidebar-user:hover .avatar img {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.sidebar-nav { list-style: none; padding: 12px 0; margin: 0; }

.sidebar-nav li.divider {
    padding: 16px 24px 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 24px;
    color: var(--text-sec);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
    margin: 2px 8px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.sidebar-nav li a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,92,231,0.1), transparent);
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
}

.sidebar-nav li a:hover::before,
.sidebar-nav li.active a::before { opacity: 1; }

.sidebar-nav li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.sidebar-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.sidebar-nav li a span { position: relative; z-index: 1; }

.sidebar-nav li.active a {
    color: #fff;
    border-left-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(108,92,231,0.05);
}

/* ===== TOP NAVBAR ===== */
#page-content-wrapper {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.top-navbar {
    background: var(--topbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-sec);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.toggle-btn:hover { background: rgba(255,255,255,0.05); color: #fff; transform: scale(1.1); }

.top-nav-right { display: flex; align-items: center; gap: 20px; }

.balance-badge {
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.balance-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(108,92,231,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.balance-badge:hover::before { transform: translateX(100%); }

.balance-badge:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108,92,231,0.2);
}

.dollar-icon { color: var(--success); font-size: 8px; animation: pulse 2s infinite; }

.theme-toggle {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    color: var(--text-sec);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(30deg) scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.notification-icon {
    position: relative;
    color: var(--text-sec);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.notification-icon:hover { color: var(--text); transform: scale(1.1); }

.notification-icon .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
}

.top-avatar img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(    --bg-border);
    cursor: pointer;
    transition: var(--transition);
}

.top-avatar img:hover { border-color: var(--primary); transform: scale(1.1); }

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.stat-card:nth-child(1)::before { background: var(--gradient-1); }
.stat-card:nth-child(2)::before { background: var(--gradient-2); }
.stat-card:nth-child(3)::before { background: var(--gradient-3); }
.stat-card:nth-child(4)::before { background: var(--gradient-4); }
.stat-card:nth-child(5)::before { background: var(--gradient-5); }
.stat-card:nth-child(6)::before { background: var(--gradient-6); }
.stat-card:nth-child(7)::before { background: var(--gradient-2); }
.stat-card:nth-child(8)::before { background: var(--gradient-1); }

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 100%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 92, 231, 0.3);
}

.stat-card:active { transform: translateY(-2px) scale(1.01); }

.stat-card .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
    transition: var(--transition);
    position: relative;
}

.stat-card:hover .stat-icon { transform: scale(1.1) rotate(-5deg); }

.stat-card:nth-child(1) .stat-icon { background: rgba(108,92,231,0.15); color: var(--primary); }
.stat-card:nth-child(2) .stat-icon { background: rgba(0,184,148,0.15); color: var(--success); }
.stat-card:nth-child(3) .stat-icon { background: rgba(225,112,85,0.15); color: var(--danger); }
.stat-card:nth-child(4) .stat-icon { background: rgba(116,185,255,0.15); color: var(--info); }
.stat-card:nth-child(5) .stat-icon { background: rgba(253,121,168,0.15); color: var(--pink); }
.stat-card:nth-child(6) .stat-icon { background: rgba(253,203,110,0.15); color: var(--warning); }
.stat-card:nth-child(7) .stat-icon { background: rgba(0,184,148,0.15); color: var(--success); }
.stat-card:nth-child(8) .stat-icon { background: rgba(108,92,231,0.15); color: var(--primary); }

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 6px;
    font-weight: 500;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    transition: var(--transition);
}

.stat-card:hover .stat-value {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-change {
    font-size: 12px;
    color: var(--success);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(    --bg-border), transparent);
    margin-left: 12px;
}

.section-title i {
    color: var(--primary);
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 992px) { .dashboard-grid { grid-template-columns: 1fr; } }

/* ===== CARDS ===== */
.card-dash {
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-dash::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition-slow);
}

.card-dash:hover::before { left: 0; }
.card-dash:hover { border-color: rgba(108,92,231,0.2); box-shadow: var(--shadow-glow); }

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

.card-header-dash h5 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== INVESTMENT TIMER ===== */
.investment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    background: var(    --bg-card2);
    border-radius: var(--radius-sm);
    border: 1px solid var(    --bg-border);
    transition: var(--transition);
}

.detail-item:hover {
    border-color: rgba(108,92,231,0.3);
    transform: translateX(4px);
}

.detail-item .label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item .value {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
    margin-top: 2px;
}

.progress-section { margin-top: 16px; }

.progress-section .progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-sec);
    margin-bottom: 8px;
}

.progress-bar-custom {
    height: 8px;
    background: var(    --bg-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-custom .progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-bar-custom .progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

/* ===== TIMER DISPLAY ===== */
.timer-display {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.timer-block {
    text-align: center;
    background: var(    --bg-card2);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    min-width: 70px;
    border: 1px solid var(    --bg-border);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.timer-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.timer-block:hover::before { opacity: 1; }
.timer-block:hover { border-color: rgba(108,92,231,0.3); transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

.timer-block .number {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.timer-block .label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ===== TABLES ===== */
.table-dash {
    width: 100%;
    border-collapse: collapse;
}

.table-dash thead th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(    --bg-border);
}

.table-dash tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    transition: var(--transition);
}

.table-dash tbody tr {
    transition: var(--transition);
}

.table-dash tbody tr:hover {
    background: rgba(108, 92, 231, 0.05);
    transform: scale(1.005);
}

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

/* ===== BADGES ===== */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.status-active { background: rgba(0,184,148,0.15); color: var(--success); }
.status-active::before { content: ''; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
.status-active { padding-left: 20px; }

.status-pending { background: rgba(253,203,110,0.15); color: var(--warning); }
.status-paid { background: rgba(108,92,231,0.15); color: var(--primary); }
.status-approved { background: rgba(0,184,148,0.15); color: var(--success); }
.badge-custom { padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-running { background: rgba(0,184,148,0.15); color: var(--success); }
.badge-completed { background: rgba(108,92,231,0.15); color: var(--primary); }

/* ===== FORMS ===== */
.form-dash .form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sec);
    margin-bottom: 6px;
}

.form-dash .form-control,
.form-dash .form-select {
    background: var(    --bg-card2) !important;
    border: 1px solid var(    --bg-border) !important;
    color: var(--text) !important;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}

.form-dash .form-control:focus,
.form-dash .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15) !important;
    background: var(    --bg-card2) !important;
    color: var(--text) !important;
    transform: translateY(-1px);
}

.form-dash .form-control::placeholder { color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn-primary-dash {
    background: var(--gradient-1);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary-dash::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-dash:hover::before { opacity: 1; }

.btn-primary-dash:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.btn-primary-dash:active { transform: translateY(-1px); }

/* ===== METHOD CARDS ===== */
.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.method-card {
    background: var(    --bg-card2);
    border: 2px solid var(    --bg-border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108,92,231,0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.method-card:hover::before { opacity: 1; }
.method-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.method-card.active { border-color: var(--primary); background: rgba(108,92,231,0.1); }
.method-card.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--success);
    font-size: 14px;
}

.method-card i { font-size: 36px; margin-bottom: 8px; display: block; transition: var(--transition); }
.method-card:hover i { transform: scale(1.15) rotate(-5deg); }

/* ===== UPLOAD BOX ===== */
.upload-box {
    border: 2px dashed var(    --bg-border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(    --bg-card2);
}

.upload-box:hover {
    border-color: var(--primary);
    background: rgba(108,92,231,0.05);
    transform: scale(1.02);
}

.upload-box i { font-size: 36px; color: var(--text-muted); margin-bottom: 8px; transition: var(--transition); }
.upload-box:hover i { color: var(--primary); transform: translateY(-4px); }

/* ===== REFERRAL BOX ===== */
.referral-box {
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.referral-link-box {
    display: flex;
    background: var(    --bg-card2);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    transition: var(--transition);
}

.referral-link-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,92,231,0.1); }

.referral-link-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text);
    font-size: 13px;
    outline: none;
}

.referral-link-box .copy-btn {
    background: var(--primary);
    border: none;
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.referral-link-box .copy-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ===== COMMISSION CARDS ===== */
.commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.commission-card {
    background: var(    --bg-card2);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.commission-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.commission-card .level {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.commission-card .percent {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PLAN CARDS ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.plan-card {
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(108,92,231,0.03) 100%);
    pointer-events: none;
}

.plan-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.15);
    transform: scale(1.03);
}

.plan-card.popular::after {
    content: 'Most Popular';
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--gradient-1);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(108,92,231,0.3);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.plan-card.popular:hover { transform: translateY(-8px) scale(1.03); }

.plan-card .plan-icon { font-size: 40px; margin-bottom: 16px; transition: var(--transition); }
.plan-card:hover .plan-icon { transform: scale(1.2) rotate(-10deg); }
.plan-card:nth-child(1) .plan-icon { color: var(--success); }
.plan-card:nth-child(2) .plan-icon { color: var(--primary); }
.plan-card:nth-child(3) .plan-icon { color: var(--warning); }

.plan-card .plan-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.plan-card .plan-price {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.plan-card .plan-price span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

.plan-card .btn-plan {
    background: var(    --bg-card2);
    border: 1px solid var(    --bg-border);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.plan-card .btn-plan::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.plan-card .btn-plan:hover::before { opacity: 1; }
.plan-card .btn-plan span { position: relative; z-index: 1; }
.plan-card .btn-plan:hover { border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,92,231,0.3); }

.plan-card.popular .btn-plan { background: var(--gradient-1); border: none; }
.plan-card.popular .btn-plan::before { display: none; }

/* ===== TICKET LIST ===== */
.ticket-list .ticket-item {
    background: var(    --bg-card2);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
}

.ticket-item:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-glow);
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.hero-stat {
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(108,92,231,0.03));
    opacity: 0;
    transition: var(--transition);
}

.hero-stat:hover::before { opacity: 1; }
.hero-stat:hover { transform: translateY(-4px); border-color: rgba(108,92,231,0.3); box-shadow: var(--shadow-glow); }

.hero-stat .hero-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
}

.hero-stat:hover .hero-value {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PROFILE ===== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(    --bg-card);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius);
    margin-bottom: 24px;
    transition: var(--transition);
}

.profile-header:hover { border-color: rgba(108,92,231,0.3); }

.profile-header .profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    transition: var(--transition);
}

.profile-header:hover .profile-img { transform: scale(1.05) rotate(-5deg); border-color: var(--primary-light); }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 576px) { .info-grid { grid-template-columns: 1fr; } }

.info-item {
    background: var(    --bg-card2);
    border: 1px solid var(    --bg-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: var(--transition);
}

.info-item:hover {
    border-color: rgba(108,92,231,0.3);
    transform: translateY(-2px);
}

/* ===== CHART CONTAINER ===== */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

/* ===== LIVE COUNTER CHILD ANIMATIONS ===== */
.counter-value { font-variant-numeric: tabular-nums; }

/* ===== FOOTER ===== */
.dashboard-footer {
    border-top: 1px solid var(    --bg-border);
    color: var(--text-muted);
    margin-top: auto;
    position: relative;
}

/* ===== ANIMATED ENTRIES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(108,92,231,0.2); }
    50% { box-shadow: 0 0 20px rgba(108,92,231,0.4); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Staggered card animations */
.stat-card { animation: fadeInUp 0.6s ease forwards; opacity: 0; }
.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 0.05s; }
.stat-card:nth-child(3) { animation-delay: 0.1s; }
.stat-card:nth-child(4) { animation-delay: 0.15s; }
.stat-card:nth-child(5) { animation-delay: 0.2s; }
.stat-card:nth-child(6) { animation-delay: 0.25s; }
.stat-card:nth-child(7) { animation-delay: 0.3s; }
.stat-card:nth-child(8) { animation-delay: 0.35s; }

.card-dash { animation: scaleIn 0.5s ease forwards; opacity: 0; }
.card-dash:nth-child(1) { animation-delay: 0.1s; }
.card-dash:nth-child(2) { animation-delay: 0.2s; }

.hero-stat { animation: fadeInUp 0.5s ease forwards; opacity: 0; }
.hero-stat:nth-child(1) { animation-delay: 0s; }
.hero-stat:nth-child(2) { animation-delay: 0.05s; }
.hero-stat:nth-child(3) { animation-delay: 0.1s; }
.hero-stat:nth-child(4) { animation-delay: 0.15s; }
.hero-stat:nth-child(5) { animation-delay: 0.2s; }

/* Glowing animation for important elements */
.stat-card:nth-child(1):hover,
.plan-card.popular { animation: glow 2s ease-in-out infinite; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; }
}
@media (max-width: 768px) {
    .sidebar { margin-left: -260px; }
    .sidebar.show { margin-left: 0; }
    #page-content-wrapper { margin-left: 0; }
    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }
    .method-grid { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; }
    .investment-details { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .timer-display { gap: 8px; flex-wrap: wrap; }
    .timer-block { min-width: 60px; padding: 10px 12px; }
    .timer-block .number { font-size: 22px; }
    .dashboard-grid { grid-template-columns: 1fr !important; }
    .info-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 576px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .table-dash thead { display: none; }
    .table-dash tbody tr {
        display: block;
        padding: 12px;
        margin-bottom: 12px;
        background: var(--bg-card2);
        border-radius: var(--radius-sm);
        border: 1px solid var(--border);
    }
    .table-dash tbody tr:hover { transform: none; background: var(--bg-card2); }
    .table-dash tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 4px;
        border-bottom: 1px solid rgba(30,41,59,0.3);
        text-align: right;
        gap: 8px;
    }
    .table-dash tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        color: var(--text-muted);
        text-align: left;
        flex-shrink: 0;
    }
    .table-dash tbody tr:last-child td { border-bottom: 1px solid rgba(30,41,59,0.3); }
    .table-dash tbody tr td:last-child { border-bottom: none; }
    .table-dash tbody td:first-child { padding-top: 4px; }
    .table-dash tbody td:last-child { padding-bottom: 4px; }
}

/* ===== LOADING SHIMMER ===== */
.shimmer {
    background: linear-gradient(90deg, var(    --bg-card2) 25%, var(    --bg-card3) 50%, var(    --bg-card2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* ===== SELECT DROPDOWN FIX ===== */
.form-select option { background: var(    --bg-card2); color: var(--text); }
