.bottom-button-wrapper {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  min-width: var(--min-width);
  box-sizing: border-box;
  z-index: 2147483647;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #080A0C 60%, #080A0C00);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.bottom-button-wrapper .primary-button {
  pointer-events: auto;
  width: calc(100% - 40px);
  max-width: 760px;
  margin: 0 20px 20px 20px;
  margin-bottom: max(20px, env(safe-area-inset-bottom));
  padding: 20px 0;
  border: none;
  border-radius: 32px;
  font-size: 18px;
  font-weight: bolder;
  color: #fff;
  background: linear-gradient(90deg, #0239E9, #73ACEB);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button-text {
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.bottom-button-wrapper .primary-button:hover,
.bottom-button-wrapper .primary-button:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.primary-button {
  display: flex;
  justify-content: center;
  min-width: 0;
}