body.is-entry-locked { overflow: hidden; }
.entry-gate { position: fixed; z-index: 1000; inset: 0; overflow: hidden; color: #ece9df; background: #080b0d; opacity: 1; visibility: visible; transition: opacity 1s cubic-bezier(.4,0,.2,1),visibility 1s; }
.entry-gate.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.entry-gate__backdrop { position: absolute; inset: -4%; background: linear-gradient(180deg,rgba(5,8,9,.89),rgba(5,7,8,.79) 48%,rgba(4,6,7,.94)),linear-gradient(90deg,rgba(3,6,7,.36),rgba(10,20,21,.14),rgba(3,6,7,.44)),url('./assets/hero-gate.webp') center 44%/cover no-repeat; filter: grayscale(.72) saturate(.55) contrast(1.08); transform: scale(1.04); animation: gate-drift 13s ease-in-out infinite alternate; }
.entry-gate__backdrop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 48%,transparent 0 14%,rgba(2,4,5,.2) 48%,rgba(2,3,4,.72) 100%); }
.entry-gate__noise { position: absolute; inset: 0; opacity: .21; background-image: repeating-radial-gradient(circle at 17% 23%,transparent 0 1px,rgba(255,255,255,.04) 1px 2px,transparent 2px 4px),repeating-linear-gradient(0deg,transparent 0 3px,rgba(255,255,255,.018) 4px); background-size: 6px 6px,100% 4px; mix-blend-mode: soft-light; pointer-events: none; }
.entry-gate::before,.entry-gate::after { content: ''; position: absolute; z-index: 2; top: 30px; width: 1px; height: 44px; background: rgba(222,218,204,.28); }
.entry-gate::before { left: 38px; }
.entry-gate::after { right: 38px; }
.entry-gate__edition { position: absolute; z-index: 3; top: 35px; left: 56px; display: flex; align-items: center; gap: 14px; margin: 0; color: rgba(232,229,219,.45); font: 700 8px/1 Arial,sans-serif; letter-spacing: .3em; }
.entry-gate__edition span { width: 38px; height: 1px; background: rgba(216,255,0,.46); }
.entry-gate__brand { position: absolute; z-index: 3; top: 47%; left: 50%; width: min(66vw,620px); text-align: center; transform: translate(-50%,-50%); }
.entry-gate__sigil { position: absolute; z-index: -1; top: 50%; left: 50%; display: grid; place-items: center; width: min(54vw,540px); aspect-ratio: 1; color: rgba(225,224,215,.055); border: 1px solid rgba(225,224,215,.055); border-radius: 50%; font: 400 clamp(120px,22vw,280px)/1 "STKaiti","KaiTi",serif; transform: translate(-50%,-50%); }
.entry-gate__sigil::before,.entry-gate__sigil::after,.entry-gate__sigil i { content: ''; position: absolute; border: 1px solid rgba(225,224,215,.045); border-radius: 50%; }
.entry-gate__sigil::before { inset: 8%; border-style: dashed; }
.entry-gate__sigil::after { inset: 21%; border-color: rgba(216,255,0,.045); }
.entry-gate__sigil i:first-child { inset: -7% 47%; border-radius: 0; border-width: 0 1px; transform: rotate(45deg); }
.entry-gate__sigil i:nth-child(2) { inset: 47% -7%; border-radius: 0; border-width: 1px 0; transform: rotate(-18deg); }
.entry-gate__sigil span { transform: translateY(-.03em); }
.entry-gate__brand h1 { margin: 0; color: rgba(246,244,237,.94); font: 500 clamp(29px,4.2vw,54px)/1 "STKaiti","KaiTi",serif; letter-spacing: .34em; text-indent: .34em; text-shadow: 0 8px 32px rgba(0,0,0,.72); }
.entry-gate__brand p { margin: 13px 0 0; color: rgba(229,227,218,.44); font: 600 8px/1 Arial,sans-serif; letter-spacing: .72em; text-indent: .72em; }
.entry-gate__loading { position: absolute; z-index: 4; left: 50%; bottom: 10.5vh; display: grid; grid-template-columns: 170px auto; align-items: center; gap: 14px; color: rgba(235,232,221,.38); font: 600 7px/1 Arial,sans-serif; letter-spacing: .28em; transform: translateX(-50%); transition: opacity .5s ease,transform .5s ease; }
.entry-gate__loading i { grid-column: 1; grid-row: 1; width: 170px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.entry-gate__loading i::after { content: ''; display: block; width: 100%; height: 100%; background: linear-gradient(90deg,rgba(216,255,0,.22),#d8ff00); transform-origin: left; animation: gate-load 1.25s cubic-bezier(.65,0,.35,1) both; }
.entry-gate__loading span { position: absolute; top: 10px; left: 0; }
.entry-gate__loading b { grid-column: 2; grid-row: 1; font-weight: 500; }
.entry-gate.is-ready .entry-gate__loading { opacity: 0; transform: translate(-50%,10px); }
.entry-gate__choices { position: absolute; z-index: 5; right: clamp(28px,5vw,80px); bottom: clamp(35px,5.5vh,66px); left: clamp(28px,5vw,80px); display: flex; align-items: end; justify-content: space-between; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .8s ease .15s,transform .8s ease .15s; }
.entry-gate.is-ready .entry-gate__choices { opacity: 1; transform: none; pointer-events: auto; }
.entry-choice { position: relative; display: grid; gap: 7px; min-width: 225px; padding: 17px 24px 16px; color: rgba(241,239,230,.9); border: 1px solid rgba(241,239,230,.24); background: rgba(8,11,13,.08); text-align: left; cursor: pointer; backdrop-filter: blur(3px); transition: color .25s ease,border-color .25s ease,background .25s ease,transform .25s ease; }
.entry-choice span { font: 500 14px/1 "Microsoft YaHei",sans-serif; letter-spacing: .22em; }
.entry-choice small { color: rgba(234,231,221,.35); font: 500 7px/1 Arial,sans-serif; letter-spacing: .25em; }
.entry-choice::after { content: '→'; position: absolute; top: 50%; right: 19px; color: #d8ff00; font: 300 15px/1 sans-serif; transform: translateY(-50%); transition: transform .25s ease; }
.entry-choice:hover,.entry-choice:focus-visible { color: #fff; border-color: rgba(216,255,0,.55); background: rgba(12,17,17,.45); outline: none; transform: translateY(-3px); }
.entry-choice:hover::after,.entry-choice:focus-visible::after { transform: translate(5px,-50%); }
.entry-choice--silent { min-width: 0; padding: 0 36px 8px 0; border: 0; background: transparent; opacity: .62; }
.entry-choice--silent:hover,.entry-choice--silent:focus-visible { background: transparent; opacity: 1; transform: none; }
.entry-choice:disabled { opacity: .35; cursor: wait; }
.entry-gate__coordinates { position: absolute; z-index: 3; right: 56px; top: 38px; display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(232,229,219,.28); font: 500 7px/1 Arial,sans-serif; letter-spacing: .22em; }
.entry-gate__coordinates span { width: 24px; height: 1px; background: rgba(232,229,219,.22); }
@keyframes gate-drift { to { transform: scale(1.09) translate3d(-.7%,.5%,0); } }
@keyframes gate-load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width:700px) {
  .entry-gate::before,.entry-gate::after,.entry-gate__coordinates { display: none; }
  .entry-gate__edition { top: 25px; left: 23px; }
  .entry-gate__brand { top: 43%; width: 90vw; }
  .entry-gate__sigil { width: min(108vw,430px); }
  .entry-gate__brand h1 { font-size: clamp(30px,10vw,46px); letter-spacing: .22em; text-indent: .22em; }
  .entry-gate__choices { right: 22px; bottom: 28px; left: 22px; align-items: stretch; flex-direction: column; gap: 12px; }
  .entry-choice,.entry-choice--silent { width: 100%; min-width: 0; padding: 16px 18px; border: 1px solid rgba(241,239,230,.2); background: rgba(8,11,13,.32); opacity: 1; }
  .entry-gate__loading { bottom: 42px; }
}
@media (prefers-reduced-motion:reduce) { .entry-gate__backdrop,.entry-gate__loading i::after { animation: none; } }

