/* Estilo mejorado para el módulo de Login */
.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
}

.login-module {
  background: rgba(44, 42, 62, 0.92);
  border-radius: 16px;
  box-shadow: 0 4px 24px #000a;
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 350px;
  width: 100%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-module h2 {
  font-family: 'Cinzel', serif;
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  letter-spacing: 1px;
}

.login-module form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-module label {
  font-size: 1rem;
  color: #f5f3e7;
  margin-bottom: 0.2rem;
}


.login-module input[type="text"],
.login-module input[type="password"],
.login-module input[type="email"] {
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #232526;
  color: #ffd700;
  font-size: 1rem;
  font-family: 'Merriweather', serif;
  outline: none;
  transition: border 0.2s;
}
.login-module input[type="text"]:focus,
.login-module input[type="password"]:focus,
.login-module input[type="email"]:focus {
  border: 1.5px solid #ffd700;
}

.login-module button[type="submit"] {
  background: linear-gradient(90deg, #ffd700 0%, #ffb300 100%);
  color: #232526;
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1rem;
  font-size: 1.1rem;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px #0006;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.login-module button[type="submit"]:hover {
  background: linear-gradient(90deg, #ffb300 0%, #ffd700 100%);
  color: #222;
}

.login-links {
  margin-top: 1.2rem;
}
.login-links a {
  color: #ffd700;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.2s;
}
.login-links a:hover {
  color: #fffbe6;
}
/*
  Estilo base para el HUB de rol en línea
  Inspiración: fantasía épica, colores oscuros, detalles dorados y tipografía elegante
*/

body {
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  color: #f5f3e7;
  font-family: 'Merriweather', serif;
  margin: 0;
  min-height: 100vh;
}

header {
  background: rgba(34, 32, 52, 0.95);
  box-shadow: 0 2px 8px #000a;
  padding: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navbar .logo {
  font-size: 2rem;
  font-family: 'Cinzel', serif;
  color: #ffd700;
  letter-spacing: 2px;
  font-weight: bold;
  text-shadow: 0 2px 8px #000a;
}

.navbar nav {
  display: flex;
  gap: 2rem;
}

.navbar nav a {
  color: #f5f3e7;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: 'Merriweather', serif;
  transition: color 0.2s;
}

.navbar nav a:hover {
  color: #ffd700;
}

.btn-login {
  background: #ffd700;
  color: #23243a;
  border: none;
  border-radius: 6px;
  padding: .5rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1.5rem;
  transition: background .2s;
}
.btn-login:hover {
  background: #ffe066;
}

.btn-logout {
  background: #23243a;
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 6px;
  padding: .5rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  margin-left: 1.5rem;
  transition: background .2s, color .2s;
}
.btn-logout:hover {
  background: #ffd700;
  color: #23243a;
}

main {
  padding: 3rem 2rem 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  color: #ffd700;
  margin-top: 0;
}

section {
  margin-bottom: 2.5rem;
  background: rgba(44, 42, 62, 0.85);
  border-radius: 8px;
  box-shadow: 0 2px 8px #0004;
  padding: 2rem;
}

footer {
  background: #18171c;
  color: #bdbdbd;
  padding: 2rem 0 1rem 0;
  margin-top: 3rem;
}

.footer-sitemap {
  background: #131217;
  color: #ffd700;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto 1rem auto;
  box-shadow: 0 2px 8px #0008;
}

.footer-sitemap nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.footer-sitemap a {
  color: #ffd700;
  text-decoration: none;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  transition: color 0.2s;
}

.footer-sitemap a:hover {
  color: #fffbe6;
}

.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  color: #888;
  margin-top: 1rem;
}

/* Fuentes sugeridas: Cinzel para títulos, Merriweather para texto */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Merriweather:wght@400;700&display=swap');

/* Alertas modales reutilizables */
.modal-alert-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,30,40,0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-alert {
  background: #23243a;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px #000a;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  min-width: 260px;
  max-width: 90vw;
  text-align: center;
  position: relative;
  animation: modalIn .2s cubic-bezier(.4,2,.6,1) 1;
}
@keyframes modalIn {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-alert-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}
.modal-alert-msg {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #ffe;
}
.modal-alert-btn {
  background: #ffd700;
  color: #23243a;
  border: none;
  border-radius: 6px;
  padding: .5rem 1.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}
.modal-alert-btn:hover {
  background: #ffe066;
}

/* Links en el sitio web */
a {
  text-decoration: none !important;
  color: inherit;
  transition: color .2s;
}
a:hover, a:focus {
  text-decoration: underline;
  color: #ffd700;
}
