/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo animado tipo frío/granizado */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom right, #300242, #f0ff21);
  color: #333;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Contenedor principal */
.welcome-container {
  text-align: center;
  padding: 50px;
  background: rgba(89, 46, 117, 0.788);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  max-width: 800px;
  animation: fadeIn 1.5s ease-in-out;
  z-index: 2;
}

/* Logo */
.welcome-logo {
  width: 125px;
  margin-bottom: 30px;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.2));
}


/* Título */
.welcome-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

/* Descripción */
.welcome-description {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 35px;
}

/* Botón */
.welcome-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 1.2rem;
  background: #fff;
  color: #450d6d;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(58, 4, 83, 0.4);
}

.welcome-button:hover {
  background: #9775af;
  transform: scale(1.05);
}

/* Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ❄ Copos de nieve animados */
.snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.snowflake {
  position: absolute;
  color: white;
  font-size: 2rem;
  animation: fall 10s linear infinite;
  opacity: 0.8;
}

.snowflake:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.snowflake:nth-child(2) {
  left: 30%;
  animation-delay: 2s;
}

.snowflake:nth-child(3) {
  left: 50%;
  animation-delay: 4s;
}

.snowflake:nth-child(4) {
  left: 70%;
  animation-delay: 1s;
}

.snowflake:nth-child(5) {
  left: 90%;
  animation-delay: 3s;
}

.snowflake:nth-child(6) {
  left: 20%;
  animation-delay: 5s;
}

@keyframes fall {
  0% {
    top: -10%;
    transform: rotate(0deg);
  }
  100% {
    top: 110%;
    transform: rotate(360deg);
  }
}
