:root {
  --gc-green: #6CBD49;
  --gc-bg: #121212;
  --gc-muted: #6E7278;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--gc-bg);
}

gc-splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--gc-bg);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.45s ease;
}

gc-splash.splash-hidden {
  opacity: 0;
  pointer-events: none;
}

gc-splash .glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 189, 73, 0.34) 0%, rgba(108, 189, 73, 0) 70%);
  animation: gc-breathe 3.2s ease-in-out infinite;
}

gc-splash .lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  opacity: 0;
  animation: gc-fade-in 0.7s ease-out 0.1s forwards;
}

gc-splash .logo-icon {
  width: 52px;
  max-width: 18vw;
  height: auto;
}

gc-splash .logo-wordmark {
  width: 104px;
  max-width: 28vw;
  height: auto;
}

gc-loading {
  position: relative;
  display: block;
  opacity: 0;
  animation: gc-fade-in 0.6s ease-out 0.25s forwards;
}

gc-loading .gc-loading-track {
  position: relative;
}

gc-loading .gc-candle {
  position: absolute;
  border-radius: 1px;
  transition: top 0.08s linear, height 0.08s linear;
}

gc-loading .gc-candle-wick {
  position: absolute;
  width: 1px;
  z-index: -1;
  transition: top 0.08s linear, height 0.08s linear;
}

gc-loading .gc-candle-up {
  background: #8DE070;
}

gc-loading .gc-candle-down {
  background: #FF8A80;
}

gc-loading .gc-candle-doji {
  background: #C9CDD1;
}

@keyframes gc-fade-in {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gc-breathe {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  gc-splash .glow,
  gc-splash .lockup,
  gc-loading {
    animation: none;
    opacity: 1;
  }
}
