.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-family);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  color: #ffffff;
  margin: 8px 0;
  width: 80%;
  max-width: 300px;
  background: linear-gradient(45deg, #007bff, #00c6ff, #007bff, #00c6ff);
  background-size: 300% 300%;
  background-position: 50% 0;
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  transition: transform 0.2s ease, background-position 0.4s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover,
.button.hover {
  transform: scale(1.05);
  background-position: 0 100%;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.6), 0 0 30px rgba(0, 198, 255, 0.4);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  padding: 0.8rem 1.8rem;
  margin: 8px 0;
}

.secondary-button:hover,
.secondary-button.hover {
  background: var(--button-secondary-bg-hover);
}

.secondary-button:active {
  transform: scale(0.95) !important;
}

.tertiary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.15s ease;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  background: none;
  color: var(--meta-text);
  padding: 0.65rem 1rem;
}

.tertiary-button:hover,
.tertiary-button.hover {
  color: var(--text);
  opacity: 0.8;
}

.leave-button {
  position: fixed;
  top: 12px;
  left: 14px;
  z-index: 9999;
  background: none;
  color: var(--meta-text);
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: var(--font-family);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, opacity 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}

.leave-button-leave:hover,
.leave-button.hover {
  color: var(--text);
  opacity: 0.7;
}