/**
 * PLAYZONE ARCADE — Game Stage & Interactive Gameplay Components Stylesheet
 */

.pz-game-stage {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  min-height: 520px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Shared Game Internal Layouts */
.pz-game-wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pz-game-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: rgba(11, 17, 32, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.pz-game-canvas-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pz-game-canvas-box canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-subtle);
  background: #0b1120;
  touch-action: none;
}

/* Mobile On-Screen D-Pad */
.pz-dpad {
  display: grid;
  grid-template-columns: repeat(3, 56px);
  grid-template-rows: repeat(2, 52px);
  gap: 0.45rem;
  justify-content: center;
  margin: 0.5rem auto 0;
  user-select: none;
}

.pz-dpad__btn {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.pz-dpad__btn:active {
  background: var(--accent-coral);
  color: #0b1120;
}

/* Puzzle Zone Shared Question Card Styles */
.pz-quiz-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pz-quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.pz-quiz-opt {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  text-align: left;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.pz-quiz-opt:hover:not(:disabled) {
  border-color: var(--accent-orange);
  background: rgba(255, 159, 28, 0.12);
}

.pz-quiz-opt.is-correct {
  background: rgba(16, 185, 129, 0.22);
  border-color: #10b981;
  color: #6ee7b7;
}

.pz-quiz-opt.is-wrong {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #fca5a5;
}

.pz-explanation-box {
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

