html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(77, 44, 94, 0.22), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(159, 223, 172, 0.12), transparent 25%),
    linear-gradient(135deg, #1A4314 20%, #2d6b24 45%, #4D2C5E 80%, #190842 100%);
  font-family: Inter, Arial, sans-serif;
}

#loader.loading-placeholder {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.colossal-loader-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.35));
  animation: colossalPulse 2.2s ease-in-out infinite;
}

#loader h1 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#loader .loading {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

#loader .catastrophic-error {
  max-width: 42rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: rgba(10, 14, 28, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#loader .catastrophic-error a {
  color: #c9a9d6;
}

@keyframes colossalPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.96;
  }
  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}