/* --- Сброс стилей и общая база --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'GG Sans', 'Noto Sans', sans-serif;
}

body {
  background-color: #0c0d12;
  color: #f2f3f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  padding: 20px;
}

/* Космический фон заднего плана */
.bg-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* --- Космическая система орбит --- */
.orbit-system {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 380px;
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(255, 0, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.03);
}

/* Кольца для ПК */
#orbit-1 { width: 500px; height: 500px; }
#orbit-2 { width: 660px; height: 660px; }
#orbit-3 { width: 820px; height: 820px; }

/* Настройка летающих картинок */
.orbit-item {
  position: absolute;
  border-radius: 50%;
  border: 2px solid #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
  background: #111214;
  object-fit: cover;
  z-index: 5;
}

/* Размеры элементов */
#item-1 { width: 55px; height: 55px; }
#item-2 { width: 60px; height: 60px; }
#item-3 { width: 65px; height: 65px; }

/* Запуск анимации бесконечного вращения */
#item-1 { animation: spin-1 20s linear infinite; }
#item-2 { animation: spin-2 25s linear infinite; }
#item-3 { animation: spin-3 30s linear infinite; }

.orbit-item:hover {
  animation-play-state: paused;
  cursor: pointer;
}

/* Траектории вращения без переворачивания картинок */
@keyframes spin-1 {
  from { transform: rotate(0deg) translate(250px) rotate(0deg); }
  to   { transform: rotate(360deg) translate(250px) rotate(-360deg); }
}
@keyframes spin-2 {
  from { transform: rotate(0deg) translate(-330px) rotate(0deg); }
  to   { transform: rotate(-360deg) translate(-330px) rotate(360deg); }
}
@keyframes spin-3 {
  from { transform: rotate(0deg) translate(410px) rotate(0deg); }
  to   { transform: rotate(360deg) translate(410px) rotate(-360deg); }
}

/* --- Карточка профиля Discord --- */
.discord-card {
  width: 100%;
  background: #111214;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border: 2px solid #ff00ff;
  box-shadow: 0 0 25px rgba(255, 0, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.6);
}

.profile-banner {
  height: 100px;
  background: linear-gradient(135deg, #1f4080, #101820);
}

/* Аватарка */
.avatar-container {
  padding: 0 16px;
  margin-top: -45px;
  margin-bottom: 12px;
}

.avatar-wrapper {
  position: relative;
  width: 86px;
  height: 86px;
  display: inline-block;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px solid #111214;
  background: #232428;
}

.status-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background-color: #23a55a;
  border-radius: 50%;
  border: 4px solid #111214;
}

/* Текстовая информация */
.profile-content {
  padding: 0 14px 14px 14px;
}

.username {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.custom-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #b5bac1;
  margin-bottom: 14px;
}

/* Вкладки */
.profile-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.tab {
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #b5bac1;
  cursor: pointer;
  position: relative;
}

.tab.active {
  color: #fff;
}

.tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/* Системные блоки-подложки */
.info-section {
  background: #18191c;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.info-section h3 {
  font-size: 11px;
  font-weight: 700;
  color: #b5bac1;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.bio-text {
  font-size: 13px;
  color: #dbdee1;
}

/* Переключатели контента вкладок */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Ссылки (Контакты) */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  background: #232428;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.social-item:hover {
  background: #2b2d31;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b5bac1;
  transition: color 0.15s ease;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.social-item:hover .social-icon {
  color: #ffffff;
}

.social-info {
  display: flex;
  flex-direction: column;
}

.social-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.social-nick {
  font-size: 11px;
  color: #b5bac1;
}

/* Проекты внутри второй вкладки */
.project-item {
  background: #232428;
  padding: 8px;
  border-radius: 6px;
}

.project-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.project-desc {
  font-size: 11px;
  color: #b5bac1;
}

/* Списки ролей */
.roles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.role-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #232428;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #dbdee1;
}

.role-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* --- АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ --- */
@media (max-width: 768px) {
  #orbit-1 { width: 400px; height: 400px; }
  #orbit-2 { width: 510px; height: 510px; }
  #orbit-3 { width: 620px; height: 620px; }

  @keyframes spin-1 {
    from { transform: rotate(0deg) translate(200px) rotate(0deg); }
    to   { transform: rotate(360deg) translate(200px) rotate(-360deg); }
  }
  @keyframes spin-2 {
    from { transform: rotate(0deg) translate(-255px) rotate(0deg); }
    to   { transform: rotate(-360deg) translate(-255px) rotate(360deg); }
  }
  @keyframes spin-3 {
    from { transform: rotate(0deg) translate(310px) rotate(0deg); }
    to   { transform: rotate(360deg) translate(310px) rotate(-360deg); }
  }
}
/* Контейнер для карусели */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 260px; /* Размер обложки на карточке */
  margin: 20px auto 10px auto;
}

/* Оболочка под картинки */
.slider-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.3); /* Твой фиолетовый неон */
}

/* Скрываем все слайды по умолчанию */
.music-slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Показываем только текущую активную обложку */
.music-slide.active {
  display: block;
  animation: slideFade 0.25s ease-in-out;
}

/* Кнопки-стрелки */
.slider-btn {
  background: rgba(20, 20, 30, 0.8);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
  user-select: none;
}

.slider-btn:hover {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  transform: scale(1.1);
}

.prev-btn { margin-right: 12px; }
.next-btn { margin-left: 12px; }

@keyframes slideFade {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
