:root {
  --bg: #06000F;
  --panel: rgba(18, 6, 40, .72);
  --violet: #8B5CF6;
  --violet-soft: #A78BFA;
  --cta-1: #4A2FE8;
  --cta-2: #3721DA;
  --orange: #FB923C;
  --text: #F2F0FA;
  --text-2: #9C93B8;
  --line: rgba(139, 92, 246, .22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  font-family: 'Sora', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
}

.steam-link {
  color: var(--text-2);
  text-decoration: none;
  transition: color .18s ease;
}

.steam-link:hover {
  color: var(--text);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url('img/bg_desk.webp?v=20260917') center center / cover no-repeat;
}

.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 0, 15, .68) 0%, rgba(6, 0, 15, .82) 55%, rgba(6, 0, 15, .94) 100%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='140' height='140' filter='url(%23n)' opacity='1'/></svg>");
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(64px);
  backdrop-filter: blur(64px);
  background: rgba(6, 0, 15, .35);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
}

/* разделы закрыты до входа: замок стоит в конце ряда и не кликается */
.nav-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: -8px;
  border-radius: 6px;
  color: var(--violet-soft);
  opacity: .72;
  background: rgba(139, 92, 246, .10);
  border: 1px solid var(--line);
  pointer-events: none;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-2);
  text-decoration: none;
  transition: color .18s ease;
}

.nav a:hover {
  color: var(--text);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.signin {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--violet);
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
}

.signin:hover {
  background: rgba(139, 92, 246, .14);
  box-shadow: 0 0 18px rgba(139, 92, 246, .3);
}

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 118px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kicker {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--violet-soft);
  margin-bottom: 10px;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 60px);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--text);
  margin-bottom: 10px;
}

.sub {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 26px;
}

.packs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 16px;
}

.pack {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  width: 252px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  filter: saturate(.8) brightness(.9);
  transition: transform .26s cubic-bezier(.34, 1.3, .5, 1), filter .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.pack:hover {
  transform: translateY(-2px);
  filter: saturate(1) brightness(1);
}

.pack--rec {
  position: relative;
  width: 268px;
  border-color: rgba(139, 92, 246, .5);
  filter: saturate(1) brightness(1);
  box-shadow: 0 0 42px rgba(139, 92, 246, .22);
}

.pack-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--cta-1), var(--violet));
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
  box-shadow: 0 0 18px rgba(139, 92, 246, .55);
  pointer-events: none;
}

.pack:focus-visible,
.signin:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
}

.packs.has-selection .pack:not(.is-selected) {
  filter: saturate(.45) brightness(.5);
  transform: scale(.955);
}

.packs.has-selection .pack:not(.is-selected):hover {
  filter: saturate(.7) brightness(.72);
  transform: scale(.975);
}

.pack.is-selected {
  position: relative;
  z-index: 2;
  border: 2px solid var(--violet);
  filter: none;
  transform: translateY(-6px) scale(1.07);
  box-shadow: 0 0 64px rgba(139, 92, 246, .6), 0 0 22px rgba(74, 47, 232, .5) inset;
}

.pack[data-color="orange"].is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 64px rgba(251, 146, 60, .55), 0 0 22px rgba(251, 146, 60, .4) inset;
}

.pack-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 25px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.pack-name-orange {
  color: var(--orange);
}

.pack-desc {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-2);
  margin: -2px 0 2px;
}

.pack-crate {
  width: 168px;
  height: 140px;
  object-fit: contain;
  pointer-events: none;
}

.pack-crate-boost {
  width: 196px;
  height: 164px;
}

.pack-select {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 16px;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.pack.is-selected .pack-select {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.pack-select-orange {
  color: var(--orange);
  border-color: rgba(251, 146, 60, .35);
}

.pack.is-selected .pack-select-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #1A0A00;
}

.pack-tag {
  font-size: 12px;
  color: var(--text-2);
}

.fomo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(18, 6, 40, .72);
  border: 1px solid rgba(167, 139, 250, .38);
  box-shadow: 0 0 24px rgba(139, 92, 246, .28), inset 0 0 14px rgba(139, 92, 246, .1);
  margin-bottom: 18px;
}

.fomo-sep {
  color: var(--violet-soft);
  font-size: 13px;
}

.fomo-clock {
  color: var(--violet-soft);
  flex-shrink: 0;
}

.fomo-label {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.fomo-timer {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
  color: #F07090;
  text-shadow: 0 0 16px rgba(240, 112, 144, .55);
  white-space: nowrap;
}

.packs.is-expired .pack {
  filter: saturate(.3) brightness(.42);
  pointer-events: none;
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.fomo.is-expired {
  border-color: rgba(240, 112, 144, .45);
  box-shadow: 0 0 24px rgba(240, 112, 144, .22), inset 0 0 14px rgba(240, 112, 144, .08);
}

.fomo-expired {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #F07090;
  text-shadow: 0 0 14px rgba(240, 112, 144, .4);
  white-space: nowrap;
}

.fomo-again {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #C2455E, #A63448);
  border: none;
  border-radius: 999px;
  padding: 6px 18px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(240, 112, 144, .35);
  transition: filter .18s ease, transform .18s ease;
}

.fomo-again:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.fomo-again:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
}

.cta-wrap {
  margin-bottom: 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 58px;
  padding: 0 44px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--cta-1), var(--cta-2));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(74, 47, 232, .55), 0 8px 26px rgba(0, 0, 0, .4);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 0 56px rgba(74, 47, 232, .7), 0 10px 30px rgba(0, 0, 0, .45);
}

.cta:disabled {
  cursor: not-allowed;
  filter: grayscale(.4) brightness(.55);
  box-shadow: none;
}

.cta:disabled:hover {
  transform: none;
  filter: grayscale(.4) brightness(.55);
  box-shadow: none;
}

.cta:disabled::after {
  animation: none;
  box-shadow: none;
}

.cta:active {
  transform: translateY(0) scale(.985);
}

.cta .cta-arrow {
  transition: transform .18s ease-out;
}

.cta:hover .cta-arrow {
  transform: translateX(3px);
}

.steam-ico {
  flex-shrink: 0;
}

.trustbar {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.trust-side {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  opacity: .7;
  white-space: nowrap;
}

.trust-side:first-child { text-align: left; }
.trust-side:last-child { text-align: right; }

.trust {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.trust svg {
  color: var(--violet-soft);
}

.trust .diamond {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--line);
  display: inline-block;
}

.foot {
  border-top: 1px solid var(--line);
  background: rgba(6, 0, 15, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 10px;
  color: var(--text-2);
}

.foot-center {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  white-space: nowrap;
}

.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--violet-soft);
  font-weight: 600;
}

.foot .diamond {
  width: 4px;
  height: 4px;
  transform: rotate(45deg);
  background: var(--line);
  display: inline-block;
  flex-shrink: 0;
}

/* Motion: Premium entrance — one choreographed page-load, stagger 80ms */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.kicker, .hero h1, .sub, .packs, .fomo, .cta-wrap, .trustbar {
  animation: rise .5s cubic-bezier(.4, 0, .2, 1) both;
}

.hero h1 { animation-delay: .08s; }
.sub { animation-delay: .16s; }
.packs { animation-delay: .24s; }
.fomo { animation-delay: .4s; }
.cta-wrap { animation-delay: .48s; }
.trustbar { animation-delay: .56s; }

/* Selected card: soft pop when switching */
.pack {
  will-change: transform;
}

@keyframes pop {
  0% { transform: translateY(-6px) scale(1.045); }
  45% { transform: translateY(-6px) scale(1.088); }
  100% { transform: translateY(-6px) scale(1.07); }
}

.pack.is-selected {
  animation: pop .32s cubic-bezier(.4, 0, .2, 1);
}

/* CTA ambient glow breath — на слое ниже, hover кнопки не перекрывается */
.cta {
  position: relative;
}

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  animation: cta-breath 3.2s ease-in-out 1.2s infinite;
}

@keyframes cta-breath {
  0%, 100% { box-shadow: 0 0 30px rgba(74, 47, 232, .25); }
  50% { box-shadow: 0 0 46px rgba(74, 47, 232, .5); }
}

/* Timer urgency in the last minute */
.fomo-timer.is-low {
  color: #FF4D6D;
  text-shadow: 0 0 20px rgba(255, 77, 109, .7);
  animation: low-pulse 1s ease-in-out infinite;
}

@keyframes low-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}

/* Overlay: fade + scale-in, checkmark draws itself */
@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes overlay-card {
  from { transform: scale(.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.overlay {
  animation: overlay-in .25s ease-out both;
}

.overlay svg,
.overlay-text {
  animation: overlay-card .4s cubic-bezier(.4, 0, .2, 1) .1s both;
}

.overlay svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw .45s cubic-bezier(.4, 0, .2, 1) .35s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.overlay[hidden] {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: rgba(6, 0, 15, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.overlay-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
}

/* Узкий десктоп 761-860: карточки промежуточного размера, ряд не распирает */
@media (max-width: 860px) and (min-width: 761px) {
  .pack {
    width: 212px;
    padding: 18px 16px 14px;
  }

  .pack--rec {
    width: 224px;
  }

  .pack-crate {
    width: 140px;
    height: 116px;
  }

  .pack-crate-boost {
    width: 164px;
    height: 136px;
  }
}

/* Compact vertical: низкие десктоп-окна (1280x650 и ниже) — карточки чуть ниже,
   но кнопка и таймер остаются в первом вьюпорте */
@media (max-height: 780px) and (min-width: 861px) {
  .hero {
    padding: 80px 24px 20px;
  }

  .kicker {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: clamp(36px, 4.6vw, 46px);
    margin-bottom: 8px;
  }

  .sub {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .packs {
    margin-bottom: 12px;
  }

  .pack {
    padding: 16px 16px 12px;
    gap: 6px;
  }

  .pack-name {
    font-size: 22px;
  }

  .pack-desc {
    font-size: 11.5px;
    margin: 0;
  }

  .pack-crate {
    width: 150px;
    height: 118px;
  }

  .pack-crate-boost {
    width: 174px;
    height: 138px;
  }

  .pack-select {
    padding: 4px 16px;
  }

  .fomo {
    padding: 7px 20px;
    margin-bottom: 12px;
  }

  .fomo-timer {
    font-size: 20px;
  }

  .cta-wrap {
    margin-bottom: 12px;
  }

  .cta {
    height: 54px;
    font-size: 19px;
  }

  .trustbar {
    margin-top: 14px;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }

  .hero {
    padding: 96px 16px 20px;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 44px);
  }

  .sub {
    margin-bottom: 22px;
  }

  .packs {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pack {
    width: auto;
    min-width: 0;
    padding: 12px 8px 10px;
    gap: 6px;
  }

  .pack-name {
    font-size: 17px;
  }

  .pack-desc {
    font-size: 10px;
    line-height: 1.3;
    margin: 0;
  }

  .pack-crate {
    width: 96px;
    height: 80px;
  }

  .pack-crate-boost {
    width: 112px;
    height: 94px;
  }

  .pack-select {
    font-size: 9px;
    padding: 4px 10px;
  }

  .pack-tag {
    font-size: 10px;
  }

  .pack.is-selected {
    transform: translateY(-3px) scale(1.03);
    animation: none;
  }

  .packs.has-selection .pack:not(.is-selected) {
    transform: scale(.97);
  }

  .pack-badge {
    top: -10px;
    font-size: 9px;
    letter-spacing: .12em;
    padding: 3px 9px;
  }

  .packs.is-expired .pack {
    transform: none;
  }

  .fomo {
    padding: 8px 16px;
    gap: 8px;
  }

  .fomo-expired {
    font-size: 10px;
    letter-spacing: .14em;
  }

  .fomo-again {
    font-size: 11px;
    padding: 5px 14px;
  }

  .cta {
    height: 50px;
    font-size: 17px;
    padding: 0 26px;
  }

  .trustbar {
    grid-template-columns: auto;
    justify-content: center;
  }

  .trust-side {
    display: none;
  }

  .trust {
    gap: 10px;
    font-size: 10px;
  }

  .foot-center {
    flex-wrap: wrap;
    white-space: normal;
    gap: 6px 10px;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .sub {
    font-size: 13px;
  }

  .topbar-inner {
    gap: 10px;
    padding: 10px 14px;
  }

  .brand img {
    height: 26px;
  }

  .signin {
    padding: 7px 12px;
    font-size: 11px;
  }

  .fomo {
    gap: 8px;
    padding: 7px 14px;
  }

  .fomo-label {
    font-size: 10px;
    letter-spacing: .16em;
  }

  .fomo-timer {
    font-size: 18px;
  }

  .trust {
    font-size: 11px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-height: 1000px) {
  .hero {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- модалка подтверждения бонуса (16.09) ---------- */
/* ===== Modal: Bonus Activated ===== */
.wr-modal[hidden]{display:none}

.wr-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(4,0,10,.78);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  z-index:200;
  animation:wrModalFade .2s ease both;
}

.wr-modal__window{
  position:relative;
  width:min(460px,calc(100vw - 32px));
  padding:34px 30px 30px;
  border-radius:20px;
  background:rgba(6,0,15,.9);
  text-align:center;
  border:1px solid var(--line);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.8),
    0 0 0 1px rgba(139,92,246,.12),
    0 0 42px rgba(139,92,246,.28);
  animation:wrModalIn .28s cubic-bezier(.34,1.2,.5,1) both;
}

.wr-modal__window::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--panel);
  z-index:-1;
}

@keyframes wrModalFade{
  from{opacity:0}
  to{opacity:1}
}

@keyframes wrModalIn{
  from{opacity:0;transform:translateY(16px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}

.wr-modal__title{
  margin:0 0 20px;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:26px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text);
}

.wr-modal-crate{
  display:block;
  height:200px;
  width:auto;
  max-width:100%;
  margin:0 auto;
  filter:drop-shadow(0 18px 26px rgba(139,92,246,.45));
}

.wr-modal__pack{
  margin:18px 0 0;
  font-family:'Sora',sans-serif;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--violet-soft);
}

.wr-modal__text{
  margin:10px 0 24px;
  font-family:'Sora',sans-serif;
  font-size:15px;
  line-height:1.6;
  color:var(--text-2);
}

.wr-modal__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  height:58px;
  padding:0 44px;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:17px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#fff;
  background:linear-gradient(135deg,var(--cta-1),var(--cta-2));
  border:none;
  border-radius:12px;
  cursor:pointer;
  transition:filter .2s ease,transform .2s ease;
}

.wr-modal__cta:hover{
  filter:brightness(1.12);
}

.wr-modal__cta:active{
  transform:translateY(1px);
}

.wr-modal__steam{
  flex-shrink:0;
}

.wr-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:none;
  border-radius:10px;
  color:var(--text-2);
  cursor:pointer;
  transition:color .2s ease,background .2s ease;
}

.wr-modal__close:hover{
  color:var(--text);
  background:rgba(139,92,246,.12);
}

@media (max-width:520px){
  .wr-modal__window{
    padding:26px 20px 22px;
  }
  .wr-modal-crate{
    height:150px;
  }
  .wr-modal__cta{
    width:100%;
    padding:0 20px;
  }
}

@media (prefers-reduced-motion:reduce){
  .wr-modal,
  .wr-modal__window{
    animation:none;
  }
  .wr-modal__cta,
  .wr-modal__close{
    transition:none;
  }
}
