@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-align: center;
  background: linear-gradient(135deg, #3b3b98, #182848);
  color: white;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2 {
  margin-top: 20px;
  font-size: 24px;
  color: #f39c12;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

#board {
  width: 558px;
  height: 320px;
  border: 3px solid #e74c3c;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
}

#board img {
  width: 78px;
  height: 78px;
  border: 1px solid #e74c3c;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#board img:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

#pieces {
  width: 558px;
  height: auto;
  border: 3px solid #e74c3c;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

#pieces img {
  width: 78px;
  height: 78px;
  border: 1px solid lightblue;
  transition: transform 0.2s ease;
}

#pieces img:hover {
  transform: rotate(10deg);
}

.mute-button {
  position: fixed;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #f39c12;
  font-size: 34px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mute-button:hover {
  transform: scale(1.2);
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  width: 120px;
  height: 40px;
  background: #0c80ef;
  border: none;
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

.btn:hover {
  background: #0a6bc5;
  transform: scale(1.1);
}
