* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: radial-gradient(
    circle at -8.9% 51.2%,
    rgb(255, 124, 0) 0%,
    rgb(255, 124, 0) 15.9%,
    rgb(255, 163, 77) 15.9%,
    rgb(255, 163, 77) 24.4%,
    rgb(19, 30, 37) 24.5%,
    rgb(19, 30, 37) 66%
  );
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  /* text-align: center; */
  /* border-radius: 10px; */
  padding: 40px;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
  max-width: 500px;
  width: 100%;
}

.question-box {
  margin-bottom: 40px;
}

.question-box h1 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.button-container {
  display: flex;
  gap: 20px;
  /* justify-content: center; */
  align-items: center;
  flex-wrap: wrap;
  min-height: 60px;
  position: relative;
}

button {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.normal-btn {
  animation: 1.5s ease infinite alternate running shimmer;
  background: linear-gradient(90deg, #ffe27d 0%, #64e3ff 30%, #9192ff 85%);
  background-size: 200% 100%;
  border: none;
  border-radius: 6px;
  box-shadow:
    -2px -2px 10px rgba(255, 227, 126, 0.5),
    2px 2px 10px rgba(144, 148, 255, 0.5);
  color: #170f1e;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 670;
  line-height: 24px;
  overflow: hidden;
  padding: 12px 24px;
  position: relative;
  text-decoration: none;
  transition: 0.2s;

  svg {
    left: -20px;
    opacity: 0.5;
    position: absolute;
    top: -2px;
    transition: 0.5s cubic-bezier(0.5, -0.5, 0.5, 1.5);
  }

  &:hover svg {
    opacity: 0.8;
    transform: translateX(50px) scale(1.5);
  }

  &:hover {
    transform: scale(1.5);
  }

  &:active {
    transform: scale(0.95) rotate(-3deg);
  }
}

@keyframes shimmer {
  to {
    background-size: 100% 100%;
    box-shadow:
      -2px -2px 6px rgba(255, 227, 126, 0.5),
      2px 2px 6px rgba(144, 148, 255, 0.5);
  }
}

/* .normal-btn:hover {
  background-color: #45a049;
  transform: scale(1.05);
}

.normal-btn:active {
  transform: scale(0.98);
} */

.runaway-btn {
  --border-radius: 6px;
  --border-width: 0.5px;

  appearance: none;
  position: relative;
  border: none;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: not-allowed;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.runaway-btn::before {
  display: none;
}

.runaway-btn:hover::after {
  animation-play-state: running;
}

@keyframes hue {
  to {
    filter: hue-rotate(1turn);
  }
}

.response {
  margin-top: 30px;
  font-size: 16px;
  /* font-weight: bold; */
  min-height: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
}

.response.show {
  visibility: visible;
  opacity: 1;
  animation: slideIn 0.1s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile-specific styles */
@media (max-width: 600px) {
  .container {
    padding: 30px 20px;
  }

  .question-box h1 {
    font-size: 22px;
  }

  button {
    padding: 12px 30px;
    font-size: 14px;
  }
}

.heart-toast {
  position: fixed;
  font-size: 40px;
  pointer-events: none;
  animation: float-up 2s ease-out forwards;
}

@keyframes float-up {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-150px) translateX(var(--tx, 0px)) scale(0.5);
  }
}
