* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#start-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  gap: 15px;
  box-sizing: border-box;
}

/* Welcome */
#Welcome {
  display: flex;
  font-size: 35px;
  align-items: center;
  margin-top: 20px;
  margin-left: 10%;
}

/* Enter your name */
#Entre_Your_name_please {
  display: flex;
  font-size: 30px;
  align-items: center;
  margin-top: 10%;
}

/* name imput */
#nameInput {
  display: flex;
  align-items: center;
  padding: 7px;
  font-size: 16px;
  width: 200px;
  margin-top: 10%;
}

/* button-save */
#btn-save-name {
  display: flex;
  align-items: center;
  padding: 13px 17px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10%;
  margin-left: 20%;
}

#start-buttons button {
  width: 150px;
  height: 75px;
}
#start-buttons {
  display: flex;
  gap: 200px;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

#waiting-room {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  text-align: center;
  gap: 20px;
  margin-top: 20px;
}
#roomCode {
  font-size: 24px;
}

#playerList {
  font-size: 20px;
  margin-top: 10px;
}
#waitingText {
  font-size: 18px;
  margin-top: 10px;
}

#playersList {
  list-style: none;
  font-size: 18px;
  padding: 0;
  margin-top: 10px;
}

#start-leave {
  display: flex;
  gap: 10px;
  margin-top: 100px;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  width: 100vw;
  gap: 30px;
}

#findRoom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  text-align: center;
}

#find-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 20px;
  gap: 20px;
}

#input-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#roomInput {
  display: block;
  width: 200px;
  margin: 40vh auto 0;
  padding: 7px;
  height: 30px;
  font-size: 16px;
}

#game-area {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.game-buttons {
  display: flex;
}
@media only screen and (max-width: 900px) {
  .game-buttons {
    display: block;
  }
}

.game-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 6rem;
  cursor: pointer;

  width: 140px;
  height: 140px;
  margin: 80px;

  border: none;
  border-radius: 8px;
  background: #1a1a2e;
  transition: background 0.2s;
}

.game-btn:hover {
  background: #c73650;
  border: 1px solid #c73650;
}
.game-btn img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

#result {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

#waitingOthers {
  font-size: 24px;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  background: #e94560;
  color: #fff;
  transition: background 0.2s;
}

button:hover {
  background: #c73650;
}

button:disabled {
  background: #555;
  cursor: default;
}
