body {
  margin: 0;
  background: #ffdbe6;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

.screen {
  width: 100vw;
  height: 100vh;
  display: none;
  position: relative;
}

.screen.active {
  display: block;
}

.screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.zone {
  position: absolute;
  cursor: pointer;
}

/* ZONAS */
.start { left:22%; top:75%; width:56%; height:14%; }
.tres { left:5%; top:45%; width:30%; height:35%; }
.bolos { left:35%; top:45%; width:30%; height:35%; }
.info { right:5%; top:20%; width:30%; height:15%; }
.lock { right:20%; top:10%; width:10%; height:15%; }
.volver { left:20%; top:20%; width:30%; height:15%; }

.game {
  text-align: center;
}

#board {
  display: grid;
  grid-template-columns: repeat(3,100px);
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.cell {
  width: 100px;
  height: 100px;
  background: white;
  font-size: 60px;
  line-height: 100px;
  cursor: pointer;
}

#phaser-bolos {
  width: 400px;
  height: 520px;
  margin: 0 auto;
}
.phaser-container {
  width: 400px;
  height: 520px;
  margin: 0 auto;
}
.zone.ajedrez{
  position:absolute;
  width:300px;   /* ajusta según tu imagen */
  height:200px;  /* ajusta según tu imagen */
  top:320px;     /* ajusta */
  left:800px;    /* ajusta */
  cursor:pointer;
}
.zone.ajedrez {
  left: 65%;
  top: 45%;
  width: 30%;
  height: 35%;
  cursor: pointer;
}

#chess-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

#chess-board {
  display: grid;
  grid-template-columns: repeat(8,60px);
  grid-template-rows: repeat(8,60px);
}

.square {
  width: 60px;
  height: 60px;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.light { background:#f0d9b5; }
.dark { background:#b58863; }

#chess-info {
  text-align:left;
}
.square {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  transition: background 0.3s;
}

.piece {
  transition: transform 0.2s ease;
}

.square:active .piece {
  transform: scale(1.2);
}

.move-dot {
  width: 14px;
  height: 14px;
  background: black;
  border-radius: 50%;
  position: absolute;
}

.big-text {
  position: absolute;
  font-size: 70px;
  font-weight: bold;
  color: #ff3b7f;
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 20px;
}
.zone.billar {
  left: 5%;
  top: 75%;
  width: 30%;
  height: 20%;
  cursor: pointer;
}

#billar-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#billar-canvas {
  background: #0b6623;
  border: 20px solid #4e342e;
  border-radius: 20px;
}

#billar-info {
  margin-top: 15px;
  font-size: 20px;
}
