.wsaq-quiz {
  max-width: 800px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Hard reset: stops the theme's global text effects (glitch/gradient/
   text-shadow/letter animations) from bleeding into the quiz text. */
.wsaq-quiz,
.wsaq-quiz *,
.wsaq-quiz *::before,
.wsaq-quiz *::after {
  text-shadow: none !important;
  -webkit-text-fill-color: currentColor !important;
  background-image: none !important;
  filter: none !important;
  letter-spacing: normal !important;
  -webkit-text-stroke: 0 !important;
  animation: none !important;
}

/* Re-enable only the intentional fade-in on the card itself. */
.wsaq-quiz .wsaq-fade-in {
  animation: wsaq-fade 0.35s ease !important;
}

.wsaq-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 40px 32px;
  box-sizing: border-box;
}

.wsaq-fade-in {
  animation: wsaq-fade 0.35s ease;
}

@keyframes wsaq-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wsaq-back {
  background: none;
  border: none;
  color: #cccccc;
  font-size: 14px;
  cursor: pointer;
  padding: 0 0 20px 0;
  display: block;
}

.wsaq-back:hover {
  color: #f0a500;
}

.wsaq-title {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 28px 0;
  text-align: center;
  line-height: 1.3;
}

.wsaq-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.wsaq-option {
  flex: 0 0 auto;
  width: auto;
  min-width: 160px;
  max-width: 100%;
  background: #1a1a1a;
  border: 2px solid #f0a500;
  border-radius: 6px;
  padding: 18px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap !important;
}

.wsaq-option:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.wsaq-option:active {
  background: #f0a500;
}

.wsaq-option:active .wsaq-option-label,
.wsaq-option:active .wsaq-option-sub {
  color: #1a1a1a;
}

.wsaq-option-label {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 17px;
}

.wsaq-option-sub {
  color: #aaaaaa;
  font-size: 13px;
}

.wsaq-subtitle {
  color: #aaaaaa !important;
  font-size: 14px;
  text-align: center;
  margin: -18px 0 24px 0;
}

.wsaq-number-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
  margin: 0 auto;
}

.wsaq-number-input {
  background: #2a2a2a;
  border: 2px solid #f0a500;
  border-radius: 6px;
  padding: 14px 16px;
  color: #ffffff !important;
  font-size: 18px;
  text-align: center;
}

.wsaq-number-input:focus {
  outline: none;
  border-color: #ffb733;
}

.wsaq-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 400px;
  margin: 0 auto;
}

.wsaq-form label {
  color: #ffffff;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wsaq-form input {
  background: #2a2a2a;
  border: 1px solid #444444;
  border-radius: 4px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 15px;
}

.wsaq-form input:focus {
  outline: none;
  border-color: #f0a500;
}

.wsaq-form-msg {
  color: #ff6b6b;
  font-size: 13px;
  min-height: 16px;
}

.wsaq-submit {
  background: #f0a500;
  color: #1a1a1a;
  border: none;
  border-radius: 4px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wsaq-submit:hover {
  background: #ffb733;
}

.wsaq-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wsaq-thankyou {
  text-align: center;
}

.wsaq-thankyou p {
  color: #cccccc;
  font-size: 16px;
}

@media (max-width: 600px) {
  .wsaq-card {
    padding: 28px 18px;
  }
  .wsaq-title {
    font-size: 22px;
  }
  .wsaq-option {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    white-space: normal !important;
  }
}
