/* Стили для навигации профиля */

/* Навигационные кнопки */
.profile-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  padding: 0 10px;
}

.profile-nav-btn {
  flex: 1;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-nav-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.profile-nav-btn:hover::before {
  left: 100%;
}

.profile-nav-btn:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
}

.profile-nav-btn.active {
  background: linear-gradient(135deg, var(--accent-color) 0%, #2ecc71 100%);
  border-color: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.profile-nav-btn .nav-icon {
  font-size: 24px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.profile-nav-btn:hover .nav-icon {
  transform: scale(1.1);
}

.profile-nav-btn .nav-text {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}

/* Секции профиля */
.profile-section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.profile-section.active {
  display: block;
}

.section-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

.section-header h3 {
  margin: 0;
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 700;
}

/* Селектор игры */
.game-selector {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.game-selector:hover {
  border-color: var(--accent-color);
}

.game-selector label {
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.game-selector select {
  flex: 1;
  max-width: 200px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-color);
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.game-selector select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

/* Анимация появления */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для навигации */
@media (max-width: 480px) {
  .profile-nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .profile-nav-btn {
    min-height: 60px;
    padding: 12px 15px;
  }
  
  .profile-nav-btn .nav-icon {
    font-size: 20px;
  }
  
  .profile-nav-btn .nav-text {
    font-size: 12px;
  }
  
  .game-selector {
    flex-direction: column;
    align-items: stretch;
  }
  
  .game-selector select {
    max-width: none;
  }
} 