.iq-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
}

.iq-card {
  background: #020617;
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}

.iq-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  color: #cbd5f5;
}

.iq-start-btn {
  background: #2563eb;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.hidden { display: none; }

.quiz-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #cbd5f5;
}

.quiz-question {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #e5e7eb;
}

.quiz-option {
  display: block;
  padding: 12px;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.iq-score {
  font-size: 4rem;
  color: #38bdf8;
  margin: 20px 0;
}

.iq-label {
  font-size: 1.2rem;
  color: #cbd5f5;
}

.iq-description {
  color: #94a3b8;
  margin: 20px 0;
}

.iq-divider {
  border: none;
  border-top: 1px solid #1e293b;
  margin: 30px 0;
}

.iq-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.iq-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.iq-btn.primary {
  background: #2563eb;
  color: #fff;
}

.iq-btn.secondary {
  background: #334155;
  color: #fff;
}

.iq-input {
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  display: block;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #020617;
  color: #e5e7eb;
}

.iq-cert-preview {
  background: #020617;
  border: 1px dashed #334155;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  color: #cbd5f5;
}

.cert-box h1 {
  font-size: 3rem;
  margin: 15px 0;
  color: #38bdf8;
}

.cert-box h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.cert-box h3 {
  font-size: 1.8rem;
  margin: 10px 0;
}

.cert-meta {
  margin-top: 20px;
  font-size: 0.9rem;
}

.cert-disclaimer {
  margin-top: 20px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.muted {
  color: #64748b;
}

.nickname-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.nickname-box {
  background: #020617;
  padding: 30px;
  border-radius: 14px;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.nickname-modal.hidden {
  display: none;
}
