.topup-main {
  margin-bottom: 60px;
}

.topup-main__wrapper {
  display: grid;
  grid-template-columns: 1fr 390px;
  column-gap: 16px;
}

.topup-main__content {
  grid-column: 1;
  grid-row: 1;
}

.topup-banner {
  height: 180px;
  margin-bottom: 16px;
  border-radius: 12px;
  background:
    url("../../assets/images/banner.png") no-repeat center,
    var(--blue);
  background-size: 100%;
}

.topup-banner__inner {
  position: relative;
  height: 100%;
  padding: 20px 35px 24px;
  display: grid;
  align-content: space-between;
}

.topup-banner__inner h1 {
  max-width: 370px;
  width: 100%;
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -0.5px;
  color: var(--white);
}

.topup-banner__inner h1 strong {
  height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  background-color: var(--bg-color);
  font-weight: 700;
  line-height: 120%;
  color: var(--orange-dark);
  transform: rotate(-1.5deg);
}

html[data-theme="dark"] .topup-banner__inner h1 strong {
  background-color: var(--white);
}

.topup-banner__inner p {
  max-width: 370px;
  width: 100%;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--white);
}

.topup-banner__inner p b {
  height: 22px;
  display: inline-flex;
  align-items: center;
  margin: -2px 0;
  padding: 0 4px;
  border-radius: 4px;
  background-color: var(--white);
  font-weight: 600;
  color: var(--green-light);
}

.topup-banner__online {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 34px;
  display: flex;
  align-items: center;
  column-gap: 6px;
  padding: 0 13.5px;
  border: 1px solid #fefefe;
  border-radius: 20px;
  background-color: var(--green-light);
}

.topup-banner__online > svg {
  display: none;
}

.topup-banner__online b {
  font-size: 14px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--white);
}

.topup-banner__online-count {
  position: relative;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 2px;
  padding: 0 4px;
  border-radius: 5px;
  background-color: var(--bg-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--green-light);
}

html[data-theme="dark"] .topup-banner__online-count {
  background-color: #fff;
}

.topup-banner__online-count svg {
  width: 14px;
  height: 14px;
}

.topup-form {
  display: grid;
  row-gap: 16px;
  margin-bottom: 16px;
}

.topup-form__tabs {
  display: flex;
  justify-content: space-between;
  column-gap: 16px;
  padding: 3px;
  border-radius: 16px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
}

.topup-form__tab {
  position: relative;
  height: 44px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background-color: transparent;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.topup-form__tab--active {
  color: var(--white);
}

.topup-form__tab--active[data-tab-btn="login"] {
  background-color: var(--blue);
}

.topup-form__tab:not(.topup-form__tab--active)[data-tab-btn="login"]:hover {
  background-color: var(--blue-light);
  color: var(--text-dark);
}

html[data-theme="dark"]
  .topup-form__tab:not(.topup-form__tab--active)[data-tab-btn="login"]:hover {
  background-color: #2c3242;
  color: var(--gray);
}

.topup-form__tab--active[data-tab-btn="gift"] {
  background-color: var(--green-light);
}

.topup-form__tab:not(.topup-form__tab--active)[data-tab-btn="gift"]:hover {
  background-color: var(--lime);
  color: var(--text-dark);
}

html[data-theme="dark"]
  .topup-form__tab:not(.topup-form__tab--active)[data-tab-btn="gift"]:hover {
  background-color: var(--green-soft);
  color: var(--gray);
}

.topup-form__tab-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topup-form__tab-icon img {
  width: 24px;
  transition: 0.3s filter ease-in-out;
}

.topup-form__tab--active .topup-form__tab-icon img {
  filter: brightness(0) invert(1);
}

.topup-form__tab:not(.topup-form__tab--active):hover img {
  filter: brightness(0) invert(0);
}

html[data-theme="dark"]
  .topup-form__tab:not(.topup-form__tab--active):hover
  img {
  filter: none;
}

.topup-form__tab-badge {
  position: absolute;
  top: 0;
  right: 0;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
  border-bottom-left-radius: 10px;
  background-color: var(--orange-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--white);
  opacity: 0;
  transition: 0.3s opacity ease-in-out;
}

.topup-form__tab--active[data-tab-btn="login"] .topup-form__tab-badge {
  opacity: 1;
}

.topup-form__body {
  padding: 20px 24px;
  border-radius: 16px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
}

.topup-form__pane {
  display: none;
}

.topup-form__pane--active {
  display: block;
}

.topup-form__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.topup-form__heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-form__heading span {
  color: var(--orange-dark);
}

.topup-form__regions {
  margin-bottom: 16px;
}

.topup-form__regions-wrapper {
  display: flex;
  gap: 8px;
}

.topup-form__region {
  height: 48px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: var(--button-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

html[data-theme="dark"] .topup-form__region {
  background-color: #2c3242;
}

.topup-form__region:hover,
.topup-form__region--active {
  border-color: var(--blue);
  background-color: var(--blue-light);
  font-weight: 700;
  color: var(--text-dark);
}

html[data-theme="dark"] .topup-form__region:hover,
html[data-theme="dark"] .topup-form__region--active {
  background-color: #1a3152;
}

.topup-form__login {
  margin-bottom: 16px;
}

.topup-input {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 8px;
  height: 50px;
  padding: 8px 16px;
  border-radius: 10px;
  background-color: var(--gray-light);
}

html[data-theme="dark"] .topup-input {
  background-color: #2c3242;
}

.topup-input:focus-within {
  box-shadow: var(--focus-ring);
}

.topup-input__icon {
  width: 20px;
  display: flex;
  justify-content: center;
  order: 1;
  opacity: 0.4;
  transition: opacity 0.3s ease-in-out;
}

html[data-theme="dark"] .topup-input__icon {
  filter: brightness(0) invert(1);
}

.topup-input input:not(:placeholder-shown) ~ .topup-input__icon {
  opacity: 1;
}

.topup-input input {
  flex: 1;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  order: 2;
}

.topup-input input::placeholder {
  color: var(--gray);
}

.topup-form__balance .topup-form__heading {
  height: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
}

.topup-form__amount {
  position: relative;
  padding-bottom: 24px;
}

.topup-input--amount {
  padding: 8px 8px 8px 16px;
}

.topup-input--amount input[type="number"]::-webkit-inner-spin-button,
.topup-input--amount input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.topup-input--amount input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.topup-input--amount input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #eff1f5 inset;
  -webkit-text-fill-color: var(--text-dark);
}

.topup-form__wrapper {
  display: flex;
  align-items: center;
  column-gap: 8px;
  order: 3;
}

.topup-form__currencies {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.topup-form__currency {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background-color: var(--bg-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--gray);
  cursor: pointer;
  transition:
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

.topup-form__currency:hover,
.topup-form__currency--active {
  background-color: var(--blue);
  color: var(--white);
}

.topup-input__clear {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  background-color: unset;
  cursor: pointer;
}

.topup-input__clear img {
  transition: 0.3s filter ease-in-out;
}

.topup-input__clear:hover img {
  filter: brightness(0);
}

html[data-theme="dark"] .topup-input__clear:hover img {
  filter: none;
}

.topup-form__quick {
  position: absolute;
  top: 50px;
  left: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
  z-index: 10;
}

html[data-theme="dark"] .topup-form__quick {
  background-color: #404759;
}

.topup-form__quick--visible {
  opacity: 1;
  visibility: visible;
}

.topup-form__quick::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 60px;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-bottom-color: var(--white);
}

html[data-theme="dark"] .topup-form__quick::before {
  border-bottom-color: #404759;
}

.topup-form__quick-title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-form__quick-list {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.topup-form__quick-item {
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background-color: var(--gray-light);
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

html[data-theme="dark"] .topup-form__quick-item {
  background-color: #2c3242;
}

.topup-form__quick-item--active {
  font-weight: 700;
}

.topup-form__quick-item:hover,
.topup-form__quick-item--active {
  background-color: var(--blue);
  color: var(--white);
}

html[data-theme="dark"] .topup-form__quick-item:hover,
html[data-theme="dark"] .topup-form__quick-item--active {
  background-color: var(--blue);
}

.topup-form__minimum {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--gray);
}

html[data-theme="dark"] .topup-form__minimum {
  color: #6b7280;
}

.topup-form__email {
  margin-bottom: 16px;
}

.topup-form__email .topup-form__heading {
  margin-bottom: 12px;
}

.topup-form__gifts .topup-form__heading {
  margin-bottom: 20px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
}

.gift-card {
  position: relative;
  padding: 12px 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: var(--gray-light);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

html[data-theme="dark"] .gift-card {
  background: #2a2e39;
}

.gift-card:hover,
.gift-card--active {
  border-color: var(--green-light);
  background-color: var(--lime);
}

.gift-card__image {
  position: relative;
  width: 100%;
  height: 70px;
  margin-bottom: 12px;
  border: 2px solid rgba(38, 139, 243, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.gift-card__image-inner {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: space-between;
  padding: 6px 10px 10px 10px;
}

.gift-card__image-inner::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, #3573ff 0%, #8bc4ff 50%, #3472ff 100%);
}

.gift-card__image-type {
  max-width: 90px;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  line-height: 110%;
  letter-spacing: -0.5px;
  color: var(--white);
  z-index: 1;
}

.gift-card__image-price {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--white);
  z-index: 1;
}

.gift-card__discount {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 9px;
  border-bottom-left-radius: 10px;
  background-color: var(--orange-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--white);
  z-index: 1;
}

.gift-card__image-logo {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 66px;
  height: 66px;
}

.gift-card__value {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.gift-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-card__price strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--green-light);
}

.gift-card__price del {
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.5px;
  text-decoration: line-through;
  color: var(--gray);
}

.gift-card__check {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: var(--green-light);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.gift-card.gift-card--active .gift-card__check {
  opacity: 1;
}

.topup-container {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  column-gap: 16px;
}

.topup-bonuses {
  max-width: 490px;
  width: 100%;
  padding: 16px 24px 22px 24px;
  border-radius: 16px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
}

.topup-bonuses__title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-bonuses__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.topup-bonuses__list-item {
  display: flex;
  align-items: baseline;
  column-gap: 8px;
}

.topup-bonuses__list-item:not(:last-child) {
  margin-bottom: 16px;
}

.topup-bonuses__list-item span {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--orange-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  text-align: center;
  color: var(--white);
}

.topup-bonuses__list-item p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

html[data-theme="dark"] .topup-bonuses__list-item p {
  color: #f4f6fa;
}

.topup-bonuses__list-item p strong {
  height: 28px;
  display: inline-flex;
  align-items: center;
  margin: -3px 0;
  padding: 0 9px;
  border-radius: 5px;
  background-color: var(--orange-light);
  font-weight: 700;
  color: var(--orange-dark);
}

html[data-theme="dark"] .topup-bonuses__list-item p strong {
  background-color: var(--orange-soft);
}

.topup-wheel {
  position: relative;
  flex: 1;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(
    350deg,
    var(--orange-dark) 0%,
    var(--yellow) 100%
  );
  background-size: 100%;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  overflow: hidden;
}

.topup-wheel::after {
  content: "";
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 288px;
  height: 288px;
  background-color: #fff387;
  filter: blur(40px);
  border-radius: 50%;
  z-index: 1;
}

.topup-wheel__star-1 {
  position: absolute;
  top: 15px;
  right: 18px;
  animation: float-star 3s ease-in-out infinite;
  animation-delay: 0.6s;
  z-index: 3;
}

.topup-wheel__star-2 {
  position: absolute;
  top: 105px;
  left: 40px;
  animation: float-star 3s ease-in-out infinite;
  animation-delay: 0.2s;
  z-index: 3;
}

.topup-wheel__star-3 {
  position: absolute;
  top: 60px;
  right: 16px;
  animation: float-star 3s ease-in-out infinite;
  animation-delay: 2s;
  z-index: 3;
}

@keyframes float-star {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-5px) scale(1.2);
    opacity: 0.8;
  }
}

.topup-wheel__image {
  position: absolute;
  right: -10%;
  bottom: -43%;
  width: 306px;
  height: 306px;
  z-index: 3;
}

.topup-wheel__image-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background: url("../../assets/wheel-spin.png") no-repeat center;
  background-size: 100%;
  transform: translate(-50%, -50%);
}

.topup-wheel__image-arrow {
  position: absolute;
  top: calc(50% - 65px);
  left: 50%;
  width: 26px;
  height: 35px;
  background: url("../../assets/wheel/wheel-arrow.svg") no-repeat center;
  background-size: 100%;
  transform: translate(-50%, -50%);
}

.topup-wheel__image img {
  width: 100%;
  animation: wheelSpin 20s linear infinite;
}

@keyframes wheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.topup-wheel h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: -0.5px;
  color: var(--white);
  z-index: 2;
}

.topup-wheel h2 span {
  width: fit-content;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--orange-dark);
  transform: rotate(-2deg);
}

html[data-theme="dark"] .topup-wheel h2 span {
  background-color: var(--white);
}

.topup-sidebar {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 90px;
  width: 390px;
  height: max-content;
  flex-shrink: 0;
  border-radius: 16px;
  background-color: var(--bg-color);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.topup-sidebar__content {
  padding: 12px 16px 24px;
}

.topup-sidebar__title {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-sidebar__payments {
  display: grid;
  row-gap: 8px;
  margin-bottom: 16px;
}

.topup-sidebar__payment {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 13px 7px 7px;
  border: 1px solid transparent;
  border-radius: 12px;
  background-color: var(--gray-light);
  transition: border-color 0.3s ease-in-out;
}

html[data-theme="dark"] .topup-sidebar__payment {
  background-color: #2a2e39;
}

.topup-sidebar__payment:hover,
.topup-sidebar__payment--active {
  border-color: var(--green-light);
}

.topup-sidebar__payment-left {
  display: flex;
  align-items: center;
  column-gap: 6px;
}

.topup-sidebar__payment-logo {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: var(--bg-color);
}

.topup-sidebar__payment[data-payment="sbp"] .topup-sidebar__payment-logo img {
  width: 20px;
}

.topup-sidebar__payment[data-payment="mir"] .topup-sidebar__payment-logo img {
  width: 28px;
}

.topup-sidebar__payment[data-payment="crypto"]
  .topup-sidebar__payment-logo
  img {
  width: 20px;
}

.topup-sidebar__payment-info {
  text-align: left;
}

.topup-sidebar__payment-name {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-sidebar__payment-commission {
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--gray);
}

.topup-sidebar__payment-check {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background-color: var(--bg-color);
}

.topup-sidebar__payment--active .topup-sidebar__payment-check {
  background-color: var(--green-light);
}

.topup-sidebar__payment-check img {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.topup-sidebar__payment--active .topup-sidebar__payment-check img {
  opacity: 1;
}

.topup-sidebar__cashback {
  position: relative;
  height: 42px;
  display: flex;
  column-gap: 8px;
  padding: 9px;
  border-radius: 10px;
  background: var(--gradient-1-reverse);
  overflow: hidden;
}

.topup-sidebar__cashback-badge {
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 9px;
  border-radius: 3px;
  background-color: var(--bg-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

html[data-theme="dark"] .topup-sidebar__cashback-badge {
  background-color: var(--white);
  color: #2c3242;
}

.topup-sidebar__cashback-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: -0.5px;
  color: var(--white);
  z-index: 1;
}

.topup-sidebar__cashback-image {
  position: absolute;
  right: -9px;
  bottom: -23px;
  width: 66px;
  height: 66px;
  transform: rotate(346deg);
}

.topup-sidebar__promo {
  margin-top: 16px;
  margin-bottom: 16px;
}

.topup-sidebar__total {
  margin-bottom: 18px;
}

.topup-sidebar__total-list {
  padding: 0 0 8px 0;
  margin: 0 0 8px 0;
  list-style-type: none;
  border-bottom: 1px solid var(--button-soft);
}

.topup-sidebar__total-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topup-sidebar__total-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--gray);
}

.topup-sidebar__total-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-sidebar__total-sum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.topup-sidebar__sum-title,
.topup-sidebar__sum-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-sidebar__sum-value {
  font-weight: 700;
  color: var(--green-light);
}

.topup-sidebar__total-commission {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.topup-sidebar__commission-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

.switch-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--button-soft);
  -webkit-transition: 0.4s;
  transition: background-color 0.3s ease-in-out;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 3.2px;
  background-color: var(--bg-color);
  -webkit-transition: 0.4s;
  transition: transform 0.3s ease-in-out;
}

html[data-theme="dark"] .switch-slider:before {
  background-color: var(--white);
}

.switch-input:checked + .switch-slider {
  background-color: var(--blue);
}

.switch-input:checked + .switch-slider:before {
  transform: translateX(20px);
}

.switch-slider.--round {
  border-radius: 12px;
}

.switch-slider.--round:before {
  border-radius: 50%;
}

.topup-sidebar__total-cashback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.topup-sidebar__cashback-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}

.topup-sidebar__cashback-value {
  display: inline-flex;
  align-items: center;
  column-gap: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: -0.5px;
  color: var(--orange-dark);
}

.topup-sidebar__cashback-value img {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.topup-sidebar__buy {
  width: 100%;
  height: 60px;
  column-gap: 10px;
  border-radius: 15px;
  box-shadow: 0px 12px 24px 0px #2f86eb52;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--white);
}

@media (max-width: 767px) {
  .topup-main {
    margin-bottom: 40px;
  }

  .topup-main__wrapper {
    display: flex;
    flex-direction: column;
    column-gap: 0;
    row-gap: 12px;
  }

  .topup-main__content {
    width: 100%;
    order: 1;
  }

  .topup-banner {
    background-size: auto 100%;
    background-position: right;
  }

  .topup-form {
    row-gap: 12px;
    margin-bottom: 0;
  }

  .topup-form__tabs {
    column-gap: 3px;
  }

  .topup-form__tab {
    flex: auto;
    column-gap: 10px;
    padding: 0 10px;
    font-size: 15px;
  }

  .topup-form__tab-badge {
    display: none;
  }

  .topup-form__body {
    padding: 12px 12px 22px;
  }

  .topup-form__regions {
    position: relative;
    padding-bottom: 38px;
  }

  .topup-form__regions-wrapper {
    justify-content: space-between;
  }

  .topup-form__region {
    flex: auto;
    padding: 0 16px;
  }

  .topup-form__login .arrow-button {
    display: none;
  }

  .topup-form__balance .topup-input input {
    max-width: 88px;
  }

  .topup-form__amount {
    padding-bottom: 22px;
  }

  .topup-form__wrapper {
    margin-left: auto;
  }

  .topup-form__quick {
    top: 50px;
    left: -12px;
    right: -12px;
    padding: 12px;
  }

  .topup-form__quick-list {
    column-gap: 4px;
  }

  .topup-form__quick-item {
    padding: 0 12px;
  }

  .topup-form__gifts .topup-form__heading {
    margin-bottom: 8px;
  }

  .gift-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .gift-card {
    display: flex;
    align-items: center;
    column-gap: 12px;
    padding: 12px;
  }

  .gift-card__image {
    width: 158px;
    margin-bottom: 0;
  }

  .gift-card__value {
    margin-bottom: 0;
  }

  .gift-card__check {
    display: none;
  }

  .topup-sidebar {
    position: static;
    width: 100%;
    order: 2;
  }

  .topup-sidebar__content {
    padding: 12px 12px 20px;
  }

  .topup-sidebar__cashback {
    column-gap: 6px;
  }

  .topup-sidebar__cashback-badge {
    padding: 0 6px;
    font-size: 14px;
  }

  .topup-sidebar__cashback-image {
    right: -25px;
    bottom: -14px;
    transform: rotate(266deg);
  }

  .topup-sidebar__total {
    margin-bottom: 15px;
  }

  .topup-container {
    flex-direction: column;
    column-gap: 0;
    row-gap: 12px;
    margin-top: 28px;
    order: 3;
  }

  .topup-bonuses {
    max-width: unset;
    padding: 15px 12px;
  }

  .topup-bonuses__title {
    font-size: 18px;
  }

  .topup-bonuses__list-item {
    align-items: center;
  }

  .topup-bonuses__list-item p strong {
    display: inline;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background-color: unset;
  }

  html[data-theme="dark"] .topup-bonuses__list-item p strong {
    background-color: unset;
  }

  .topup-wheel {
    height: 255px;
    flex: auto;
  }

  .topup-wheel__image {
    right: 0;
    left: 0;
    bottom: -47%;
    margin: 0 auto;
  }

  .topup-wheel__image-spin {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 525px) {
  .topup-banner {
    height: 134px;
    margin-bottom: 12px;
    margin-top: 15px;
    background:
      url("../../assets/images/banner-mobile.png") no-repeat center,
      var(--blue);
    background-size: 125%;
  }

  .topup-banner__inner {
    padding: 12px 16px 16px;
    row-gap: 16px;
  }

  .topup-banner__inner h1 {
    max-width: 160px;
    font-size: 24px;
    line-height: 120%;
  }

  .topup-banner__inner h1 strong {
    height: 30px;
    padding: 0 10px;
    font-size: 18px;
    line-height: 120%;
  }

  .topup-banner__inner p {
    font-size: 14px;
  }

  .topup-banner__inner p b {
    height: 20px;
    padding: 0 3px;
  }

  .topup-banner__online {
    top: -15px;
    right: 15px;
    height: 30px;
    column-gap: 4px;
    padding: 0 8px;
    border-width: 2px;
  }

  html[data-theme="dark"] .topup-banner__online {
    border-color: #16181d;
  }

  .topup-banner__online > svg {
    display: block;
  }

  .topup-banner__online b {
    font-size: 12px;
  }

  .topup-banner__online-count {
    font-size: 12px;
  }

  .topup-form__regions .arrow-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-card:nth-child(n + 4) {
    display: none;
  }
}
