#entryMenu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  pointer-events: all;
}
#entryMenu form {
  background: #222;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0008;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 260px;
}
#entryMenu label {
  color: #fff;
  font-size: 1.1em;
}
#entryMenu input[type="text"],
#entryMenu input[type="number"] {
  width: 100%;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #444;
  font-size: 1em;
  background: #333;
  color: #fff;
}
#entryMenu button {
  padding: 8px 0;
  border-radius: 6px;
  border: none;
  background: #48f;
  color: #fff;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.18s;
}
#entryMenu button:hover { background: #36c; }

.wallet-button {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #000000, #000000);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wallet-button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, #121212, #121212);
}

.wallet-button:disabled {
  background: #65666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

/* Player Info Section */
#playerInfo {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: white;
  font-family: Arial, sans-serif;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 100;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#nicknameContainer {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

#nicknameInput {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #555;
  background: rgba(255, 255, 255, 0.9);
  width: 120px;
  font-size: 14px;
}

#saveNickname {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: #48f;
  color: white;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s;
}

#saveNickname:hover {
  background: #36c;
}

/* Player count styles */
#playerCount {
  font-size: 14px;
  color: #ddd;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Leaderboard styles */
#leaderboard {
  margin: 8px 0;
  width: 100%;
}

.leaderboard-title {
  font-weight: bold;
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}

#leaderboard-entries {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
}

.leaderboard-entry {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  color: #eee;
}

.leaderboard-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.leaderboard-score {
  font-weight: bold;
  color: #ff0;
  margin-left: 8px;
}

/* Boost Button Styles */
#boostButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #EC18D3, #EC18D3);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.1s, box-shadow 0.1s, background 0.1s;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#boostButton:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, #EC18D3, #EC18D3);
}

#boostButton:disabled {
  background: #666;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}
