.promo-vpn,
.promo-pay {
  --promo-red: #d62633;
  --promo-ink: #151517;
  border-radius: 12px;
  min-width: 0;
  container-type: inline-size;
}

.promo-vpn {
  display: flex;
  background: var(--promo-red);
  color: #fff;
}

.promo-vpn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-width: 0;
  padding: 32px 24px 24px;
  border-radius: inherit;
}

.promo-vpn-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: auto;
  text-align: center;
}

.promo-vpn-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 5.25rem;
  line-height: 1;
  letter-spacing: -.04em;
  text-align: center;
}

.promo-vpn-brand { font-weight: 900; }
.promo-vpn-name { font-weight: 500; }

.promo-vpn-tagline {
  max-width: 220px;
  margin-top: 16px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.promo-vpn-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 280px;
  gap: 10px;
}

.promo-vpn-action,
.promo-pay-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: .875rem;
  line-height: 1.4;
  font-weight: 700;
  transition: background .18s ease, color .18s ease;
}

.promo-vpn-action {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 999px;
  letter-spacing: .025em;
  transition: background .18s ease, transform .18s ease;
}

.promo-vpn-action svg,
.promo-pay-action svg { flex-shrink: 0; }
.promo-pay-action svg { transition: transform .18s ease; }

.promo-vpn-web { background: #fff; color: var(--promo-ink); }
.promo-vpn-bot { background: var(--promo-ink); color: #fff; }

.promo-vpn-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.promo-vpn-action:active,
.promo-pay-action:active { transform: translateY(1px); }

.promo-vpn-compact .promo-vpn-content {
  padding: 24px;
  gap: 26px;
}

.promo-pay {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f5f5f7;
  color: var(--promo-ink);
}

.promo-pay-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--promo-ink);
}

.promo-pay-backdrop > svg {
  position: absolute;
  opacity: .07;
}

.promo-backdrop-gamepad {
  width: 170px;
  height: 170px;
  left: 34%;
  top: -44px;
  transform: rotate(-18deg);
}

.promo-backdrop-steam {
  opacity: .05 !important;
  width: 160px;
  height: 160px;
  left: 53%;
  bottom: -56px;
  transform: rotate(15deg);
}

.promo-backdrop-gift {
  color: var(--promo-red);
  width: 106px;
  height: 106px;
  left: 7%;
  bottom: -39px;
  transform: rotate(-15deg);
}

.promo-backdrop-card {
  color: var(--promo-red);
  width: 116px;
  height: 116px;
  right: 18%;
  top: -48px;
  transform: rotate(18deg);
}

.promo-pay-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(210px, 240px);
  align-items: center;
  gap: clamp(28px, 4cqi, 56px);
  padding: 32px;
}

.promo-pay-heading { min-width: 0; }

.promo-pay-brand {
  display: inline-flex;
  align-items: baseline;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}

.promo-pay-brand b {
  color: var(--promo-red);
  font-weight: inherit;
}

.promo-pay-heading h2 {
  max-width: 540px;
  margin-top: 16px;
  font-size: clamp(1.5rem, 2.4cqi, 2rem);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 650;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.promo-pay-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.promo-pay-rate strong {
  display: flex;
  align-items: center;
  color: var(--promo-red);
  font-size: 5.5rem;
  font-weight: 750;
  line-height: .85;
  letter-spacing: -.075em;
}

.promo-pay-rate strong > span {
  font-size: .4em;
  line-height: 1;
  letter-spacing: -.045em;
  margin-left: .25em;
}

.promo-pay-rate > span {
  color: #626269;
  font-size: .875rem;
  line-height: 1.4;
  white-space: nowrap;
}

.promo-pay-connect {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.promo-pay-connect p {
  color: #626269;
  font-size: .875rem;
  line-height: 1.55;
}

.promo-pay-connect b {
  color: var(--promo-ink);
  font-weight: 650;
}

.promo-pay-action {
  width: 100%;
  background: var(--promo-ink);
  color: #fff;
  gap: 12px;
}

.promo-pay-action:focus-visible {
  outline: 3px solid var(--promo-red);
  outline-offset: 4px;
}

@media (hover: hover) {
  .promo-vpn-action:hover { transform: translateY(-1px); }
  .promo-vpn-web:hover { background: #ffe8eb; }
  .promo-vpn-bot:hover { background: #303036; }
  .promo-vpn-action:active { transform: translateY(0); }
  .promo-pay-action:hover { background: var(--promo-red); }
  .promo-pay-action:hover svg { transform: translate(2px, -2px); }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .promo-vpn-content { padding: 28px 20px 22px; }
}

@media (max-width: 560px) {
  .promo-vpn-content,
  .promo-vpn-compact .promo-vpn-content {
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 24px;
  }
}

@media (max-width: 360px) {
  .promo-vpn-content,
  .promo-vpn-compact .promo-vpn-content {
    padding: 20px;
    gap: 20px;
  }
}

@container (max-width: 62rem) {
  .promo-pay-content {
    grid-template-columns: minmax(0, 1fr) auto 210px;
    gap: 26px;
    padding: 28px;
  }
  .promo-pay-rate strong { font-size: 5rem; }
}

@container (max-width: 48rem) {
  .promo-pay-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
    gap: 26px;
  }
  .promo-pay-heading { grid-column: 1 / -1; }
  .promo-pay-heading h2 { max-width: 460px; }
  .promo-pay-rate { grid-column: 1; grid-row: 2; justify-self: start; }
  .promo-pay-connect { grid-column: 2; grid-row: 2; }
  .promo-backdrop-gamepad { left: auto; right: -25px; top: -36px; }
  .promo-backdrop-steam { left: 28%; bottom: -48px; }
  .promo-backdrop-gift { left: -26px; bottom: 44px; }
  .promo-backdrop-card { display: none; }
}

@container (max-width: 28rem) {
  .promo-pay-content {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 24px 18px;
    padding: 24px;
  }
  .promo-pay-brand { font-size: 2rem; }
  .promo-pay-heading h2 { margin-top: 14px; font-size: 1.5rem; }
  .promo-pay-rate strong { font-size: 4.5rem; }
  .promo-pay-connect { gap: 14px; }
  .promo-pay-action { padding: 12px; gap: 8px; }
}

@container (max-width: 18rem) {
  .promo-pay-content { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .promo-pay-rate { grid-column: 1; grid-row: 2; }
  .promo-pay-connect { grid-column: 1; grid-row: 3; }
}

.promo-carousel { position: relative; min-width: 0; }
.promo-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.promo-viewport::-webkit-scrollbar { display: none; }
.promo-viewport.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}
.promo-viewport.is-dragging a { pointer-events: none; }
.promo-track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0;
}
.promo-slide {
  display: flex;
  flex: 0 0 100%;
  min-width: 0;
  padding: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.promo-slide > .promo-pay { width: 100%; }
.promo-vpn-slide { position: relative; }
.promo-vpn-slide > .promo-vpn { position: absolute; inset: 0; }
.promo-vpn-slide .promo-vpn-content { padding: 20px; gap: 16px; }
.promo-vpn-slide .promo-vpn-wordmark { font-size: clamp(3rem, 14cqi, 3.5rem); }
.promo-vpn-slide .promo-vpn-tagline { margin-top: 12px; }

/* Широкий VPN-слайд (десктоп): всё в одну строку */
@container (min-width: 40rem) {
  .promo-vpn-slide .promo-vpn-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 24px 36px;
  }
  .promo-vpn-slide .promo-vpn-identity {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    margin: 0;
    text-align: left;
  }
  .promo-vpn-slide .promo-vpn-wordmark { flex-direction: row; gap: 14px; font-size: 3.5rem; }
  .promo-vpn-slide .promo-vpn-tagline { max-width: 240px; margin: 0; font-size: 1.35rem; }
  .promo-vpn-slide .promo-vpn-actions { width: auto; max-width: none; grid-template-columns: repeat(2, 150px); }
}

.promo-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.promo-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.promo-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #626269;
  transition: width .2s ease, background .2s ease;
}
.promo-dot:hover::after { background: #9a9aa3; }
.promo-dot[aria-current="true"]::after {
  width: 22px;
  background: #d62633;
}
.promo-dot:focus-visible { outline: 2px solid #d62633; outline-offset: 2px; }

@media (max-width: 800px) {
  .promo-desktop-only { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-dot::after { transition: none; }
  .promo-vpn-action,
  .promo-pay-action,
  .promo-pay-action svg {
    transition: none;
    transform: none !important;
  }
}
