/* --- ЗАСТАВКА (SPLASH SCREEN) --- */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2c2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  color: white;
  /* Блокируем все взаимодействия */
  pointer-events: auto;
  /* Гарантируем, что заставка поверх всего */
  position: fixed;
  width: 100vw;
  height: 100vh;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.splash-logo {
  font-size: 80px;
  animation: coin-spin 2s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.splash-text {
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Анимация вращения монетки */
@keyframes coin-spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Плавное появление/исчезновение */
#splash-screen {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

#splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
  z-index: -1 !important;
  display: none !important;
} 