/* Art Quiz microsite */

.aq {
  width: 100%;
  max-width: 1100px;
  padding: 24px 18px 80px;
}

.aq-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.aq-title h1 {
  margin: 0 0 6px;
  color: #e5e7eb;
  font-size: 34px;
  letter-spacing: -0.4px;
}

.aq-title p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.5;
}

.aq-scoreboard {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
}

.aq-stat {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 130px;
}

.aq-stat-label {
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.aq-stat-value {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  color: #e5e7eb;
}

.aq-card {
  background: linear-gradient(135deg, #0f172a, #0b1323);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.aq-modes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.aq-mode {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.aq-mode:hover {
  background: rgba(255, 255, 255, 0.10);
}

.aq-mode.is-active {
  border-color: rgba(56, 189, 248, 0.75);
  background: rgba(56, 189, 248, 0.18);
  color: #e2e8f0;
}

.aq-question h2 {
  margin: 0;
  color: #e5e7eb;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.aq-sub {
  margin: 8px 0 0;
  min-height: 22px;
  color: #cbd5e1;
  font-size: 14px;
}

.aq-profile {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
}

.aq-profile-img {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
}

.aq-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aq-profile-img.is-placeholder img {
  object-fit: contain;
  padding: 16px;
  opacity: 0.9;
}

.aq-profile-title {
  color: #e5e7eb;
  font-weight: 900;
  font-size: 14px;
}

.aq-profile-meta {
  margin-top: 4px;
  color: #9ca3af;
  font-size: 12px;
}

.aq-profile-desc {
  margin-top: 6px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.45;
}

.aq-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.aq-option {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.aq-option:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.aq-option[disabled] {
  cursor: default;
  opacity: 0.9;
}

.aq-option img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: 10px;
}

.aq-option-body {
  padding: 10px 12px 12px;
  display: grid;
  gap: 4px;
}

.aq-option-title {
  color: #e5e7eb;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
}

.aq-option.correct {
  border-color: rgba(52, 211, 153, 0.8);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35) inset;
}

.aq-option.wrong {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35) inset;
}

.aq-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.aq-btn {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  background: #38bdf8;
  color: #0b1223;
  cursor: pointer;
}

.aq-btn:hover {
  background: #22d3ee;
}

.aq-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.aq-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
}

.aq-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 520px) {
  .aq-title h1 { font-size: 28px; }
  .aq-option img { height: 160px; }
}
