.gateway-page{overflow:hidden;background:#02050d}.gateway-page:after{display:none}.aurora{display:none}.gateway-shell{position:relative;z-index:2;min-height:100vh;width:min(1500px,95vw);margin:auto;padding:24px 0;display:grid;grid-template-columns:minmax(300px,1fr) minmax(390px,540px) minmax(300px,430px);align-items:center;gap:clamp(22px,3vw,54px)}.gateway-copy,.auth-or-enter{position:relative;z-index:30}.gateway-copy h1{position:relative;z-index:31;font-size:clamp(3.2rem,6.4vw,6.7rem);line-height:1;margin:.18em 0;background:linear-gradient(180deg,#fff9df,#e5bf66 55%,#91641d);-webkit-background-clip:text;color:transparent;filter:none;text-shadow:none}.gateway-copy p{font-size:clamp(1rem,1.8vw,1.35rem);color:#c4d1e8}.door-scene{position:relative;z-index:10;height:min(75vh,680px);min-height:500px;perspective:1450px;display:grid;place-items:center;transform-style:preserve-3d}.portal-brand{position:absolute;z-index:40;top:-2px;left:50%;transform:translateX(-50%);min-width:250px;text-align:center;display:grid;pointer-events:none}.portal-brand span{color:#e7c66f;font-size:1.1rem}.portal-brand strong{font-size:clamp(1.35rem,2vw,1.9rem);color:#fff3c7;letter-spacing:.04em;text-shadow:0 2px 8px #000}.portal-brand small{font-size:.66rem;color:#9db2d6}.door-frame{position:relative;z-index:10;width:min(100%,470px);height:calc(100% - 44px);max-height:630px;margin-top:44px;display:flex;overflow:visible;border:15px solid #2a150a;border-radius:27px 27px 7px 7px;background:#050b16;box-shadow:0 0 0 3px #70471e,0 0 0 7px rgba(218,177,92,.16),0 28px 55px rgba(0,0,0,.66);transform-style:preserve-3d;isolation:isolate}.door-frame:before{content:"";position:absolute;z-index:12;inset:-27px -29px auto;height:33px;background:linear-gradient(#8a592a,#2d170b);border-radius:50% 50% 8px 8px;box-shadow:0 0 0 2px #bd8336}.portal-interior{position:absolute;z-index:0;inset:0;background:radial-gradient(ellipse at 50% 35%,rgba(116,220,255,.78),rgba(36,73,145,.55) 24%,rgba(8,20,47,.92) 58%,#02050b 100%);overflow:hidden}.portal-interior:before,.portal-interior:after{content:"";position:absolute;top:12%;bottom:7%;width:30%;opacity:.7;background:repeating-linear-gradient(to bottom,#301c10 0 8px,#8f6033 9px 11px,#111 12px 38px)}.portal-interior:before{left:5%;transform:perspective(500px) rotateY(18deg)}.portal-interior:after{right:5%;transform:perspective(500px) rotateY(-18deg)}.portal-path{position:absolute;z-index:1;left:30%;right:30%;bottom:0;height:62%;clip-path:polygon(42% 0,58% 0,100% 100%,0 100%);background:linear-gradient(to bottom,rgba(226,244,255,.55),rgba(71,120,179,.22) 38%,rgba(12,19,35,.9));box-shadow:0 0 35px rgba(126,226,255,.45)}.door{z-index:5;width:50%;height:100%;position:relative;transform-style:preserve-3d;will-change:transform;transition:transform .88s cubic-bezier(.2,.72,.2,1);background:linear-gradient(90deg,#30170a,#75421d 18%,#4a250f 43%,#8a5124 67%,#31170a 100%);box-shadow:inset 0 0 18px #120702;backface-visibility:visible}.door:after{content:"";position:absolute;inset:0;transform:rotateY(180deg);backface-visibility:hidden;background:linear-gradient(90deg,#2a1408,#5f3316,#2b1408);box-shadow:inset 0 0 28px #0b0301}.door-left{transform-origin:left center;border-left:2px solid #a97031}.door-right{transform-origin:right center;border-right:2px solid #a97031}.door-scene.open .door-left,.door-opening .door-left{transform:rotateY(96deg)}.door-scene.open .door-right,.door-opening .door-right{transform:rotateY(-96deg)}.wood-grain{position:absolute;inset:0;opacity:.33;background:repeating-linear-gradient(96deg,transparent 0 10px,rgba(19,5,1,.45) 11px 13px,transparent 14px 23px),radial-gradient(ellipse at 20% 10%,transparent 0 20%,rgba(15,3,0,.4) 21% 23%,transparent 24%)}.door-panel{position:absolute;left:12%;right:12%;border:3px double #b97d35;box-shadow:inset 0 0 20px #1b0902;border-radius:56px 56px 17px 17px}.door-panel.top{top:10%;height:38%}.door-panel.bottom{bottom:9%;height:31%;border-radius:17px}.door-glyph{position:absolute;top:37%;left:50%;transform:translate(-50%,-50%);font-size:2rem;color:#e8be67;text-shadow:0 0 12px #e8be67}.handle{position:absolute;z-index:3;top:53%;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff0a8,#a7671c 45%,#2e1607 75%);box-shadow:0 0 0 5px #4b260e}.handle.left{right:8px}.handle.right{left:8px}.portal-light{position:absolute;z-index:3;width:76%;height:76%;top:15%;background:radial-gradient(ellipse,rgba(225,250,255,.85),rgba(81,183,255,.34) 24%,transparent 67%);opacity:.22;transition:opacity .6s,transform .6s;pointer-events:none}.door-scene.open .portal-light,.door-opening .portal-light{opacity:.85;transform:scale(1.08)}.threshold{position:absolute;z-index:15;bottom:1%;width:87%;height:30px;background:linear-gradient(#6f4522,#1b0c05);transform:rotateX(68deg);box-shadow:0 9px 20px #000}.auth-card,.welcome-card{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(6,15,34,.94);box-shadow:0 20px 45px rgba(0,0,0,.48)}.door-opening .gateway-copy,.door-opening .auth-or-enter{animation:gatewayFade .58s forwards}.door-opening .door-scene{transform:translateZ(0) scale(1.015);transition:transform .65s}.performance-lite .door{transition-duration:.45s}.performance-lite .portal-light{filter:none}.performance-lite .portal-interior:before,.performance-lite .portal-interior:after{opacity:.45}@keyframes gatewayFade{to{opacity:0;transform:translateY(8px);pointer-events:none}}@media(max-width:1150px){.gateway-shell{grid-template-columns:minmax(310px,1fr) minmax(350px,500px)}.gateway-copy{display:none}.auth-or-enter{grid-column:1}.door-scene{grid-column:2;grid-row:1}.portal-brand{top:0}}@media(max-width:760px){.gateway-page{overflow:auto}.gateway-shell{display:flex;flex-direction:column;width:94vw;padding:18px 0 36px}.gateway-copy{display:block;order:0;text-align:center;z-index:30}.gateway-copy h1{font-size:3rem}.quote{display:none}.door-scene{order:1;width:min(92vw,390px);height:min(55vh,510px);min-height:430px}.door-frame{border-width:11px;max-height:455px;margin-top:38px}.portal-brand{top:0}.auth-or-enter{order:2;width:min(94vw,480px);z-index:35}.door{transition-duration:.65s}}@media(prefers-reduced-motion:reduce){.door{transition-duration:.18s!important}.door-opening .gateway-copy,.door-opening .auth-or-enter{animation-duration:.18s!important}}

/* v3.2.8 — public-first gateway and corrected Persian wordmark */
.astropita-wordmark{font-family:Vazirmatn,Tahoma,sans-serif!important;letter-spacing:0!important;word-spacing:0!important;white-space:nowrap;unicode-bidi:plaintext;text-rendering:optimizeLegibility}
.public-intro-card{display:grid;gap:14px}.public-intro-card h2{margin:0}.public-entry-actions{display:grid;grid-template-columns:1fr;gap:10px}.public-entry-actions .btn{text-align:center}
.auth-form label input[type=tel]{direction:ltr;text-align:left}
