* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(135deg, #64b5f6, #90caf9, #bbdefb);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.menu {
  width: 520px;
  background: white;
  border-radius: 25px;
  padding: 45px;
  text-align: center;

  box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.18);

  animation: aparecer 0.6s ease;
}

h1 {
  font-size: 64px;

  color: #2196f3;

  letter-spacing: 3px;

  margin-bottom: 10px;
}

.subtitle {
  color: #666;

  font-size: 20px;

  margin-bottom: 35px;
}

button {
  width: 100%;

  padding: 18px;

  margin: 10px 0;

  border: none;

  border-radius: 15px;

  background: #2196f3;

  color: white;

  font-size: 23px;

  cursor: pointer;

  transition: 0.25s;
}

button:hover {
  background: #1976d2;

  transform: translateY(-3px);

  box-shadow: 0 10px 20px rgba(33, 150, 243, 0.35);
}

button:active {
  transform: scale(0.98);
}

footer {
  margin-top: 35px;

  color: #888;

  font-size: 15px;
}

footer strong {
  color: #2196f3;
}

@keyframes aparecer {
  from {
    opacity: 0;

    transform: translateY(25px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .menu {
    width: 92%;

    padding: 30px;
  }

  h1 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 18px;
  }

  button {
    font-size: 20px;

    padding: 16px;
  }
}

button:disabled {
  background: #cfcfcf;

  color: #666;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

button:disabled:hover {
  background: #cfcfcf;

  transform: none;

  box-shadow: none;
}

h2 {
  color: #2196f3;

  margin-top: 10px;

  margin-bottom: 8px;

  font-size: 26px;
}

hr {
  border: none;

  height: 2px;

  background: #e5e5e5;

  margin: 15px 0;
}

input[type="range"] {
  width: 90%;

  height: 10px;

  cursor: pointer;
}

.menu h2 {
  font-size: 24px;

  color: #2196f3;
}

.menu p {
  color: #555;

  font-size: 18px;
}

.pixel {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.skins {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.skin {
  width: 180px;
  min-height: 260px;

  border: 3px solid black;
  border-radius: 15px;

  padding: 15px;

  text-align: center;

  box-sizing: border-box;
}

.skin img {
  width: 80px;
  height: 80px;

  object-fit: contain;

  image-rendering: pixelated;

  margin-bottom: 10px;
}

.skin h3 {
  margin: 10px 0;
}

.skin p {
  margin: 5px;
}

.skin button {
  width: 140px;
  height: 35px;

  margin: 5px;

  font-size: 14px;

  cursor: pointer;
}

#achievementPopup {
  position: fixed;
  top: 20px;
  left: 20px;

  background: white;
  padding: 15px 25px;
  border-radius: 12px;

  font-size: 18px;
  font-weight: bold;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

  transform: translateX(-120%);
  transition: 0.4s;

  z-index: 9999;
}

#achievementPopup.show {
  transform: translateX(0);
}

.skin img.crown {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

#accountBox {
  position: fixed;

  bottom: 20px;
  left: 20px;

  width: 270px;
  min-height: 90px;

  padding: 15px;

  background: white;

  border-radius: 15px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);

  box-sizing: border-box;

  z-index: 9999;

  font-family: Arial, Helvetica, sans-serif;
}



#accountLogged {
  display: flex;

  align-items: center;

  gap: 15px;
}


#accountSkin {
  width: 64px;
  height: 64px;

  object-fit: contain;

  image-rendering: pixelated;
  image-rendering: crisp-edges;

  flex-shrink: 0;
}


#accountInfo {
  flex: 1;

  min-width: 0;
}


#accountUserID {
  color: #2196f3;

  font-size: 18px;

  font-weight: bold;

  margin-bottom: 8px;

  word-break: break-word;
}


#accountButton {
  width: 100%;

  padding: 8px;

  margin: 0;

  border: none;

  border-radius: 8px;

  background: #2196f3;

  color: white;

  font-size: 13px;

  cursor: pointer;

  transition: 0.25s;
}


#accountButton:hover {
  background: #1976d2;

  transform: translateY(-2px);

  box-shadow: 0 5px 10px rgba(33, 150, 243, 0.3);
}



#loginButton {
  width: 100%;

  padding: 12px;

  margin: 0;

  border: none;

  border-radius: 10px;

  background: #2196f3;

  color: white;

  font-size: 18px;

  cursor: pointer;

  transition: 0.25s;
}


#loginButton:hover {
  background: #1976d2;

  transform: translateY(-2px);

  box-shadow: 0 8px 15px rgba(33, 150, 243, 0.3);
}


#accountLogged {
  display: none;
}
