/* Animación de confeti */
#confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0.85;
  animation: confeti-fall 2s ease-in forwards;
}

@keyframes confeti-fall {
  0% {
    top: -20px;
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  80% {
    opacity: 0.85;
    transform: scale(1.1) rotate(360deg);
  }
  100% {
    top: 100vh;
    opacity: 0;
    transform: scale(0.8) rotate(720deg);
  }
}
button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
@import url("https://fonts.cdnfonts.com/css/pokemon-solid");
:root {
  --color-red-pokemon: #f67280; /* Rojo pastel Pokémon */
  --color-green-pokemon: #48c9b0; /* Verde agua Pokémon */
  --color-blue-pokemon: #5dade2; /* Azul frío Pokémon */
  --color-button: #48c9b0; /* Verde agua frío */
  --color-button-hover: #a1a1a1; /* Gris pálido */
  --color-text: #fc4b08; /* Naranja */
  --color-white: #f7f5f4; /* Blanco frío */
  --color-primary: #5dade2; /* Azul frío */
  --color-secondary: #34495e; /* Azul profundo */
  --color-tertiary: #fbc02d; /* Amarillo */
}

/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  background-color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Banner */
.header-banner {
  flex: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 0;
}

/* Sección de entrada */
.input-section {
  flex: 60%;
  background: linear-gradient(
    135deg,
    var(--color-secondary) 70%,
    var(--color-green-pokemon) 100%
  );
  border: 4px solid #3a3a3a;
  border-radius: 64px 64px 32px 32px;
  box-shadow: 0 8px 32px rgba(50, 50, 50, 0.18),
    inset 0 0 32px 0 rgba(122, 196, 207, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px 24px;
  width: 100%;
}

/* Títulos */
.main-title {
  -webkit-text-stroke: 2px #000;
  text-stroke: 2px #000;
  font-size: 72px;
  font-family: "Pokemon Solid", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--color-white);
}

.section-title {
  -webkit-text-stroke: 1.5px #000;
  text-stroke: 1.5px #000;
  font-family: "Pokemon Solid", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-green-pokemon);
  margin: 10px 0;
  text-align: center;
}

/* Contenedores de entrada y botón */
.input-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin-top: 20px;
}

.input-name {
  width: 100%;
  padding: 10px;
  border: 2px solid #000;
  border-radius: 25px 0 0 25px;
  font-size: 16px;
}

.button-container {
  width: 300px;
  justify-content: center;
}

/* Estilos de entrada de texto */
.input-title {
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #333;
  border-right: none;
  border-radius: 25px 0 0 25px;
  font-family: "Merriweather", serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos de botón */
button {
  position: relative;
  overflow: hidden;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  padding: 15px 30px;
  font-family: "Pokemon Solid", Arial, sans-serif;
  font-size: 16px;
  border: 2px solid #000;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.button-add {
  background-color: var(--color-green-pokemon);
  color: var(--color-text);
  border-radius: 0 25px 25px 0;
}

.button-add:hover {
  background-color: var(--color-button-hover);
}

/* Listas */
ul {
  -webkit-text-stroke: 0.4px #000;
  list-style-type: none;
  color: var(--color-text);
  font-family: "Inter", "Merriweather", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
}

.result-list {
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  margin-top: 5px;
  margin-bottom: 30px;
  color: var(--color-tertiary);
  font-size: 28px;
  font-family: "Inter", "Merriweather", Arial, sans-serif;
  font-weight: bold;
  text-align: center;
}

/* Botón de sortear título */
.button-draw {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 40px;
  color: var(--color-white);
  background-color: var(--color-green-pokemon);
  font-size: 16px;
}

.button-draw img {
  margin-right: 40px;
}

.button-draw:hover {
  background-color: var(--color-button-hover);
}
