body {
  background-color: #091109;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

#playBtn {
  background: #1f1f1f;
  color: white;
  padding: 10px 20px;
  border: 2px solid #333;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}

#playBtn:hover {
  background: #333;
}

.puzzle {
  width: 300px;
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2px;
  background-color: #222;
  border: 4px solid #333;
  margin: auto;
}

.tile {
  background-size: 300px 300px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100px;
  height: 100px;
}

.tile.empty {
  background: #121212;
  cursor: default;
}

#infoBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 300px;
  margin: 10px auto;
  color: #fff;
  font-size: 16px;
}

#resetBtn {
  background: #1f1f1f;
  color: white;
  padding: 6px 12px;
  border: 1px solid #444;
  border-radius: 6px;
  cursor: pointer;
}

#resetBtn:hover {
  background: #333;
}

.tile {
  transition: transform 0.2s ease;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
