
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
            min-height: 100vh;
            color: #ffffff;
            line-height: 1.6;
        }

       .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 70px;
            margin-right: -23px;
        }

       .sidebar {
            position: fixed;
            top: 0;
            /* right: 0; */
            width: 390px;
            height: 100vh;
            background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
            border-left: 2px solid #333;
            padding: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
        }

        .logo-section {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 2px solid #333;
        }

        .logo {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #ffff00, #ffd700);
            border-radius: 50%;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #000000;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(255, 255, 0, 0.3);
        }

        .logo-text {
            color: #ffff00;
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .logo-subtitle {
            color: #cccccc;
            font-size: 0.8rem;
        }

        .menu-section {
            flex-grow: 1;
        }

        .menu-item {
            display: block;
            width: 100%;
            padding: 15px 20px;
            background: transparent;
            border: 2px solid #333;
            border-radius: 12px;
            color: #ffffff;
            text-decoration: none;
            margin-bottom: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 500;
            text-align: left;
        }

        .menu-item:hover {
            border-color: #ffff00;
            background: linear-gradient(45deg, rgba(255, 255, 0, 0.1), rgba(255, 215, 0, 0.1));
            color: #ffff00;
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(255, 255, 0, 0.2);
        }

        .menu-item.active {
            background: linear-gradient(45deg, #ffff00, #ffd700);
            color: #000000;
            border-color: #ffff00;
            font-weight: bold;
        }

        .menu-icon {
            margin-right: 10px;
            font-size: 1.2rem;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px 0;
            border-bottom: 2px solid #333;
        }

        .header h1 {
            font-size: 3rem;
            background: linear-gradient(45deg, #ffffff, #ffff00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
        }

        .header p {
            color: #cccccc;
            font-size: 1.2rem;
        }

        .tab-area {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            border: 2px solid #333;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .tab-item {
            width: 100%;
        }

        .deposite-table {
            overflow-x: auto;
            border-radius: 15px;
            border: 2px solid #333;
            background: #0a0a0a;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }

        thead {
            background: linear-gradient(45deg, #ffff00, #ffd700);
        }

        th {
            padding: 15px 10px;
            color: #000000;
            font-weight: bold;
            text-align: center;
            font-size: 1rem;
        }

        tbody tr {
            border-bottom: 1px solid #333;
            transition: all 0.3s ease;
        }

        tbody tr:hover {
            background: linear-gradient(45deg, rgba(255, 255, 0, 0.1), rgba(255, 215, 0, 0.1));
        }

        tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.02);
        }

        tbody tr:nth-child(even):hover {
            background: linear-gradient(45deg, rgba(255, 255, 0, 0.1), rgba(255, 215, 0, 0.1));
        }

        td {
            padding: 12px 10px;
            text-align: center;
            color: #ffffff;
            font-size: 0.9rem;
        }

        td[data-label="Level"] {
            font-weight: bold;
            color: #ffff00;
        }

        td[data-label="Referral"] {
            color: #00ff00;
            font-weight: 600;
        }

        td[data-label="Generation"] {
            color: #ff6b6b;
            font-weight: 600;
        }

        .table-title {
            text-align: center;
            margin-bottom: 25px;
            font-size: 2rem;
            background: linear-gradient(45deg, #ffffff, #ffff00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stats-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .stat-card {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 20px;
            border-radius: 15px;
            border: 2px solid #333;
            text-align: center;
            transition: all 0.3s ease;
        }

        .stat-card:hover {
            border-color: #ffff00;
            box-shadow: 0 10px 25px rgba(255, 255, 0, 0.2);
        }

        .stat-card h3 {
            color: #ffff00;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: bold;
            color: #ffffff;
        }

        .highlight-row {
            background: linear-gradient(45deg, rgba(255, 255, 0, 0.2), rgba(255, 215, 0, 0.2)) !important;
        }

        @media (max-width: 768px) {
            .container {
                margin-left: 0;
                padding: 10px;
                padding-top: 80px;
            }
            
            .sidebar {
                width: 100%;
                height: 70px;
                flex-direction: row;
                padding: 10px 20px;
                position: fixed;
                top: 0;
                left: 0;
                border-right: none;
                border-bottom: 2px solid #333;
            }

            .logo-section {
                flex-direction: row;
                align-items: center;
                margin-bottom: 0;
                padding-bottom: 0;
                border-bottom: none;
                margin-right: 20px;
            }

            .logo {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
                margin: 0 10px 0 0;
            }

            .logo-text {
                font-size: 1rem;
                margin-bottom: 0;
            }

            .logo-subtitle {
                display: none;
            }

            .menu-section {
                display: flex;
                gap: 10px;
                flex-grow: 1;
            }

            .menu-item {
                margin-bottom: 0;
                padding: 10px 15px;
                font-size: 0.9rem;
                white-space: nowrap;
            }

            .menu-item:hover {
                transform: translateY(-2px);
            }

            .header h1 {
                font-size: 2rem;
            }

            table {
                font-size: 0.8rem;
            }

            th, td {
                padding: 8px 5px;
            }

            .stats-summary {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            /* Mobile table responsive */
            .deposite-table {
                border: none;
                background: transparent;
            }

            table, thead, tbody, th, td, tr {
                display: block;
            }

            thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            tr {
                background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
                border: 2px solid #333;
                border-radius: 10px;
                margin-bottom: 15px;
                padding: 15px;
            }

            tr:hover {
                border-color: #ffff00;
            }

            td {
                border: none;
                position: relative;
                padding: 8px 8px 8px 120px;
                text-align: left;
                white-space: nowrap;
            }

            td:before {
                content: attr(data-label) ": ";
                position: absolute;
                left: 15px;
                width: 100px;
                padding-right: 10px;
                white-space: nowrap;
                font-weight: bold;
                color: #ffff00;
            }
        }

        .glow {
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { text-shadow: 0 0 20px rgba(255, 255, 0, 0.3); }
            to { text-shadow: 0 0 30px rgba(255, 255, 0, 0.6); }
        }
   
        .wallet-section {
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            padding: 20px;
            border-radius: 15px;
            border: 2px solid #333;
            margin-bottom: 30px;
            text-align: center;
        }

        .wallet-btn {
            background: linear-gradient(45deg, #ffff00, #ffd700);
            color: #000000;
            padding: 15px 30px;
            border: none;
            border-radius: 25px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(255, 255, 0, 0.3);
        }

        .wallet-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(255, 255, 0, 0.5);
        }

        .wallet-connected {
            background: linear-gradient(45deg, #00ff00, #32cd32);
            color: #000000;
        }


        /* Desktop Sidebar - Original Design */
.sidebar {
            position: fixed;
            top: 0;
            /* right: 0; */
            width: 390px;
            height: 100vh;
            background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
            border-left: 2px solid #333;
            padding: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
        }

.container {
    margin-left: 333px; /* Space for sidebar */
    padding: -23px;
    transition: all 0.3s ease;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.menu-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.menu-item:hover {
    background: rgba(255, 255, 0, 0.1);
    color: #ffff00;
    transform: translateX(5px);
}

.menu-item.active {
    background: linear-gradient(45deg, #ffff00, #ff8800);
    color: #000;
    font-weight: bold;
}

.menu-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Mobile Menu Toggle Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(45deg, #ffff00, #ff8800);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 1.3rem;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 0, 0.4);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Mobile Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Reset container for mobile */
    .container {
        margin-left: 0;
        padding: 15px;
        padding-top: 80px; /* Space for mobile header */
    }
    
    /* Mobile Header */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        /* width: 100%; */
        height: 70px;
        background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
        border-bottom: 2px solid #333;
        z-index: 1001;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    /* Mobile Logo */
    .mobile-logo img {
        height: 40px;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Hide desktop sidebar */
    .sidebar {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        padding: 20px;
        background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
        border-right: 2px solid #333;
        border-top: 1px solid #333;
        transition: all 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }
    
    /* Show sidebar when active */
    .sidebar.active {
        left: 0;
    }
    
    /* Mobile logo section adjustments */
    .logo-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .logo-section img {
        height: 50px;
    }
    
    /* Mobile menu items */
    .menu-item {
        padding: 15px 18px;
        font-size: 1rem;
        margin-bottom: 8px;
        border-radius: 10px;
    }
    
    .menu-item:hover {
        transform: translateX(8px);
        box-shadow: 0 3px 10px rgba(255, 255, 0, 0.3);
    }
    
    .menu-icon {
        font-size: 1.4rem;
        margin-right: 12px;
    }
    
    /* Mobile menu animation */
    .menu-section {
        gap: 5px;
    }
    
    /* Rotate toggle icon when active */
    .mobile-menu-toggle.active {
        transform: rotate(90deg);
        background: linear-gradient(45deg, #ff8800, #ffff00);
    }

    /* Community specific mobile adjustments */
    .stats-summary {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .stat-card {
        padding: 15px !important;
    }

    .tab-area {
        margin-top: 20px;
    }

    .deposite-table {
        overflow-x: auto;
    }

    .deposite-table table {
        min-width: 600px;
    }

    .quick-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .action-btn {
        width: 100% !important;
        margin: 0 !important;
    }

    .referral-section {
        margin-top: 30px;
    }

    .referral-link-container {
        flex-direction: column !important;
        gap: 10px;
    }

    .referral-link {
        margin-bottom: 10px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .mobile-header {
        padding: 0 15px;
        height: 65px;
    }
    
    .container {
        padding: 10px;
        padding-top: 75px;
    }
    
    .sidebar {
        width: 250px;
        top: 65px;
        height: calc(100vh - 65px);
        padding: 15px;
    }
    
    .mobile-logo img {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.2rem;
        padding: 8px 10px;
    }

    .stats-summary {
        grid-template-columns: 1fr !important;
    }

    .header h1 {
        font-size: 1.5rem !important;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .sidebar {
        width: 220px;
    }
    
    .menu-item {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .stat-card h3 {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1.3rem !important;
    }
}


/* Clickable heads styling */
.clickable-head {
    color: #ffff00 !important;
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}

.clickable-head:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
    transform: scale(1.1);
}

.loading-head {
    color: #ffff00;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.empty-level {
    color: #666666;
    cursor: not-allowed;
}

/* Modal styling */
.user-list-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.user-list-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #ffff00;
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
}

.user-list-header {
    color: #ffff00;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.user-list-count {
    text-align: center;
    color: #cccccc;
    margin-bottom: 20px;
}

.user-item {
    background: rgba(255, 255, 0, 0.1);
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    border-left: 3px solid #ffff00;
    font-family: monospace;
    word-break: break-all;
}

.close-modal-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.close-modal-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}


.connect-wallet-btn {
  background-color: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.connect-wallet-btn:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.connect-wallet-btn:active {
  transform: scale(0.98);
  background-color: #cca300;
}

#disconnectBtn {
  display: none;
}


.header-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
}
