/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  background: linear-gradient(120deg, #0f0f0f, #1a1a2e);
  color: #f0f0f0;
  font-family: 'Georgia', serif;
  min-height: 100vh;
  text-align: center;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* WELCOME CONTAINER */
.welcome-container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
  max-width: 700px;
  margin: 50px auto;
  animation: fadeIn 2s ease-in-out;
}

h1 {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #ffd70080;
}

p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  margin: 10px;
  font-size: 1em;
  background-color: #FFD700;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.btn:hover {
  background-color: #e6c200;
}

/* ANIMACIONES */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gentleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes floatInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* IMÁGENES PERSONAJES */
.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: nowrap;
  padding: 20px;
}

.character {
  width: 380px;
  max-height: 450px;
  object-fit: contain;
  animation: gentleFloat 4s ease-in-out infinite;
}

.character.left {
  animation: floatInLeft 1.5s ease-out, gentleFloat 4s ease-in-out infinite;
}

.character.right {
  animation: floatInRight 1.5s ease-out, gentleFloat 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
  .main-wrapper {
    flex-direction: column;
  }

  .character.left,
  .character.right {
    display: none;
  }
}


/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  color: black;
  border-radius: 10px;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}

.contenido-scrollable {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* FOOTER */
.footer-buttons {
  margin-top: 10px;
}

.footer-buttons button {
  margin: 5px;
  padding: 8px 14px;
  background-color: #1e1e1d;
  color: #ffee00;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

footer {
  background-color: #12121f;
  text-align: center;
  padding: 15px 0;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid #FFD700;
}

/* Modal ya está definido en tu CSS, pero agrego por claridad */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  color: black;
  border-radius: 10px;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}

.contenido-scrollable {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.redes-sociales {
  margin-top: 15px;
}

.redes-sociales a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 8px;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.redes-sociales a:hover {
  color: #FFD700;
  transform: scale(1.2);
}


