* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: #0d0f1c;
  color: #e0e0e0;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(to bottom, #0d0f1c 0%, #111a2a 100%);
  text-align: center;
  padding: 4rem 2rem;
  border-bottom: 2px solid #00b3ff33;
}

.logo {
  width: 180px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px #00b3ff);
}

.hero h1 {
  font-size: 3rem;
  color: #00b3ff;
  margin-bottom: 0.5rem;
}

.lema {
  font-style: italic;
  color: #9dcfff;
  margin-bottom: 1.5rem;
}

.btn {
  background-color: transparent;
  border: 2px solid #00b3ff;
  padding: 0.75rem 1.5rem;
  color: #00b3ff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0%;
  top: 0;
  left: 0;
  background-color: #00b3ff;
  z-index: 0;
  transition: height 0.3s ease;
  border-radius: 4px;
}

.btn:hover::after {
  height: 100%;
}

.btn:hover {
  color: #0d0f1c;
  z-index: 1;
}

.btn:hover span {
  color: #0d0f1c;
  position: relative;
  z-index: 2;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.animada {
  animation: latido 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.anim-logo {
  animation: entrada-logo 1s ease-out forwards;
  opacity: 0;
}

@keyframes entrada-logo {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.seccion {
  padding: 3rem 2rem;
  border-bottom: 1px solid #262c3a;
}

.seccion h2 {
  color: #00b3ff;
  margin-bottom: 1rem;
  font-size: 2rem;
  border-left: 4px solid #00b3ff;
  padding-left: 0.5rem;
}

.chatbox {
  background-color: #111a2a;
  padding: 1rem;
  border-radius: 6px;
  max-width: 600px;
  margin: 0 auto;
}

#chat-log {
  height: 300px;
  overflow-y: auto;
  background-color: #0d0f1c;
  border: 1px solid #262c3a;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-family: monospace;
}

.mensaje {
  margin: 0.25rem 0;
}

.mensaje.usuario {
  color: #ffffff;
  font-weight: bold;
}

.mensaje.yegua {
  color: #00b3ff;
  font-style: italic;
}

#chat-form {
  display: flex;
  gap: 0.5rem;
}

#user-input {
  flex: 1;
  padding: 0.5rem;
  background-color: #0d0f1c;
  border: 1px solid #00b3ff;
  color: white;
  border-radius: 4px;
}

#user-input:focus {
  outline: none;
  border-color: #6cd3ff;
}

#chat-form button {
  background-color: #00b3ff;
  border: none;
  color: #0d0f1c;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.lista-memoria {
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style-type: square;
  color: #ccc;
}

.lista-memoria li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

