body {
  margin: 0;
  padding: 0;
  background-color: #fffaf3;
  font-family: 'Fredoka', sans-serif;
  color: #444;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gallina + Letras */
.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 4s ease-in-out infinite;
  position: relative;
}

/* Gallina (más grande y arriba superpuesta) */
.logo.hen {
  width: 230px; /* <-- Gallina más grande */
  position: relative;
  z-index: 3;
  margin-bottom: -38px; /* <-- Gallina se monta sobre el texto */
  filter: drop-shadow(0px 5px 7px rgba(0,0,0,0.08));
}

/* Letras (más pequeñas para que la gallina se vea más protagonista) */
.logo.text {
  width: 225px; 
  opacity: 0;
  animation: fadeIn 1.4s ease forwards;
  filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.07));
  z-index: 2;
}

/* Suavidad en hover */
.image-container:hover .hen {
  transform: scale(1.05);
  transition: 0.35s ease;
}

.image-container:hover .text {
  transform: scale(1.03);
  transition: 0.35s ease;
}

/* Títulos */
h1 {
  font-size: 2.5rem;
  color: #ff6fa1;
  margin: 15px 0 5px;
}

p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5;
  margin: 0 20px;
}

footer {
  position: absolute;
  bottom: 20px;
  font-size: 0.9rem;
  color: #888;
}

/* Burbujas */
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.32;
  animation: floatUp 9s linear infinite;
}

.yellow { background: #ffe46b; width: 120px; height: 120px; top: 70%; left: 10%; }
.pink   { background: #ffb5e8; width: 150px; height: 150px; top: 15%; right: 15%; }
.blue   { background: #a2e3ff; width: 100px; height: 100px; bottom: 10%; left: 45%; }
.green  { background: #b6f7a8; width: 90px; height: 90px; top: 10%; left: 25%; }

/* Loader */
.loader {
  margin-top: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 6px solid #ff6fa1;
  border-top: 6px solid transparent;
  animation: spin 1.5s linear infinite;
}

/* Animaciones */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0.35; }
  100% { transform: translateY(-900px) scale(1.3); opacity: 0; }
}
