/* QuizHub v2.1 - All questions visible, next ones grayed out */

.qh-box {
  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;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
}

.qh-head {
  padding: 20px 20px 8px;
}
.qh-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* Ad */
.qh-ad { text-align: center; }
.qh-ad-ph {
  background: #f3f3f3;
  color: #999;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 12px;
  text-transform: uppercase;
}

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

.qh-date {
  padding: 8px 20px;
  font-size: 13px;
  color: #888;
  border-bottom: 1px solid #f0f0f0;
}

/* ========== QUESTION ========== */
.qh-q {
  padding: 18px 20px 22px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* ACTIVE question - normal, clickable */
.qh-q.active {
  opacity: 1;
  filter: none;
  pointer-events: auto;
}

/* LOCKED (future) questions - grayed out, visible but NOT clickable */
.qh-q.locked {
  opacity: 0.42;
  filter: grayscale(55%);
  pointer-events: none;
  user-select: none;
}

/* DONE (answered) questions - stay visible */
.qh-q.done {
  opacity: 0.88;
  pointer-events: none;
}

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

.qh-img {
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}
.qh-img img {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
}

.qh-txt {
  font-size: 17px;
  font-weight: 600;
  color: #c62828;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Options */
.qh-opts {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.qh-opt {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  width: 100%;
  color: #333;
  transition: 0.2s;
}
.qh-opt:hover {
  border-color: #1a73e8;
  background: #f5f9ff;
}
.qh-opt.on {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

/* Submit */
.qh-submit {
  padding: 16px 20px 28px;
  text-align: center;
}
.qh-btn-submit {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  max-width: 260px;
}
.qh-btn-submit:hover { background: #b71c1c; }

/* Result */
.qh-res {
  padding: 40px 24px;
  text-align: center;
}
.qh-res-emoji { font-size: 54px; margin-bottom: 10px; }
.qh-res-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.qh-res-desc { font-size: 15px; color: #555; margin-bottom: 22px; line-height: 1.5; }
.qh-btn-again {
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 480px) {
  .qh-head h1 { font-size: 20px; }
  .qh-txt { font-size: 16px; }
  .qh-opt { font-size: 14px; padding: 11px; }
}
