/* Number Pop specific overrides */

.step-icon {
  font-size: 1.5rem;
}

/* Game specific styles for Number Pop */
.game-board {
  margin: 12px 0 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  text-align: center;
}

.game-controls {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-sm);
}

.config-panel {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-lg);
  max-width: 400px;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.config-panel h3 {
  margin: 0 0 var(--space-md);
  color: var(--text-primary);
}

.config-group {
  margin-bottom: var(--space-md);
}

.config-group label {
  display: block;
  margin: 10px 0 5px;
  color: var(--text-primary);
  font-weight: 600;
}

.config-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

#gameCanvas {
  background: white;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hud {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.btn-icon {
  font-size: 1.2em;
}

/* Game over overlay */
.game-over {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  gap: 1.5rem;
}

.game-over #gameOverText {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--text-1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.5s ease-out;
  white-space: pre-line;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .game-header {
    flex-direction: column;
    text-align: center;
  }
  
  .hud {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  #gameCanvas {
    width: 100%;
    height: auto;
  }
  
  .game-controls {
    justify-content: center;
    flex-wrap: wrap;
  }
}
