
.dialog-backdrop {
  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; 
}

.legal-container {
  font-family: 'Roboto', sans-serif; 
  line-height: 1.6;
  max-width: 800px;
  width: 90%;
  max-height: 80vh; 
  overflow-y: auto; 
  background: rgb(251, 243, 146);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  color: black;
}

.legal-container h1 {
  margin-top: 0;
  font-size: 60px;
}

.legal-container h2, 
.legal-container h3 {
  margin-top: 25px;
  font-weight: 700;
  font-size: 22px;
}

.legal-container p {
  font-size: 16px;
}

.close-modal-x {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  font-weight: bold;
}

.close-modal-x:hover {
  color: #e57373;
}

.close-dialog-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #e57373;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.close-dialog-btn:hover {
  background: #d32f2f;
}

.game-footer {
  margin-top: 20px;
  text-align: center;
  padding-bottom: 20px;
}

.game-footer a {
  color: rgba(255, 255, 255);
  text-decoration: none;
  font-family: "Bangers", system-ui;
  font-size: 24px;
}

.game-footer a:hover {
  color: #fbf392;
}
