.startup-splash {
  --hud-cyan: #65e3d3;
  --hud-muted: #77a7a4;
  position: fixed;
  color: #e9fcf8;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 48% 56% at 50% 48%, rgba(22, 78, 79, .44), transparent 76%),
    radial-gradient(ellipse 90% 72% at 50% 95%, rgba(4, 48, 53, .44), transparent 67%),
    #020a0e !important;
  transition: opacity .3s ease, visibility .3s ease;
}
.startup-splash::before,
.startup-splash::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.startup-splash::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .64), transparent 23%, transparent 77%, rgba(0, 0, 0, .64)),
    radial-gradient(ellipse 70% 90% at 50% 50%, transparent 31%, rgba(0, 4, 8, .56) 82%);
}
.startup-splash::after {
  z-index: 2;
  opacity: .28;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(103, 211, 202, .06) 4px, transparent 5px);
}
.startup-media {
  position: absolute; inset: 0; z-index: 0; opacity: .52;
  background-position: center; background-size: cover; pointer-events: none;
}
.startup-video {
  display: block; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .25s ease;
}
.startup-splash.has-video .startup-video { opacity: 1; }
.startup-visor {
  position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; pointer-events: none;
  filter: drop-shadow(0 0 7px rgba(68, 225, 204, .14));
  animation: startupVisor .8s ease-out both;
}
.startup-visor-glow {
  position: absolute; z-index: 2; top: 12%; bottom: 8%; width: 21%; opacity: .5; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 132, 134, .2), transparent 65%); filter: blur(25px);
}
.startup-visor-glow-left { left: 0; }
.startup-visor-glow-right { right: 0; transform: scaleX(-1); }
.startup-scanline {
  position: absolute; z-index: 5; inset: -35% 0 auto; height: 17%; pointer-events: none; opacity: .55;
  background: linear-gradient(transparent, rgba(83, 225, 211, .10), rgba(130, 250, 229, .20) 96%, transparent);
  animation: startupScan 2.2s ease-in-out infinite;
}
.startup-hud {
  position: absolute; z-index: 4; top: 35%; width: clamp(145px, 15vw, 250px);
  display: flex; flex-direction: column; gap: 11px; color: var(--hud-muted);
  font: 500 clamp(8px, .7vw, 11px)/1.3 Inter, system-ui, sans-serif;
  letter-spacing: .2em; pointer-events: none;
  animation: startupSideIn .8s .12s both;
}
.startup-hud-left { left: clamp(44px, 8vw, 154px); }
.startup-hud-right { right: clamp(44px, 8vw, 154px); text-align: right; }
.startup-hud-kicker { color: #d6a56d; font-weight: 700; }
.startup-hud-rule { height: 1px; width: 100%; background: linear-gradient(90deg, rgba(91, 229, 209, .65), transparent); }
.startup-hud-right .startup-hud-rule { transform: scaleX(-1); }
.startup-hud-bars { display: flex; align-items: end; gap: 5px; height: 26px; }
.startup-hud-bars i {
  width: 4px; height: 8px; background: var(--hud-cyan); box-shadow: 0 0 8px rgba(75, 213, 192, .38);
  animation: startupBars 1.4s ease-in-out infinite alternate;
}
.startup-hud-bars i:nth-child(2), .startup-hud-bars i:nth-child(6) { height: 17px; animation-delay: .13s; }
.startup-hud-bars i:nth-child(3), .startup-hud-bars i:nth-child(5) { height: 12px; animation-delay: .26s; }
.startup-hud-bars i:nth-child(4) { height: 24px; animation-delay: .39s; }
.startup-hud-crosshair { color: var(--hud-cyan); font-size: 14px; letter-spacing: .24em; }
.startup-horizon {
  position: absolute; z-index: 2; left: 18%; right: 18%; top: 50%; height: 1px; opacity: .34;
  background: linear-gradient(90deg, transparent, rgba(98, 229, 215, .5) 25%, transparent 40%, transparent 60%, rgba(98, 229, 215, .5) 75%, transparent);
}
.startup-horizon span {
  position: absolute; top: -8px; left: calc(50% - 7px); width: 14px; height: 17px;
  border-left: 1px solid var(--hud-cyan); border-right: 1px solid var(--hud-cyan);
}
.startup-content {
  position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center;
  justify-content: center; width: min(100%, 500px); min-height: 340px;
  padding: 45px 24px; text-align: center;
}
.startup-target {
  position: absolute; top: 50%; left: 50%; width: min(62vmin, 470px); aspect-ratio: 1;
  border: 1px solid rgba(74, 217, 203, .16); border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 40px rgba(6, 113, 108, .055), 0 0 0 24px rgba(53, 222, 204, .012), 0 0 0 72px rgba(53, 222, 204, .008);
  pointer-events: none;
}
.startup-target::before, .startup-target::after, .startup-target-inner::before { content: ''; position: absolute; border-radius: 50%; }
.startup-target::before { inset: 13%; border: 1px dashed rgba(75, 216, 202, .24); animation: startupOrbit 18s linear infinite; }
.startup-target::after { inset: 30%; border: 1px solid rgba(73, 218, 203, .12); }
.startup-target-inner {
  position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent;
  border-top-color: rgba(91, 236, 220, .74); border-bottom-color: rgba(214, 159, 97, .48);
  animation: startupOrbit 7s linear infinite;
}
.startup-target-inner::before { inset: 6%; border: 1px solid transparent; border-left-color: rgba(106, 220, 207, .36); border-right-color: rgba(106, 220, 207, .36); }
.startup-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #a6d1c9;
  font: 700 9px/1.4 Inter, system-ui, sans-serif; letter-spacing: .3em;
}
.startup-eyebrow span { width: 17px; height: 1px; background: #d5a269; }
.startup-emblem { position: relative; width: 122px; height: 122px; display: grid; place-items: center; }
.startup-orbit { position: absolute; inset: 4px; border: 1px solid rgba(83, 227, 207, .24); border-radius: 50%; animation: startupOrbit 4s linear infinite; }
.startup-orbit::after {
  content: ''; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: #a4f8e8; box-shadow: 0 0 15px #00d1b2;
}
.startup-mark { width: 94px; height: 94px; filter: drop-shadow(0 0 20px rgba(0, 209, 178, .55)); }
.startup-mark-outline {
  fill: rgba(0, 209, 178, .09); stroke: #7eefe0; stroke-width: 3; stroke-linejoin: round;
  stroke-dasharray: 225; stroke-dashoffset: 225;
  animation: startupDraw .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.startup-mark-inner { fill: #46dfc2; opacity: 0; animation: startupAppear .3s ease .31s forwards; }
.startup-wordmark {
  margin-top: 14px; font: 700 23px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .36em; text-indent: .36em; text-shadow: 0 0 22px rgba(65, 230, 206, .35);
}
.startup-caption { min-height: 21px; margin: 12px 0 0; color: #bdd7d3; font: 400 12px/1.5 Inter, system-ui, sans-serif; letter-spacing: .05em; }
.startup-activity { display: flex; gap: 6px; margin-top: 16px; }
.startup-activity span { width: 4px; height: 4px; background: #70edda; border-radius: 50%; opacity: .3; animation: startupPulse 1s ease-in-out infinite; }
.startup-activity span:nth-child(2) { animation-delay: .15s; }
.startup-activity span:nth-child(3) { animation-delay: .3s; }
.startup-retry { margin-top: 18px; padding: 10px 19px; color: #e5fff8; background: rgba(0, 209, 178, .17); border: 1px solid rgba(86, 230, 208, .6); border-radius: 5px; font: 600 12px Inter, system-ui, sans-serif; cursor: pointer; }
.startup-retry:hover { background: rgba(0, 209, 178, .25); }
.startup-retry:focus-visible { outline: 2px solid #e4b47d; outline-offset: 3px; }
.startup-retry[hidden] { display: none; }
.startup-corner {
  position: absolute; z-index: 4; bottom: 6%; color: #679c99;
  font: 600 9px/1.3 Inter, system-ui, sans-serif; letter-spacing: .19em; pointer-events: none;
}
.startup-corner span { color: #c28f5c; }
.startup-corner-left { left: 5%; }
.startup-corner-right { right: 5%; text-align: right; }
.startup-splash.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes startupDraw { to { stroke-dashoffset: 0; } }
@keyframes startupAppear { to { opacity: 1; } }
@keyframes startupOrbit { to { transform: rotate(360deg); } }
@keyframes startupPulse { 50% { opacity: 1; transform: scale(1.3); } }
@keyframes startupScan { to { transform: translateY(140vh); } }
@keyframes startupBars { to { opacity: .35; transform: scaleY(.55); } }
@keyframes startupVisor { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
@keyframes startupSideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 940px) {
  .startup-hud { top: 30%; width: 140px; opacity: .7; }
  .startup-hud-left { left: 5%; }
  .startup-hud-right { right: 5%; }
  .startup-hud-label { display: none; }
  .startup-content { min-height: 300px; }
}
@media (max-width: 600px) {
  .startup-visor { width: 180%; left: -40%; }
  .startup-hud { top: 18%; width: 110px; gap: 7px; }
  .startup-hud-left { left: 7%; }
  .startup-hud-right { right: 7%; }
  .startup-hud-rule { opacity: .5; }
  .startup-hud-bars, .startup-hud-crosshair { display: none; }
  .startup-target { width: min(88vw, 380px); }
  .startup-content { min-height: 310px; padding: 36px 28px; }
  .startup-corner { bottom: 4%; font-size: 7px; letter-spacing: .1em; }
}
@media (max-height: 610px) {
  .startup-content { min-height: 0; padding-block: 18px; }
  .startup-emblem { width: 90px; height: 90px; }
  .startup-mark { width: 72px; height: 72px; }
  .startup-eyebrow { margin-bottom: 5px; }
  .startup-wordmark { margin-top: 5px; }
  .startup-caption { margin-top: 7px; }
  .startup-activity { margin-top: 8px; }
  .startup-target { width: min(72vmin, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .startup-splash { transition-duration: .01ms; }
  .startup-video { display: none; }
  .startup-visor, .startup-hud, .startup-scanline, .startup-target::before, .startup-target-inner, .startup-orbit, .startup-hud-bars i, .startup-activity span { animation: none; }
  .startup-scanline { display: none; }
  .startup-mark-outline { animation: none; stroke-dashoffset: 0; }
  .startup-mark-inner { animation: none; opacity: 1; }
}
