@property --hmb-border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

.hmb-footer-wrap {
  --hmb-cyan: #01e8fc;
  --hmb-cyan-bright: #3df0ff;
  --hmb-cyan-dim: #00a8b8;
  --hmb-bg: #090a0b;
  position: fixed;
  bottom: var(--hmb-bottom-offset, 24px);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}

.hmb-footer-wrap.hmb-pos-bottom-left {
  left: var(--hmb-side-offset, 24px);
}

.hmb-footer-wrap.hmb-pos-bottom-right {
  right: var(--hmb-side-offset, 24px);
}

.hmb-footer-wrap.hmb-scroll-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hmb-footer-wrap.hmb-has-slide-up:not(.hmb-scroll-hidden) {
  opacity: 0;
  transform: translateY(20px);
  animation: hmb-slide-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards;
}

.hmb-footer-wrap.hmb-has-slide-up.hmb-scroll-revealed {
  opacity: 0;
  transform: translateY(20px);
  animation: hmb-slide-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

@keyframes hmb-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hmb-footer-wrap .hmb-tooltip {
  pointer-events: none;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(9, 10, 11, 0.96);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(1, 232, 252, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 12px rgba(1, 232, 252, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hmb-footer-wrap .hmb-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(9, 10, 11, 0.96);
}

.hmb-footer-wrap.hmb-has-tooltip:hover .hmb-tooltip,
.hmb-footer-wrap.hmb-has-tooltip:focus-within .hmb-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hmb-footer-wrap .hmb-hire-button {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  text-decoration: none;
  border-radius: 8px;
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: hmb-border-spin 4s linear infinite;
  --hmb-main-bg: conic-gradient(
    from var(--hmb-border-angle),
    #0b0b0b,
    #090a0b 25%,
    #060606 50%,
    #090a0b 75%,
    #0b0b0b
  );
  --hmb-gradient-border: conic-gradient(
    from var(--hmb-border-angle),
    transparent 20%,
    var(--hmb-cyan) 35%,
    var(--hmb-cyan-bright) 50%,
    var(--hmb-cyan-dim) 65%,
    transparent 80%
  );
  background:
    var(--hmb-main-bg) padding-box,
    var(--hmb-gradient-border) border-box,
    var(--hmb-main-bg) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 0 10px rgba(1, 232, 252, 0.35),
    0 0 24px rgba(1, 232, 252, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.45);
}

@keyframes hmb-border-spin {
  to {
    --hmb-border-angle: 1turn;
  }
}

.hmb-footer-wrap.hmb-has-pulse .hmb-hire-button {
  animation: hmb-border-spin 4s linear infinite, hmb-pulse-glow 2.8s ease-in-out infinite;
}

@keyframes hmb-pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(1, 232, 252, 0.35),
      0 0 24px rgba(1, 232, 252, 0.12),
      0 8px 24px rgba(0, 0, 0, 0.45);
  }

  50% {
    box-shadow:
      0 0 18px rgba(1, 232, 252, 0.55),
      0 0 36px rgba(1, 232, 252, 0.22),
      0 8px 28px rgba(0, 0, 0, 0.5);
  }
}

.hmb-footer-wrap .hmb-button-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(1, 232, 252, 0.25) 0%, transparent 70%);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.hmb-footer-wrap .hmb-button-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(1, 232, 252, 0.08) 40%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(1, 232, 252, 0.08) 60%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  animation: hmb-shine-sweep 5s ease-in-out 2s infinite;
}

@keyframes hmb-shine-sweep {
  0%,
  70% {
    left: -120%;
  }

  100% {
    left: 140%;
  }
}

.hmb-footer-wrap .hmb-button-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(9, 10, 11, 0.98) 0%, rgba(18, 23, 27, 0.98) 100%);
  color: var(--hmb-cyan-bright);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hmb-footer-wrap .hmb-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(1, 232, 252, 0.6));
}

.hmb-footer-wrap .hmb-button-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.hmb-footer-wrap .hmb-button-text {
  color: var(--hmb-text, #fff);
  text-shadow: 0 0 8px var(--hmb-cyan-bright);
}

.hmb-footer-wrap .hmb-button-subtitle {
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(1, 232, 252, 0.88);
  line-height: 1.2;
}

.hmb-footer-wrap .hmb-hire-button:hover,
.hmb-footer-wrap .hmb-hire-button:focus {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.08);
}

.hmb-footer-wrap .hmb-hire-button:hover .hmb-button-text,
.hmb-footer-wrap .hmb-hire-button:focus .hmb-button-text {
  color: var(--hmb-cyan-bright);
}

.hmb-footer-wrap .hmb-hire-button:focus {
  outline: 2px solid var(--hmb-cyan-bright);
  outline-offset: 3px;
}

.hmb-footer-wrap.hmb-no-icon .hmb-button-inner {
  gap: 0;
}

.hmb-footer-wrap.hmb-no-icon.hmb-mobile-icon-only .hmb-button-inner {
  width: auto;
  min-width: 44px;
  padding: 0 12px;
}

.hmb-footer-wrap.hmb-no-icon.hmb-mobile-icon-only .hmb-button-content {
  display: flex;
}

.hmb-footer-wrap.hmb-no-icon.hmb-mobile-icon-only .hmb-button-text {
  font-size: 0.85em;
}

@media (max-width: 600px) {
  .hmb-footer-wrap .hmb-tooltip {
    display: none;
  }

  .hmb-footer-wrap.hmb-pos-bottom-left {
    left: max(12px, var(--hmb-side-offset, 24px));
  }

  .hmb-footer-wrap.hmb-pos-bottom-right {
    right: max(12px, var(--hmb-side-offset, 24px));
  }

  .hmb-footer-wrap .hmb-button-inner {
    padding: 9px 14px;
    font-size: 10px;
    gap: 8px;
  }

  .hmb-footer-wrap .hmb-icon {
    width: 14px;
    height: 14px;
  }

  .hmb-footer-wrap .hmb-button-subtitle {
    display: block;
    max-width: 140px;
    white-space: normal;
    text-align: left;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-button-content {
    display: none;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-hire-button {
    border-radius: 50%;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-button-inner {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-icon {
    width: 20px;
    height: 20px;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-mobile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
    pointer-events: none;
    max-width: 150px;
    text-align: center;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-mobile-hint {
    display: block;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hmb-cyan-bright);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-mobile-subtitle {
    display: block;
    font-family: inherit;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.82);
  }
}

.hmb-mobile-info {
  display: none;
}

@media (max-width: 380px) {
  .hmb-footer-wrap.hmb-mobile-icon-only .hmb-mobile-subtitle {
    display: none;
  }

  .hmb-footer-wrap:not(.hmb-mobile-icon-only) .hmb-button-subtitle {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmb-footer-wrap .hmb-hire-button,
  .hmb-footer-wrap.hmb-has-pulse .hmb-hire-button {
    animation: none;
  }

  .hmb-footer-wrap .hmb-button-shine {
    animation: none;
    display: none;
  }

  .hmb-footer-wrap.hmb-has-slide-up:not(.hmb-scroll-hidden),
  .hmb-footer-wrap.hmb-has-slide-up.hmb-scroll-revealed {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hmb-footer-wrap .hmb-hire-button:hover,
  .hmb-footer-wrap .hmb-hire-button:focus {
    transform: none;
  }
}
