:root {
  --bonus-black: #000000;
  --bonus-text: #000000;
  --bonus-muted: #636363;
  --bonus-brand: #1634f0;
  --bonus-link: #007aeb;
  --bonus-border: #dfdfdf;
  --bonus-white: #ffffff;
  --bonus-yellow: #ffdf38;
  --bonus-yellow-soft: rgba(255, 223, 56, 0.1);
  --bonus-brand-soft: rgba(22, 52, 240, 0.1);
  --bonus-violet: #dad7ff;
  --bonus-pink: #ffcbf0;
  --bonus-mint: #96ffdf;
  --bonus-sky: #bbe3ff;
  --bonus-peach: #ffe7ab;
  --bonus-register: #2395ff;
  --bonus-login: #fb9600;
  --bonus-font: "Helvetica Neue", Arial, sans-serif;
}

.bonus-block img {
  display: block;
  max-width: 100%;
  height: auto;
}

.bonus-block a {
  color: var(--bonus-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bonus-block h1,
.bonus-block h2,
.bonus-block h3,
.bonus-rate h2,
.bonus-block p {
  margin: 0;
}

.bonus-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.bonus-info {
  display: flex;
  width: min(100%, 849px);
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.bonus-info__title {
  color: var(--bonus-black);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

.bonus-hero {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
      margin-bottom: 20px;
}

.bonus-rate {
  display: flex;
  width: fit-content;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--bonus-brand);
  border-radius: 8px;
  background: var(--bonus-brand-soft);
}

.bonus-rate h2 {
  color: var(--bonus-brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.bonus-rate p {
  color: var(--bonus-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin:0;
}

.bonus-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
    margin-top: 20px;
}

.bonus-block__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bonus-block__number {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--bonus-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}

.bonus-block__number--1 {
  background: var(--bonus-violet);
}

.bonus-block__number--2 {
  background: var(--bonus-pink);
}

.bonus-block__number--3 {
  background: var(--bonus-mint);
}

.bonus-block__number--4 {
  background: var(--bonus-sky);
}

.bonus-block__number--5 {
  background: var(--bonus-peach);
}

.bonus-block__number--6 {
  background: var(--bonus-violet);
}

.bonus-block h2 {
  color: var(--bonus-black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}

.bonus-block__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bonus-block__text,
.bonus-list p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.bonus-block strong,
.bonus-list strong,
.bonus-login strong {
  font-weight: 500;
}

.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bonus-list__accent {
  font-weight: 300;
}

.bonus-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 460px);
}

.bonus-benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--bonus-border);
  border-radius: 8px;
  background: var(--bonus-white);
}

.bonus-benefit__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
}

.bonus-benefit__icon img,
.referral-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.bonus-benefit h3,
.referral-card h3 {
  color: var(--bonus-black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.bonus-benefit p,
.referral-card p {
  color: var(--bonus-black);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.bonus-notice {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--bonus-yellow);
  border-radius: 8px;
  background: var(--bonus-yellow-soft);
}

.bonus-notice h3 {
  color: var(--bonus-black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.bonus-notice p {
  max-width: 430px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.photo-guide {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.photo-guide h3 {
  color: var(--bonus-black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.photo-guide__grid {
  display: flex;
  gap: 12px;
}

.photo-guide__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100px;
  margin: 0;
}

.photo-guide a {
  display: block;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 1px solid var(--bonus-border);
  border-radius: 8px;
  background: var(--bonus-white);
}

.photo-guide a:hover,
.photo-guide a:focus-visible,
.bonus-button:focus-visible {
  outline: 2px solid var(--bonus-brand);
  outline-offset: 3px;
}

.photo-guide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-guide figcaption {
  color: var(--bonus-black);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.referral-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.referral-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--bonus-border);
  border-radius: 8px;
  background: var(--bonus-white);
}

.referral-card--wide {
  width: min(100%, 655px);
}

.referral-card--full {
  width: 100%;
}

.referral-card div {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.bonus-login {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bonus-login h2 {
  color: var(--bonus-black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}

.bonus-login__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bonus-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 36px;
  color: var(--bonus-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.bonus-button--register {
  min-width: 220px;
  padding: 8px 30px;
  background: var(--bonus-register);
}

.bonus-button--login {
  min-width: 180px;
  padding: 8px 67px;
  background: var(--bonus-login);
}

.bonus-login__note {
  color: var(--bonus-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.bonus-ref-link {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
}

.bonus-ref-link h2 {
  color: var(--bonus-black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
}

.bonus-ref-link__box {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  background: #f4f4f4;
  color: var(--bonus-register);
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
  word-break: break-all;
}

.bonus-ref-link__box:hover,
.bonus-ref-link__box:focus-visible {
  outline: 2px solid var(--bonus-register);
  outline-offset: 3px;
}

.bonus-ref-link__box.is-copied {
  color: var(--bonus-black);
}

.bonus-ref-link__hint {
  color: var(--bonus-black);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.1;
}

@media (max-width: 480px) {
  .bonus-page {
    padding: 24px 20px;
  }

  .bonus-info {
    width: min(100%, 320px);
    gap: 12px;
  }

  .bonus-info__title,
  .bonus-hero {
    display: none;
  }

  .bonus-rate {
    width: 100%;
  }

  .bonus-block {
    gap: 12px;
  }

  .bonus-benefits,
  .referral-card,
  .referral-card--wide,
  .referral-card--full {
    width: 100%;
  }

  .bonus-benefit,
  .referral-card {
    gap: 10px;
  }

  .bonus-benefit h3,
  .referral-card h3 {
    font-size: 16px;
  }

  .bonus-benefit p,
  .referral-card p,
  .bonus-block__text,
  .bonus-list p {
    font-size: 12px;
  }

  .bonus-rate p {
    font-size: 16px;
  }

  .photo-guide__grid {
    gap: 8px;
  }

  .photo-guide__item,
  .photo-guide a {
    width: 100%;
  }

  .photo-guide a {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .photo-guide__item {
    flex: 1;
    min-width: 0;
  }

  .bonus-login__actions {
    flex-direction: column;
  }

  .bonus-button {
    width: 100%;
    min-width: 0;
  }

  .bonus-ref-link__box {
    width: 100%;
    font-size: 18px;
  }
}
