body {
  background-color: #0d0f17;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0d0f17;
  background-image: radial-gradient(circle at center, #1a1e2d 0%, #0d0f17 100%);
  color: #f7a600;
  font-family: "Segoe UI", Roboto, sans-serif;
  z-index: 999999;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
  position: relative;
  width: clamp(120px, 15vmin, 160px);
  height: clamp(120px, 15vmin, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(247, 166, 0, 0.5);
  animation: pulse 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pulse-ring:nth-child(2) {
  animation-delay: 0.6s;
}

.pulse-ring:nth-child(3) {
  animation-delay: 1.2s;
}

.core-spinner {
  position: absolute;
  width: 65%;
  height: 65%;
  border: 4px solid transparent;
  border-top-color: #f7a600;
  border-bottom-color: #f7a600;
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.inner-dot {
  position: absolute;
  width: 16%;
  height: 16%;
  background-color: #f7a600;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(247, 166, 0, 0.8);
  animation: pulse-dot 1.2s ease-in-out infinite alternate;
}

.brand-text {
  font-weight: 800;
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 5px;
  background: linear-gradient(90deg, #f7a600, #ffcf54, #f7a600);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite, glow 2s ease-in-out infinite alternate;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes pulse-dot {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}

@keyframes glow {
  from { text-shadow: 0 0 10px rgba(247, 166, 0, 0.3); }
  to { text-shadow: 0 0 25px rgba(247, 166, 0, 0.8); }
}

@keyframes shine {
  to { background-position: 200% center; }
}

@media (prefers-color-scheme: light) {
  body {
    background-color: #f8f9fa;
  }
  #loading {
    background-color: #f8f9fa;
    background-image: radial-gradient(circle at center, #ffffff 0%, #f3f4f6 100%);
  }
}
