/* games/single_choice_quiz/single_choice_quiz.css */

/* Gesamte Karte des Single-Choice-Spiels */
.sc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  color: #1c2342;
}

/* Header / Meta-Bereich oben (Thema + Zähler) */
.scq-header {
  opacity: 1; /* wichtig: keine globale Transparenz */
}

/* Lesbare Überschrift / Frage im Single-Choice-Spiel */
.scq-header-title,
.scq-question-text {
  color: #1c2342;
  font-weight: 600;
}

/* Meta "Frage 1 / 3" etwas dezenter, aber gut lesbar */
.scq-header-meta {
  color: #6b6f76;
}

/* Meta-Zeile: Thema + Fragezähler */
.sc-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  color: #6b6f76;
}

.sc-topic {
  font-weight: 600;
}

.sc-counter {
  opacity: 0.8;
}

/* Frage-Text – Box analog zu tfs-statement-card / scn-bubble */
.sc-question {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1c2342;
  text-align: center;
  background: linear-gradient(135deg, #f7f7fb, #eef0f7);
  border: 1px solid rgba(28, 35, 66, 0.08);
  border-radius: 16px;
  padding: 16px;
  margin-top: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Container für Antwort-Optionen */
.sc-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 6px;
}

.sc-card--auto-advance .game-footer-row {
  display: none;
}

/* Einzelne Antwort-Option */
.sc-option {
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #d6d8e0;
  background: #f7f7fb;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #1c2342;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.06s ease;
}

/* Hover-Effekt, solange noch nicht beantwortet */
.sc-option:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Zustand: vom Spieler aktiv ausgewählt (vor "Weiter") */
.sc-option--selected {
  border-color: #1c2342;
  background: #ecefff;
  box-shadow: 0 3px 10px rgba(28, 35, 66, 0.16);
}

/* Zustände nach Beantwortung */
.sc-option--disabled {
  cursor: default;
  /* leicht zurückgenommen, aber weiterhin gut lesbar */
  opacity: 0.9;
}

/* Richtige Antwort hervorheben */
.sc-option--correct {
  border-color: #2e7d32;
  background: #e8f5e9;
  box-shadow: 0 3px 10px rgba(46, 125, 50, 0.18);
}

/* Falsche Antwort hervorheben */
.sc-option--wrong {
  border-color: #c62828;
  background: #ffebee;
  box-shadow: 0 3px 10px rgba(198, 40, 40, 0.18);
}

/* ==============================
   Mobile Feintuning
   ============================== */

@media (max-width: 600px) {
  .sc-card {
    width: 100%;
    max-width: 100%;
    gap: 8px;
    padding-top: 28px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 44px);
  }

  .sc-meta-row {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .sc-question {
    font-size: 1rem;
    padding: 14px 12px;
  }

  .sc-options {
    gap: 14px;
    margin-top: auto;
  }

  .sc-option {
    padding: 14px 12px;
    font-size: 17px;
  }
}

