/* ====== FUENTE GOOD LUCK (.otf local) ====== */
@font-face {
  font-family: 'Good Luck';
  src: url('../fonts/GoodLuck.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ====== NORMALIZACIÓN ====== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  box-sizing: border-box;
}

/* ====== FONDO DIFERENTE SEGÚN DISPOSITIVO ====== */
body {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  body {
    background-image: url('../img/fondo-desktop.jpg');
  }
}

@media (max-width: 767px) {
  body {
    background-image: url('../img/fondo-mobile.jpg');
  }
}

/* ====== GLOBAL ====== */
html {
  scroll-behavior: smooth;
}

body {
  color: #827974;
  font-family: 'Inter', sans-serif;
}

/* ====== ENCABEZADO ====== */
.main-header {
  background-color: #81468f;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  top: 0;
  z-index: 10;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .main-header {
    position: sticky;
  }
}

/* ====== LOGO / TITULO ====== */
.navbar-brand {
  color: #fffbf5 !important;
  font-family: 'EB Garamond', serif;
  font-size: 1.8em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-brand:hover {
  color: #e1c274 !important;
}

/* ====== NAVEGACIÓN ====== */
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-family: 'EB Garamond', serif;
  text-transform: uppercase;
  font-size: 1.1em;
  margin: 0 0.6em;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #e1c274 !important;
  text-decoration: underline;
}

/* ====== ICONOS LATERALES ====== */
.icon-set i {
  display: block;
  margin: 0.7em 0;
}

/* ====== PERFIL BOX ====== */
.profile-box {
  background-color: #fff1de;
  color: #827974;
  text-align: center;
  padding: 1em;
  border-radius: 8px;
}

.profile-box hr {
  border-color: #827974;
  border-style: dashed;
  max-width: 20em;
}

.profile-box p.description {
  font-family: 'Mali', cursive;
  font-size: 1.2em;
  line-height: 1.5;
  margin-bottom: 0.4em;
}

@media (min-width: 768px) {
  .profile-box p.description {
    font-size: 1.8em;
    line-height: 2.1;
  }
}

/* ====== ICONOS SOCIALES ====== */
.social-icons a {
  font-size: 2em;
  margin: 0 0.5em;
  transition: transform 0.2s ease-in-out;
}

.social-icons a:hover {
  transform: scale(1.2);
}

/* ====== TARJETAS DE PERSONAJE ====== */
.char-card {
  background-color: #fffbf5;
  border: 1px solid #827974;
  text-align: center;
  margin-top: -0.5em;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.char-link {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.5em 0;
}

.char-link:hover {
  color: #563263;
}

.char-link em {
  display: block;
  margin-top: 0.5em;
  font-family: 'Good Luck', cursive;
  font-style: normal;
  font-size: 1.6em;
  color: #563263;
}

.char-thumb {
  background-size: cover;
  background-position: center;
  padding-top: 100%;
  border-radius: 6px;
}
