        :root {
            --primary: #5A2A9B;
            --secondary: #c69fff;
            --accent: #ff00e1;
            --text: #333;
            --light-text: #777;
            --bg: #f9f9f9;
            --white: #ffffff;
            --erty: #a0008d;
            --eryhg: #210a41;
            --dark-purple: #3a1a6a;
        }

        /* Referral Section */
        .referral-section {
            margin-top: 15px;
        }

        .referral-card {
            background: var(--white);
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            margin-bottom: 20px;
        }

        .referral-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .referral-header i {
            font-size: 28px;
            color: var(--primary);
            margin-right: 15px;
        }

        .referral-header h2 {
            font-size: 20px;
            color: var(--primary);
        }

        .referral-link-container {
            display: flex;
            margin-bottom: 25px;
        }

        .referral-link {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            background: #f5f5f5;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .copy-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 20px;
            border-radius: 8px;
            margin-left: 10px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .copy-btn:hover {
            background: var(--dark-purple);
        }

        .referral-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 25px;
        }

        .stat-item {
            text-align: center;
            flex: 1;
        }

        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: var(--primary);
        }

        .stat-label {
            font-size: 13px;
            color: var(--light-text);
        }

        .bonus-card {
            background-image: linear-gradient(to right, var(--eryhg), var(--erty));
            color: white;
            padding: 20px;
            border-radius: 12px;
        }

        .bonus-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .bonus-title {
            font-size: 18px;
            font-weight: bold;
        }

        .bonus-amount {
            font-size: 24px;
            font-weight: bold;
        }

        .withdraw-btn {
            background: white;
            color: var(--primary);
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .withdraw-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }

        .referrals-list {
            background: var(--white);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        .referrals-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .referrals-title {
            font-size: 18px;
            color: var(--primary);
            font-weight: bold;
        }

        .referrals-count {
            color: var(--light-text);
            font-size: 14px;
        }

        .referral-item {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: all 0.2s;
        }

        .referral-item:last-child {
            border-bottom: none;
        }

        .referral-item:hover {
            background: rgba(90, 42, 155, 0.05);
        }

        .referral-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-weight: bold;
        }

        .referral-info {
            flex: 1;
        }

        .referral-name {
            font-weight: 500;
            margin-bottom: 3px;
        }

        .referral-date {
            font-size: 12px;
            color: var(--light-text);
        }

        .referral-status {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-active {
            background: rgba(0, 200, 83, 0.1);
            color: #00C853;
        }

        .status-pending {
            background: rgba(255, 171, 0, 0.1);
            color: #FFAB00;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .referral-stats {
                flex-direction: column;
                gap: 20px;
            }
            
            .referral-link-container {
                flex-direction: column;
                gap: 10px;
            }
            
            .copy-btn {
                margin-left: 0;
                padding: 12px;
            }
        }