.ranking-wrap {
    width: 100%;
    min-height: calc(100vh - 15.25rem);
    margin-bottom: 2rem;
}

.ranking-banner {
    background-color: #111817;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ranking-banner .title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.ranking-banner .desc {
    color: #6c757f !important;
}

.ranking {
    max-width: 75rem;
    margin: 0 auto;
    padding-top: 2rem;
}

.ranking .date {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.ranking .date a {
    padding: .5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 2rem;
    font-size: .85rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ranking .date a.active {
    background-color: #0ea5e9;
    color: #fff;
    border: none;
}

.statis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 1rem;
    gap: 1rem;
    margin-top: 2rem;
}

.statis .statis-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    border: 1px solid #e9ecef;
    padding: 2rem 1rem;
    border-radius: .5rem;
}

.statis-item i {
    color: #0ea5e9;
}

.statis .statis-item .statis-info {
    display: flex;
    flex-direction: column;
}

.statis .statis-item .statis-info span:first-child {
    font-size: 1.25rem;
    color: #333;
}

.statis .statis-item .statis-info span:nth-child(2) {
    font-size: .75rem;
    color: #666;
}

.rankings-table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 2rem;
    max-width: 75rem;
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #666;
}
.rank-col{
    color: #333;
    font-weight: 500;
}

.user-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spins-col, .value-col {
    text-align: right;
    color: #333;
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    animation: fadeInUp 0.4s ease backwards;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.username {
    font-weight: 500;
    color: #333;
}

.vip-level {
    font-size: 12px;
    color: #ff9800;
}

@media (max-width: 768px) {
    .rankings-table{
        margin: .5rem;
    }
    .table-row{
        grid-template-columns:repeat(4,1fr);
    }
}