#th-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #ccff00;
  color: #f2f5ea;
  font-family: "Space Grotesk", "JetBrains Mono", system-ui, sans-serif;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#th-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Logo pulled way back (~1/3 size vs cover) over fluor yellow */
#th-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #ccff00;
  background-image: url("/logo.png?v=fluor1");
  background-repeat: no-repeat;
  background-position: center 42%;
  /* ~200% "further" = much smaller mark in the frame */
  background-size: 33%;
  opacity: 1;
  pointer-events: none;
}

/* Dark translucent veil to soften the yellow ground */
#th-splash::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 7, 5, 0.55);
  pointer-events: none;
}

.th-splash-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(360px, 88vw);
  text-align: center;
}

.th-tornado-wrap {
  width: min(280px, 72vw);
  height: min(280px, 72vw);
  position: relative;
  display: grid;
  place-items: center;
  background: transparent;
}

.th-tornado-gif {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  image-rendering: auto;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.th-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.th-brand strong {
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #f2f5ea;
}

.th-brand strong span {
  color: #ccff00;
  text-decoration: none;
}

.th-brand small {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 245, 234, 0.55);
}

.th-loader {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.th-loader-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(204, 255, 0, 0.25);
  overflow: hidden;
}

.th-loader-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9fcc00, #ccff00 55%, #eaff66);
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.45);
  transition: width 0.18s linear;
}

.th-loader-meta {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(242, 245, 234, 0.65);
}

.th-loader-meta b {
  color: #ccff00;
  font-weight: 700;
}
