#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#loading-screen.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}
.spinner {
  position: relative;
  width: 80px;
  height: 80px;
}
.spinner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(86, 200, 148, 0.2);
  border-top-color: #56c894;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
.spinner::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 3px solid rgba(52, 152, 219, 0.2);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1.8s linear infinite reverse;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-percentage {
  position: fixed;
  bottom: 40px;
  left: 40px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 24px;
  font-weight: bold;
  color: #56c894;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(86, 200, 148, 0.5);
}
@media screen and (max-width: 768px) {
  .spinner {
    width: 60px;
    height: 60px;
  }
  .loading-percentage {
    bottom: 30px;
    left: 30px;
    font-size: 18px;
  }
}
.loading-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 80px);
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
}
