.floating-register {
  z-index: 9999;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.floating-register-btn {
  color: #3c3a39;
  background: #fff;
  border: 1px solid #3c3a3914;
  border-radius: 38px;
  align-items: center;
  gap: 20px;
  width: min(430px, 100vw - 40px);
  min-height: 128px;
  padding: 12px 22px 12px 12px;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex;
  box-shadow: 0 24px 60px #00000029, 0 8px 20px #00000014;
}

.floating-register-btn:hover {
  border-color: #81b92a57;
  transform: translateY(-4px);
  box-shadow: 0 32px 72px #0003, 0 10px 24px #0000001a;
}

.floating-register-btn:focus-visible {
  outline-offset: 4px;
  outline: 4px solid #81b92a61;
}

.floating-register-logo-wrap {
  flex: 0 0 128px;
  justify-content: center;
  align-items: center;
  width: 128px;
  height: 128px;
  display: flex;
  overflow: visible;
}

.floating-register-logo {
  object-fit: contain;
  filter: drop-shadow(0 8px 14px #0000001f);
  width: 138px;
  max-width: none;
  height: 138px;
  transition: transform .22s, filter .22s;
}

.floating-register-btn:hover .floating-register-logo {
  filter: drop-shadow(0 12px 18px #00000029);
  transform: scale(1.04);
}

.floating-register-text {
  text-align: left;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.floating-register-text strong {
  color: #3c3a39;
  font-family: Archivo Condensed, Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.02;
}

.floating-register-text small {
  color: #78746f;
  font-family: Archivo Condensed, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.floating-register-arrow {
  color: #5f8e22;
  background: #eaf4dc;
  border-radius: 50%;
  flex: 0 0 62px;
  justify-content: center;
  align-items: center;
  width: 62px;
  height: 62px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  transition: transform .22s, background .22s, color .22s;
  display: flex;
}

.floating-register-btn:hover .floating-register-arrow {
  color: #fff;
  background: #81b92a;
  transform: translateX(4px);
}

@media (width <= 760px) {
  .floating-register {
    bottom: 14px;
    right: 14px;
  }

  .floating-register-btn {
    border-radius: 32px;
    gap: 14px;
    width: min(390px, 100vw - 28px);
    min-height: 112px;
    padding: 10px 16px 10px 10px;
  }

  .floating-register-logo-wrap {
    flex-basis: 108px;
    width: 108px;
    height: 108px;
  }

  .floating-register-logo {
    width: 118px;
    height: 118px;
  }

  .floating-register-text strong {
    font-size: 21px;
  }

  .floating-register-text small {
    font-size: 15px;
  }

  .floating-register-arrow {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    font-size: 32px;
  }
}

@media (width <= 520px) {
  .floating-register {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .floating-register-btn {
    border-radius: 28px;
    gap: 10px;
    width: 100%;
    min-height: 96px;
    padding: 8px 12px 8px 8px;
  }

  .floating-register-logo-wrap {
    flex-basis: 90px;
    width: 90px;
    height: 90px;
  }

  .floating-register-logo {
    width: 100px;
    height: 100px;
  }

  .floating-register-text {
    gap: 4px;
  }

  .floating-register-text strong {
    font-size: 18px;
  }

  .floating-register-text small {
    font-size: 13px;
  }

  .floating-register-arrow {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 28px;
  }
}

@media (width <= 380px) {
  .floating-register-btn {
    gap: 8px;
    min-height: 88px;
  }

  .floating-register-logo-wrap {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }

  .floating-register-logo {
    width: 90px;
    height: 90px;
  }

  .floating-register-text strong {
    font-size: 16px;
  }

  .floating-register-text small {
    font-size: 12px;
  }

  .floating-register-arrow {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-register-btn, .floating-register-logo, .floating-register-arrow {
    transition: none;
  }
}
