@font-face {
  font-family: Manrope;
  src: url('assets/manrope.ttf') format('truetype');
  font-weight: 400 800;
  font-display: swap;
}
.battle-hero {
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 0 0,#131c2b,transparent 48%), #080e1b;
  color: #f8faff;
  font: 500 16px/1.3 Manrope, Arial, sans-serif;
  container-type: inline-size;
}
.battle-hero *, .battle-hero *::before, .battle-hero *::after { box-sizing: border-box; }
.battle-hero :where(h1,p,ul) { margin: 0; padding: 0; }
.battle-hero ul { list-style: none; }
.battle-hero svg { flex: none; display: block; }
.battle-hero-frame {
  --u: min(1cqw, 21px);
  position: relative;
  display: grid;
  grid-template-columns: 43.6% 56.4%;
  grid-template-rows: auto 1fr auto;
  max-width: 2100px;
  min-height: calc(50 * var(--u));
  margin: auto;
  padding: calc(1.8 * var(--u)) calc(4.2 * var(--u)) calc(1.6 * var(--u));
}
.battle-hero-intro, .battle-hero-details, .battle-hero-ticker { position: relative; z-index: 2; min-width: 0; }
.battle-hero-intro { grid-area: 1/1; }
.battle-hero-details { grid-area: 2/1; }
.battle-hero-chips { display: flex; flex-wrap: wrap; gap: calc(.28 * var(--u)); }
.battle-hero-chips li {
  display: flex; align-items: center; gap: calc(.45 * var(--u));
  padding: calc(.73 * var(--u)) calc(1.12 * var(--u));
  border: 1px solid #464c60; border-radius: 99px;
  background: linear-gradient(170deg,#202b3a,#0d1321 56%,#1e2535);
  box-shadow: inset 0 0 12px #99b1d72b;
  font-size: calc(.99 * var(--u)); font-weight: 800; white-space: nowrap;
}
.battle-hero-chips li:first-child { border-color: #32628a; }
.battle-hero-chips svg { width: calc(1.25 * var(--u)); color: #29b8ff; }
.battle-hero-chips li:last-child svg { color: #ff8325; }
.battle-hero-kicker {
  margin-top: calc(1.3 * var(--u)); margin-bottom: calc(.35 * var(--u));
  color: #b9bdce; font-size: calc(1.35 * var(--u)); font-weight: 800;
  text-transform: uppercase; letter-spacing: .035em;
}
.battle-hero h1 {
  font-size: clamp(26px, 2.91cqw, 60px); font-weight: 800;
  line-height: 1.055; letter-spacing: -.039em;
}
.battle-hero h1 > span { display: block; white-space: nowrap; }
.battle-hero-blue, .battle-hero-orange {
  color: transparent;
  background-clip: text;
}
.battle-hero-blue { background-image: linear-gradient(#43bfff,#2375f8); }
.battle-hero-orange { background-image: linear-gradient(#ff9448,#ff6615); }
.battle-hero-mark {
  position: relative; isolation: isolate; padding-inline: .14em;
}
.battle-hero-mark::before {
  content: ""; position: absolute; z-index: -1; inset: .19em 0 .06em;
  border-radius: .24em;
  background: linear-gradient(165deg,#3199f9,#1f42cb 76%);
  box-shadow: inset 0 1px 8px #8acbff42, 0 0 18px #215df144;
}
.battle-hero-description {
  margin-top: calc(1.28 * var(--u)); font-size: calc(1.225 * var(--u));
  line-height: 1.25; letter-spacing: -.022em;
}
.battle-hero-description strong { color: #2eb8ff; font-weight: 800; }
.battle-hero-perks { display: grid; gap: calc(.48 * var(--u)); margin-top: calc(1.22 * var(--u)); }
.battle-hero-perks li {
  display: flex; align-items: center; gap: calc(.85 * var(--u));
  min-height: calc(2.7 * var(--u)); padding: calc(.45 * var(--u)) calc(.62 * var(--u));
  border: 1px solid #8191ae46; border-radius: calc(.55 * var(--u));
  background: linear-gradient(176deg,#333a4b,#171f30 55%,#151e35);
  box-shadow: inset 0 0 12px #aeb9cf24;
  font-size: calc(1.015 * var(--u)); letter-spacing: -.023em;
  transition: border-color .22s, box-shadow .22s;
}
.battle-hero-perks li:hover { border-color: #51acff98; box-shadow: inset 0 0 15px #559bff26,0 0 15px #1675ff38; }
.battle-hero-perks svg { width: calc(1.56 * var(--u)); color: #31aff9; filter: drop-shadow(0 2px 3px #050d21); }
.battle-hero-action {
  display: flex; align-items: center; gap: calc(1.7 * var(--u));
  margin-top: calc(1.48 * var(--u));
}
.battle-hero-cta {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  width: calc(16 * var(--u)); min-height: calc(4.25 * var(--u));
  border: 1px solid #a9e4ff9c; border-radius: calc(1.12 * var(--u));
  color: #04101e; background: linear-gradient(163deg,#52d5f4,#2668f6 78%);
  box-shadow: inset 0 0 12px #e4faff99,0 0 22px #258de34a;
  font-size: calc(1.34 * var(--u)); font-weight: 800; text-decoration: none;
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.battle-hero-cta[href] { cursor: pointer; }
.battle-hero-cta svg { width: 1.05em; transition: transform .2s; }
.battle-hero-cta:hover { filter: brightness(1.09); box-shadow: inset 0 0 14px #e4faffaa,0 0 26px #258de379; }
.battle-hero-cta:hover svg { transform: translateX(5px); }
.battle-hero-cta:active { transform: scale(.98); }
.battle-hero-cta:focus-visible { outline: 2px solid #c8efff; outline-offset: 4px; }
.battle-hero-action p { color: #c7cbd9; font-style: italic; font-size: calc(.86 * var(--u)); letter-spacing: -.018em; }

.battle-hero-stage {
  position: absolute; z-index: 0; top: 0; right: 0;
  width: 56%; height: calc(50 * var(--u)); container-type: inline-size;
}
.battle-hero-stage::before {
  content: ""; position: absolute; inset: 0;
  background: url('assets/arena.webp') center / 100% 100% no-repeat;
  mask-image: linear-gradient(to right,transparent,#000 10%),linear-gradient(to bottom,#000 87%,transparent);
  mask-composite: intersect;
  animation: battle-hero-fade .45s both;
}
.battle-hero-lights {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 18% 14%,#418dff2b,transparent 30%),radial-gradient(ellipse at 91% 12%,#ff6a352b,transparent 28%);
  mask-image: linear-gradient(to right,transparent,#000 13%);
  animation: battle-hero-lights 9s .4s ease-in-out infinite alternate;
}
.battle-hero-score {
  position: absolute; left: 29%; top: 6.9%; width: 46%;
  font-weight: 800; text-align: center; transform: perspective(900px) rotateY(-7deg) rotateZ(-1.2deg);
  animation: battle-hero-drop .8s .7s both;
}
.battle-hero-score::before {
  content: ""; position: absolute; z-index: -1; inset: -65% 3% 60%;
  border-inline: 3px solid #27263b; transform: skewX(-3deg);
}
.battle-hero-score p {
  position: relative; z-index: 1; padding: 1.7cqw .5cqw;
  background: linear-gradient(110deg,#131b32,#242339 55%,#211823);
  border: 1px solid #53526d; border-radius: 1.5cqw;
  box-shadow: inset 0 0 0 .7cqw #13111d99, inset 0 0 1.3cqw #aaa5fb44, 0 .65cqw 0 #13121e, 0 1cqw 1cqw #01030a;
  font-size: 2.96cqw; letter-spacing: -.045em;
}
.battle-hero-digits {
  display: grid; grid-template-columns: 1fr 1.65fr 1fr; gap: .8cqw; align-items: stretch;
  margin: -.3cqw 2.3cqw 0; padding: 1.3cqw 1.25cqw 1.1cqw;
  border: 1px solid #55455c; border-radius: 0 0 1.6cqw 1.6cqw;
  background: linear-gradient(120deg,#10224a,#151629 52%,#3d2022);
  box-shadow: 0 .9cqw 0 #101327, 0 1.5cqw 2cqw #03050f;
}
.battle-hero-digits > * {
  display: grid; place-items: center; min-height: 7cqw;
  border-radius: .9cqw; border: 1px solid #7d86cb42; font-size: 5.1cqw; line-height: 1;
  background: linear-gradient(165deg,#278fff,#1239a4);
  text-shadow: 0 0 .8cqw #ffffff76; animation: battle-hero-fade .28s 1.2s both;
}
.battle-hero-digits time { background: #141729; color: #a7a1d9; font-size: 4cqw; animation-delay: 1.32s; }
.battle-hero-digits span:last-child { background: linear-gradient(160deg,#ff813f,#e75312 52%,#913017); animation-delay: 1.44s; }
.battle-hero-badge {
  position: absolute; left: 17%; top: 30.5%; width: 23%;
  display: flex; align-items: center; justify-content: center; gap: 1.5cqw;
  padding: 1.12cqw .7cqw; border-radius: 1.6cqw; border: 1px solid #b4f4ff;
  background: linear-gradient(#8ff5ff,#54bcf5 56%,#9bdcff); color: #061426;
  box-shadow: inset 0 0 1.5cqw #e3ffffa8,0 0 2cqw #258fff83,0 .6cqw .9cqw #001b4c;
  font-size: 2.48cqw; line-height: 1.04; font-weight: 800; font-style: italic;
  transform: skew(-8deg) rotate(1.5deg);
  animation: battle-hero-drop .58s 1.48s both, battle-hero-badge-glow 8s 2.1s infinite alternate;
}
.battle-hero-badge i { width: 7.2cqw; height: 4.9cqw; border-radius: .5cqw; background: linear-gradient(#fff 33%,#1345b8 33% 66%,#ff172b 66%); }
.battle-hero-rival {
  position: absolute; color: #fff; text-align: center; font-weight: 800;
  font-size: 4.45cqw; line-height: 1.02; letter-spacing: -.055em;
  text-shadow: 0 .25cqw .32cqw #060b19ad;
  animation: battle-hero-side .72s 1s both;
}
.battle-hero-rival-blue { left: 17.5%; top: 49%; width: 25.5%; transform: translateY(-50%) skewY(5deg); --from: -20px; }
.battle-hero-rival-orange { left: 61.5%; top: 49%; width: 25.5%; transform: translateY(-50%) skewY(-5deg); --from: 20px; }
.battle-hero-versus {
  position: absolute; left: 45.7%; top: 40.4%; width: 14%;
  display: flex; align-items: flex-start; justify-content: center;
  font-size: 11.65cqw; font-weight: 800; line-height: 1; letter-spacing: -.045em;
  animation: battle-hero-pop .48s 1.55s both, battle-hero-lights 7s 2.3s infinite alternate;
}
.battle-hero-versus span {
  position: relative; display: block;
  color: transparent; background-clip: text;
  -webkit-text-stroke: .009em var(--edge);
  filter: drop-shadow(-.014em .024em 0 var(--depth))
          drop-shadow(-.02em .04em .025em #060c25c7)
          drop-shadow(0 0 .045em var(--glow));
}
.battle-hero-versus-v {
  --edge: #c1d6ff; --depth: #4965b5; --glow: #568bff8c;
  background-image: linear-gradient(160deg,#fff 16%,#cde5ff 36%,#769afb 64%,#4562ad 89%,#9fbaff);
  transform: skewX(-9deg) scaleY(1.1);
}
.battle-hero-versus-s {
  --edge: #ffc5b5; --depth: #964d63; --glow: #ff7a4b94;
  background-image: linear-gradient(151deg,#fff4f8 17%,#ccbbeb 41%,#a36b8c 58%,#ffad9f 78%,#ffd4c4);
  margin-left: -.045em;
  transform: translateY(.12em) skewX(-9deg) scaleY(1.1);
}
.battle-hero-versus::after {
  content: ""; pointer-events: none; position: absolute; z-index: 1;
  left: 46%; top: 87%; width: .32em; height: .10em;
  transform: translate(-50%,-50%) rotate(-61deg);
  background: radial-gradient(ellipse,#fff9e9 2%,#ffa26a 23%,transparent 70%);
}
.battle-hero-metrics {
  position: absolute; top: 67.65%; left: 19%; width: 66%; min-height: 7.4cqw;
  display: flex; align-items: center; justify-content: space-evenly; gap: .5cqw;
  border: 1px solid #66628266; border-radius: 1.8cqw;
  background: linear-gradient(112deg,#111d38f5,#0c0e1df5 48%,#23151bf7);
  box-shadow: inset .4cqw -.55cqw 1.7cqw #4675bd3d,inset -.35cqw 0 1.5cqw #ee794143,0 .65cqw 1.7cqw #030711a3;
  font-weight: 800; font-size: 2.55cqw; letter-spacing: -.04em;
}
.battle-hero-metrics li { position: relative; display: flex; align-items: center; justify-content: center; gap: .9cqw; flex: 1; }
.battle-hero-metrics li + li::before { content: ""; position: absolute; left: 0; height: 54%; border-left: 1px solid #8792c14f; }
.battle-hero-metrics svg { width: 4.2cqw; color: #2c9fff; }
.battle-hero-metrics li:last-child svg { color: #ffa335; }
.battle-hero-metrics span::after { content: ""; display: block; width: 65%; margin-top: .35cqw; height: 1px; background: #2497ed; }
.battle-hero-metrics li:last-child span::after { background: #f78531; }
.battle-hero-ticker {
  grid-area: 3/1/4/3; display: flex; align-items: center; justify-content: center;
  gap: calc(1.85 * var(--u)); margin: calc(1.6 * var(--u)) calc(-.8 * var(--u)) 0;
  padding: calc(.68 * var(--u)) calc(5.3 * var(--u));
  min-height: calc(3.35 * var(--u)); border: 1px solid transparent; border-radius: 99px;
  background: linear-gradient(180deg,#101827,#090e1b 56%,#151c2a) padding-box,
    linear-gradient(95deg,#267aaa,#586488,#b87556) border-box;
  box-shadow: inset .4cqw 0 1cqw #389eff3f,inset -.35cqw 0 1cqw #ff854942;
  font-size: calc(1.39 * var(--u)); font-weight: 800; letter-spacing: -.035em;
}
.battle-hero-ticker svg { width: calc(2.85 * var(--u)); height: calc(1.75 * var(--u)); color: #2b86ff; }
.battle-hero-ticker svg:last-child { color: #ff852e; }
.battle-hero-ticker-window { min-width: 0; overflow: hidden; }
.battle-hero-track { display: flex; width: max-content; white-space: nowrap; }
.battle-hero-track span { flex: none; padding-inline-end: 0; }

.battle-hero-enter { animation: battle-hero-enter .57s var(--delay,0s) both cubic-bezier(.16,1,.3,1); }
@keyframes battle-hero-enter { from { opacity: 0; translate: 0 12px; } }
@keyframes battle-hero-drop { from { opacity: 0; translate: 0 -34px; } 77% { translate: 0 2px; } }
@keyframes battle-hero-side { from { opacity: 0; translate: var(--from) 0; } }
@keyframes battle-hero-pop { from { opacity: 0; scale: .88; } 75% { scale: 1.025; } }
@keyframes battle-hero-fade { from { opacity: 0; } }
@keyframes battle-hero-lights { from { opacity: .83; } to { opacity: 1; } }
@keyframes battle-hero-badge-glow { to { box-shadow: inset 0 0 1.5cqw #e3ffffa8,0 0 2.9cqw #258fff9e,0 .6cqw .9cqw #001b4c; } }

@container (max-width: 1100px) {
  .battle-hero-frame { padding-inline: 3.6cqw; }
  .battle-hero-description { font-size: 1.25cqw; }
  .battle-hero-perks li { font-size: 1.1cqw; }
  .battle-hero-action p { font-size: .97cqw; }
}
@container (max-width: 850px) {
  .battle-hero-frame { display: flex; flex-direction: column; padding: 23px clamp(14px,4.5cqw,36px) 24px; }
  .battle-hero-chips { gap: 5px; }
  .battle-hero-chips li { padding: 7px clamp(6px,1.75cqw,14px); font-size: clamp(10px,2.4cqw,15px); gap: 4px; }
  .battle-hero-chips svg { width: 1.05em; }
  .battle-hero-kicker { margin: 19px 0 7px; font-size: clamp(13px,3.3cqw,19px); }
  .battle-hero h1 { font-size: clamp(26px,6.75cqw,53px); }
  .battle-hero h1 > span { display: inline; white-space: normal; }
  .battle-hero-mark {
    border-radius: .24em;
    background: linear-gradient(165deg,#3199f9,#1f42cb 76%) center bottom .06em / 100% 79% no-repeat;
    box-decoration-break: clone; -webkit-box-decoration-break: clone;
  }
  .battle-hero-mark::before { content: none; }
  .battle-hero-description { margin-top: 16px; font-size: clamp(15px,3.65cqw,19px); }
  .battle-hero-stage { position: relative; align-self: center; width: min(100cqw,690px); height: auto; aspect-ratio: 1.12; margin: 14px 0 -4%; }
  .battle-hero-stage::before { mask-image: linear-gradient(transparent,#000 8% 84%,transparent); }
  .battle-hero-perks { gap: 7px; margin-top: 0; }
  .battle-hero-perks li { padding: 9px 10px; min-height: 43px; font-size: clamp(13px,3.4cqw,17px); gap: 9px; border-radius: 8px; }
  .battle-hero-perks svg { width: 22px; }
  .battle-hero-action { align-items: flex-start; flex-wrap: wrap; margin-top: 17px; gap: 11px 16px; }
  .battle-hero-cta { width: 194px; min-height: 54px; border-radius: 13px; font-size: 17px; }
  .battle-hero-action p { flex: 1 0 min(100%,250px); align-self: center; font-size: 12px; }
  .battle-hero-ticker { margin: 18px 0 0; padding: 9px 12px; gap: 10px; font-size: 14px; }
  .battle-hero-ticker svg { width: 20px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .battle-hero *, .battle-hero *::before, .battle-hero *::after { animation: none !important; transition: none !important; }
  .battle-hero-track { width: auto; white-space: normal; text-align: center; }
  .battle-hero-track span { padding: 0; }
  .battle-hero-track [aria-hidden] { display: none; }
}
.battle-hero-ticker { letter-spacing: -.015em; }
.battle-hero-track span { padding-inline-end: 0; }
.battle-hero-score p { animation: battle-hero-score-glow 7s 1.3s ease-in-out infinite; }
@keyframes battle-hero-score-glow {
  0%, 100% { text-shadow: 0 0 .3em #ada7ff35; }
  12% { text-shadow: 0 0 .48em #ada7ff72; }
}
@media (prefers-reduced-motion: reduce) {
  .battle-hero-track span { padding-inline-end: 0; }
}

/* Blend the scene into the dark hero without a separate overlay strip. */
@media (min-width: 851px) {
  .battle-hero-stage::before {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 calc(10% + 50px)), linear-gradient(to bottom, transparent, #000 8% 84%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 calc(10% + 50px)), linear-gradient(to bottom, transparent, #000 8% 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .battle-hero-lights {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 calc(13% + 50px));
    mask-image: linear-gradient(to right, transparent, #000 calc(13% + 50px));
  }
}
