.points-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background-color: #242730;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card i {
    font-size: 24px;
    color: #bcff30;
}

.stats-info {
    display: flex;
    flex-direction: column;
}

.stats-value {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.stats-label {
    font-size: 14px;
    color: #848e9c;
}

.points-table-container {
    background-color: #242730;
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.points-table {
    width: 100%;
    border-collapse: collapse;
}

.points-table th,
.points-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.points-table th {
    color: #bcff30;
    font-weight: 500;
    position: sticky;
    top: 0;
    background-color: #242730;
    z-index: 10;
}

.points-table tbody tr {
    transition: background-color 0.3s ease;
}

.points-table tbody tr:hover {
    background-color: #2a2e39;
}

.points-table td {
    color: #fff;
}

.wallet-address {
    font-family: monospace;
    border: none;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.highlight {
    color: #bcff30;
    font-weight: bold;
}

.rank-1,
.rank-2,
.rank-3 {
    font-weight: bold;
}

.rank-1 {
    color: gold;
}

.rank-2 {
    color: silver;
}

.rank-3 {
    color: #cd7f32;
}

.pagination {
    display: flex;
    justify-content: start;
    gap: 10px;
    margin: 20px 0;
}

.page-btn {
    padding: 8px 15px;
    background-color: #242730;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #2a2e39;
}

.page-btn.active {
    background-color: #bcff30;
    color: #000000;
    border-color: #bcff30;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.active {
    background-color: #bcff30;
    color: #000000;
}

@media (max-width: 1024px) {
    .points-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .points-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .points-table {
        min-width: 600px;
    }

    .points-table th,
    .points-table td {
        padding: 10px;
        white-space: nowrap;
    }

    .wallet-address {
        max-width: 120px;
    }

    .bottom-bar {
        display: none;
    }

    .my-data-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .my-data-table {
        min-width: 600px;
    }

    .my-data-table th,
    .my-data-table td {
        padding: 10px;
        white-space: nowrap;
    }

    .my-data-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wallet-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .user-wallet-display {
        max-width: 100%;
    }

    .pagination {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .page-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .points-stats {
        grid-template-columns: 1fr;
    }

    .points-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .points-table {
        min-width: 600px;
    }

    .points-table th,
    .points-table td {
        padding: 8px;
        white-space: nowrap;
    }

    .wallet-address {
        max-width: 100px;
    }

    .my-data-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
    }

    .my-data-table {
        min-width: 600px;
    }

    .my-data-table th,
    .my-data-table td {
        padding: 8px;
        white-space: nowrap;
    }

    .my-data-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wallet-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .user-wallet-display {
        max-width: 100%;
        font-size: 12px;
    }

    .redeem-token-btn {
        font-size: 12px;
        padding: 4px 8px;
    }

    .pagination {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .page-btn {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 14px;
    }
}

.sidebar {
    display: none;
}

.main-content {
    width: 100%;
    padding: 0 20px;
}

.my-data-container {
    background-color: #242730;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #bcff30;
}

.my-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.my-data-title {
    color: #bcff30;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.user-wallet-display {
    font-family: monospace;
    color: #bcff30;
    font-size: 14px;
    background-color: rgba(188, 255, 48, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-wallet-display:hover {
    background-color: rgba(188, 255, 48, 0.2);
}

.my-data-table {
    width: 100%;
    border-collapse: collapse;
}

.my-data-table th,
.my-data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.my-data-table th {
    color: #bcff30;
    font-weight: 500;
}

.my-data-table td {
    color: #fff;
}

.connect-wallet-btn {
    background-color: #bcff30;
    color: #000000;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px auto;
}

.connect-wallet-btn:hover {
    background-color: #a3e625;
    transform: translateY(-2px);
}

.wallet-connected {
    display: none;
}

.wallet-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.redeem-token-btn {
    background-color: #2a2e39;
    color: #bcff30;
    border: 1px solid #bcff30;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.redeem-token-btn:hover {
    background-color: rgba(188, 255, 48, 0.1);
}