/* Subtle, military-grade motion language: cinematic without distracting from gameplay. */
.war-image{transform:scale(1.035);transition:opacity 1.35s cubic-bezier(.2,.7,.2,1),filter 1.35s}
.war-video-slide{transition:opacity 1.35s cubic-bezier(.2,.7,.2,1),filter 1.35s}
.war-hero.video-active .war-image{opacity:0;filter:blur(5px)}
.war-hero.video-active .war-video-slide{opacity:1}
.war-hero:before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 44%,#ffffff25 50%,transparent 56%);transform:translateX(-155%);opacity:0}
.war-hero.cinematic-switch:before{animation:cinematicSweep 1.45s ease-in-out both}
.war-hero.cinematic-switch .hero-contents{animation:heroFocus .9s ease both}
.war-hero .hero-contents{transition:filter .8s ease}
.war-hero .hero-topline{animation:bootReveal .85s .12s backwards}
.war-hero .hero-tag,.war-hero .hero-pretitle{animation:bootReveal .85s .23s backwards}
.war-hero h1{animation:heroFocus 1.15s .3s backwards}
.war-hero .hero-motto{animation:bootReveal 1.05s .55s backwards}
.war-hero .hero-control{animation:bootReveal 1.05s .7s backwards}
.slide-switch button{position:relative;overflow:hidden;isolation:isolate}
.slide-switch button:after{content:'';position:absolute;bottom:0;left:0;height:2px;width:100%;transform-origin:left;transform:scaleX(0);background:#ffe7ad;z-index:2}
.slide-switch button.selected:after{animation:slideProgress var(--slide-time,16000ms) linear forwards}
.slide-switch button.selected.manual:after{animation:none;transform:scaleX(1)}
.slide-switch button:focus-visible{outline-offset:-3px}
.hero-vertical{opacity:.85}
.war-hero .war-image-shade{transition:background 1.3s ease}
.faction-trio .army{will-change:auto}
.army:after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid transparent;transition:border-color .25s}
.army:hover:after{border-color:#e2dfd1a0}
.radar-sweep,.board-sweep{animation-duration:11s}
.reveal-ready{opacity:0;transform:translateY(23px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.8,.2,1)}
.reveal-ready.is-visible{opacity:1;transform:translateY(0)}
.faction-trio .army:nth-child(2){transition-delay:.09s}
.faction-trio .army:nth-child(3){transition-delay:.18s}
.war-hero.is-interaction-paused .slide-switch button.selected:after{animation-play-state:paused}
@keyframes slideProgress{to{transform:scaleX(1)}}
@keyframes cinematicSweep{0%{opacity:0;transform:translateX(-155%)}25%{opacity:.3}75%{opacity:.2}100%{opacity:0;transform:translateX(155%)}}
@keyframes heroFocus{from{opacity:.45;transform:translateY(17px);filter:blur(4px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes bootReveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.war-hero.cinematic-switch:before{display:none}.reveal-ready{transform:translateY(12px)}.slide-switch button.selected:after{height:2px}}
@media(prefers-reduced-motion:reduce){.war-image,.war-video-slide,.reveal-ready{transition:none!important}.war-hero .hero-topline,.war-hero .hero-tag,.war-hero .hero-pretitle,.war-hero h1,.war-hero .hero-motto,.war-hero .hero-control,.slide-switch button.selected:after,.war-hero.cinematic-switch:before,.war-hero.cinematic-switch .hero-contents{animation:none!important}.reveal-ready{opacity:1!important;transform:none!important}.slide-switch button.selected:after{transform:scaleX(1)}}
