/* --- Fuente del proyecto --- */
@font-face {
  font-family: 'fuenteMC';
  src: url('../Minecraft.ttf');
}

/* --- Fondo de nieve para la página de registro --- */
html, body {
  height: 100%;
}

body {
  background-image: url('../Images/snow.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  font-family: 'fuenteMC';
}

/* Los inputs, botones y selects no heredan la fuente del body por defecto */
input,
button,
select,
textarea {
  font-family: 'fuenteMC', sans-serif;
}

/* Oscurece un poco el fondo para que la card resalte */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 40, 0.35);
  z-index: -1;
}

/* --- Card "escarchada" --- */
body .card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 2px solid #cfe8ff;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 30, 80, 0.35);
}

.card h2 {
  color: #2b4c7e;
  font-family: 'fuenteMC', sans-serif;
}

/* --- Inputs con toque helado --- */
.card .form-label {
  color: #2b4c7e;
  font-weight: 600;
}

.card .form-control {
  background-color: #f4faff;
  border: 1.5px solid #b8dcff;
  border-radius: 10px;
  color: #1a2b45;
  transition: all 0.25s ease;
}

.card .form-control:focus {
  border-color: #6fb6ff;
  box-shadow: 0 0 8px rgba(111, 182, 255, 0.5);
  background-color: #ffffff;
}

/* --- Botón principal --- */
.card .btn-primary {
  background-color: #5aa9e6;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.card .btn-primary:hover {
  background-color: #3f8fd1;
  transform: translateY(-1px);
}

/* --- Link inferior --- */
.card p a {
  color: #3f8fd1;
  font-weight: 600;
  text-decoration: none;
}

.card p a:hover {
  text-decoration: underline;
}

/* --- Texto normal dentro de la card --- */
.card p,
.card small {
  color: #2b4c7e;
}
