/* Tetris Game Styles */

.tetris-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.panel-box {
  border: 2px solid var(--neon-cyan);
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  min-width: 140px;
}

.panel-box h3 {
  font-size: 0.55rem;
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
}

.panel-box .value {
  font-size: 0.9rem;
  color: var(--neon-yellow);
  text-shadow: 0 0 5px var(--neon-yellow);
}

.next-preview {
  display: flex;
  justify-content: center;
}

.next-preview canvas {
  background: #000;
}

@media (max-width: 600px) {
  .tetris-layout {
    flex-direction: column;
    align-items: center;
  }

  .side-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel-box {
    min-width: 100px;
  }
}
