body {
  font-family: 'Inter', sans-serif;
  text-align: center;
  background-color: #121212;
  color: white;
  margin: 0;
  padding: 0;
}

header {
  background: #1f1f1f;
  padding: 20px;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.score-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.team-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.score {
  font-size: 20px;
  font-weight: bold;
}

.score-controls {
  display: flex;
  gap: 5px;
}

.score-button.negative {
  background-color: #f44336;
}

.score-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.score-button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: white;
  font-weight: bold;
}

.score-button.grandparents {
  background-color: #4CAF50;
}

.score-button.kids {
  background-color: #2196F3;
}

.game-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
}

.sound-box {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sound-box:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.button-56 {
  align-items: center;
  background-color: #222;
  border: 2px solid #fff;
  border-radius: 8px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  height: 48px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  padding: 0 25px;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-56:after {
  background-color: #fff;
  border-radius: 8px;
  content: "";
  display: block;
  height: 48px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}

.button-56:hover:after {
  transform: translate(0, 0);
}

.button-56:active {
  background-color: #333;
  outline: 0;
}

.button-56:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .button-56 {
      padding: 0 40px;
  }
}

.answer {
  margin-top: 5px;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.answer.revealed {
  opacity: 1;
  transform: scale(1);
}

.instructions-container {
  position: fixed;
  bottom: 120px;
  right: 20px;
  z-index: 1000;
}

.instructions-button {
  background: #333;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  font-weight: bold;
}

.instructions-content {
  position: absolute;
  bottom: 50px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.instructions-container:hover .instructions-content {
  opacity: 1;
  visibility: visible;
}

.instructions-content ol {
  text-align: left;
  margin: 0;
  padding-left: 20px;
}

.instructions-content li {
  margin-bottom: 10px;
}

html {
  position: relative;
  min-height: 100%;
}
body {
  margin: 0 0 100px; /* bottom = footer height */
}
#bottom-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100px;
  width: 100%;
  margin-top: 20px;
  padding: 10px;
  font-size: 12px;
  color: #bbb;
  background: #1f1f1f;
}
footer {
    margin-top: 20px;
    padding: 10px;
    font-size: 12px;
    color: #bbb;
    background: #1f1f1f;
}
