/**
 * onboarding-quiz.css — PlacedAI first-time visitor onboarding modal
 * Full-screen dark overlay, centered card, mobile-first, teal accent
 */

#onboarding-quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 7, 13, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  animation: oq-fade-in 0.35s ease forwards;
}

@keyframes oq-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#onboarding-quiz-card {
  background: #13131e;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  padding: 32px 28px 24px;
  max-width: 460px;
  width: 100%;
  box-shadow:
    0 0 0 1px rgba(124, 109, 242, 0.15),
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(124, 109, 242, 0.08);
  animation: oq-card-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes oq-card-in {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}

/* Header */
.oq-header {
  text-align: center;
  margin-bottom: 24px;
}

.oq-emoji {
  font-size: 2.25rem;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.oq-title {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f2f2f8;
  line-height: 1.3;
  margin-bottom: 6px;
}

.oq-sub {
  font-size: 0.9rem;
  color: #8a8aa8;
}

/* Options list */
.oq-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oq-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #0d0d18;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.12s;
  text-align: left;
  width: 100%;
  font-family: inherit;
  color: #f2f2f8;
}

.oq-option:hover {
  background: #14142a;
  border-color: rgba(124, 109, 242, 0.3);
  transform: translateX(3px);
}

.oq-option:active {
  transform: scale(0.98);
}

.oq-option:focus {
  outline: 2px solid #7c6df2;
  outline-offset: 2px;
}

.oq-option-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  line-height: 1;
}

.oq-option-text {
  flex: 1;
}

.oq-option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f2f2f8;
  display: block;
  margin-bottom: 2px;
}

.oq-option-desc {
  font-size: 0.8rem;
  color: #8a8aa8;
  display: block;
}

.oq-option-arrow {
  font-size: 1.1rem;
  color: #4a4a62;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

.oq-option:hover .oq-option-arrow {
  color: #00e5ad;
  transform: translateX(3px);
}

/* Skip footer */
.oq-footer {
  margin-top: 20px;
  text-align: center;
}

.oq-skip {
  background: none;
  border: none;
  color: #4a4a62;
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s;
  text-decoration: none;
}

.oq-skip:hover {
  color: #8a8aa8;
}

.oq-skip:focus {
  outline: 1px solid rgba(124, 109, 242, 0.5);
}

/* Mobile adjustments */
@media (max-width: 480px) {
  #onboarding-quiz-card {
    padding: 24px 20px 20px;
  }

  .oq-title {
    font-size: 1.2rem;
  }

  .oq-option {
    padding: 12px 14px;
  }
}