html.splash-active,
html.splash-active body,
html.splash-gate-active,
html.splash-gate-active body { overflow: hidden; }

.splash-gate {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 35%, rgba(25,143,237,.25), transparent 38%),
    linear-gradient(145deg, #061936, #07346d 58%, #062652);
  isolation: isolate;
}

.splash-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(38deg, transparent 49.7%, rgba(255,255,255,.16) 50%, transparent 50.3%),
    linear-gradient(142deg, transparent 49.7%, rgba(255,255,255,.1) 50%, transparent 50.3%);
  background-size: 190px 190px;
  pointer-events: none;
}

.splash-gate__card {
  position: relative;
  width: min(410px, 100%);
  padding: clamp(30px, 6vw, 56px);
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(3, 20, 49, .7);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}

.splash-gate__kicker {
  color: #f5a623;
  font: 700 10px/1.2 "Be Vietnam Pro", sans-serif;
  letter-spacing: .18em;
}

.splash-gate h1 {
  margin: 22px 0 0;
  font: 800 clamp(1.8rem, 5vw, 2.7rem)/1.08 "Montserrat", sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.splash-gate__line {
  display: block;
  width: 64px;
  height: 2px;
  margin: 22px 0 30px;
  background: #f5a623;
}

.splash-gate__form { display: grid; gap: 15px; }
.splash-gate__field { display: grid; gap: 8px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.splash-gate__field input { width: 100%; border: 1px solid rgba(255,255,255,.28); border-radius: 5px; padding: 13px 14px; color: #fff; background: rgba(255,255,255,.08); font: 600 18px/1.2 "Be Vietnam Pro", sans-serif; letter-spacing: .2em; outline: none; }
.splash-gate__field input::placeholder { color: rgba(255,255,255,.35); }
.splash-gate__field input:focus { border-color: #f5a623; box-shadow: 0 0 0 3px rgba(245,166,35,.16); }
.splash-gate__submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; border: 1px solid #f5a623; border-radius: 999px; color: #102846; background: #f5a623; font: 800 11px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.splash-gate__submit:hover { transform: translateY(-2px); background: #ffc45c; }
.splash-gate__submit span { font-size: 18px; line-height: 1; }
.splash-gate__status { min-height: 18px; margin: 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.5; }
.splash-gate__status.is-error { color: #ffb4ad; }
.splash-gate__status.is-success { color: #a9e7c0; }
.splash-gate.is-unlocking { opacity: 0; transition: opacity .32s ease; pointer-events: none; }

.splash-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  color: white;
  background: #061f46;
  isolation: isolate;
}

.splash-intro__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -2;
  width: 50.1%;
  background:
    radial-gradient(circle at 50% 42%, rgba(25,143,237,.28), transparent 34%),
    linear-gradient(145deg, #071d3d, #07346d 58%, #062652);
  transition: transform .76s cubic-bezier(.76, 0, .24, 1);
}

.splash-intro__panel--left { left: 0; transform-origin: left center; }
.splash-intro__panel--right { right: 0; transform-origin: right center; }

.splash-intro__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(38deg, transparent 49.7%, rgba(255,255,255,.16) 50%, transparent 50.3%),
    linear-gradient(142deg, transparent 49.7%, rgba(255,255,255,.1) 50%, transparent 50.3%);
  background-size: 190px 190px;
}

.splash-intro__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent 8%, rgba(255,255,255,.92) 32%, #f5a623 50%, rgba(255,255,255,.92) 68%, transparent 92%);
  box-shadow: 0 0 22px rgba(245,166,35,.8);
  transform: scaleY(0);
  animation: splash-line-in .65s .92s cubic-bezier(.22,1,.36,1) forwards;
}

.splash-intro__content {
  display: grid;
  justify-items: center;
  width: min(860px, calc(100% - 40px));
  text-align: center;
  transition: opacity .3s ease, transform .3s ease;
}

.splash-intro__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(128px, 16vw, 185px);
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(.72) rotate(-7deg);
  animation: splash-logo-in .72s .12s cubic-bezier(.16,1,.3,1) forwards;
}

.splash-intro__logo-wrap::before,
.splash-intro__logo-wrap::after {
  content: "";
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}

.splash-intro__logo-wrap::after {
  inset: -32px;
  border-color: rgba(245,166,35,.22);
  animation: splash-orbit 3.8s cubic-bezier(.22,1,.36,1) 1 both;
}

.splash-intro__logo { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 34px rgba(0,0,0,.25)); }

.splash-intro__title {
  max-width: 850px;
  margin: 36px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.05rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  animation: splash-copy-in .62s .58s cubic-bezier(.22,1,.36,1) forwards;
}

.splash-intro__accent {
  width: 0;
  height: 3px;
  margin-top: 20px;
  background: linear-gradient(90deg, transparent, #f5a623 35%, #fff 50%, #f5a623 65%, transparent);
  animation: splash-accent-in .62s .82s cubic-bezier(.22,1,.36,1) forwards;
}

.splash-intro.is-exiting .splash-intro__content { opacity: 0; transform: scale(.96); }
.splash-intro.is-exiting .splash-intro__line { animation: none; transform: scaleY(1); opacity: 0; transition: opacity .25s ease; }
.splash-intro.is-exiting .splash-intro__panel--left { transform: translateX(-101%); }
.splash-intro.is-exiting .splash-intro__panel--right { transform: translateX(101%); }

@keyframes splash-logo-in { to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes splash-copy-in { to { opacity: 1; transform: translateY(0); } }
@keyframes splash-line-in { to { transform: scaleY(1); } }
@keyframes splash-accent-in { to { width: min(380px, 70vw); } }
@keyframes splash-orbit { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .splash-gate__card { padding: 30px 24px; }
  .splash-intro__title { max-width: 330px; margin-top: 31px; font-size: 1.02rem; line-height: 1.55; }
  .splash-intro__logo-wrap { width: 132px; }
}
