/* Negotiation battle: an arena-inspired landing page with its own visual system. */
.page-battle {
  --battle-ink: #071b33;
  --battle-blue: #174ad4;
  --battle-orange: #f15a3e;
  --battle-lime: #d9f23d;
  --battle-cream: #f6f1e7;
  --battle-paper: #fffdf8;
  --battle-line: rgba(7, 27, 51, .17);
  color: var(--battle-ink);
  background: var(--battle-cream);
}

.page-battle .lp-header {
  border-color: var(--battle-line);
  background: rgba(246, 241, 231, .94);
}

.page-battle .lp-header__cta,
.page-battle .lp-mobile-cta,
.page-battle .lp-button--primary {
  color: #fff;
  background: var(--battle-orange);
}

.page-battle .lp-header__wa {
  border-color: rgba(23, 74, 212, .28);
  color: var(--battle-blue);
}

.page-battle .lp-button--primary:hover {
  box-shadow: 0 16px 42px rgba(241, 90, 62, .28);
}

.battle-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--battle-blue);
  font: 500 .69rem/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.battle-kicker:before {
  width: 22px;
  height: 2px;
  content: '';
  background: currentColor;
}

.battle-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 27, 51, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 51, .055) 1px, transparent 1px),
    var(--battle-cream);
  background-size: 42px 42px;
}

.battle-hero:after {
  position: absolute;
  top: 9%;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(35, 81, 209, .2);
  border-radius: 50%;
  content: '';
  pointer-events: none;
}

.battle-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 64px);
  align-items: center;
  gap: 2rem;
  padding-block: 3.2rem;
}

.battle-date-stamp {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: .7rem;
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: .55rem .8rem;
  color: #fff;
  background: var(--battle-blue);
  font: 600 .8rem 'IBM Plex Mono', monospace;
  transform: rotate(-1.5deg);
}

.battle-date-stamp span + span {
  padding-left: .7rem;
  border-left: 1px solid rgba(255, 255, 255, .45);
}

.battle-date-stamp__price {
  font-weight: 750;
}

.battle-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--battle-ink);
  font-family: Unbounded, sans-serif;
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .84;
  text-transform: uppercase;
}

.battle-hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--battle-blue);
  text-stroke: 2px var(--battle-blue);
}

.battle-hero__lead {
  max-width: 650px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.05rem, 4.4vw, 1.38rem);
  font-weight: 650;
  line-height: 1.45;
}

.battle-hero__actions {
  display: grid;
  gap: .7rem;
  margin-top: 1.4rem;
}

.battle-hero__actions .lp-button {
  min-height: 62px;
  border-radius: 0;
}

.battle-hero__actions .lp-button--whatsapp {
  border: 1px solid var(--battle-ink);
  color: var(--battle-ink);
  background: transparent;
}

.battle-hero__note {
  margin: .8rem 0 0;
  color: rgba(7, 27, 51, .64);
  font-size: .77rem;
}

.battle-poster {
  position: relative;
  min-height: 480px;
  padding: .75rem;
  background: var(--battle-blue);
  box-shadow: 18px 18px 0 rgba(35, 81, 209, .14);
}

.battle-poster__image {
  position: absolute;
  inset: .75rem;
  overflow: hidden;
  background: #07152a;
}

.battle-poster__image:after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 55%, rgba(7, 27, 51, .92));
}

.battle-poster__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.battle-poster__caption {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  left: 1.8rem;
  z-index: 2;
  display: grid;
  gap: .35rem;
  padding: 1.05rem 1.15rem;
  border-left: 3px solid var(--battle-lime);
  color: #fff;
  background: rgba(7, 27, 51, .76);
  backdrop-filter: blur(10px);
}

.battle-poster__caption span {
  color: rgba(255, 255, 255, .58);
  font: 600 .62rem 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.battle-poster__caption strong {
  max-width: 290px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.28;
}

.battle-marquee {
  overflow: hidden;
  border-block: 1px solid var(--battle-ink);
  color: var(--battle-ink);
  background: var(--battle-lime);
}

.battle-marquee__track {
  display: flex;
  width: max-content;
  padding: .85rem 0;
  font: 700 .72rem 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: battle-marquee 22s linear infinite;
}

.battle-marquee__track span {
  padding-right: 2rem;
}

.battle-marquee__track span:after {
  margin-left: 2rem;
  content: '✦';
}

.battle-rules {
  color: #fff;
  background: var(--battle-ink);
}

.battle-rules .battle-kicker {
  color: var(--battle-lime);
}

.battle-format-heading {
  display: grid;
  max-width: 1100px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(.8rem, 2vw, 1.5rem);
  margin: 0;
  font-family: Unbounded, sans-serif;
  letter-spacing: -.05em;
}

.battle-format-heading__item {
  display: grid;
  min-height: 160px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.4rem);
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

.battle-format-heading__item strong {
  color: var(--battle-lime);
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 650;
  line-height: .8;
}

.battle-format-heading__item:last-child strong {
  color: #69a1ff;
}

.battle-format-heading__item span {
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 620;
  line-height: 1.05;
}

.battle-format-heading__arrow {
  align-self: center;
  color: var(--battle-lime);
  font: 400 clamp(2rem, 4vw, 3.5rem)/1 'IBM Plex Mono', monospace;
}

.battle-heading {
  max-width: 900px;
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(2.3rem, 9vw, 5.5rem);
  font-weight: 620;
  letter-spacing: -.06em;
  line-height: .98;
}

.battle-intro {
  max-width: 720px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.02rem, 4vw, 1.28rem);
  line-height: 1.6;
}

.battle-rounds {
  display: grid;
  width: 100%;
  max-width: 1100px;
  gap: .8rem;
  margin-top: 2.6rem;
}

.battle-round {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .045);
}

.battle-round__inner {
  height: 100%;
}

.battle-round__face {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: 1.4rem;
}

.battle-round__face:after {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid var(--round-color);
  border-radius: 50%;
  content: '';
  opacity: .45;
}

.battle-round:nth-child(1) { --round-color: var(--battle-orange); }
.battle-round:nth-child(2) { --round-color: #69a1ff; }
.battle-round:nth-child(3) { --round-color: var(--battle-lime); }
.battle-round:nth-child(4) { --round-color: #f0c26b; }

.battle-round__front {
  display: grid;
  gap: 1.2rem;
}

.battle-round__back {
  padding-top: 0;
}

.battle-round__back small {
  color: var(--round-color);
  font: 600 .63rem 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.battle-round__number {
  color: var(--round-color);
  font: 650 2.6rem/1 Unbounded, sans-serif;
}

.battle-round__copy {
  position: relative;
  z-index: 1;
}

.battle-round__copy small {
  color: var(--round-color);
  font: 600 .63rem 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.battle-round h3 {
  margin: .55rem 0 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.1;
}

.battle-round__back p {
  max-width: 620px;
  margin: .7rem 0 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.6;
}

.battle-outcomes {
  background: var(--battle-paper);
}

.battle-outcomes__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

.battle-outcome {
  min-height: 220px;
  padding: 1.4rem;
  border: 1px solid var(--battle-line);
  background: var(--battle-cream);
}

.battle-outcome:nth-child(2) {
  color: #fff;
  background: var(--battle-blue);
  transform: rotate(1deg);
}

.battle-outcome:nth-child(3) {
  background: var(--battle-lime);
  transform: rotate(-1deg);
}

.battle-outcome span {
  color: var(--battle-orange);
  font: 750 clamp(.84rem, 1.15vw, .94rem) 'IBM Plex Mono', monospace;
  letter-spacing: .025em;
}

.battle-outcome:nth-child(2) span,
.battle-outcome:nth-child(3) span {
  color: inherit;
}

.battle-outcome h3 {
  margin: 2.4rem 0 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.15;
}

.battle-outcome p {
  margin: .7rem 0 0;
  line-height: 1.55;
}

.battle-media {
  overflow: hidden;
  background: #e8edf8;
}

.battle-media__head {
  display: grid;
  gap: 1.2rem;
}

.battle-media__head .battle-intro {
  margin: 0;
}

.battle-reel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78vw, 300px);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-bottom: .7rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.battle-clip {
  overflow: hidden;
  border: 1px solid var(--battle-line);
  background: var(--battle-paper);
  box-shadow: 12px 12px 0 rgba(23, 74, 212, .12);
  scroll-snap-align: start;
}

.battle-clip .mc-video-player {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--battle-ink);
}

.battle-clip video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.battle-clip .mc-video-play {
  inset: 0;
}

.battle-clip__caption {
  display: grid;
  gap: .3rem;
  padding: 1rem;
}

.battle-clip__caption span {
  color: var(--battle-orange);
  font: 600 .62rem 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.battle-clip__caption strong {
  line-height: 1.3;
}

.battle-details {
  background: var(--battle-cream);
}

.battle-placeholders {
  display: grid;
  gap: .8rem;
  margin-top: 2.3rem;
}

.battle-placeholder {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 108px;
  padding: 1.1rem;
  border: 1px solid rgba(7, 27, 51, .24);
  background: rgba(255, 253, 248, .6);
}

.battle-placeholder__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: var(--battle-blue);
  font: 700 1rem Unbounded, sans-serif;
}

.battle-placeholder small,
.battle-placeholder strong {
  display: block;
}

.battle-placeholder small {
  color: rgba(7, 27, 51, .56);
  font: 600 .62rem 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.battle-placeholder strong {
  margin-top: .35rem;
  font-size: 1.1rem;
}

.battle-placeholder em {
  color: var(--battle-orange);
  font-style: normal;
}

.battle-details__note {
  max-width: 700px;
  margin: 1.4rem 0 0;
  color: rgba(7, 27, 51, .62);
  font-size: .85rem;
  line-height: 1.55;
}

.battle-host {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--battle-blue);
}

.battle-host:after {
  position: absolute;
  right: -12rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border: 70px solid rgba(217, 242, 61, .22);
  border-radius: 50%;
  content: '';
}

.battle-host__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.battle-host__photo {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 18px 18px 0 var(--battle-lime);
  transform: rotate(-2deg);
}

.battle-host__photo img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
}

.battle-host .battle-kicker {
  color: var(--battle-lime);
}

.battle-host h2 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(2.8rem, 11vw, 5.2rem);
  font-weight: 620;
  letter-spacing: -.07em;
  line-height: .9;
}

.battle-host__copy > p:not(.battle-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.68;
}

.battle-host__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-top: 1.4rem;
}

.battle-host__stat {
  padding: .85rem;
  border: 1px solid rgba(255, 255, 255, .2);
}

.battle-host__stat strong,
.battle-host__stat span {
  display: block;
}

.battle-host__stat strong {
  color: var(--battle-lime);
  font-size: 1.2rem;
}

.battle-host__stat span {
  margin-top: .3rem;
  color: rgba(255, 255, 255, .66);
  font-size: .66rem;
  line-height: 1.35;
}

.battle-host__links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}

.battle-host__links .lp-chip {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.battle-signup {
  color: var(--battle-ink);
  background: var(--battle-orange);
}

.battle-signup__grid {
  display: grid;
  gap: 2rem;
}

.battle-signup__grid > * {
  min-width: 0;
}

.battle-signup .battle-kicker {
  color: var(--battle-ink);
}

.battle-signup .battle-heading {
  max-width: 540px;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
}

.battle-ticket {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.2rem;
  padding: .75rem 1rem;
  border: 1px solid rgba(7, 27, 51, .26);
  background: rgba(255, 253, 248, .34);
  font: 700 .78rem 'IBM Plex Mono', monospace;
}

.battle-ticket strong {
  font-size: 1.05rem;
}

.battle-signup .lp-form {
  position: relative;
  z-index: 1;
  padding: 1.2rem;
  color: #fff;
  background: var(--battle-ink);
  box-shadow: 16px 16px 0 var(--battle-lime);
}

.battle-signup .lp-button--primary {
  color: var(--battle-ink);
  background: var(--battle-lime);
}

.battle-signup .lp-form__wa {
  color: #9ec0ff;
}

.page-battle .lp-footer {
  color: rgba(255, 255, 255, .68);
  background: var(--battle-ink);
}

.page-battle .mc-modal__dialog {
  border-radius: 0;
}

.page-battle .mc-modal .lp-kicker {
  color: var(--battle-orange);
}

.page-battle .mc-modal .lp-button--primary {
  border-radius: 0;
}

@keyframes battle-marquee {
  to { transform: translateX(-50%); }
}

@media (min-width: 560px) {
  .battle-hero__actions {
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
  }

  .battle-round {
    grid-template-columns: 100px 1fr;
    align-items: start;
    padding: 1.8rem;
  }

  .battle-placeholders {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .battle-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(370px, .75fr);
    min-height: calc(100vh - 76px);
    gap: clamp(3rem, 6vw, 6rem);
    padding-block: 4rem;
  }

  .battle-hero h1 {
    font-size: clamp(3.8rem, 5vw, 4.5rem);
  }

  .battle-poster {
    min-height: 660px;
  }

  .battle-rounds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .battle-round {
    min-height: 310px;
  }

  .battle-outcomes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .battle-media__head {
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
  }

  .battle-reel {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    max-width: 1100px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .page-battle--almaty .battle-reel,
  .page-battle--astana .battle-reel {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
  }

  .battle-host__grid,
  .battle-signup__grid {
    grid-template-columns: minmax(320px, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
  }

  .battle-signup__grid {
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .battle-host__photo img {
    min-height: 650px;
  }
}

@media (min-width: 820px) and (hover: hover) and (pointer: fine) {
  .battle-round {
    overflow: visible;
    border: 0;
    background: transparent;
    perspective: 1600px;
  }

  .battle-round__inner {
    position: relative;
    min-height: 310px;
    transform-style: preserve-3d;
    transition: transform .95s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
  }

  .battle-round:hover .battle-round__inner,
  .battle-round:focus .battle-round__inner {
    transform: rotateY(180deg);
  }

  .battle-round:focus-visible {
    outline: 2px solid var(--round-color);
    outline-offset: 4px;
  }

  .battle-round__face {
    position: absolute;
    inset: 0;
    min-height: 310px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #102941;
    backface-visibility: hidden;
  }

  .battle-round__front {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
    gap: 1.2rem;
  }

  .battle-round__front:before {
    position: absolute;
    right: 1.5rem;
    bottom: 1.35rem;
    z-index: 1;
    color: rgba(255, 255, 255, .42);
    content: 'Подробнее →';
    font: 500 .58rem 'IBM Plex Mono', monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .battle-round__back {
    display: grid;
    align-content: center;
    padding-top: 2rem;
    transform: rotateY(180deg);
  }

  .battle-round__back p {
    max-width: 690px;
    margin-top: .9rem;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1.05rem, 1.55vw, 1.28rem);
    line-height: 1.55;
  }
}

@media (max-width: 559px) {
  .page-battle .lp-header__wa {
    display: none;
  }

  .battle-hero:after {
    top: 39%;
    right: -13rem;
  }

  .battle-poster {
    min-height: 520px;
    margin: 1rem .7rem 1.2rem 0;
  }

  .battle-format-heading {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .battle-format-heading__item {
    min-height: 126px;
    padding: 1rem;
  }

  .battle-format-heading__item strong {
    font-size: 5.3rem;
  }

  .battle-format-heading__item span {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .battle-format-heading__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .battle-host__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359px) {
  .page-battle .lp-brand img {
    width: 116px;
  }

  .page-battle .lp-header__cta {
    padding: .6rem .68rem;
    font-size: .67rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .battle-marquee__track {
    animation: none;
  }

  .battle-round__inner {
    transition: none;
  }
}
