/* ARKAN CO portal artwork upgrade — site-only override, no credentials or gameplay state. */
:root{--gold:#eac278;--gold2:#9e6024}
html{background:#070a11}
body{background-color:#080b12!important;background-image:linear-gradient(90deg,rgba(5,10,19,.50),rgba(5,10,19,.25),rgba(5,10,19,.48)),url('/prelaunch/hero-wide.webp')!important;background-repeat:no-repeat!important;background-attachment:fixed!important;background-position:center center!important;background-size:cover!important}
body::before{z-index:0!important;background:linear-gradient(180deg,rgba(5,8,14,.38) 0%,rgba(5,9,15,.45) 46%,rgba(5,8,15,.86) 100%)!important}
body>*{position:relative;z-index:1}
header.head{position:relative;z-index:3;padding-block:13px 10px;border-bottom:1px solid rgba(213,161,78,.35);background:linear-gradient(90deg,transparent,rgba(7,11,19,.47),transparent)}
.head .brand{display:flex;align-items:center;gap:12px;letter-spacing:1.1px;font-size:clamp(17px,2vw,25px);font-family:Georgia,serif;text-shadow:0 4px 14px #000}
.head .brand .arkan-crest{width:65px;height:65px;object-fit:contain;border-radius:50%;box-shadow:0 0 0 2px #bb853690,0 8px 24px #000a}
.head #language{border:1px solid #e2b567;min-height:40px;border-radius:99px;background:#100f15dc;color:#ffe3a7;font-weight:800;box-shadow:0 8px 18px #0008}
.head #language:focus-visible,.social a:focus-visible,.primary:focus-visible{outline:3px solid #fff0bb;outline-offset:3px}
.hero{min-height:min(720px,calc(100svh - 100px))!important;gap:clamp(22px,5vw,70px)!important;align-items:center;padding:35px 0!important}
.intro{background:linear-gradient(120deg,rgba(7,11,19,.80),rgba(7,11,19,.37));border:1px solid rgba(216,158,69,.34);border-radius:22px;padding:clamp(22px,3.4vw,35px)!important;box-shadow:0 12px 50px #0006;backdrop-filter:blur(5px)}
.intro h1{font-family:Georgia,serif;color:#ffe3a8;text-shadow:0 2px 10px #000;font-size:clamp(31px,3.9vw,54px);margin:12px 0}
.intro p{font-size:clamp(15px,1.4vw,18px);color:#ffebcd}
.lead{background:rgba(11,18,30,.76)!important;border-color:rgba(216,160,71,.52)!important;margin:15px 0 0!important;backdrop-filter:blur(6px)}
.glass{background:linear-gradient(135deg,rgba(13,19,32,.95),rgba(8,12,22,.90))!important;border:1px solid #c08e4e!important;box-shadow:0 20px 65px #000a,inset 0 0 0 1px #f5ce7d55!important;padding:clamp(19px,3vw,30px)!important;max-width:520px}
.glass h2{font-family:Georgia,serif;color:#ffdaa1;font-size:clamp(25px,2.5vw,31px)}
.field{background:rgba(3,10,21,.80)!important;border:1px solid #b18d5e!important;min-height:49px}
.primary{background:linear-gradient(180deg,#ffdb8c,#bf7c27 72%,#915015)!important;box-shadow:inset 0 2px 0 #fff9cf66,0 7px 24px #0009!important;color:#1e1307!important;border:1px solid #f9d78d!important;min-height:50px}
.clock div{background:#0c1626d9!important;min-width:68px}
section.content{background:rgba(8,14,25,.87)!important;border-color:#ae824b!important;backdrop-filter:blur(8px)}
.social a{background:linear-gradient(135deg,#1b293e,#0b172a)!important;border:1px solid #c59d65!important;box-shadow:0 4px 17px #0005}
.social a:hover{background:#263f54!important}
.shot{background:linear-gradient(135deg,#2b2830,#111b2b)!important}
@media(max-width:820px){
 body{background-image:linear-gradient(180deg,rgba(4,8,15,.25),rgba(4,8,15,.78) 46%,rgba(4,8,15,.93)),url('/prelaunch/hero-mobile.webp')!important;background-attachment:scroll!important;background-size:100% auto!important;background-position:center 0!important;background-repeat:no-repeat!important}
 body::before{background:linear-gradient(180deg,transparent,rgba(5,8,16,.56) 37%,rgba(5,8,16,.95))!important}
 .head{padding-block:8px!important}
 .head .brand .arkan-crest{width:49px;height:49px}
 .hero{padding:14px 0 25px!important;gap:18px!important;min-height:auto!important}
 .intro{padding:18px!important;margin-top:0;text-align:center;background:rgba(6,10,19,.81)!important}
 .intro h1{font-size:clamp(27px,6.4vw,35px)}
 .intro p{font-size:15px}
 .glass{width:100%;margin-inline:auto!important}
 section.content{margin-top:20px}
}
@media(max-width:420px){.head .brand{font-size:17px}.head .brand .arkan-crest{width:45px;height:45px}.head #language{padding:7px 11px;font-size:13px}.intro{padding:16px!important}}
@media(prefers-reduced-motion:reduce){.glass,.intro{backdrop-filter:none}}

/* Prevent intrinsic-size grid overflow on narrow phones and desktop mobile emulation. */
html,body{max-width:100%;overflow-x:clip}
.wrap,.hero,.intro,.glass,.lead,section.content{min-width:0;max-width:100%}
.intro h1,.intro p,.lead p,.glass p,section.content p{overflow-wrap:anywhere}
.head .brand{min-width:0;white-space:normal;overflow-wrap:normal}
@media(max-width:820px){
 .wrap{width:calc(100% - 24px)!important;max-width:100%!important;margin-inline:auto!important}
 .hero{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;justify-items:stretch!important}
 .intro,.glass{display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 .intro h1{font-size:clamp(25px,6.5vw,34px)!important;line-height:1.3!important}
 .lead,.clock,.social,.install{max-width:100%;min-width:0}
 .clock{gap:6px;justify-content:center}
 .clock div{min-width:0;flex:0 1 70px;padding:9px 3px}
 .clock b{font-size:21px}
 .head .brand{font-size:clamp(14px,4.4vw,19px)!important;gap:8px}
}

.arkan-qa-login{display:block;max-width:100%;margin-top:14px;padding:12px 11px;text-align:center;line-height:1.6;font-weight:750;border:1px solid #a88148;border-radius:10px;background:rgba(13,28,46,.79);color:#ffe2a2;text-decoration:none;overflow-wrap:anywhere}
.arkan-qa-login:hover{background:#2d3042;color:#fff3d7}
.arkan-qa-login:focus-visible{outline:3px solid #fff2c4;outline-offset:3px}
