/* Экран бонусов Forma. Каркас Dune в разметке этой страницы не подключается. */
html body.fw36.fw-bonuses #pageBonuses > :not(#fwBonuses) {
  display: none !important;
}

html body.fw36.fw-bonuses #pageBonuses {
  background: transparent;
  padding-top: 8px;
  overflow: visible;
}

html body.fw36 #fwBonuses {
  display: none;
  font-family: ManropeFW, Manrope, sans-serif;
  color: #f3eff8;
  padding: 8px 0 28px;
}

html body.fw36.fw-bonuses #fwBonuses {
  display: block;
}

html body.fw36 #fwBonuses button,
html body.fw36 #fwBonuses input {
  font: inherit;
}

#fwBonuses .bn-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 27px;
}

#fwBonuses .bn-heading h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1.3px;
  line-height: 1.15;
  color: #f4f0fa;
}

#fwBonuses .bn-heading h1:focus {
  outline: none;
}

#fwBonuses .bn-promo-bar {
  flex: 0 1 480px;
  max-width: 480px;
  margin: 0 0 0 auto;
}

#fwBonuses .bn-promo-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 8px;
}

#fwBonuses .bn-promo-controls input,
body.forma-ui #fwBonuses .bn-promo-controls input[type="text"] {
  display: block;
  width: 100%;
  height: 42px;
  min-width: 0;
  border: 0 !important;
  border-radius: 9px !important;
  background: #25222d !important;
  padding: 10px 13px;
  font-size: 15px;
  color: #fff !important;
}

#fwBonuses .bn-promo-controls input::placeholder {
  color: #c5bbd3;
}

#fwBonuses .bn-promo-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #6b4eff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#fwBonuses .bn-promo-submit:hover {
  background: #795bff;
}

#fwBonuses .bn-promo-submit:disabled,
#fwBonuses .bn-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

#fwBonuses .bn-promo-terms,
#fwBonuses .bn-terms {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #292530;
  color: #ded4ef;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

#fwBonuses .bn-section {
  margin: 0 0 36px;
}

#fwBonuses .bn-section > h2 {
  margin: 0 0 17px;
  font-size: 25px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #f3eff8;
}

#fwBonuses .bn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 20px;
  padding-top: 34px;
  align-items: stretch;
  overflow: visible;
}

#fwBonuses .bn-card {
  --bn-glow: #7463d8;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--bn-card-height, auto);
  padding: 94px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 80% 0%, color-mix(in srgb, var(--bn-glow) 16%, transparent), transparent 65%),
    #211f28;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.09);
  text-align: left;
  overflow: visible;
}

#fwBonuses .bn-card[data-bonus-art="percent-fs"] { --bn-glow: #697af1; }
#fwBonuses .bn-card[data-bonus-art="percent"] { --bn-glow: #706df0; }
#fwBonuses .bn-card[data-bonus-art="fs"] { --bn-glow: #a16bdc; }
#fwBonuses .bn-card[data-bonus-art="cashback"] { --bn-glow: #5daba9; }
#fwBonuses .bn-welcome-section [data-bonus-welcome-art="1"] { --bn-glow: #6d8fe9; }
#fwBonuses .bn-welcome-section [data-bonus-welcome-art="2"] { --bn-glow: #c36eb4; }
#fwBonuses .bn-welcome-section [data-bonus-welcome-art="3"] { --bn-glow: #af7ce7; }
#fwBonuses .bn-welcome-section [data-bonus-welcome-art="4"] { --bn-glow: #61a3ab; }

#fwBonuses .bn-card-art {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -27px;
  transform: translateX(-50%);
  width: 120px;
  height: 114px;
  pointer-events: none;
}

#fwBonuses .bn-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 13px rgba(0, 0, 0, 0.33));
}

#fwBonuses .bn-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 15px;
  min-height: 55px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.45px;
  color: #fff;
  overflow-wrap: anywhere;
}

#fwBonuses .bn-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

#fwBonuses .bn-reward {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin: 0 0 10px;
}

#fwBonuses .bn-reward > strong {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
}

#fwBonuses .bn-reward > span {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  color: #cfbaff;
}

#fwBonuses .bn-game,
#fwBonuses .bn-period,
#fwBonuses .bn-remaining {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.45;
  color: #ddd5e9;
  overflow-wrap: anywhere;
}

#fwBonuses .bn-game-label {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #c8bdd6;
}

#fwBonuses .bn-game > strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: #f4edf9;
}

#fwBonuses .bn-remaining {
  font-size: 19px;
  color: #decaff;
}

#fwBonuses .bn-remaining-large {
  font-size: 25px;
  letter-spacing: -0.4px;
}

#fwBonuses .bn-card-meta {
  margin-top: auto;
}

#fwBonuses .bn-field {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

#fwBonuses .bn-field > span {
  color: #c8bdd6;
  font-weight: 500;
}

#fwBonuses .bn-field > strong {
  color: #f7f2fd;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

#fwBonuses .bn-currencies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  margin: 17px 0 0;
}

#fwBonuses .bn-currency {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}

#fwBonuses .bn-currency img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#fwBonuses .bn-card-actions {
  display: flex;
  margin-top: 16px;
}

html body.fw36 #fwBonuses .bn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 10px;
  background: #f4f0ff;
  color: #33234e;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.13);
  cursor: pointer;
}

html body.fw36 #fwBonuses .bn-primary:hover {
  background: #fff;
  color: #5b37b1;
}

#fwBonuses .bn-terms {
  position: absolute;
  z-index: 5;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

#fwBonuses .bn-card[data-bonus-welcome-art] {
  padding-top: 132px;
}

#fwBonuses .bn-welcome-section .bn-card-art {
  top: -35px;
  width: min(80%, 210px);
  height: 164px;
}

#fwBonuses .bn-welcome-section .bn-card h3 {
  min-height: 0;
  margin-bottom: 12px;
  text-align: center;
}

#fwBonuses .bn-welcome-section .bn-game {
  margin-bottom: 0;
  text-align: center;
}

#fwBonuses .bn-welcome-section .bn-card-content {
  flex: 0;
}

#fwBonuses .bn-welcome-section .bn-currencies {
  margin-top: 20px;
}

#fwBonuses .bn-card[data-bonus-welcome-art] .bn-reward {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

#fwBonuses .bn-card[data-bonus-asset-class="crypto"] .bn-card-art {
  top: -32px;
  width: 138px;
  height: 122px;
}

#fwBonuses .bn-empty,
#fwBonuses .bn-notice {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #bdb0cc;
}

#fwBonuses .bn-notice {
  padding: 13px 16px;
  border-radius: 10px;
  background: #302637;
  color: #decbed;
}

#fwBonuses .bn-notice[hidden] {
  display: none;
}

#fwBonuses .bn-faq {
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

#fwBonuses .bn-faq-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

#fwBonuses .bn-faq-heading h2 {
  margin: 0 0 9px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  color: #f5f2fb;
}

#fwBonuses .bn-faq-heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #c0b8ce;
}

#fwBonuses .bn-faq-quests {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #24212d;
  color: #d7c8ff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#fwBonuses .bn-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#fwBonuses .bn-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 78px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: #211f27;
  color: #f2edf8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

#fwBonuses .bn-faq-plus {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: none;
  color: #beaae9;
}

#fwBonuses .bn-faq-plus::before,
#fwBonuses .bn-faq-plus::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 4px;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

#fwBonuses .bn-faq-plus::after {
  transform: rotate(90deg);
}

#fwBonuses .bn-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

html body.fw36 .fw-bn-shade {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 7, 12, 0.72);
}

html body.fw36 .fw-bn-shade[hidden] {
  display: none;
}

html body.fw36 .fw-bn-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 24px;
  background: #fff;
  color: #25202e;
  padding: 30px 28px 28px;
}

html body.fw36 .fw-bn-dialog [data-fw-bn-body] {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}

html body.fw36 .fw-bn-dialog h2 {
  flex: none;
  margin: 0 44px 18px 0;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.7px;
  color: #25202e;
}

html body.fw36 .fw-bn-x {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f3f0f7;
  color: #61546d;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

html body.fw36 .fw-bn-name {
  margin: 0 0 11px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #33273f;
}

html body.fw36 .fw-bn-desc {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #51465c;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-bn-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

html body.fw36 .fw-bn-terms div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 16px 17px;
  border-radius: 12px;
  background: #f5f3f8;
}

html body.fw36 .fw-bn-terms [data-bonus-term="game"] {
  grid-column: 1 / -1;
}

html body.fw36 .fw-bn-terms dt {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: #60536d;
}

html body.fw36 .fw-bn-terms dd {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #292131;
  overflow-wrap: anywhere;
}

html body.fw36 .fw-bn-order {
  margin: 17px 0 0;
  padding: 15px 17px;
  border-radius: 12px;
  background: #f1ebf9;
  color: #554068;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

html body.fw36 .fw-bn-faq-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #51465c;
  white-space: pre-line;
}

html body.fw36 .fw-bn-faq-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: #6b4eff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#fwBonuses button:focus-visible,
#fwBonuses input:focus-visible,
html body.fw36 .fw-bn-x:focus-visible,
html body.fw36 .fw-bn-faq-link:focus-visible {
  outline: 2px solid #b397ff;
  outline-offset: 3px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #fwBonuses .bn-currency {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1199px) {
  #fwBonuses .bn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  #fwBonuses .bn-faq-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 599px) {
  #fwBonuses .bn-heading h1 {
    font-size: 34px;
  }

  #fwBonuses .bn-promo-bar {
    flex: 1 0 100%;
    max-width: 100%;
    margin: 0;
  }

  #fwBonuses .bn-section > h2 {
    font-size: 23px;
  }

  #fwBonuses .bn-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px 16px;
    padding-top: 31px;
  }

  #fwBonuses .bn-card,
  #fwBonuses .bn-card[data-bonus-welcome-art] {
    height: auto;
    min-height: 0;
    padding: 132px 22px 22px;
  }

  #fwBonuses .bn-card h3 {
    min-height: 0;
    font-size: 21px;
  }

  #fwBonuses .bn-faq-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  #fwBonuses .bn-faq-question {
    min-height: 70px;
    padding: 17px 18px;
    font-size: 15px;
  }

  html body.fw36 .fw-bn-shade {
    place-items: end center;
    padding: 12px 10px max(10px, env(safe-area-inset-bottom));
  }

  html body.fw36 .fw-bn-dialog {
    width: min(480px, 100%);
    max-height: calc(100dvh - 24px);
    padding: 27px 21px max(23px, env(safe-area-inset-bottom));
    border-radius: 22px;
  }

  html body.fw36 .fw-bn-dialog h2 {
    font-size: 25px;
  }

  html body.fw36 .fw-bn-terms {
    grid-template-columns: minmax(0, 1fr);
  }

  html body.fw36 .fw-bn-terms div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
  }

  html body.fw36 .fw-bn-terms dd {
    font-size: 17px;
    text-align: right;
  }

  html body.fw36 .fw-bn-terms [data-bonus-term="game"] {
    flex-direction: column;
    align-items: flex-start;
  }

  html body.fw36 .fw-bn-terms [data-bonus-term="game"] dd {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 359px) {
  #fwBonuses .bn-currency {
    width: 28px;
    height: 28px;
  }

  html body.fw36 .fw-bn-terms dd {
    font-size: 16px;
  }
}
