/* Основные стили контейнера сбор */
.fundraising {
    display: flex;
    background-color: var(--card);
    border-radius: 16px;
    padding: 5px 20px;
    flex-direction: column;
    color: var(--text-custom);
    position: relative;
    border: 1px solid var(--bottom-line-table);
}

.fundraising-header {
    font-family: "Unbounded";
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    border-block: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--bg-table);
    text-align: center;
}

.fundraising-status {
    font-family: "Unbounded";
    font-size: 10px;
    font-weight: 700;
    color: #ff0000;
    text-align: center;
}

.fundraising-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px; /* Пространство между элементами */
  width: 100%;
}

.fundraising-purpose h3 {
    font-family: "Unbounded";
    font-size: 20px;
    font-weight: 700;
    color: var(--text-custom);
}

.fundraising-purpose p {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-custom);
    margin-top: 0px;
}

.fundraising-purpose {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.progress {
    height: 5px;
    background: #ecf0f12d;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #494949, #11ff00);
    transition: width 0.5s ease;
}

.fundraising-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
}

.fundraising-stats .amount {
    font-family: "Unbounded";
    font-size: 10px;
    font-weight: 700;
    color: var(--text-custom);
}

/* Основные стили контейнера донатеров */
.top-donors-container {
  border-radius: 16px;
  padding: 10px;
  max-height: 500px;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--br-16);
}

/* Заголовок */
.top-donors-header {
    font-family: "Unbounded";
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    border-block: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-custom);
    text-align: center;
    background: var(--card);
    border-radius: var(--br-16);
}

/* Список донатеров */
.donor-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  
  
  
  
  
/* Основные стили контейнера сбор */
.fundraising {
  display: flex;
  background-color: var(--card);
  border-radius: 16px;
  padding: 5px 20px;
  flex-direction: column;
  color: var(--text-custom);
  position: relative;
  border: 1px solid var(--bottom-line-table);
}

.fundraising-header {
  font-family: "Unbounded";
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 10px;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bg-table);
  text-align: center;
}

.fundraising-status {
  font-family: "Unbounded";
  font-size: 10px;
  font-weight: 700;
  color: #ff0000;
  text-align: center;
}

.fundraising-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px; /* Пространство между элементами */
  width: 100%;
}

.fundraising-purpose
  h3 {
    font-family: "Unbounded";
  font-size: 20px;
  font-weight: 700;
  color: var(--text-custom);
}

.fundraising-purpose
  p {
    font-size: 13px;
  font-weight: 700;
  color: var(--text-custom);
  margin-top: 0px;
}

.fundraising-purpose {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.progress {
  height: 5px;
  background: #ecf0f12d;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #494949, #11ff00);
  transition: width 0.5s ease;
}

.fundraising-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
}

.fundraising-stats .amount {
  font-family: "Unbounded";
  font-size: 10px;
  font-weight: 700;
  color: var(--text-custom);
}

/* Основные стили контейнера донатеров */
.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-block: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--bg-table);
  text-align: center;
  background: var(--card);
  border-radius: var(--br-16);
}

/* Список донатеров */
.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;
  }
};
}

/* Элемент донатера */
.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;
  }
}


















