:root{--404-accent:#c23616;--404-accent-rgb:194, 54, 22}.scan-overlay{pointer-events:none;z-index:9998;background:repeating-linear-gradient(0deg,#0000,#0000 2px,#80808005 2px 4px);position:fixed;inset:0}.cursor-follower{pointer-events:none;z-index:9997;opacity:0;mix-blend-mode:difference;color:#fff;will-change:transform;width:24px;height:24px;position:fixed;top:0;left:0}.cursor-follower svg{width:24px;height:24px}@media (hover:hover){.cursor-follower{animation:.5s 1.2s both cursorAppear}}@keyframes cursorAppear{0%{opacity:0}to{opacity:.5}}.grid-lines{pointer-events:none;z-index:0;position:absolute;inset:0}.grid-v{background:var(--border);width:1px;position:absolute;top:0;bottom:0}.grid-v-1{left:12%}.grid-v-2{right:12%}.grid-h{background:var(--border);height:1px;position:absolute;left:0;right:0}.grid-h-1{top:72%}.error-page{z-index:1;flex-direction:column;flex:1;justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding:100px 48px 80px;display:flex;position:relative;overflow:hidden}.error-content{z-index:2;flex-direction:column;align-items:flex-start;width:100%;max-width:800px;display:flex;position:relative}.digits-row{align-items:baseline;gap:clamp(4px,1.5vw,16px);margin-bottom:32px;display:flex;position:relative}.digit{font-family:var(--font-serif);letter-spacing:-.02em;color:var(--text);cursor:default;opacity:0;font-size:clamp(100px,24vw,240px);font-weight:600;line-height:.85;animation:.5s cubic-bezier(.22,1,.36,1) both digitSlam;display:inline-block;position:relative}.digit-first{animation-delay:.1s}.digit-mid{animation-delay:.25s}.digit-last{animation-delay:.4s}@keyframes digitSlam{0%{opacity:0;filter:blur(6px);transform:translateY(-40px)scaleY(1.2)}70%{opacity:1;filter:blur();transform:translateY(3px)scaleY(.99)}to{opacity:1;filter:blur();transform:translateY(0)scaleY(1)}}.digit:before,.digit:after{content:attr(data-text);opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0}.digit:before{color:var(--404-accent);z-index:-1}.digit:after{color:var(--text);z-index:-2}.digit.glitching:before{animation:.2s steps(2,end) both glitchShift1}.digit.glitching:after{animation:.2s steps(2,end) both glitchShift2}.digit.glitching-intense:before{animation:.4s steps(3,end) both glitchIntense1}.digit.glitching-intense:after{animation:.4s steps(3,end) both glitchIntense2}@keyframes glitchShift1{0%{opacity:.8;clip-path:inset(15% 0 50%);transform:translate(-4px,2px)}50%{opacity:.6;clip-path:inset(45% 0 20%);transform:translate(3px,-1px)}to{opacity:0;clip-path:inset(0);transform:translate(0)}}@keyframes glitchShift2{0%{opacity:.5;clip-path:inset(55% 0 10%);transform:translate(4px,-2px)}50%{opacity:.3;clip-path:inset(10% 0 55%);transform:translate(-3px,1px)}to{opacity:0;clip-path:inset(0);transform:translate(0)}}@keyframes glitchIntense1{0%{opacity:.9;clip-path:inset(10% 0 60%);transform:translate(-6px,3px)}25%{opacity:.7;clip-path:inset(40% 0 15%);transform:translate(5px,-2px)}50%{opacity:.8;clip-path:inset(20% 0 40%);transform:translate(-3px,4px)}75%{opacity:.5;clip-path:inset(50% 0 10%);transform:translate(4px,-3px)}to{opacity:0;clip-path:inset(0);transform:translate(0)}}@keyframes glitchIntense2{0%{opacity:.6;clip-path:inset(50% 0 5%);transform:translate(6px,-3px)}25%{opacity:.4;clip-path:inset(5% 0 50%);transform:translate(-5px,2px)}50%{opacity:.5;clip-path:inset(35% 0 25%);transform:translate(3px,-4px)}75%{opacity:.3;clip-path:inset(15% 0 45%);transform:translate(-4px,3px)}to{opacity:0;clip-path:inset(0);transform:translate(0)}}.error-rule{background:var(--404-accent);transform-origin:0;opacity:0;width:80px;height:3px;margin-bottom:28px;animation:.6s cubic-bezier(.22,1,.36,1) .6s both ruleDraw;transform:scaleX(0)}@keyframes ruleDraw{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}.error-title{font-family:var(--font-sans);letter-spacing:.06em;color:var(--text);margin-bottom:16px;font-size:clamp(36px,7vw,72px);font-weight:700;line-height:1;display:flex}.title-char{opacity:0;display:inline-block}.title-char-1{animation:.7s cubic-bezier(.22,1,.36,1) .8s both slamBounceLeft}.title-char-2{animation:.7s cubic-bezier(.22,1,.36,1) 1s both slamBounceRight}.title-char-3{animation:.7s cubic-bezier(.22,1,.36,1) 1.2s both slamBounceLeft}.title-char-4{animation:.7s cubic-bezier(.22,1,.36,1) 1.4s both slamBounceRight}@keyframes slamBounceLeft{0%{opacity:0;filter:blur(8px);transform:translate(-50px,-40px)rotate(-8deg)scale(1.3)}55%{opacity:1;filter:blur();transform:translate(4px,2px)rotate(1deg)scale(.97)}75%{filter:blur();transform:translate(-2px,-1px)rotate(-.5deg)scale(1.02)}to{opacity:1;filter:blur();transform:translate(0)rotate(0)scale(1)}}@keyframes slamBounceRight{0%{opacity:0;filter:blur(8px);transform:translate(50px,-40px)rotate(8deg)scale(1.3)}55%{opacity:1;filter:blur();transform:translate(-4px,2px)rotate(-1deg)scale(.97)}75%{filter:blur();transform:translate(2px,-1px)rotate(.5deg)scale(1.02)}to{opacity:1;filter:blur();transform:translate(0)rotate(0)scale(1)}}.error-desc{font-family:var(--font-serif);color:var(--text-muted);letter-spacing:.22em;opacity:0;margin-bottom:48px;font-size:clamp(13px,1.5vw,15px);font-weight:300;line-height:1.8;animation:.8s 1.4s both descReveal}@keyframes descReveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.btn-return{border:2px solid var(--text);color:var(--text);font-family:var(--font-sans);letter-spacing:.18em;text-transform:uppercase;opacity:0;background:0 0;align-items:center;gap:10px;padding:14px 32px;font-size:12px;font-weight:600;text-decoration:none;transition:all .3s cubic-bezier(.22,1,.36,1);animation:.6s cubic-bezier(.22,1,.36,1) 1.7s both btnSlideIn;display:inline-flex;position:relative;overflow:hidden}.btn-return:before{content:"";background:var(--text);transform-origin:0;z-index:-1;transition:transform .3s cubic-bezier(.22,1,.36,1);position:absolute;inset:0;transform:scaleX(0)}.btn-return:hover{color:var(--bg)}.btn-return:hover:before{transform:scaleX(1)}.btn-return:active{transform:scale(.97)}.btn-return svg{width:14px;height:14px;transition:transform .3s cubic-bezier(.22,1,.36,1)}.btn-return:hover svg{transform:translate(-3px)}@keyframes btnSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.corner-mark{opacity:0;width:24px;height:24px;animation:.4s 2s both cornerFade;position:absolute}.corner-mark:before,.corner-mark:after{content:"";background:var(--text-muted);position:absolute}.corner-mark:before{width:1px;height:100%}.corner-mark:after{width:100%;height:1px}.corner-tl{top:48px;left:48px}.corner-tl:before,.corner-tl:after{top:0;left:0}.corner-tr{top:48px;right:48px}.corner-tr:before,.corner-tr:after{top:0;right:0}.corner-bl{bottom:48px;left:48px}.corner-bl:before,.corner-bl:after{bottom:0;left:0}.corner-br{bottom:48px;right:48px}.corner-br:before,.corner-br:after{bottom:0;right:0}@keyframes cornerFade{0%{opacity:0}to{opacity:.2}}.blocked-icon{width:48px;height:48px;color:var(--404-accent);opacity:0;margin-bottom:20px;animation:.5s cubic-bezier(.22,1,.36,1) .1s both iconSlamIn}.blocked-icon svg{width:100%;height:100%}.blocked-icon.glitching{animation:.2s steps(2,end) both iconGlitch}@keyframes iconSlamIn{0%{opacity:0;filter:blur(6px);transform:scale(2)rotate(-10deg)}60%{opacity:1;filter:blur();transform:scale(.9)rotate(2deg)}80%{transform:scale(1.05)rotate(-.5deg)}to{opacity:1;filter:blur();transform:scale(1)rotate(0)}}@keyframes iconGlitch{0%{opacity:.7;transform:translate(-3px,2px)}50%{opacity:.5;transform:translate(3px,-1px)}to{opacity:1;transform:translate(0)}}.blocked-label{font-family:var(--font-sans);letter-spacing:.3em;color:var(--404-accent);opacity:0;margin-bottom:24px;font-size:13px;font-weight:600;animation:.5s .3s both labelFadeIn}@keyframes labelFadeIn{0%{opacity:0;letter-spacing:.6em}to{opacity:1;letter-spacing:.3em}}.error-sub{font-family:var(--font-sans);letter-spacing:.08em;color:var(--text-secondary);opacity:0;margin-bottom:48px;font-size:13px;font-weight:400;animation:.8s 1.6s both descReveal}@media (prefers-reduced-motion:reduce){.blocked-icon{opacity:1!important;animation:none!important}.blocked-icon.glitching{animation:none!important}.blocked-label,.error-sub{opacity:1!important;animation:none!important}}@media (width<=768px){.blocked-icon{width:40px;height:40px}.error-content:has(.blocked-icon){text-align:center;align-items:center}.blocked-label,.error-sub{text-align:center}}@media (width<=480px){.blocked-icon{width:36px;height:36px;margin-bottom:16px}.blocked-label{margin-bottom:20px;font-size:11px}.error-sub{margin-bottom:36px;font-size:11px}}.footer{letter-spacing:1px;z-index:1;border-top:1px solid var(--border);padding:28px 24px;font-size:12px;position:relative}@media (prefers-reduced-motion:reduce){.digit{opacity:1!important;animation:none!important}.digit.glitching:before,.digit.glitching:after,.digit.glitching-intense:before,.digit.glitching-intense:after{opacity:0!important;animation:none!important}.error-rule{opacity:1!important;animation:none!important;transform:scaleX(1)!important}.error-title{opacity:1!important;animation:none!important}.title-char{opacity:1!important;animation:none!important;transform:none!important}.error-desc,.btn-return{opacity:1!important;animation:none!important}.corner-mark{opacity:.2!important;animation:none!important}.cursor-follower{display:none!important}}@media (width<=768px){.error-page{padding:80px 24px 60px}.error-content{text-align:center;align-items:center}.digits-row{justify-content:center}.error-rule{transform-origin:50%;margin-left:auto;margin-right:auto}.error-title{text-align:center;justify-content:center}.error-desc{text-align:center}.btn-return{align-self:center}.corner-mark,.grid-lines{display:none}}@media (width<=480px){.error-page{padding:72px 20px 48px}.digit{font-size:clamp(80px,30vw,140px)}.error-title{font-size:clamp(28px,9vw,48px)}.error-desc{letter-spacing:.15em;margin-bottom:36px;font-size:12px}.btn-return{gap:8px;padding:12px 24px;font-size:11px}}
