/* ARCVEL — armor FX (Epic / Legend / Mythic). Shared by the website catalog and the in-game Armory.
   Higher grade = more pattern layers + a different effect:
   EPIC   = lava-cracked obsidian, horned helm, spiked pauldrons, rising embers
   LEGEND = gold filigree + sun emblem, feathered wings, halo, rotating light rays, sparkles
   MYTHIC = galaxy chest + starry cape, antler crown, void rift rings, orbiting crystals, hue-shift aura */

.arm-art .fx{position:absolute;pointer-events:none}
.arm-art .fx-chest{left:50%;margin-left:-13px;bottom:14px;width:26px;height:20px;z-index:3}

/* ---------- EPIC : Obsidian Dragonmail ---------- */
.arm-art .fx-heat{left:50%;bottom:-6px;width:84px;height:36px;margin-left:-42px;border-radius:50%;background:radial-gradient(ellipse,rgba(244,63,94,.55),rgba(244,63,94,0) 70%);animation:fxPulse 1.8s ease-in-out infinite;z-index:0}
.arm-art .fx-lava{background:linear-gradient(180deg,#fde047,#fb923c 45%,#f43f5e);clip-path:polygon(46% 0,58% 0,52% 28%,68% 28%,50% 60%,60% 60%,44% 100%,34% 100%,46% 68%,34% 68%,48% 36%,38% 36%);animation:fxLava 1.5s ease-in-out infinite;box-shadow:0 0 6px #f43f5e}
.arm-art .fx-lava.b{clip-path:polygon(4% 0,16% 0,12% 40%,26% 40%,8% 100%,0 100%,8% 56%,0 56%);animation-delay:.5s}
.arm-art .fx-lava.c{clip-path:polygon(88% 0,100% 0,96% 44%,100% 44%,90% 100%,80% 100%,88% 58%,82% 58%);animation-delay:.9s}
.arm-art .fx-scale{background:repeating-linear-gradient(0deg,transparent 0 4px,rgba(251,113,133,.28) 4px 5px),repeating-linear-gradient(90deg,transparent 0 5px,rgba(251,113,133,.18) 5px 6px);mix-blend-mode:screen}
.arm-art .fx-horn-l,.arm-art .fx-horn-r{top:6px;width:7px;height:12px;background:linear-gradient(0deg,#7f1d1d,#f43f5e 55%,#fecdd3);clip-path:polygon(0 100%,100% 100%,70% 55%,100% 0,25% 40%);z-index:3;filter:drop-shadow(0 0 3px #f43f5e)}
.arm-art .fx-horn-l{left:calc(50% - 20px)}
.arm-art .fx-horn-r{right:calc(50% - 20px);transform:scaleX(-1)}
.arm-art .fx-spike-l,.arm-art .fx-spike-r{top:34px;width:7px;height:11px;background:linear-gradient(0deg,#9f1239,#fb7185);clip-path:polygon(0 100%,100% 100%,45% 0);z-index:4}
.arm-art .fx-spike-l{left:calc(50% - 22px)}
.arm-art .fx-spike-r{right:calc(50% - 22px)}
.arm-art .fx-ember{width:3px;height:3px;background:#fdba74;box-shadow:0 0 5px #f97316;border-radius:50%;bottom:20px;opacity:0;animation:fxRise 2.2s ease-out infinite;z-index:5}
.arm-art .fx-ember.e1{left:calc(50% - 20px)}
.arm-art .fx-ember.e2{left:calc(50% + 4px);animation-delay:.7s;animation-duration:2.6s}
.arm-art .fx-ember.e3{left:calc(50% + 18px);animation-delay:1.4s}
.arm-art .fx-ember.e4{left:calc(50% - 6px);animation-delay:1.9s;animation-duration:2.9s}
.arm-art.tier-epic .arm-eye-l,.arm-art.tier-epic .arm-eye-r{background:#fb7185!important;box-shadow:0 0 4px #f43f5e}

/* ---------- LEGEND : Astral Archon Plate ---------- */
.arm-art .fx-rays{left:50%;top:50%;width:92px;height:92px;margin:-46px 0 0 -46px;background:repeating-conic-gradient(rgba(253,224,71,.34) 0 7deg,transparent 7deg 26deg);-webkit-mask-image:radial-gradient(circle,#000 18%,transparent 68%);mask-image:radial-gradient(circle,#000 18%,transparent 68%);animation:fxSpin 16s linear infinite;z-index:0}
.arm-art .fx-wing-l,.arm-art .fx-wing-r{top:30px;width:30px;height:32px;background:linear-gradient(135deg,#fffbeb,#fde047 55%,#f59e0b);clip-path:polygon(100% 12%,72% 0,80% 26%,48% 12%,60% 42%,20% 30%,38% 62%,0 58%,100% 100%);z-index:0;filter:drop-shadow(0 0 4px rgba(250,204,21,.8))}
.arm-art .fx-wing-l{left:calc(50% - 46px);transform-origin:100% 90%;animation:fxFlapL 2.4s ease-in-out infinite}
.arm-art .fx-wing-r{left:calc(50% + 16px);transform-origin:0 90%;clip-path:polygon(0 12%,28% 0,20% 26%,52% 12%,40% 42%,80% 30%,62% 62%,100% 58%,0 100%);background:linear-gradient(225deg,#fffbeb,#fde047 55%,#f59e0b);animation:fxFlapR 2.4s ease-in-out infinite}
.arm-art .fx-halo{left:50%;top:1px;width:26px;height:8px;margin-left:-13px;border:2px solid #fef08a;border-radius:50%;box-shadow:0 0 8px #facc15,inset 0 0 4px #fde047;animation:fxHalo 2.6s ease-in-out infinite;z-index:4}
.arm-art .fx-filigree{background:repeating-linear-gradient(45deg,transparent 0 3px,rgba(254,240,138,.7) 3px 4px),repeating-linear-gradient(-45deg,transparent 0 3px,rgba(254,240,138,.35) 3px 4px);box-shadow:inset 0 0 0 1px rgba(254,240,138,.6)}
.arm-art .fx-sun{left:50%;bottom:19px;width:10px;height:10px;margin-left:-5px;background:radial-gradient(circle,#fff 0 25%,#fde047 30% 60%,transparent 65%);border-radius:50%;box-shadow:0 0 8px 2px #facc15;animation:fxPulse 1.6s ease-in-out infinite;z-index:4}
.arm-art .fx-pad-l,.arm-art .fx-pad-r{top:31px;width:9px;height:13px;background:linear-gradient(0deg,#f59e0b,#fffbeb);clip-path:polygon(0 100%,100% 100%,100% 50%,30% 0,45% 60%);z-index:4}
.arm-art .fx-pad-l{left:calc(50% - 24px)}
.arm-art .fx-pad-r{right:calc(50% - 24px);transform:scaleX(-1)}
.arm-art .fx-hem{top:56px;left:50%;width:38px;height:6px;margin-left:-19px;background:repeating-linear-gradient(90deg,#fde047 0 4px,transparent 4px 7px);opacity:.9;z-index:1}
.arm-art .fx-spark{width:7px;height:7px;background:#fffbeb;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:fxTwinkle 1.8s ease-in-out infinite;z-index:5}
.arm-art .fx-spark.s1{left:calc(50% - 34px);top:14px}
.arm-art .fx-spark.s2{left:calc(50% + 28px);top:22px;animation-delay:.6s}
.arm-art .fx-spark.s3{left:calc(50% + 10px);top:6px;animation-delay:1.2s;width:5px;height:5px}
.arm-art .fx-spark.s4{left:calc(50% - 22px);top:56px;animation-delay:.9s;width:5px;height:5px}

/* ---------- MYTHIC : Void Sovereign Regalia ---------- */
.arm-art .fx-rift{left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;background:conic-gradient(from 0deg,#e879f9,#6366f1,#22d3ee,#e879f9);-webkit-mask-image:radial-gradient(circle,transparent 50%,#000 55%,transparent 72%);mask-image:radial-gradient(circle,transparent 50%,#000 55%,transparent 72%);opacity:.55;animation:fxSpin 7s linear infinite,fxHue 6s ease-in-out infinite;z-index:0}
.arm-art .fx-ring2{left:50%;top:50%;width:62px;height:62px;margin:-31px 0 0 -31px;border:2px dotted #67e8f9;border-radius:50%;opacity:.75;animation:fxSpinRev 5s linear infinite;z-index:0}
.arm-art .fx-mist{left:50%;bottom:-8px;width:90px;height:30px;margin-left:-45px;border-radius:50%;background:radial-gradient(ellipse,rgba(168,85,247,.7),rgba(79,70,229,.3) 50%,transparent 72%);animation:fxPulse 2.2s ease-in-out infinite;z-index:0}
.arm-art .fx-cape-stars{top:28px;left:50%;width:38px;height:36px;margin-left:-19px;border-radius:6px 6px 14px 14px;opacity:.9;z-index:1;background:radial-gradient(circle at 20% 30%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 70% 20%,#a5f3fc 0 1px,transparent 1.6px),radial-gradient(circle at 45% 60%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 82% 70%,#f5d0fe 0 1px,transparent 1.6px),radial-gradient(circle at 15% 80%,#a5f3fc 0 1px,transparent 1.6px),linear-gradient(180deg,rgba(88,28,135,.85),rgba(15,23,42,.9));animation:fxCapeFlow 3s ease-in-out infinite;transform-origin:50% 0}
.arm-art .fx-galaxy{background:radial-gradient(circle at 28% 28%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 72% 50%,#a5f3fc 0 1px,transparent 1.6px),radial-gradient(circle at 40% 82%,#fff 0 1px,transparent 1.6px),radial-gradient(circle at 84% 18%,#f5d0fe 0 1px,transparent 1.6px),radial-gradient(circle at 16% 62%,#a5f3fc 0 1px,transparent 1.6px),conic-gradient(from 0deg at 50% 50%,rgba(232,121,249,.65),rgba(34,211,238,.35),rgba(99,102,241,.6),rgba(232,121,249,.65));animation:fxGalaxy 4s ease-in-out infinite;box-shadow:inset 0 0 6px rgba(232,121,249,.8)}
.arm-art .fx-core{left:50%;bottom:20px;width:8px;height:8px;margin-left:-4px;border-radius:50%;background:radial-gradient(circle,#fff 0 30%,#f0abfc 40%,#a855f7 70%);box-shadow:0 0 8px 2px #e879f9,0 0 14px 4px rgba(34,211,238,.6);animation:fxPulse 1.2s ease-in-out infinite;z-index:4}
.arm-art .fx-antler-l,.arm-art .fx-antler-r{top:6px;width:12px;height:16px;background:linear-gradient(0deg,#a855f7,#f5d0fe);clip-path:polygon(60% 100%,60% 56%,18% 34%,32% 22%,60% 40%,60% 0,80% 0,80% 42%,100% 26%,100% 42%,80% 64%,80% 100%);z-index:4;filter:drop-shadow(0 0 4px #e879f9);animation:fxPulse 1.6s ease-in-out infinite}
.arm-art .fx-antler-l{left:calc(50% - 21px)}
.arm-art .fx-antler-r{right:calc(50% - 21px);transform:scaleX(-1)}
.arm-art .fx-orbit{left:50%;top:40px;width:0;height:0;animation:fxSpin 5s linear infinite;z-index:5}
.arm-art .fx-orbit.o2{animation-duration:7s;animation-delay:-2s;animation-direction:reverse}
.arm-art .fx-orbit.o3{animation-duration:9s;animation-delay:-5s}
.arm-art .fx-crystal{position:absolute;left:30px;top:-3px;width:6px;height:6px;background:#f5d0fe;transform:rotate(45deg);box-shadow:0 0 6px #e879f9}
.arm-art .fx-orbit.o2 .fx-crystal{left:24px;background:#a5f3fc;box-shadow:0 0 6px #22d3ee}
.arm-art .fx-orbit.o3 .fx-crystal{left:34px;width:4px;height:4px;background:#fff;box-shadow:0 0 6px #a78bfa}
.arm-art .fx-star{width:5px;height:5px;background:#fff;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:fxTwinkle 1.5s ease-in-out infinite;z-index:5}
.arm-art .fx-star.t1{left:calc(50% - 36px);top:10px}
.arm-art .fx-star.t2{left:calc(50% + 32px);top:50px;animation-delay:.5s}
.arm-art .fx-star.t3{left:calc(50% + 24px);top:8px;animation-delay:1s}
.arm-art .fx-star.t4{left:calc(50% - 30px);top:54px;animation-delay:.25s}
.arm-art.tier-mythic .arm-eye-l,.arm-art.tier-mythic .arm-eye-r{background:#67e8f9!important;box-shadow:0 0 5px #22d3ee}

/* ---------- keyframes ---------- */
@keyframes fxPulse{0%,100%{transform:scale(.92);opacity:.75}50%{transform:scale(1.08);opacity:1}}
@keyframes fxLava{0%,100%{filter:brightness(.9);opacity:.8}50%{filter:brightness(1.5);opacity:1}}
@keyframes fxRise{0%{transform:translateY(0) scale(1);opacity:0}15%{opacity:1}100%{transform:translateY(-44px) scale(.4);opacity:0}}
@keyframes fxSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@keyframes fxSpinRev{from{transform:rotate(360deg)}to{transform:rotate(0)}}
@keyframes fxHue{0%,100%{filter:hue-rotate(-35deg)}50%{filter:hue-rotate(45deg)}}
@keyframes fxFlapL{0%,100%{transform:rotate(0)}50%{transform:rotate(-14deg)}}
@keyframes fxFlapR{0%,100%{transform:rotate(0)}50%{transform:rotate(14deg)}}
@keyframes fxHalo{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-2px);opacity:1}}
@keyframes fxTwinkle{0%,100%{transform:scale(.3) rotate(0);opacity:.2}50%{transform:scale(1.2) rotate(45deg);opacity:1}}
@keyframes fxCapeFlow{0%,100%{transform:skewX(-3deg)}50%{transform:skewX(3deg)}}
@keyframes fxGalaxy{0%,100%{filter:hue-rotate(0) brightness(1)}50%{filter:hue-rotate(40deg) brightness(1.3)}}

@media (prefers-reduced-motion:reduce){
  .arm-art .fx,.arm-art .fx *{animation:none!important}
}
