.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: #fcd535;
}

.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: #fcd535;
    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: #fcd535;
    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: center;
    gap: 10px;
    margin-top: 20px;
}

.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: #fcd535;
    color: #181a20;
    border-color: #fcd535;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.active {
    background-color: #fcd535;
    color: #181a20;
}

@media (max-width: 1024px) {
    .points-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .points-table th,
    .points-table td {
        padding: 10px;
    }
    
    .points-table th:nth-child(4),
    .points-table td:nth-child(4),
    .points-table th:nth-child(5),
    .points-table td:nth-child(5),
    .points-table th:nth-child(6),
    .points-table td:nth-child(6) {
        display: none;
    }
    
    .wallet-address {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .points-stats {
        grid-template-columns: 1fr;
    }
    
    .points-table th:nth-child(3),
    .points-table td:nth-child(3) {
        display: none;
    }
    
    .wallet-address {
        max-width: 100px;
    }
}

.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 #fcd535;
}

.my-data-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.my-data-title {
    color: #fcd535;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.user-wallet-display {
    font-family: monospace;
    color: #fcd535;
    font-size: 14px;
    background-color: rgba(252, 213, 53, 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(252, 213, 53, 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: #fcd535;
    font-weight: 500;
}

.my-data-table td {
    color: #fff;
}

.connect-wallet-btn {
    background-color: #fcd535;
    color: #181a20;
    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: #e5c130;
    transform: translateY(-2px);
}

.wallet-connected {
    display: none;
}

.wallet-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.redeem-token-btn {
    background-color: #2a2e39;
    color: #fcd535;
    border: 1px solid #fcd535;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.redeem-token-btn:hover {
    background-color: rgba(252, 213, 53, 0.1);
}