/* Custom animation for Lineage 2 Legado, using the castle artwork created for this server. */
.legado-scene{position:absolute;inset:0;overflow:hidden;z-index:-3;pointer-events:none;contain:paint;background:#07162c}
.legado-landscape{position:absolute;inset:-3%;background:#07162c url('media/legado-fondo.jpg') center/cover no-repeat;animation:legado-breathe 28s ease-in-out infinite alternate;will-change:transform}
.legado-moonlight{position:absolute;inset:0;background:radial-gradient(ellipse at 19% 19%,#a5daff24 0%,#70bcff0d 13%,transparent 32%);animation:legado-moon 9s ease-in-out infinite alternate}
.legado-mist{position:absolute;left:-30%;width:160%;height:46%;bottom:0;opacity:.35;background:radial-gradient(ellipse at 22% 68%,#74b5ed4d,transparent 44%),radial-gradient(ellipse at 67% 80%,#9dd9f94d,transparent 43%);filter:blur(22px);will-change:transform;animation:legado-mist 34s ease-in-out infinite alternate}
.mist-back{bottom:17%;height:34%;opacity:.26;animation-duration:42s;animation-direction:alternate-reverse;filter:blur(30px)}
.mist-front{bottom:-4%}
.legado-sparks{position:absolute;inset:0;overflow:hidden}
.legado-sparks i{position:absolute;display:block;width:3px;height:3px;border-radius:50%;background:#d4edff;box-shadow:0 0 8px 2px #419aff88;opacity:0;animation:legado-spark 13s linear infinite}
.legado-scene.scene-paused *{animation-play-state:paused!important}
@keyframes legado-breathe{from{transform:scale(1.015) translate3d(-.45%,.2%,0)}to{transform:scale(1.045) translate3d(.45%,-.35%,0)}}
@keyframes legado-mist{from{transform:translate3d(-6%,2%,0)}to{transform:translate3d(6%,-3%,0)}}
@keyframes legado-moon{from{opacity:.45}to{opacity:.85}}
@keyframes legado-spark{0%{transform:translate3d(0,25px,0);opacity:0}18%{opacity:.55}75%{opacity:.35}100%{transform:translate3d(30px,-120px,0);opacity:0}}
@media(max-width:760px){.legado-landscape{background-position:62% center}.legado-sparks i:nth-child(n+15){display:none}.legado-mist{filter:blur(18px);opacity:.24}}
@media(prefers-reduced-motion:reduce){.legado-scene:not([data-animated=true]) *{animation-play-state:paused!important}}
.legado-sparks i:nth-child(1){left:11%;top:30%;animation-duration:11s;animation-delay:0s;width:2px;height:2px}
.legado-sparks i:nth-child(2){left:48%;top:53%;animation-duration:12s;animation-delay:-7s;width:3px;height:3px}
.legado-sparks i:nth-child(3){left:85%;top:76%;animation-duration:13s;animation-delay:-14s;width:3px;height:3px}
.legado-sparks i:nth-child(4){left:24%;top:33%;animation-duration:14s;animation-delay:-21s;width:3px;height:3px}
.legado-sparks i:nth-child(5){left:61%;top:56%;animation-duration:15s;animation-delay:-28s;width:2px;height:2px}
.legado-sparks i:nth-child(6){left:0%;top:79%;animation-duration:16s;animation-delay:-4s;width:3px;height:3px}
.legado-sparks i:nth-child(7){left:37%;top:36%;animation-duration:17s;animation-delay:-11s;width:3px;height:3px}
.legado-sparks i:nth-child(8){left:74%;top:59%;animation-duration:18s;animation-delay:-18s;width:3px;height:3px}
.legado-sparks i:nth-child(9){left:13%;top:82%;animation-duration:19s;animation-delay:-25s;width:2px;height:2px}
.legado-sparks i:nth-child(10){left:50%;top:39%;animation-duration:11s;animation-delay:-1s;width:3px;height:3px}
.legado-sparks i:nth-child(11){left:87%;top:62%;animation-duration:12s;animation-delay:-8s;width:3px;height:3px}
.legado-sparks i:nth-child(12){left:26%;top:85%;animation-duration:13s;animation-delay:-15s;width:3px;height:3px}
.legado-sparks i:nth-child(13){left:63%;top:42%;animation-duration:14s;animation-delay:-22s;width:2px;height:2px}
.legado-sparks i:nth-child(14){left:2%;top:65%;animation-duration:15s;animation-delay:-29s;width:3px;height:3px}
.legado-sparks i:nth-child(15){left:39%;top:88%;animation-duration:16s;animation-delay:-5s;width:3px;height:3px}
.legado-sparks i:nth-child(16){left:76%;top:45%;animation-duration:17s;animation-delay:-12s;width:3px;height:3px}
.legado-sparks i:nth-child(17){left:15%;top:68%;animation-duration:18s;animation-delay:-19s;width:2px;height:2px}
.legado-sparks i:nth-child(18){left:52%;top:91%;animation-duration:19s;animation-delay:-26s;width:3px;height:3px}
.legado-sparks i:nth-child(19){left:89%;top:48%;animation-duration:11s;animation-delay:-2s;width:3px;height:3px}
.legado-sparks i:nth-child(20){left:28%;top:71%;animation-duration:12s;animation-delay:-9s;width:3px;height:3px}
.legado-sparks i:nth-child(21){left:65%;top:94%;animation-duration:13s;animation-delay:-16s;width:2px;height:2px}
.legado-sparks i:nth-child(22){left:4%;top:51%;animation-duration:14s;animation-delay:-23s;width:3px;height:3px}
.legado-sparks i:nth-child(23){left:41%;top:74%;animation-duration:15s;animation-delay:-30s;width:3px;height:3px}
.legado-sparks i:nth-child(24){left:78%;top:31%;animation-duration:16s;animation-delay:-6s;width:3px;height:3px}
.legado-sparks i:nth-child(25){left:17%;top:54%;animation-duration:17s;animation-delay:-13s;width:2px;height:2px}
.legado-sparks i:nth-child(26){left:54%;top:77%;animation-duration:18s;animation-delay:-20s;width:3px;height:3px}
.legado-sparks i:nth-child(27){left:91%;top:34%;animation-duration:19s;animation-delay:-27s;width:3px;height:3px}
.legado-sparks i:nth-child(28){left:30%;top:57%;animation-duration:11s;animation-delay:-3s;width:3px;height:3px}
.legado-sparks i:nth-child(29){left:67%;top:80%;animation-duration:12s;animation-delay:-10s;width:2px;height:2px}
.legado-sparks i:nth-child(30){left:6%;top:37%;animation-duration:13s;animation-delay:-17s;width:3px;height:3px}
