/* Базовые стили splash-screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background-color: var(--color-base-100, #FFFFFF);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Стили для темной темы */
[data-theme="design-dark"] .splash-screen {
  background-color: var(--color-base-100, #1A1B1D);
}

/* Обратная совместимость со старыми названиями тем */
[data-theme="uber-dark"] .splash-screen {
  background-color: var(--color-base-100, #1A1B1D);
}

/* Класс для анимации скрытия */
.splash-screen-hidden {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

/* Логотип/иконка */
.splash-icon {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Пульсирующий круг за иконкой */
.splash-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary, #4C73E6);
  opacity: 0.05;
  border-radius: 50%;
  animation: pulse-background 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="design-dark"] .splash-icon::before {
  background-color: var(--color-primary, #3561E3);
}

/* Обратная совместимость */
[data-theme="uber-dark"] .splash-icon::before {
  background-color: var(--color-primary, #3561E3);
}

@keyframes pulse-background {
  0%, 100% { transform: scale(0.8); opacity: 0.05; }
  50% { transform: scale(1.2); opacity: 0.1; }
}

/* Сетка блоков */
.blockchain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  width: 60px;
  height: 60px;
}

.blockchain-block {
  border-radius: 4px;
  background-color: var(--color-primary, #4C73E6);
  opacity: 0.2;
  transform-origin: center;
}

[data-theme="design-dark"] .blockchain-block {
  background-color: var(--color-primary, #3561E3);
}

/* Обратная совместимость */
[data-theme="uber-dark"] .blockchain-block {
  background-color: var(--color-primary, #3561E3);
}

@keyframes pulse-block {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1); }
}

.blockchain-block:nth-child(1) { animation: pulse-block 1.5s infinite 0.1s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(2) { animation: pulse-block 1.5s infinite 0.2s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(3) { animation: pulse-block 1.5s infinite 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(4) { animation: pulse-block 1.5s infinite 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(5) { animation: pulse-block 1.5s infinite 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(6) { animation: pulse-block 1.5s infinite 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(7) { animation: pulse-block 1.5s infinite 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(8) { animation: pulse-block 1.5s infinite 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.blockchain-block:nth-child(9) { animation: pulse-block 1.5s infinite 0.9s cubic-bezier(0.16, 1, 0.3, 1); }

/* Анимация для плавного перехода между сплеш-экраном и приложением */
@keyframes app-fade-in {
  0% { 
    opacity: 0;
    transform: scale(1.03);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
} 