
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 20px;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 24px;
  margin: 16px auto;
  max-width: 500px;
  text-align: center;
}

h1, h2 {
  margin-bottom: 10px;
}

.subtitle {
  margin-bottom: 20px;
  color: #666;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  margin: 6px 4px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  background-color: #444;
}

.btn-secondary {
  background-color: #555;
}

.dashboard-buttons,
.admin-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 5px;
}

.success {
  color: green;
  margin-bottom: 15px;
}

.error {
  color: red;
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 10px;
  text-align: center;
}

/* Juego del Cohete */
#juego-cohete {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  text-align: center;
  background-color: #111;
  color: #eee;
  border-radius: 8px;
}

.cohete {
  font-size: 50px;
  transition: transform 0.3s ease-in-out;
}

.multiplicador {
  font-size: 24px;
  margin-top: 10px;
  font-weight: bold;
}

.boton-apuesta, .boton-retirarse {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

.boton-apuesta {
  background-color: #3498db;
}

.boton-retirarse {
  background-color: #e67e22;
}

.historial {
  margin-top: 30px;
  background: #222;
  padding: 15px;
  border-radius: 8px;
}

.historial h3 {
  margin-bottom: 10px;
}

.historial ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.historial li {
  margin-bottom: 5px;
  color: #ccc;
}
