/* Стили для компонента рейтинга игроков QCL */

/* Новые SVG иконки рангов */
.rank-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26, 30, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 5;
}

.rank-icon.gold { 
  border-color: rgba(255, 215, 0, 0.4); 
  color: #FFD700; 
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2), inset 0 0 5px rgba(255, 215, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0,0,0,0.4));
}
.rank-icon.silver { 
  border-color: rgba(192, 192, 192, 0.4); 
  color: #C0C0C0; 
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.2), inset 0 0 5px rgba(192, 192, 192, 0.1);
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.05), rgba(0,0,0,0.4));
}
.rank-icon.bronze { 
  border-color: rgba(205, 127, 50, 0.4); 
  color: #CD7F32; 
  box-shadow: 0 0 10px rgba(205, 127, 50, 0.2), inset 0 0 5px rgba(205, 127, 50, 0.1);
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.05), rgba(0,0,0,0.4));
}

.rank-icon svg {
  width: 70%;
  height: 70%;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.position-number {
  width: 1.25rem;
  height: 1.25rem;
  background: #2c3138;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  border: 2px solid #1a1e22;
  display: flex;
  align-items: center;
  justify-content: center;
}
  
/* Аватар с позицией */
  .player-avatar {
    position: relative;
    flex-shrink: 0;
  }
  
  .avatar-image {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1e22;
    border: 2px solid #2c3138;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }
  
  .avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c3138;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
  }
  
  .position-indicator {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 2;
  }
  
  /* Строка с игроком */
  .player-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    position: relative;
  }
  
  .player-row:last-child {
    border-bottom: none;
  }
  
  .player-row:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Информация об игроке */
  .player-info {
    flex: 1;
    min-width: 0;
    margin-left: 0.75rem;
  }
  
  .player-nickname {
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .player-team {
    color: #9ca3af;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Статистика игрока */
  .player-stats {
    display: flex;
    gap: 1rem;
    margin-left: auto;
  }
  
  .stat-item {
    text-align: center;
    min-width: 3rem;
  }
  
  .stat-value {
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .kd-value {
    color: #4ade80;
  }
  
  .adr-value {
    color: #60a5fa;
  }
  
  .stat-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
  }
  
  /* Эффекты свечения для топ-3 игроков */
  .glow-gold {
    box-shadow: 0 0 8px 2px rgba(255, 215, 0, 0.15);
  }
  
  .glow-silver {
    box-shadow: 0 0 8px 2px rgba(192, 192, 192, 0.1);
  }
  
  .glow-bronze {
    box-shadow: 0 0 8px 2px rgba(205, 127, 50, 0.1);
  }
  
  /* Медиа-запросы для адаптивности */
  @media (max-width: 768px) {
    .player-row {
      padding: 0.6rem 0.75rem;
    }
    
    .avatar-image {
      width: 2.5rem;
      height: 2.5rem;
    }
    
    .player-nickname {
      font-size: 0.85rem;
    }
    
    .stat-value {
      font-size: 0.85rem;
    }
    
    .stat-item {
      min-width: 2.5rem;
    }
  }
  
  @media (max-width: 640px) {
    .player-stats {
      gap: 0.75rem;
    }
    
    .avatar-image {
      width: 2.25rem;
      height: 2.25rem;
    }
  }