/* Общие стили для заголовков секций */
.section-title {
  text-align: center;
  color: inherit; /* Наследует цвет темы */
  margin: 40px 0 20px;
  font-size: 2.5rem;
}

/* Контейнер для карточек */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0 20px;
  margin-bottom: 40px;
}

/* Общие стили карточек (игроки + админы) */
.player-card, .admin-card {
  background: var(--card-bg, #2c2c2c);
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Адаптация под светлую тему */
body.light-theme .player-card,
body.light-theme .admin-card {
  --card-bg: #e7e7e7;
  color: #333;
}

/* Аватарки */
.player-avatar, .admin-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--avatar-border, #4a4a6a);
  margin-bottom: 15px;
}

body.light-theme .player-avatar,
body.light-theme .admin-avatar {
  --avatar-border: #b8b8d2;
}

/* Никнейм */
.player-card h3, .admin-card h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: inherit;
}

/* Описание */
.player-card p, .admin-card p {
  color: var(--text-secondary, #bbb);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

body.light-theme .player-card p,
body.light-theme .admin-card p {
  --text-secondary: #666;
}

/* Соц-кнопки */
.social-linkss {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-linkss a {
  font-size: 3vb;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.social-linkss a:hover {
  transform: scale(1.1);
}

/* Цвета кнопок */
.telegram { color: rgb(0, 140, 255); }
.youtube { color: rgb(255, 0, 0); }
.twitch { color: #9146ff; }
.older { color:rgb(112, 132, 158); }
/* Статус админа */
.admin-status {
  display: inline-block;
  background: var(--status-bg, #4a4a6a);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 5px 0;
}

body.light-theme .admin-status {
  --status-bg: #8f8f8f;
}

/* Анимация при наведении */
.player-card:hover, .admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

