body {
  background-image: url("https://d3d0lqu00lnqvz.cloudfront.net/media/media/be7a97e5-19d2-4df5-b348-a549dd5b3fe7.jpg"), linear-gradient(90deg, #133555, #3d89a6, #95c5db );
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
h1 {
  margin-top: 32px;
  font-size: 2.2rem;
  color: #2d3a4b;
  letter-spacing: 1px;
  text-shadow: 1px 2px 0 #fff7b2;
}

.player-select {
  margin: 24px 0 16px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 1.1rem;
}

.player-btn {
  padding: 10px 22px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(60,60,60,0.10);
}

.player-btn.player_01 {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #2d3a4b;
}

.player-btn.player_2 {
  background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
  color: #fff;
}

.player-btn.selected {
  outline: 3px solid #222;
  transform: scale(1.07);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: repeat(3, 80px);
  gap: 18px;
  margin: 0 auto;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(60,60,60,0.10);
  padding: 18px;
}

.tile {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(60,60,60,0.10);
  transition: background 0.2s, transform 0.1s, color 0.2s;
  user-select: none;
  border: 2px solid #fff7b2;
}

.tile.player_01 {
  background: linear-gradient(135deg, #fff700 0%, #ffe259 100%);
  color: #bfa600;
  animation: pop 0.2s;
}

.tile.player_2 {
  background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
  color: #fff;
  animation: pop 0.2s;
}

.tile.both {
  background: linear-gradient(135deg, #a8ff78 0%, #78ffd6 100%);
  color: #1b5e20;
  animation: pop 0.2s;
}
@keyframes pop {
  0% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.info {
  margin-bottom: 18px;
  font-size: 1.05rem;
  color: #333;
  background: rgba(255,255,255,0.7);
  padding: 8px 18px;
  border-radius: 8px;
  display: inline-block;
}
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(3, 60px);
    grid-template-rows: repeat(3, 60px);
    padding: 8px;
    gap: 10px;
  }
  .tile {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
}
