html,
body {
  font-family: "Inter", sans-serif !important;
  overflow: hidden;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.fixed-bottom-safe {
  position: fixed;
  bottom: env(safe-area-inset-bottom);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  z-index: 50;
  padding: 1rem;
  background: linear-gradient(
    to bottom right,
    rgba(127, 29, 29, 0.8),
    rgba(154, 52, 18, 0.7),
    rgba(113, 63, 18, 0.8)
  );
  backdrop-filter: blur(8px);
  color: #fcd34d;
}

img {
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-drag: none;
  user-drag: none;
}

.bg-silver {
  background-color: #c0c0c0;
}
.bg-bronze {
  background-color: #cd7f32;
}

.swal2-toast {
  background: transparent !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fef08a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background-color: #fcd34d;
  border-radius: 4px;
  border: 2px solid #fef08a;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #fcd34d #fef08a;
}

.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
}

.btn:hover {
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 60%
  );
  transform: rotate(25deg);
  transition: all 0.8s ease;
  opacity: 0;
}

.btn:hover::after {
  left: 100%;
  opacity: 1;
}

@keyframes shineMove {
  0% {
    left: -150%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

.btn.auto-shine::after {
  animation: shineMove 3s linear infinite;
}

#call-overlay .spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll !important;
  }
}

@keyframes glow-gold {
  0%,
  100% {
    box-shadow: 0 0 5px gold;
  }
  50% {
    box-shadow: 0 0 15px gold, 0 0 30px gold;
  }
}
