.donators-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.donator-item {
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.donator-item a {
    text-decoration: none !important;
    display: block;
}

.donator-avatar-container {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.donator-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.donator-rank {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 24px;
    height: 24px;
    background: rgb(0 0 0 / 25%);
    backdrop-filter: blur(4px);
    border: 1.5px solid #ffffffa6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.donator-rank i {
    transform: rotate(-10deg);
}

.donator-name {
    display: block;
    font-size: 11px;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    margin-bottom: 2px;
}

.donator-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.donator-amount {
    font-weight: 700;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    font-size: 10px;
}

.donator-badges {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid transparent;
}

.badge i {
    font-size: 8px;
    opacity: 0.8;
}

.transfer-badge {
    background: #e3f2fd;
    color: #1976d2;
    border-color: rgba(25, 118, 210, 0.1);
}

.gift-badge {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: rgba(123, 31, 162, 0.1);
}

.donator-item:hover {
    transform: translateY(-5px);
}

.donator-item:hover .donator-avatar-container {
    border-color: currentColor;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.donator-item:hover .donator-name {
    opacity: 0.8;
}

.empty-list {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
    color: #9E9E9E;
    padding: 20px 0;
}

.rank-icon-top1 {
    color: #FFD700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.rank-icon-top2 {
    color: #C0C0C0;
    text-shadow: 0 0 5px rgba(192, 192, 192, 0.3);
}

.rank-icon-top3 {
    color: #CD7F32;
    text-shadow: 0 0 5px rgba(205, 127, 50, 0.3);
}

/* 
.donator-rank i {
    font-size: 10px;
    display: block;
}*/

.donator-item.top-0 .donator-avatar-container {
    border-color: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.donator-item.top-1 .donator-avatar-container {
    border-color: #C0C0C0;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
}

.donator-item.top-2 .donator-avatar-container {
    border-color: #CD7F32;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

.rank-icon-top0 {
    color: #FFD700;
}

.rank-icon-top1 {
    color: #C0C0C0;
}

.rank-icon-top2 {
    color: #CD7F32;
}

.modal-profile-header {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px 20px 0px 0px;
}

.progress-info {
    background: #2a2930;
    border-radius: 15px;
}

.donator-progress-container {
    background: #2a2930;
    padding: 20px;
    border-radius: 18px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.progress-left small {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    font-weight: 800;
    display: block;
}

.total-amount {
    font-size: 22px;
    font-weight: 800;
    color: #28a745;
    display: block;
    line-height: 1;
}

.progress-right small {
    font-size: 10px;
    color: #666;
}

.donator-bar {
    height: 10px;
    border-radius: 10px;
    background: #e9ecef;
}

.progress-footer {
    text-align: center;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #999;
}

.stat-row {
    margin-top: 15px;
}

.stat-card {
    background: #2a2930;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #e0e0e0;
}

.stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 16px;
}

.card-transfer .stat-icon {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.card-gift .stat-icon {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #a2a2a2;
    line-height: 1;
}

.stat-label {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    color: #bbb;
    margin: 4px 0;
}

.stat-sum {
    font-size: 13px;
    font-weight: 700;
}

.card-transfer .stat-sum {
    color: #28a745;
}

.card-gift .stat-sum {
    color: #007bff;
}

.skeleton {
    background-color: #e0e0e060 !important;
    border: none !important;
    box-shadow: none !important;
    position: relative;
    animation: skeleton-pulse 1.8s ease-in-out infinite !important;
}

@keyframes skeleton-pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

.commission-indicator {
    background: #26252b;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;

}

.header-cover-blur {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.7);
    transform: scale(1.1);
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.donator-modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    text-shadow: none;
    opacity: 0.8;
    z-index: 4;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.modal-avatar-main {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    border: 3px solid #fff;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-rank-tag {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user-group-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.border-right {
    border-right: 1px solid #eee;
}

.rounded-pill {
    border-radius: 50px !important;
}

.modal-avatar-link {
    position: relative;
    display: inline-block;
    transition: transform 0.2s ease;
}

.modal-avatar-link:hover {
    transform: scale(1.05);
}

.profile-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 20px;
}

.modal-avatar-link:hover .profile-link-overlay {
    opacity: 1;
}

.modal-profile-header {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-cover-blur {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 115%;
    height: 115%;
    background-size: cover;
    background-position: center;
    filter: blur(12px) brightness(0.7);
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.header-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.modal-avatar-main {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    border: 3px solid #fff;
    object-fit: cover;
}

.modal-rank-tag {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}