.gameCenter {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  max-width: 720px;
  max-height: 480px;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#startButton,
#restartButton {
  width: 120px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff9500 0%, #ff6b00 100%);
  color: white;
  font-weight: bold;
  font-size: 22px;
  font-family: "spicy-rice", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  z-index: 1;
  user-select: none;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

#startButton,
#restartButton :hover {
  background: linear-gradient(145deg, #ffa726 0%, #ff8c00 100%);
  transform: translateY(-3px);
}
#restartButton {
  z-index: 5;
}

.boxButton {
  position: absolute;
  top: 20px;
  z-index: 4;
  display: flex;
  gap: 20px;
}

.infoButton {
  cursor: pointer;
  background: linear-gradient(145deg, #ff9500 0%, #ff6b00 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  outline: none;

  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1001;
  position: relative;
  overflow: hidden;
}

.infoButton::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
}

.infoButton:hover {
  transform: translateY(-2px);
}

.infoButton:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #c45a00, 0 2px 5px rgba(0, 0, 0, 0.3);
}

.infoButton:active img {
  transform: scale(0.9);
}

#startGame {
  background-image: url(../img_pollo_locco/img/9_intro_outro_screens/start/startscreen_1.png);
  background-position: right;
  background-size: cover;
  position: absolute;
  border-radius: 10px;
  width: 720px;
  height: 480px;
  display: flex;
}

.game-end-screen {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
  z-index: 4;
  display: none;
}

#gameOver {
  background-image: url("../img_pollo_locco/img/9_intro_outro_screens/game_over/game_over.png");
}

#gameWon {
  background-image: url("../img_pollo_locco/img/9_intro_outro_screens/win/won_2.png");
}

.goodToKnow,
.imprint {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  padding: 30px;
  background-color: #fff8e6;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  border: 1px solid #e0d0b0;
  overflow-y: auto;
  font-family: "spicy-rice", Arial, sans-serif;
}

.goodToKnowContent,
.imprintContent {
  text-align: center;
  color: #5a4a3a;
  padding: 15px;
  position: relative;
}

.goodToKnowContent h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #d35400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.goodToKnowContent h4 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #e67e22;
}

.goodToKnowContent p {
  font-size: 16px;
  margin: 10px 0;
  text-align: left;
}

.goodToKnowContent b {
  color: #c0392b;
  font-weight: bold;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #e74c3c;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.close-btn:hover {
  background: #c0392b;
  transform: scale(1.1);
}

.goodToKnow::-webkit-scrollbar {
  width: 8px;
}

.goodToKnow::-webkit-scrollbar-thumb {
  background: #d35400;
  border-radius: 4px;
}

.goodToKnow::-webkit-scrollbar-track {
  background: rgba(210, 180, 140, 0.3);
}

.imprintContent h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
}

.imprintContent h4 {
  font-size: 20px;
  margin: 15px 0;
  color: #444;
}

.imprintContent p {
  font-size: 16px;
  margin: 10px 0;
}

.imprintContent a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
}

.imprintContent a:hover {
  color: #004499;
  text-decoration: underline;
}

.infoOverlay {
  position: absolute;
  top: 170px;
  right: -250px;
  width: 55px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: right 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 4;
}

.infoOverlay.show {
  right: 15px;
}

.overlayButton {
  padding: 10px;
  background-color: rgb(255 221 0);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "spicy-rice", sans-serif;
  transition: all 0.2s ease;
  margin: 0;
  > img {
    width: 100%;
    display: block;
  }
}

.overlayButton:hover {
  background-color: rgb(255 161 0);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.overlayButton:active {
  transform: translateY(1px);
  box-shadow: none;
}
.mobileButtonLeft {
  display: none;
  gap: 50px;
  position: absolute;
  bottom: 10px;
  z-index: 5;
  left: 70px;
}
.mobileButtonRight {
  display: none;
  gap: 50px;
  position: absolute;
  bottom: 20px;
  z-index: 5;
  right: 70px;
}
.actionButton {
  cursor: pointer;
  background: linear-gradient(145deg, #ff95009e 0%, #ff6b008a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: none;
  outline: none;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1000;
  position: relative;
  overflow: hidden;
}
.actionButton:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #c45a00, 0 2px 5px rgba(0, 0, 0, 0.3);
}
