.donors-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    animation: slideIn 1s ease-out 0.3s both;
}

.donors-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    animation: rotate 10s linear infinite reverse;
    pointer-events: none;
}

.donors-header {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-clip: text;
    position: relative;
    z-index: 2;
    right: 26%;
}

.donors-button {
    width: 16%;
    padding: 12px;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    text-align: center;
}

.donors-button:hover {
    color: #d1d1d1;
}

.donors-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    color: #333;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #49108B, #FF5F9E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donors-list {
    max-height: 300px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
}

.donors-list::-webkit-scrollbar {
    width: 6px;
}

.donors-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 3px;
}

.donors-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.donor-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.donor-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

.donor-item:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.donor-item:hover::before {
    left: 100%;
}

.donor-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-right: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.donor-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

.donor-info {
    flex: 1;
    margin-right: 10px;
}

.donor-name {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.donor-time {
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
}

.donor-amount {
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
}

.top-donor {
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.top-donor .donor-avatar {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    animation: pulse 2s ease-in-out infinite;
}

.crown-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 25px 50px rgba(255, 107, 107, 0.6);
    }
    to {
        box-shadow: 0 25px 50px rgba(255, 107, 107, 0.8), 0 0 60px rgba(255, 107, 107, 0.4);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Dark Mode */
body.active-dark-mode .donors-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.active-dark-mode .donors-section::before {
    background: conic-gradient(from 180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

body.active-dark-mode .donors-header {
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

body.active-dark-mode .stat-item {
    color: white;
}

body.active-dark-mode .stat-label {
    text-transform: uppercase;
}

body.active-dark-mode .donors-list {
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

body.active-dark-mode .donors-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

body.active-dark-mode .donors-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
}

body.active-dark-mode .donor-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

body.active-dark-mode .donor-item::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

body.active-dark-mode .donor-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

body.active-dark-mode .donor-avatar {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

body.active-dark-mode .donor-avatar::before {
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

body.active-dark-mode .donor-name {
    color: #fbfbfb;
}

body.active-dark-mode .donor-time {
    color: rgba(255, 255, 255, 0.6);
}

body.active-dark-mode .top-donor {
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
}

body.active-dark-mode .top-donor .donor-avatar {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
}

/* Mobile */
@media (max-width: 768px) {
    .donors-button {
        width: 35%;
    }

    .donors-header {
        right: 12%;
    }
}
