body {
  background-color: var(--zc-bg, #151313);
}

@keyframes cube-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.cube-pulse {
  animation: cube-pulse 2.5s ease-in-out infinite;
}

#initial-loading {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  transition: opacity 0.3s ease-out;
  position: absolute;
  width: 100%;
  z-index: 9999;
  overflow: hidden;
}

#initial-loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

#initial-loading .loading-text {
  color: #000000;
  opacity: 0.04;
  font-size: 24vw;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

@media (prefers-color-scheme: dark) {
  #initial-loading { background-color: #151313; }
  #initial-loading .loading-text { color: #CECDC3; opacity: 0.04; }
}

html.dark #initial-loading { background-color: #151313 !important; }
html.dark #initial-loading .loading-text { color: #CECDC3 !important; opacity: 0.04 !important; }
html.light #initial-loading { background-color: #ffffff !important; }
html.light #initial-loading .loading-text { color: #000000 !important; opacity: 0.04 !important; }
