html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: fixed;
  background: #12141a !important;
  background: radial-gradient(ellipse at center, #1a1d24 0%, #12141a 100%) !important;
}

html {
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
}

h1, h2, h3, h4, text, p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-webkit-font-smoothing: antialiased;
  font-family: 'Open Sans', sans-serif;
}

.Main-Canvas {
  user-select: none;
  opacity: 1;
  transition: opacity .5s ease-out .25s;
}
.isLoading .Main-Canvas {
  opacity: 0;
}

.container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Message {
  position: absolute;
  z-index: 999;
  width: 100%;
  top: calc(50% - 50px);
  text-align: center;
  letter-spacing: 11px;
  color: white;
  opacity: 0;
  transition: opacity .5s ease-out, letter-spacing .5s ease-out;
}
.isLoading .Message {
  letter-spacing: 10px;
  opacity: 1;
}

.Loading-Bar {
  position: absolute;
  z-index: 998;
  width: 0%;
  height: 1px;
  top: 50%;
  background: rgba(196, 163, 90, 0.55);
  opacity: 0;
  transition: width .5s ease-out, opacity .5s ease-out;
}
.isLoading .Loading-Bar {
  opacity: 1;
}

/* —— Loading overlay (replaces broken white GIF) —— */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #12141a;
  transition: opacity 0.45s ease-out;
}

.intro-loader__ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(196, 163, 90, 0.2);
  border-top-color: #c4a35a;
  border-right-color: rgba(196, 163, 90, 0.65);
  animation: intro-spin 0.9s linear infinite;
}

.intro-loader__core {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c4a35a;
  box-shadow: 0 0 18px rgba(196, 163, 90, 0.55);
  animation: intro-pulse 1.2s ease-in-out infinite;
}

@keyframes intro-spin {
  to { transform: rotate(360deg); }
}

@keyframes intro-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

body.loaded .intro-loader {
  display: none !important;
  pointer-events: none !important;
}

/* Ensure UI chrome sits above the WebGL canvas */
.copy-container {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.copy-container .close,
.copy-container .button,
.copy-container .scroll-indicator,
.copy-container .message.show {
  pointer-events: auto;
}

.copy-container .close {
  position: absolute;
  right: 40px;
  top: 20px;
  z-index: 30;
}

/* Kill webpack-injected body:after that showed the broken white GIF */
body:after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}
