@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/banner.png");
}

#game-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

canvas {
  display: block;
  margin: 0 auto;
}

/* Botones móviles */
#mobile-controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 40px;
  pointer-events: none;
  gap: 12rem;
}

.controBtn {
  width: 60px;
  height: 60px;
  font-size: 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(108deg, #2A67FB 0%, #0E4DF1 62.02%);
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  cursor: pointer;
}
.controBtn :active {
  background-color: rgba(163, 14, 14, 0.5);
  transform: scale(0.9);
}

#pause-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#pause-popup.hidden {
  display: none;
}

.popup-content {
  background-color: #FFF;
  padding: 25px;
  border: 4px solid #2A67FB;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 70%;
}
.popup-content .popup-score {
  font-family: "Press Start 2P", monospace;
  font-size: 18px;
  color: #2A67FB;
  margin-bottom: 15px;
  font-weight: bold;
}
.popup-content .popup-message {
  font-family: "Press Start 2P", monospace;
  font-size: 16px;
  color: #2A67FB;
  margin-bottom: 20px;
  line-height: 1.5;
}
.popup-content #resume-btn {
  background-color: #2A67FB;
  color: #FFF;
  font-family: "Press Start 2P", monospace;
  font-size: 14px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.popup-content #resume-btn:hover {
  background-color: #1a4bbd;
  scale: 1.05;
}

/* Popup de compartir */
#share-score-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#share-score-popup .popup-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#share-score-popup h3 {
  font-family: "Press Start 2P", monospace;
  color: #282D58;
  margin-bottom: 20px;
  font-size: 1.5em;
}

#share-score-popup .share-score-text {
  font-family: "Press Start 2P", monospace;
  font-size: 1.2em;
  color: #2A67FB;
  margin-top: 10px;
  margin-bottom: 20px;
}

#share-score-popup .share-buttons-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#share-score-popup .share-button {
  font-family: "Press Start 2P", monospace;
  font-size: 0.9em;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: #fff;
  background-color: #5F8DFC;
}

#share-score-popup .share-button:hover {
  background-color: #4A7BE0;
}

#share-score-popup .close-button {
  font-family: "Press Start 2P", monospace;
  font-size: 0.8em;
  padding: 8px 12px;
  border: 2px solid #282D58;
  border-radius: 8px;
  background-color: #E6EAF9;
  color: #384271;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 20px;
}

#share-score-popup .close-button:hover {
  background-color: #d0d5e9;
}

.hidden {
  display: none !important;
}

@media (min-width: 1280px) {
  .popup-content {
    max-width: 35%;
  }
}/*# sourceMappingURL=game.css.map */