/* V31: animated atmospheric layer above original background, behind all real content. */
body.theme-demonic {isolation:isolate!important;}
body.theme-demonic #asof-atmosphere-v31 {position:fixed;inset:0;width:100vw;height:100vh;display:block;z-index:0;pointer-events:none!important;user-select:none;opacity:1;}
body.theme-demonic .global-top-bar,body.theme-demonic #navbar,body.theme-demonic #header,body.theme-demonic .header-info-container,body.theme-demonic #container,body.theme-demonic .footer {position:relative;z-index:1;}
/* Float and glow on existing panels, without moving their frames out of alignment. */
body.theme-demonic :is(.header-hero,.asof-home-neon-panel,.asof-login-neon-v26,.asof-summoner-banner-v26,.asof-rankings-card,.asof-server-status,.panel-general,.panel-downloads){transition:box-shadow .3s ease,filter .3s ease!important;}
body.theme-demonic :is(.header-hero,.asof-home-neon-panel,.asof-login-neon-v26,.asof-summoner-banner-v26,.asof-rankings-card,.asof-server-status,.panel-general,.panel-downloads):hover {filter:brightness(1.055);}
/* Bottom signature, positioned after real footer content, with no overlap. */
body.theme-demonic .asof-rakz-signature-v31 {position:relative;clear:both;width:100%;margin:26px auto 8px;padding:21px 8px 16px;text-align:center;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;isolation:isolate;border-top:1px solid rgba(255,144,74,.19);}
body.theme-demonic .asof-rakz-name {font:italic 900 clamp(29px,4vw,47px)/1.15 'Cinzel',Georgia,serif;letter-spacing:4px;background:linear-gradient(180deg,#fff3c6 0%,#ffbc65 26%,#ff6636 55%,#b9222f 78%,#fff1bb 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:.5px rgba(255,186,93,.64);filter:drop-shadow(0 0 8px rgba(244,54,44,.6));animation:asofRakzPulse 4.4s ease-in-out infinite;}
body.theme-demonic .asof-rakz-wing {font-size:28px;line-height:1;color:#ffbf7a;text-shadow:0 0 10px #d3364d,0 0 20px #8c3cff;animation:asofRakzTurn 9s linear infinite;}
body.theme-demonic .asof-rakz-wing:nth-of-type(3){animation-direction:reverse;}
body.theme-demonic .asof-rakz-line{flex-basis:100%;height:2px;max-width:240px;background:linear-gradient(90deg,transparent,#f75736 27%,#ffdb90 50%,#f75736 73%,transparent);box-shadow:0 0 10px rgba(246,83,50,.72);animation:asofRakzLine 3.5s ease-in-out infinite;}
@keyframes asofRakzPulse{0%,100%{filter:drop-shadow(0 0 5px rgba(244,54,44,.46))}50%{filter:drop-shadow(0 0 13px rgba(236,51,59,.9)) drop-shadow(0 0 12px rgba(163,77,255,.28))}}
@keyframes asofRakzTurn{to{transform:rotate(360deg)}}
@keyframes asofRakzLine{0%,100%{opacity:.48;transform:scaleX(.76)}50%{opacity:1;transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){body.theme-demonic #asof-atmosphere-v31{display:none!important}body.theme-demonic .asof-rakz-name,body.theme-demonic .asof-rakz-wing,body.theme-demonic .asof-rakz-line{animation:none!important}}

/* V32 signature at the bottom-right of footer */
body.theme-demonic .footer .asof-rakz-signature-v31{width:max-content!important;max-width:calc(100% - 20px)!important;margin:26px 12px 3px auto!important;padding:7px 12px!important;text-align:right!important;justify-content:flex-end!important;border-top:0!important;border-bottom:1px solid rgba(255,186,98,.56)!important;background:linear-gradient(90deg,transparent,rgba(96,14,22,.28))!important;gap:7px!important}
body.theme-demonic .footer .asof-rakz-name{font-size:clamp(29px,3vw,40px)!important}
body.theme-demonic .footer .asof-rakz-wing{font-size:20px!important}
body.theme-demonic .footer .asof-rakz-line{display:none!important}

/* V34 — Small, readable, more dynamic signature sized like footer text */
body.theme-demonic .footer .asof-rakz-signature-v31{
 position:relative!important;display:inline-flex!important;float:right!important;clear:both!important;
 width:auto!important;max-width:100%!important;margin:12px 6px 2px auto!important;
 padding:4px 9px!important;gap:5px!important;align-items:center!important;justify-content:flex-end!important;
 background:linear-gradient(110deg,rgba(60,9,16,.08),rgba(105,25,24,.30),rgba(60,9,16,.08))!important;
 background-size:200% 100%!important;border:1px solid rgba(250,117,58,.36)!important;
 border-radius:7px!important;box-shadow:0 0 8px rgba(242,55,34,.12),inset 0 1px 0 rgba(255,202,124,.08)!important;
 animation:asofRakzBackdropV34 5s ease-in-out infinite!important;
 transition:box-shadow .25s ease,transform .25s ease,border-color .25s ease!important;
}
body.theme-demonic .footer .asof-rakz-name{
 font-size:13px!important;line-height:1.25!important;font-weight:800!important;letter-spacing:1px!important;
 background:linear-gradient(95deg,#ffe7b7,#ff8c45,#e94a40,#ffcf8c,#ffe7b7)!important;
 background-size:230% 100%!important;-webkit-background-clip:text!important;background-clip:text!important;
 -webkit-text-stroke:0!important;color:transparent!important;
 filter:drop-shadow(0 0 3px rgba(255,82,39,.42))!important;
 animation:asofRakzTextV34 4.3s linear infinite!important;
}
body.theme-demonic .footer .asof-rakz-wing{
 font-size:12px!important;line-height:1!important;transform-origin:center;
 color:#ffba72!important;text-shadow:0 0 4px #ff4935,0 0 6px #8b46ff!important;
 animation:asofRakzWingV34 4.1s ease-in-out infinite!important;
}
body.theme-demonic .footer .asof-rakz-wing:nth-of-type(3){animation-delay:-2s!important}
body.theme-demonic .footer .asof-rakz-line{display:none!important}
body.theme-demonic .footer .asof-rakz-signature-v31:hover{
 border-color:rgba(255,190,102,.86)!important;transform:translateY(-1px)!important;
 box-shadow:0 0 13px rgba(243,60,36,.38),0 0 8px rgba(154,72,242,.18)!important;
}
@keyframes asofRakzTextV34{0%{background-position:100% 0}100%{background-position:-120% 0}}
@keyframes asofRakzBackdropV34{0%,100%{background-position:0 0}50%{background-position:100% 0}}
@keyframes asofRakzWingV34{0%,100%{opacity:.48;transform:rotate(-12deg) scale(.88)}50%{opacity:1;transform:rotate(15deg) scale(1.13)}}
@media(prefers-reduced-motion:reduce){
 body.theme-demonic .footer .asof-rakz-signature-v31,body.theme-demonic .footer .asof-rakz-name,body.theme-demonic .footer .asof-rakz-wing{animation:none!important;transition:none!important}
}
