
html.intro-lock, html.intro-lock body { overflow: hidden; }
.intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 45% at 50% 38%, #3b2585 0%, #150f3a 45%, #05040f 100%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.intro.done { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro, .intro * { box-sizing: border-box; }
.intro-stage {
  position: relative;
  width: min(500px, 100%);
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 24px;
}
.intro-rings, .intro-rings i {
  position: absolute;
  left: 50%;
  top: 42%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.intro-rings i {
  border: 1px solid #a99bff55;
  box-shadow: 0 0 28px #7b5cff33 inset;
  animation: introRing 2.4s cubic-bezier(.2,.7,.3,1) infinite;
}
.intro-rings i:nth-child(1) { width: 180px; height: 180px; }
.intro-rings i:nth-child(2) { width: 300px; height: 300px; animation-delay: .5s; border-color: #95f0d544; }
.intro-rings i:nth-child(3) { width: 440px; height: 440px; animation-delay: 1s; }
.intro-sweep {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 620px;
  height: 620px;
  margin: -310px 0 0 -310px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, #95f0d533 90%, #c9bbff66 100%);
  -webkit-mask-image: radial-gradient(circle, #000 0 58%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0 58%, transparent 70%);
  animation: introSpin 2.2s linear infinite;
  pointer-events: none;
}
.intro-stars {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 14%, #95f0d5 50%, transparent 51%),
    radial-gradient(1px 1px at 36% 70%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 62%, #c9bbff 50%, transparent 51%),
    radial-gradient(1px 1px at 56% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 22% 86%, #95f0d5 50%, transparent 51%),
    radial-gradient(1px 1px at 66% 90%, #fff 50%, transparent 51%);
  background-size: 260px 260px;
  opacity: .75;
  animation: introDrift 4s linear forwards;
  pointer-events: none;
}
.intro-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px 90px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  filter: blur(8px);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.intro-scene.on { opacity: 1; transform: none; filter: none; }
.intro-scene.off { opacity: 0; transform: translateY(-16px) scale(1.04); filter: blur(6px); }
.intro-logo { height: 92px; min-height: 92px; display: grid; place-items: center; }
.intro-logo img { height: 92px; width: auto; filter: drop-shadow(0 0 28px #8d74ffcc); }
.intro-brand {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.intro-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #95f0d5;
  text-shadow: 0 0 14px #95f0d599;
}
.intro-big {
  margin: 0;
  font-size: clamp(50px, 15vw, 74px);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.07em;
  background: linear-gradient(100deg, #ffffff, #d5cbff 30%, #95f0d5 55%, #ffffff 80%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px #8d74ffaa);
  animation: glowShift 2.4s linear infinite;
}
.intro-big span { display: block; }
.intro-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: min(100%, 360px); }
.intro-chips b {
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #c9bbff66;
  background: #ffffff10;
  backdrop-filter: blur(6px);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
  box-shadow: 0 0 22px #7b5cff44;
}
.intro-scene.on .intro-chips b { animation: introPop .5s cubic-bezier(.2,1.4,.4,1) both; }
.intro-scene.on .intro-chips b:nth-child(2) { animation-delay: .12s; }
.intro-scene.on .intro-chips b:nth-child(3) { animation-delay: .24s; }
.intro-line {
  max-width: 340px;
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.intro-sub { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.5; color: #c9c3e8; }
.intro-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #ffffff55, transparent 55%);
  opacity: 0;
  pointer-events: none;
}
.intro-flash.go { animation: introFlash .45s ease-out; }
.intro-bar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: calc(34px + env(safe-area-inset-bottom));
}
.intro-bar-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9bbff;
}
.intro-bar-top span:last-child { color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.intro-track {
  height: 6px;
  border-radius: 99px;
  background: #ffffff1c;
  overflow: hidden;
}
.intro-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d74ff, #c9bbff 55%, #95f0d5);
  box-shadow: 0 0 14px #95f0d5aa;
}
@keyframes introRing {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 0; }
}
@keyframes introSpin { to { transform: rotate(360deg); } }
@keyframes introDrift { to { transform: translate3d(-60px, -90px, 0) scale(1.15); } }
@keyframes introPop { from { opacity: 0; transform: translateY(14px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes introFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
