/* CSS Переменные для централизованного управления */
:root {
  /* Цвета */
  --color-primary: #008080;
  --color-primary-hover: #00bfff;
  --color-text: #fff;
  --color-text-muted: #aaa;
  --color-bg-dark: rgba(0, 0, 0, 0.4);
  
  /* Размеры */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 20px;
  --spacing-xs: 5px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  
  /* Переходы */
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.3s ease;
  
  /* Z-index слои */
  --z-base: 0;
  --z-content: 13;
  --z-controls: 1000;
  --z-tooltips: 2000;
  --z-cursor-tail: 99997;
  --z-cursor-dot: 99998;
  --z-loading: 9999;
  
  /* Тени */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 12px;
}

/* Общие сбросы */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  /* Оптимизация для тач-устройств */
  -webkit-tap-highlight-color: rgba(0, 191, 255, 0.2);
  -webkit-touch-callout: none;
}

/* Улучшенная прокрутка для мобильных */
html {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Черный экран перехода - скрыт по умолчанию */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 1.5s;
}

/* Показываем черный экран при переходе - ПЛАВНО */
body.transitioning::before {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

/* Скрываем черный экран */
body.loaded::before {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 1.5s;
}

/* Основной фон */
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  max-height: 100vh;
  color: var(--color-text);
  text-align: center;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
}

/* Динамический фон (задается через JS или напрямую) */
body.bg-image {
  background: url('../repository/back/back1.jpg') center/cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Анимация появления - отключена для ручного запуска через splash screen */
.container, .card, h1, .subtitle, .socials, #visit-counter {
  /* Оптимизация анимации */
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
  0% { 
    opacity: 0; 
    transform: scale(0.7);
    visibility: visible;
  }
  60% { 
    opacity: 0.7; 
    transform: scale(1);
    visibility: visible;
  }
  100% { 
    opacity: 1; 
    transform: scale(1);
    visibility: visible;
  }
}

/* Контейнер */
.container {
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 20, 0.65);
  border-radius: 28px;
  padding: 24px 28px;
  max-width: 560px;
  width: 94%;
  max-height: 94vh;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 191, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 10003;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Шапка профиля */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Главный аватар в шапке - с анимацией пульсации */
.profile-header .avatar { 
  width: 110px; 
  height: 110px; 
  margin-bottom: 0; 
  flex-shrink: 0;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transition: none !important;
  animation: avatarPulse 3s ease-in-out infinite !important;
}

@keyframes avatarPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 
      0 0 8px rgba(0,191,255,0.25),
      0 0 16px rgba(0,191,255,0.1);
  }
  50% { 
    transform: scale(1.03);
    box-shadow: 
      0 0 12px rgba(0,191,255,0.35),
      0 0 22px rgba(0,191,255,0.15);
  }
}

.profile-header .avatar:hover {
  animation: avatarPulseHover 0.5s ease forwards !important;
}

@keyframes avatarPulseHover {
  to {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 
      0 0 15px rgba(0,191,255,0.5),
      0 0 30px rgba(0,191,255,0.25),
      0 10px 25px rgba(0,0,0,0.4);
  }
}

.profile-info { 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start; 
  text-align: left; 
}
.profile-info h1 { 
  font-size: 26px; 
  margin-bottom: 4px; 
  font-weight: 600;
}

/* Subtitle с typing эффектом */
.profile-info .subtitle { 
  margin-bottom: 10px; 
  font-size: 13px; 
  opacity: 0.7;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(0,191,255,0.7);
  display: inline-block;
  width: 0;
  animation: typing 5s steps(50, end) 0.5s forwards, blinkCursor 0.5s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blinkCursor {
  50% { border-color: transparent; }
}

/* Убираем курсор после анимации */
.profile-info .subtitle.typed {
  border-color: transparent;
  animation: none;
  width: auto;
}

/* После завершения анимаций - блокируем повторный запуск */
.container.entered,
.container.entered h1,
.container.entered .subtitle,
.container.entered .socials,
.container.entered .card,
.container.entered .discord-card,
.container.entered .skills li {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Блокируем анимации появления, но НЕ пульсацию аватара */
.container.entered h1,
.container.entered .subtitle,
.container.entered .socials,
.container.entered .card,
.container.entered .discord-card {
  animation: none !important;
  transform: none !important;
}

.entered {
  animation: none !important;
}

/* Аватар сохраняет свою пульсацию */
.container.entered .profile-header .avatar {
  animation: avatarPulse 3s ease-in-out infinite !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Запуск typing после входа */
.container.entering .profile-info .subtitle {
  opacity: 0.7 !important;
  visibility: visible !important;
  transform: none !important;
  width: 0;
  animation: typing 5s steps(50, end) 0.3s forwards, blinkCursor 0.5s step-end infinite !important;
}

.profile-info .socials { 
  margin-top: 2px; 
  gap: 16px; 
  justify-content: flex-start;
}

/* Соцсети в шапке используют общие размеры из .socials a */

/* Карточки в ряд */
.cards-row { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}

.cards-row .card { margin: 0; }

/* Discord карточка - большая и красивая */
.cards-row .discord-card { 
  flex-direction: row; 
  align-items: center; 
  padding: 22px 26px; 
  gap: 22px;
  border: 1px solid rgba(88, 101, 242, 0.3);
  background: rgba(88, 101, 242, 0.08);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.15);
}

.cards-row .discord-card:hover {
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.25);
}

.cards-row .discord-card .discord-left { 
  margin-bottom: 0; 
  flex-shrink: 0;
  position: relative;
}

.cards-row .discord-card .avatar-small { 
  width: 90px; 
  height: 90px; 
  border-radius: 18px;
  border: 3px solid rgba(88, 101, 242, 0.5);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.3);
}

.cards-row .discord-info { 
  margin-top: 0; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 6px;
  text-align: left;
}

.cards-row .discord-info #discord-username { 
  font-size: 24px; 
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 12px rgba(88, 101, 242, 0.5);
  letter-spacing: 0.5px;
}

.cards-row .discord-info #discord-status { 
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

.cards-row .badges { 
  margin-top: 8px; 
  gap: 8px;
  flex-wrap: wrap;
}

.cards-row .badge { 
  width: 34px; 
  height: 34px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-row .badge:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

/* Services карточка - идентична Discord но с голубым цветом */
.cards-row .main-card { 
  flex-direction: row;
  align-items: center; 
  padding: 22px 26px; 
  gap: 22px;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 191, 255, 0.3);
  background: rgba(0, 191, 255, 0.08);
  box-shadow: 0 6px 25px rgba(0, 191, 255, 0.15);
}

.cards-row .main-card:hover {
  border-color: rgba(0, 191, 255, 0.5);
  box-shadow: 0 8px 30px rgba(0, 191, 255, 0.25);
}

.cards-row .main-card h2 { 
  font-size: 24px; 
  font-weight: 700;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
  letter-spacing: 0.5px;
}

.cards-row .skills { 
  gap: 10px; 
  justify-content: center;
  width: 100%;
}

.cards-row .skills li { 
  padding: 12px 20px; 
  font-size: 15px;
  font-weight: 500;
}

/* Карточки с Glassmorphism */
.card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm) 15px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Скрываем все элементы до входа */
.container.before-enter .card,
.container.before-enter h1,
.container.before-enter .socials {
  opacity: 0;
  transform: scale(0.9);
  visibility: hidden;
}

/* Subtitle до входа - без анимации */
.container.before-enter .subtitle {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

/* Аватар скрываем без блокировки анимации */
.container.before-enter .avatar {
  opacity: 0;
  visibility: hidden;
}

.card.main-card {
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 191, 255, 0.25);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 6px 24px rgba(0, 191, 255, 0.12);
  overflow: visible;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card.main-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Содержимое поверх градиента */
.card.main-card > * {
  position: relative;
  z-index: 1;
}

/* Заголовки с неоновым свечением */
h1 { 
  font-size: 32px; 
  font-weight: 600; 
  margin-bottom: 4px;
  text-shadow: 
    0 0 10px rgba(0,191,255,0.6),
    0 0 20px rgba(0,191,255,0.4),
    0 0 30px rgba(0,191,255,0.2);
}

/* Анимация свечения только после входа */
.container.entering h1 {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 5px rgba(0,191,255,0.6), 0 0 20px rgba(0,191,255,0.4), 0 0 30px rgba(0,191,255,0.2); }
  50% { text-shadow: 0 0 5px rgba(0,191,255,0.8), 0 0 25px rgba(0,191,255,0.5), 0 0 35px rgba(0,191,255,0.3); }
}

.subtitle { 
  font-size: 15px; 
  opacity: 0.6; 
  margin-bottom: 16px; 
}

.main-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.main-card .subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

/* Аватары с плавающей анимацией */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,191,255,0.5);
  margin-bottom: 12px;
  transition: 
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 0 15px rgba(0,191,255,0.4),
    0 0 30px rgba(0,191,255,0.2);
  animation: smoothFloat 4s ease-in-out infinite;
}

@keyframes smoothFloat {
  0%, 100% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-8px);
  }
}

.avatar:hover { 
  animation: smoothFloatHover 4s ease-in-out infinite;
  box-shadow: 
    0 0 20px rgba(0,191,255,0.6),
    0 0 40px rgba(0,191,255,0.3),
    0 10px 30px rgba(0,0,0,0.4);
}

@keyframes smoothFloatHover {
  0%, 100% { 
    transform: translateY(0px) scale(1.1) rotate(5deg);
  }
  50% { 
    transform: translateY(-15px) scale(1.1) rotate(5deg);
  }
}

.discord-left {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Весь блок (аватар + точка) масштабируется вместе */
.discord-left:hover {
  transform: scale(1.08);
}

.discord-left .avatar-small {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  transition: box-shadow 0.3s ease;
}

.discord-left:hover .avatar-small {
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.6);
}

/* Точка статуса Discord - привязана к аватару */
.discord-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(30, 35, 50, 0.95);
  transition: box-shadow 0.3s ease;
  z-index: 5;
}

/* Цвета статусов */
.discord-status-dot.online {
  background: #43b581;
  box-shadow: 0 0 10px rgba(67, 181, 129, 0.8);
}

.discord-status-dot.idle {
  background: #faa61a;
  box-shadow: 0 0 10px rgba(250, 166, 26, 0.8);
}

.discord-status-dot.dnd {
  background: #f04747;
  box-shadow: 0 0 10px rgba(240, 71, 71, 0.8);
}

.discord-status-dot.offline {
  background: #747f8d;
  box-shadow: 0 0 6px rgba(116, 127, 141, 0.5);
}

/* Скиллы с прогрессивной анимацией */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  justify-content: center;
}

.skills li {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #ddd;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

/* Скрываем skills до входа */
.container.before-enter .skills li {
  opacity: 0;
  transform: translateY(20px);
}

/* Мгновенное появление skills без анимации */
.container.entering .skills li {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.skills li a {
  color: inherit;
  text-decoration: none;
}

.skills li:hover {
  background: rgba(0,191,255,0.2);
  border-color: rgba(0,191,255,0.5);
  color: var(--color-primary-hover);
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,191,255,0.3);
  text-shadow: 0 0 8px rgba(0,191,255,0.6);
}

/* Discord карточка с glassmorphism */
.discord-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(114, 137, 218, 0.25);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 4px 20px rgba(114, 137, 218, 0.1);
  overflow: visible;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Плавное появление Discord карточки */
.container.entering .discord-card {
  animation: smoothFadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.11s;
}

@keyframes smoothFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.discord-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Содержимое поверх градиента */
.discord-card > * {
  position: relative;
  z-index: 1;
}

.discord-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 2;
  margin-top: 12px;
}

#discord-username {
  font-size: 20px;
  font-weight: 600;
}

#discord-status {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Статусы Discord с пульсацией */
.status-online { 
  color: #43b581; 
  text-shadow: 0 0 6px rgba(67,181,129,0.6);
}

.status-idle { color: #faa61a; text-shadow: 0 0 6px rgba(250,166,26,0.6); }

.status-dnd { color: #f04747; text-shadow: 0 0 6px rgba(240,71,71,0.6); }

.status-offline { color: #747f8d; text-shadow: 0 0 6px rgba(116,127,141,0.4); }

/* Бейджи */
.badges {
  display: flex;
  gap: 5px;
  margin-left: 0;
  margin-top: 4px;
  align-items: center;
  position: relative;
  z-index: 10001;
  flex-wrap: wrap;
}

.badge {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 4px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10002;
}

.badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge:hover {
  transform: scale(1.1);
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}

.badge::after {
  content: attr(data-title);
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,40,0.95));
  border: 1px solid rgba(0,191,255,0.3);
  color: var(--color-text);
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.8),
    0 0 10px rgba(0,191,255,0.2);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 10003;
}

.badge::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  border: 8px solid transparent;
  border-bottom-color: rgba(0,0,0,0.95);
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 10003;
}

.badge:hover::after,
.badge:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Соцсети */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

/* Контейнер иконки */
.socials a {
  --size: 52px;
  --icon-size: 38px;
  --ring-size: 58px;
  --vinyl-size: 54px;
  
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
}

/* Иконка PNG */
.socials a img {
  width: var(--icon-size);
  height: var(--icon-size);
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: brightness(0.95);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.socials a:hover img {
  transform: scale(1.12);
  filter: brightness(1.1);
}

/* Внешнее кольцо */
.socials a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--ring-size);
  height: var(--ring-size);
  transform: translate(-50%, -50%) scale(0.85);
  border-radius: 50%;
  border: 2px solid var(--vinyl-color, #00bfff);
  background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.2) 100%);
  box-shadow: 
    0 0 18px var(--vinyl-glow, rgba(0,191,255,0.4)),
    0 0 35px var(--vinyl-glow, rgba(0,191,255,0.2)),
    inset 0 0 12px rgba(0,0,0,0.25);
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

/* Вращающаяся пластинка */
.socials a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--vinyl-size);
  height: var(--vinyl-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--vinyl-color, #00bfff) 0deg,
    transparent 30deg,
    var(--vinyl-color, #00bfff) 120deg,
    transparent 150deg,
    var(--vinyl-color, #00bfff) 240deg,
    transparent 270deg,
    transparent 360deg
  );
  filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Hover */
.socials a:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.socials a:hover::after {
  opacity: 0.75;
  animation: vinylSpin 2s linear infinite;
}

@keyframes vinylSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Цвета для каждой соцсети */
.socials a:nth-child(1) { --vinyl-color: #1DB954; --vinyl-glow: rgba(29,185,84,0.5); }
.socials a:nth-child(2) { --vinyl-color: #5865F2; --vinyl-glow: rgba(88,101,242,0.5); }
.socials a:nth-child(3) { --vinyl-color: #0088cc; --vinyl-glow: rgba(0,136,204,0.5); }

/* Счетчик посещений */
#visit-counter {
  position: fixed;
  bottom: 15px;
  right: 15px;
  backdrop-filter: blur(8px);
  background: rgba(5, 10, 20, 0.6);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: var(--z-controls);
  transition: all 0.3s ease;
}

#visit-counter:hover {
  transform: scale(1.05);
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 128, 128, 0.3);
}

/* Музыкальный визуализатор - выдвигается при воспроизведении */
#music-visualizer,
.music-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 24px;
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

#music-visualizer.active,
.music-visualizer.active {
  width: 40px;
  opacity: 1;
  pointer-events: auto;
}

#music-visualizer .bar,
.music-visualizer .bar,
#music-visualizer .visualizer-bar,
.music-visualizer .visualizer-bar {
  width: 3px;
  min-height: 4px;
  background: linear-gradient(to top, #008080, #00bfff);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
  animation: visualizerUp 0.4s ease-in-out infinite alternate;
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.5);
}

#music-visualizer .bar:nth-child(1),
#music-visualizer .visualizer-bar:nth-child(1) { height: 10px; animation-delay: 0s; }
#music-visualizer .bar:nth-child(2),
#music-visualizer .visualizer-bar:nth-child(2) { height: 18px; animation-delay: 0.1s; }
#music-visualizer .bar:nth-child(3),
#music-visualizer .visualizer-bar:nth-child(3) { height: 12px; animation-delay: 0.2s; }
#music-visualizer .bar:nth-child(4),
#music-visualizer .visualizer-bar:nth-child(4) { height: 20px; animation-delay: 0.15s; }
#music-visualizer .bar:nth-child(5),
#music-visualizer .visualizer-bar:nth-child(5) { height: 8px; animation-delay: 0.25s; }

@keyframes visualizerUp {
  0% { height: 4px; }
  100% { height: var(--bar-height, 16px); }
}

/* Высоты для каждого бара */
#music-visualizer .bar:nth-child(1),
#music-visualizer .visualizer-bar:nth-child(1) { --bar-height: 10px; }
#music-visualizer .bar:nth-child(2),
#music-visualizer .visualizer-bar:nth-child(2) { --bar-height: 18px; }
#music-visualizer .bar:nth-child(3),
#music-visualizer .visualizer-bar:nth-child(3) { --bar-height: 12px; }
#music-visualizer .bar:nth-child(4),
#music-visualizer .visualizer-bar:nth-child(4) { --bar-height: 20px; }
#music-visualizer .bar:nth-child(5),
#music-visualizer .visualizer-bar:nth-child(5) { --bar-height: 8px; }

/* Музыкальный плеер - минималистичный */
#music-player {
  position: fixed;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 35px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: var(--z-controls);
  transition: all 0.3s ease;
}

#music-player:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 191, 255, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(0, 191, 255, 0.2);
}

.player-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

/* Ripple эффект */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.player-btn:hover {
  color: #00bfff;
  transform: scale(1.15);
}

.player-btn:active {
  transform: scale(0.85);
  transition-duration: 0.1s;
}

.player-btn svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.player-btn img {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
  filter: brightness(0.9);
  transition: all 0.2s ease;
  pointer-events: none;
}

.play-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  position: relative;
}

.play-btn svg {
  width: 22px;
  height: 22px;
  position: relative;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(0, 191, 255, 0.5));
}

.play-btn:hover svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(0, 191, 255, 0.8));
}

.play-btn:active svg {
  transform: scale(0.9);
}

.play-icon,
.pause-icon {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.play-icon.hiding,
.pause-icon.hiding {
  opacity: 0;
  transform: scale(0.3) rotate(180deg);
}

.play-icon.showing,
.pause-icon.showing {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@keyframes playGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 191, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 10px rgba(0, 191, 255, 1)); }
}

.play-btn:hover .play-icon {
  animation: playGlow 1.5s ease-in-out infinite;
}

@keyframes pauseShift {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.8); }
}

.play-btn:hover .pause-icon rect {
  animation: pauseShift 0.6s ease-in-out infinite;
}

.play-btn:hover .pause-icon rect:first-child {
  animation-delay: 0s;
}

.play-btn:hover .pause-icon rect:last-child {
  animation-delay: 0.3s;
}

.prev-icon,
.next-icon {
  font-size: 16px;
  position: relative;
  z-index: 1;
  opacity: 0.8;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.volume-slider {
  width: 0;
  height: 4px;
  opacity: 0;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  background: linear-gradient(90deg, 
    #00bfff 0%, 
    #008080 50%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.2) 100%);
  background-size: 200% 100%;
  background-position: right;
  border-radius: 4px;
  outline: none;
  transition-timing-function: ease-out;
}

.volume-control:hover .volume-slider {
  width: 80px;
  opacity: 1;
  transition-timing-function: ease-in;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: transparent;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00bfff;
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.5);
  margin-top: -4px;
  transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

.volume-slider::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
}

.volume-slider::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00bfff 0%, #008080 100%);
  border: none;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00bfff;
  box-shadow: 0 0 6px rgba(0, 191, 255, 0.5);
  border: none;
  transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

/* ==================== МЕДИА-ЗАПРОСЫ ==================== */

/* Планшеты и небольшие экраны */
@media (max-width: 768px) {
  .container {
    max-width: 95%;
    padding: var(--spacing-md);
  }
  
  /* Увеличенные области клика для планшетов */
  .card {
    padding: 15px;
    margin: 15px 0;
  }
  
  .skills li {
    padding: 8px 14px;
    font-size: 15px;
  }
  
  #visit-counter {
    bottom: 15px;
    right: 15px;
    padding: 15px var(--spacing-md);
    font-size: 14px;
  }
  
  .badge {
    width: 24px;
    height: 24px;
    padding: 5px;
  }
  
  /* Оптимизация splash screen */
  .splash-title {
    font-size: 48px;
  }
  
  .splash-subtitle {
    font-size: 16px;
  }
  
  #enter-btn {
    padding: 14px 32px;
    font-size: 17px;
  }
}

/* Мобильные устройства */
@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    width: 92%;
    padding: 18px 16px;
    margin-bottom: 90px; /* Отступ снизу чтобы контент не перекрывался */
    border-radius: 16px;
  }
  
  h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  
  .subtitle {
    font-size: 15px;
    margin-bottom: 16px;
  }
  
  /* Карточки с увеличенными областями */
  .card {
    padding: 14px;
    margin: 14px 0;
    border-radius: 14px;
  }
  
  .card.main-card {
    padding: 18px;
    border-radius: 16px;
  }
  
  /* Упрощенные анимации на мобильных */
  .avatar {
    width: 110px;
    height: 110px;
    animation: smoothFloat 6s ease-in-out infinite; /* Медленнее для производительности */
    margin-bottom: 18px;
  }

  /* Отключение 3D трансформаций на мобильных, активация по тапу */
  .card:active {
    transform: translateY(-3px) scale(0.98);
  }

  .card.main-card:active {
    transform: translateY(-3px) scale(0.98);
  }
  
  /* Убираем hover эффекты на мобильных */
  .card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
  }

  .card.main-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Discord карточка на мобильных */
  .discord-left .avatar-small {
    width: 75px;
    height: 75px;
    border-radius: 12px;
  }
  
  .discord-info {
    margin-top: 18px;
  }
  
  #discord-username {
    font-size: 20px;
  }
  
  #discord-status {
    font-size: 14px;
  }
  
  /* Музыкальный плеер на мобильных - увеличенные кнопки для тача */
  #music-player {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 45px;
  }
  
  .player-btn {
    width: 44px;
    height: 44px;
    /* Увеличенная область тапа */
  }
  
  .play-btn {
    width: 48px;
    height: 48px;
  }
  
  .player-btn svg,
  .player-btn img {
    width: 20px;
    height: 20px;
  }
  
  .play-btn svg,
  .play-btn img {
    width: 24px;
    height: 24px;
  }
  
  /* Активное состояние для тач-устройств */
  .player-btn:active {
    transform: scale(0.9);
  }
  
  .prev-icon,
  .next-icon {
    font-size: 16px;
  }
  
  /* Скрываем контроль громкости на мобильных */
  .volume-control {
    display: none;
  }
  
  /* Счетчик посещений на мобильных */
  #visit-counter {
    bottom: 8px;
    right: 8px;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 14px;
  }
  
  /* Соцсети - увеличенные иконки для тача */
  .socials {
    gap: 22px;
    margin-top: 18px;
  }
  
  .socials img {
    width: 38px;
    height: 38px;
  }
  
  /* Активное состояние для соцсетей */
  .socials a:active img {
    transform: scale(0.95);
  }
  
  /* Увеличенные бейджи Discord на мобильных */
  .badge {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  
  .badges {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  /* Skills - увеличенные для тача */
  .skills li {
    padding: 10px 16px;
    font-size: 15px;
    margin: 4px;
  }
  
  .skills li:active {
    transform: scale(0.95);
  }
  
  /* Discord карточка */
  .discord-card {
    padding: 16px;
    gap: 14px;
  }
  
  /* Splash screen для мобильных */
  .splash-title {
    font-size: 40px;
    margin-bottom: 10px;
  }
  
  .splash-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  #enter-btn {
    padding: 16px 36px;
    font-size: 18px;
    min-width: 200px;
  }
}

/* Уменьшение анимаций для пользователей с prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  body {
    animation: none;
  }
  
  .container, .card, h1, .subtitle, .socials, #visit-counter {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }
}

/* Splash Screen - стартовый экран */
#splash-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 20, 40, 0.98), rgba(0, 10, 20, 0.99));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  animation: splashFadeIn 1.2s ease forwards;
  opacity: 0;
  position: relative;
  z-index: 10002;
}

@keyframes splashFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.splash-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #00bfff, #008080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: splashGlow 2s ease-in-out infinite;
}

@keyframes splashGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(0, 191, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(0, 191, 255, 0.5));
  }
}

.splash-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-weight: 400;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 191, 255, 0.3);
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.2);
  cursor: pointer;
  z-index: 10003;
  -webkit-tap-highlight-color: rgba(0, 191, 255, 0.3);
  touch-action: manipulation;
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(0, 128, 128, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.enter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 191, 255, 0.6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 12px 48px rgba(0, 191, 255, 0.3),
    0 0 60px rgba(0, 191, 255, 0.2);
}

.enter-btn:hover::before {
  opacity: 1;
}

.enter-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.enter-btn span,
.enter-btn .enter-icon {
  position: relative;
  z-index: 1;
}

.enter-icon {
  transition: transform 0.4s ease;
}

.enter-btn:hover .enter-icon {
  transform: translateX(5px);
}

/* Скрытие контента до входа */
.container.before-enter {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  visibility: hidden;
}

/* Плавное появление контейнера */
.container.entering {
  animation: smoothFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: auto;
}

@keyframes smoothFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
    visibility: visible;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
  }
}

/* Плавное появление внутренних элементов с задержкой */
.container.entering .avatar {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
}

.container.entering h1 {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.05s;
}

.container.entering .subtitle {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.08s;
}

.container.entering .card {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.11s;
}

.container.entering .socials {
  opacity: 0;
  visibility: hidden;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.14s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    visibility: visible;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

#music-player.before-enter,
#visit-counter.before-enter {
  opacity: 0 !important;
  transform: scale(0.9) !important;
  pointer-events: none;
  visibility: hidden;
}

/* Плавное появление плеера и счетчика */
#music-player.entering {
  opacity: 0;
  visibility: hidden;
  animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.17s;
  pointer-events: auto;
}

#visit-counter.entering {
  opacity: 0;
  visibility: hidden;
  animation: fadeInScale 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
  pointer-events: auto;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
    visibility: visible;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
  }
}

/* Плавные переходы для дополнительных страниц */
.stars-container.before-enter,
.webdev-container.before-enter,
.blockbench-container.before-enter {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  pointer-events: none;
  visibility: hidden;
}

.stars-container.entering,
.webdev-container.entering,
.blockbench-container.entering {
  animation: smoothPageFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: auto;
}

@keyframes smoothPageFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    visibility: visible;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
  }
}

/* Анимация внутренних элементов дополнительных страниц */
.stars-container.entering .page-title,
.webdev-container.entering .page-title,
.blockbench-container.entering .page-title {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.1s;
}

.stars-container.entering .page-subtitle,
.webdev-container.entering .page-subtitle,
.blockbench-container.entering .page-subtitle {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.15s;
}

.stars-container.entering .top-nav,
.stars-container.entering .nav-btn {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.05s;
}

.stars-container.entering .stars-grid,
.webdev-container.entering .services-grid,
.blockbench-container.entering .models-grid {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.2s;
}

.stars-container.entering .order-section,
.webdev-container.entering .info-section,
.webdev-container.entering .contact-section,
.blockbench-container.entering .info-section,
.blockbench-container.entering .contact-section {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.25s;
}

.stars-container.entering .back-btn,
.webdev-container.entering .back-btn,
.blockbench-container.entering .back-btn {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

/* 7. Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-avatar {
  width: 90px;
  height: 90px;
  border-radius: 18px;
}

.skeleton-text {
  height: 20px;
  width: 120px;
  margin-bottom: 8px;
}

.skeleton-text-sm {
  height: 14px;
  width: 80px;
}

/* 8. Кнопка копирования Discord */
.copy-discord-btn {
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-discord-btn:hover {
  background: rgba(88, 101, 242, 0.4);
  transform: translateY(-1px);
}

.copy-discord-btn.copied {
  background: rgba(59, 165, 92, 0.3);
  border-color: rgba(59, 165, 92, 0.5);
}

/* Responsive стили перенесены в responsive.css */

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .avatar, .profile-header .avatar {
    animation: none !important;
  }

  .container::after {
    animation: none !important;
  }

  .visualizer-bar {
    animation: none !important;
  }

  .subtitle.typing {
    animation: none !important;
    width: auto !important;
    border-right: none !important;
  }
}