/* Основные стили контейнера донатеров */
.top-donors-container {
  border-radius: 16px;
  padding: 10px;
  max-height: 500px;
  overflow-y: auto;
}

/* Заголовок */
.top-donors-header {
    font-family: "Unbounded";
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-table);
    text-align: center;
}

/* Список донатеров */
.donor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Элемент донатера */
.donor-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    background: linear-gradient(26deg, #0505054a, #a4a4a43d);
    border-radius: 8px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    gap: 10px;
}

.donor-item:hover {
  background: linear-gradient(26deg, #0505056a, #a4a4a45d);
}

/* Стили для топ-3 донатеров */
.donor-item.gold {
  background: linear-gradient(26deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border-left: 3px solid #d4af37;
}

.donor-item.silver {
  background: linear-gradient(26deg, rgba(192,192,192,0.15), rgba(192,192,192,0.05));
  border-left: 3px solid #c0c0c0;
}

.donor-item.bronze {
  background: linear-gradient(26deg, rgba(205,127,50,0.15), rgba(205,127,50,0.05));
  border-left: 3px solid #cd7f32;
}

/* Аватарка */
.donor-avatar {
  background: #495057;
  position: relative;
  height: 40px;
  width: 40px;
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
  cursor: default;
}

/* Имя донатера */
.donor-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-custom);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Unbounded";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 5px;
}

/* Сумма доната */
.donor-amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--money);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Unbounded";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 5px;
}

/* Стили для рамки аватарки */
.avatar_frame_small {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* Стили для самой аватарки */
.top_players_avatar {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* Сообщение при отсутствии донатов */
.empty-donors {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--text-default);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Unbounded";
  background: linear-gradient(26deg, #0505052a, #a4a4a41a);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.empty-donors::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
  animation: rotate 10s linear infinite;
  z-index: 0;
}

.empty-donors::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--navbar);
  border-radius: 11px;
  z-index: 1;
}

.empty-donors span {
  position: relative;
  z-index: 2;
}

/* Анимация для пустого состояния */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Дополнительные стили для адаптивности */
@media (max-width: 768px) {
  .donor-name {
    font-size: 12px;
  }
  
  .donor-amount {
    font-size: 11px;
  }
  
  .donor-avatar {
    height: 36px;
    width: 36px;
  }
}


















