@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@600&family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,700&family=Sofia+Sans+Extra+Condensed:wght@800&display=swap");

.bf,
.bf * {
  box-sizing: border-box;
}

.bf {
  position: fixed;
  z-index: 200000;
  right: 16px;
  bottom: 16px;
  width: min(900px, calc(100vw - 32px));
  aspect-ratio: 900 / 500;
  background: #0b271c;
  border-radius: 24px;
  overflow: hidden;
  container-type: size;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.bf__close {
  position: absolute;
  z-index: 4;
  top: 6.6cqh;
  right: 4.8cqw;
  width: 2.2cqw;
  height: 2.2cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.bf__close svg {
  display: block;
  width: 100%;
  height: 100%;
}

.bf__mega {
  position: absolute;
  z-index: 2;
  top: 19cqh;
  right: 0;
  width: auto;
  height: 53cqh;
  pointer-events: none;
  user-select: none;
}

.bf__mega--m {
  display: none;
}

.bf__line {
  position: absolute;
  z-index: 1;
  left: 5.556cqw;
  margin: 0;
  font-family: "RF Takt", "Sofia Sans Extra Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.bf__line--top {
  top: 4.6cqh;
  font-size: 15.8cqw;
  line-height: 0.92;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 52%, #c5cfcc 76%, #74847f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bf__line--main {
  top: 30.912cqh;
  font-size: 26.17cqw;
  line-height: 0.695;
  color: #b9ff61;
}

.bf__sub {
  position: absolute;
  z-index: 3;
  left: 5.556cqw;
  top: 63.851cqh;
  margin: 0;
  color: #fff;
  font-family: "RF Takt", "Roboto Flex", sans-serif;
  font-weight: 700;
  font-stretch: 25%;
  font-variation-settings: "wdth" 25;
  white-space: nowrap;
  width: 45.78cqw;
  font-size: 5.324cqw;
  line-height: 0.902;
  letter-spacing: 0;
}

.bf__btn {
  position: absolute;
  z-index: 3;
  right: 5.6cqw;
  bottom: 10.6cqh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18.8cqw;
  height: 10.4cqh;
  border-radius: 12px;
  background: #fff;
  color: #282828;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 1.78cqw;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bf__btn:hover {
  background: #f2f2f2;
}

@media (max-width: 767px) {
  .bf {
    right: 0;
    bottom: 0;
    width: 100%;
    aspect-ratio: 480 / 267;
    border-radius: 0;
    background: #08271c;
  }

  .bf__close {
    top: 2.4cqh;
    right: 2.8cqw;
    width: 4cqw;
    height: 4cqw;
  }

  .bf__mega--d {
    display: none;
  }

  .bf__mega--m {
    display: block;
    top: 2.491cqh;
    right: 0;
    width: 35.354cqw;
    height: 67.963cqh;
    object-fit: contain;
    object-position: right center;
  }

  .bf__line {
    left: 4.167cqw;
  }

  .bf__line--top {
    top: 7.491cqh;
    font-size: 14.275cqw;
    line-height: 0.695;
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
  }

  .bf__line--main {
    top: 27.154cqh;
    font-size: 24.635cqw;
    line-height: 0.695;
  }

  .bf__sub {
    left: 4.167cqw;
    top: 64.045cqh;
    bottom: auto;
    font-size: 5.013cqw;
    line-height: 0.902;
    letter-spacing: 0;
  }

  .bf__btn {
    right: 4.167cqw;
    bottom: 7.491cqh;
    width: 35.83cqw;
    height: 20.225cqh;
    border-radius: 10px;
    font-size: 3.15cqw;
  }
}
