/* QuizHub – Screenshot Matching Style */
.qh-wrap {
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.qh-title-box {
  padding: 20px 20px 10px;
}

.qh-main-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  color: #111;
}

/* Ads */
.qh-ad {
  margin: 0;
  text-align: center;
}

.qh-ad-placeholder {
  background: #f5f5f5;
  color: #999;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 14px;
  text-transform: uppercase;
}

.qh-ad-top { border-bottom: 1px solid #eee; }
.qh-ad-mid { margin-top: 20px; border-top: 1px solid #eee; }
.qh-ad-result { margin: 20px 0; }

/* Featured */
.qh-featured img {
  width: 100%;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.qh-meta {
  padding: 10px 20px;
  font-size: 13px;
  color: #777;
  border-bottom: 1px solid #f0f0f0;
}

.qh-cat {
  background: #1a73e8;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
}

/* Question */
.qh-question {
  display: none;
  padding: 16px 20px 24px;
}

.qh-question.active {
  display: block;
  animation: qhIn 0.3s ease;
}

@keyframes qhIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.qh-progress-num {
  font-size: 13px;
  color: #e53935;
  font-weight: 600;
  margin-bottom: 12px;
}

.qh-q-img {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.qh-q-img img {
  width: 100%;
  display: block;
  max-height: 280px;
  object-fit: cover;
}

.qh-q-text {
  font-size: 18px;
  font-weight: 600;
  color: #c62828;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* Options – matching screenshot */
.qh-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qh-option {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #333;
  width: 100%;
}

.qh-option:hover {
  border-color: #1a73e8;
  background: #f5f9ff;
}

.qh-option.selected {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

/* Submit */
.qh-submit-wrap {
  padding: 10px 20px 30px;
  text-align: center;
}

.qh-submit-btn {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 14px 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 280px;
}

.qh-submit-btn:hover {
  background: #b71c1c;
}

/* Result */
.qh-result {
  padding: 40px 24px;
  text-align: center;
}

.qh-result-emoji {
  font-size: 56px;
  margin-bottom: 12px;
}

.qh-result-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.qh-result-desc {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.5;
}

.qh-restart-btn {
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 480px) {
  .qh-main-title { font-size: 20px; }
  .qh-q-text { font-size: 16px; }
  .qh-option { font-size: 14px; padding: 12px; }
}
