/* ---------- intro gate + sting ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; background: #01030a; overflow: hidden; cursor: pointer; user-select: none; transition: opacity .85s ease, filter .85s ease; }
.intro[hidden] { display: none; }
.intro.out { opacity: 0; filter: blur(6px) brightness(1.6); pointer-events: none; }
.in-bg { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 45%, #0b2a7a 0%, #061445 35%, #02061a 70%, #000 100%); }
.in-grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image: linear-gradient(rgba(43, 228, 255, .5) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(43, 228, 255, .5) 1.5px, transparent 1.5px);
  background-size: 70px 70px; transform: perspective(380px) rotateX(64deg); transform-origin: 50% 0;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%);
  animation: gridmove 2.2s linear infinite; opacity: .5;
}
@keyframes gridmove { to { background-position: 0 70px, 0 0; } }
.in-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, .85) 100%); }
.in-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none; mix-blend-mode: overlay; }

.in-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity .35s ease, transform .5s var(--ease-out); }
.gate-badge { width: min(34vw, 230px); aspect-ratio: 1; filter: drop-shadow(0 0 40px rgba(43, 140, 255, .55)); animation: gatefloat 4s ease-in-out infinite; margin-bottom: 18px; }
.gate-badge svg { width: 100%; height: 100%; display: block; }
.gate-badge .em-sweep { animation: gatesweep 3.4s ease-in-out infinite; }
@keyframes gatesweep { 0%, 40% { transform: skewX(-20deg) translateX(0); } 80%, 100% { transform: skewX(-20deg) translateX(1000px); } }
@keyframes gatefloat { 50% { transform: translateY(-8px); } }
.gate-press { font-size: clamp(30px, 5vw, 54px); font-style: italic; letter-spacing: .06em; color: #fff; text-shadow: 0 0 24px rgba(43, 228, 255, .8), 0 0 2px #fff; animation: blink 1.15s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.gate-or { font-family: var(--display); font-variation-settings: "wdth" 80; font-size: 14px; letter-spacing: .4em; text-transform: uppercase; color: #9fb9e8; }
.gate-note { margin-top: 30px; font-size: 12px; color: #7f93bd; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.gate-live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: livepulse 1.6s infinite; }
.intro.entered .in-gate, .intro.nogate .in-gate { opacity: 0; transform: scale(1.15); pointer-events: none; }

.in-stage { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.intro.playing .in-stage { opacity: 1; }
.in-lock { display: flex; align-items: center; gap: clamp(8px, 2vw, 26px); transform-style: preserve-3d; perspective: 900px; }
.in-badge { width: min(36vw, 330px); aspect-ratio: 1; opacity: 0; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .8)) drop-shadow(0 0 50px rgba(43, 140, 255, .45)); }
.in-badge svg { width: 100%; height: 100%; display: block; }
.intro.playing .in-badge { animation: flyin .9s cubic-bezier(.6, .02, .85, .45) forwards; }
@keyframes flyin {
  0% { opacity: 0; transform: translateZ(1400px) rotateY(-300deg) rotateZ(-30deg) scale(2.2); filter: blur(14px); }
  30% { opacity: 1; }
  100% { opacity: 1; transform: translateZ(0) rotateY(0) rotateZ(0) scale(1.12); filter: blur(0) drop-shadow(0 0 50px rgba(43, 140, 255, .45)); }
}
.intro.slam .in-badge { animation: slam .55s cubic-bezier(.2, 1.6, .4, 1) forwards; opacity: 1; }
@keyframes slam { 0% { transform: scale(1.12); } 35% { transform: scale(.94); } 100% { transform: scale(1); } }
.intro.slam .in-lock { animation: shake .45s linear; }
@keyframes shake { 10% { transform: translate(-9px, 5px); } 25% { transform: translate(8px, -6px); } 40% { transform: translate(-6px, 3px); } 55% { transform: translate(4px, -2px); } 70% { transform: translate(-2px, 1px); } 100% { transform: none; } }
.in-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #fff, rgba(140, 200, 255, .6) 30%, transparent 70%); opacity: 0; }
.intro.slam .in-flash { animation: flash .6s ease-out; }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.in-ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 3px solid rgba(160, 220, 255, .9); opacity: 0; box-shadow: 0 0 40px rgba(43, 228, 255, .8), inset 0 0 40px rgba(43, 228, 255, .5); }
.intro.slam .in-ring { animation: ring 1s var(--ease-out) forwards; }
@keyframes ring { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(4.2); border-width: 1px; } }
.in-word { position: relative; display: flex; flex-direction: column; opacity: 0; transform: translateX(160px) skewX(-14deg); }
.intro.word .in-word { animation: wordin .55s cubic-bezier(.16, 1.3, .3, 1) forwards; }
@keyframes wordin { 0% { opacity: 0; transform: translateX(260px) skewX(-14deg) scaleX(1.6); filter: blur(10px); } 100% { opacity: 1; transform: translateX(0) skewX(-14deg); filter: blur(0); } }
.w-sports {
  position: relative; font-family: Impact, "Arial Black", "Bahnschrift", sans-serif; font-size: clamp(54px, 12vw, 172px); line-height: .9; letter-spacing: -.01em;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4ff 30%, #a7c9f2 48%, #26457a 52%, #7ea8dc 70%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .7);
  filter: drop-shadow(5px 6px 0 #000c2e) drop-shadow(2px 2px 0 #0a2a6e) drop-shadow(0 0 30px rgba(43, 140, 255, .55));
}
.w-bar { display: block; height: clamp(6px, 1.1vw, 14px); margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, #ff3448 0 34%, #fff 34% 38%, #2be4ff 38% 100%); box-shadow: 0 0 20px rgba(43, 228, 255, .6); transform-origin: left; transform: scaleX(0); }
.intro.word .w-bar { animation: barin .6s .25s var(--ease-out) forwards; }
@keyframes barin { to { transform: scaleX(1); } }
.intro.sweep .in-badge .em-sweep { animation: sweep 1.1s ease-in-out forwards; }
@keyframes sweep { from { transform: skewX(-20deg) translateX(0); } to { transform: skewX(-20deg) translateX(1100px); } }
.intro.sweep .w-sports::after {
  content: ""; position: absolute; inset: -10% 0; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .95) 50%, transparent 60%);
  mix-blend-mode: overlay; animation: wsweep 1.1s .15s ease-in-out forwards; transform: translateX(-120%); -webkit-text-stroke: 0;
}
@keyframes wsweep { to { transform: translateX(120%); } }
.in-flare { position: absolute; left: 50%; top: 42%; width: 0; height: 0; opacity: 0; mix-blend-mode: screen; }
.intro.sweep .in-flare { animation: flare 1.5s ease-in-out forwards; }
@keyframes flare { 0% { opacity: 0; transform: translateX(-34vw); } 25% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(30vw); } }
.f-core { position: absolute; width: 180px; height: 180px; left: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, #fff 0 6%, rgba(180, 230, 255, .8) 12%, rgba(43, 140, 255, .25) 35%, transparent 65%); }
.f-streak { position: absolute; width: 90vw; height: 3px; left: -45vw; top: -1.5px; background: linear-gradient(90deg, transparent, rgba(120, 200, 255, .9) 40%, #fff 50%, rgba(120, 200, 255, .9) 60%, transparent); filter: blur(.6px); }
.f-dot { position: absolute; border-radius: 50%; }
.f-dot.d1 { width: 40px; height: 40px; left: -140px; top: 40px; background: radial-gradient(circle, rgba(43, 228, 255, .5), transparent 70%); }
.f-dot.d2 { width: 70px; height: 70px; left: -260px; top: 90px; border: 2px solid rgba(255, 120, 200, .25); background: radial-gradient(circle, rgba(255, 52, 72, .2), transparent 70%); }
.f-dot.d3 { width: 22px; height: 22px; left: 120px; top: -50px; background: rgba(255, 201, 64, .35); }
.f-hex { position: absolute; width: 60px; height: 60px; left: -360px; top: 150px; background: rgba(100, 160, 255, .15); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.in-tag { position: absolute; left: 0; right: 0; bottom: 16vh; text-align: center; font-size: clamp(26px, 4.2vw, 52px); font-style: italic; letter-spacing: .14em; color: #fff; }
.in-tag span { display: inline-block; opacity: 0; transform: translateY(18px); text-shadow: 0 0 30px rgba(43, 228, 255, .9), 0 2px 0 #08245e; }
.intro.tag .in-tag span { animation: tagin .5s var(--ease-out) forwards; }
.intro.tag .in-tag span:nth-child(2) { animation-delay: .14s; } .intro.tag .in-tag span:nth-child(3) { animation-delay: .28s; } .intro.tag .in-tag span:nth-child(4) { animation-delay: .42s; color: var(--accent); }
@keyframes tagin { to { opacity: 1; transform: none; letter-spacing: .02em; } }
.in-skip { position: absolute; right: 22px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #b9c8e6; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.intro.playing .in-skip { opacity: 1; }
.in-skip:hover { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 700px) {
  .in-lock { flex-direction: column; gap: 6px; }
  .in-badge { width: 58vw; }
  .in-word { align-items: center; }
  .in-tag { bottom: 12vh; }
}
