/* ===========================
    INDEX - ESTILO ESCRITORIO
   =========================== */

/* Fondo con degradado general y configuración de fuente */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #2a5665, #85a3ba, #af7d55);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Derecha flotando como en agua pero con trayectorias distintas */
.logo-flotante {
  position: fixed;
  bottom: 80px;
  right: 100px;
  width: 360px;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: flotarAguaDer 40s ease-in-out infinite,
            respirar 6s ease-in-out infinite;
  filter: brightness(1.05) contrast(1.2);
}

@keyframes flotarAguaDer {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(-30px, -15px) rotate(1deg) scale(1.02);
  }
  40% {
    transform: translate(-20px, 10px) rotate(3deg) scale(1.03);
  }
  60% {
    transform: translate(-35px, -25px) rotate(2deg) scale(1.01);
  }
  80% {
    transform: translate(-25px, -10px) rotate(-1deg) scale(1.04);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}


/* Izquierda flotando como en agua pero con trayectorias distintas */
.logo-fondo-izq {
  position: fixed;
  top: -40px;
  left: -40px;
  width: 320px;
  height: auto;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: flotarAguaIzq 38s ease-in-out infinite,
            respirar 7s ease-in-out infinite;
  filter: brightness(1.05) contrast(1.2);
}


@keyframes flotarAguaIzq {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(20px, 30px) rotate(-2deg) scale(1.03);
  }
  50% {
    transform: translate(40px, 10px) rotate(1deg) scale(1.02);
  }
  75% {
    transform: translate(30px, -20px) rotate(-3deg) scale(1.01);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes respirar {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.45;
  }
}



/* Contenedor central */
.container {
  text-align: left;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

/* Título principal */
.titulo {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

/* ===========================
    TARJETA DE INFORMACIÓN
   =========================== */
.card {
  background-color: #fefaf6;
  color: #1d3d4a;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 5px 5px 0 #ddd;
  margin-bottom: 3rem;
  text-align: justify;
  line-height: 1.6;
  font-size: 1.1rem;
  text-wrap: pretty;
}

/* ===========================
    BOTONES
   =========================== */
.botones {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.btn {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 1rem 2rem;
  border-radius: 8px;
  width: 220px;
  display: inline-block;
  text-align: center;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease-in-out;
}

.btn-amarillo { background-color: #e6a33d; }
.btn-amarillo:hover { background-color: #d38d1f; }

.btn-suerte { background-color: #2a5665; }
.btn-suerte:hover { background-color: #1d3d4a; }

.btn-ikigai { background-color: #b33718; }
.btn-ikigai:hover { background-color: #4a221d; }

/* ===========================
    RESPONSIVE MÓVIL (máx. 600px)
   =========================== */
@media (max-width: 600px) {

  body {
    display: block;
    padding: 1rem;
    height: auto;
    align-items: flex-start;
    overflow-y: auto;
  }

  /*.logo-flotante, .logo-fondo-izq {
    display: none;
  }*/

  .container {
    margin-top: 1rem;
  }

  .titulo {
    font-size: 2rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .card {
    max-width: 320px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 1.2rem;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  }

  .card::-webkit-scrollbar {
    width: 6px;
  }

  .card::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .botones {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}
