.aq-modal {
  position: fixed;
  inset: 0;
  background-color: rgb(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.aq-slide,
.aq-loading,
.aq-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  gap: 15px;
  text-align: center;
  width: 100%;
}

.aq-slide,
.aq-final {
  p {
    font-family: Roboto, sans-serif;
    font-size: 22px;
    color: #555;
    margin-bottom: 15px;
    transition: color 0.3s ease;
  }
  small {
    font-size: 12px;
    color: gray;
    text-align: center;
    font-family: Roboto, sans-serif;
  }
}
.aq-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.aq-progress {
  height: 4px;
  background: #eee;
}

.aq-bar {
  height: 4px;
  width: 0;
  background: #ff6900;
  transition: width 0.3s ease;
}

.aq-slide h2,
.aq-loading p,
.aq-final h2 {
  margin-bottom: 20px;
  font-family: Roboto, sans-serif;
}

.aq-loading h2 {
  font-family: Roboto, sans-serif;
  font-size: 20px;
  color: #ff6900;
  margin-bottom: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.aq-answer,
#aq-cta {
  background-color: #ff6900;
  color: #fff;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  transform: translateY(0);
  width: 100%;
}

.aq-loading .aq-dots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

#artquiz-container.aq-modal .aq-loading .aq-dots span {
  font-size: 48px !important;
  transform: scale(2.5);
}

.aq-loading .aq-dots span {
  font-size: 32px;
  color: #ff6900;
  animation: aq-blink 1s infinite;
}
.aq-answer:hover,
#aq-cta:hover {
  filter: brightness(0.9);
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.aq-loading .aq-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.aq-loading .aq-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes aq-blink {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

body.aq-modal-open {
  overflow: hidden;
  height: 100%;
}