* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
  text-align: center;
  user-select: none;
}

.imagen-derecha {
  position: absolute;
  top: 40px;     
 left: 60px;   
  width: 90px;  
}

.container {
  padding: 20px;
}

h1 {
  margin-bottom: 20px;
  color: #00fff7;
  text-shadow: 2px 2px #000;
}

.game-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.grid {
  width: 200px;          /* 10 columnas * 20px */
  height: 400px;         /* 20 filas * 20px */
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(20, 1fr);
  border: 4px solid #00fff7;
  background-color: #1a1a1a;
  box-shadow: 0 0 15px #00fff7;
  margin-bottom: 20px;
}

.grid div {
  border: 0.5px solid #333;
  width: 100%;
  height: 100%;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.tetromino {
  background-color: #00fff7;
  box-shadow: inset 0 0 10px #00fff7;
}

.taken {
  background-color: #555;
  box-shadow: none;
}

.info-panel {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #00fff7;
  min-width: 180px;
  text-align: left;
  box-shadow: 0 0 10px #00fff7;
  user-select: none;
}

.score {
  font-size: 2rem;
  color: #00fff7;
  margin: 10px 0 20px;
  font-weight: bold;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

button {
  padding: 10px 20px;
  background-color: #00fff7;
  border: none;
  color: #000;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

button:hover {
  background-color: #00cccc;
}

ul {
  padding-left: 20px;
  margin-top: 0;
}
