/* Pathfinder Quest – matches Study/Scroll Scramble/Truth Tiles pattern */

.game-pathfinder-page .game-hero {
  background-image: url("../Banner_Study_03.jpg");
}

.game-pathfinder-page .game-main--genesis {
  background-image: url("../Background_Layout_Study_Genesis1.jpg");
}

#pathfinder { width: 100%; }

.pf-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  margin-bottom: 18px;
}

.pf-hud__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #111827;
  font-size: 14px;
}

.pf-panel {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.pf-label {
  color: #374151;
  font-weight: 700;
  margin-bottom: 10px;
}

.pf-question {
  border-radius: 16px;
  background: linear-gradient(135deg, #0a2a4a, #0d5ea8);
  color: #ffffff;
  padding: 18px 18px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 82px;
  display: flex;
  align-items: center;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.pf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.pf-opt {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 12px 14px;
  text-align: left;
  background: #f9fafb;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.pf-opt:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
  filter: brightness(1.02);
}

.pf-opt:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none;
}

.pf-opt.is-correct {
  border-color: #10b981;
  background: #ecfdf5;
}

.pf-opt.is-wrong {
  border-color: #ef4444;
  background: #fef2f2;
}

.pf-feedback {
  margin-top: 12px;
  font-weight: 800;
  text-align: center;
  min-height: 22px;
  color: #1f2933;
}

.pf-feedback--good { color: #166534; }
.pf-feedback--bad  { color: #b91c1c; }

.pf-controls {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  gap: 10px;
}

.pf-endcard {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.pf-endcard__actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.pf-empty {
  padding: 12px 6px;
}

@media (max-width: 768px) {
  .pf-question { font-size: 16px; min-height: 92px; }
  .pf-opt { padding: 12px 12px; }
}
