* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at top, #0a1a2f, #000);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid #1875e8;
  box-shadow: 0 0 30px #1875e8;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
}

.title {
  font-family: Chakra Petch;
  font-size: 64px;
  margin-bottom: 40px;
}

.title span {
  color: #1875e8;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__label {
  color: #00f4bf;
  font-weight: 600;
}

.form__input {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #1875e8;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.form__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px currentColor;
}

.primary {
  background: #1875e8;
  color: #fff;
}

.secondary {
  background: #00f4bf;
  color: #000;
}

.ghost {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 6px 0;
}

.draw {
  font-style: italic;
  animation: fadeSlide 0.6s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal__content {
  background: #000;
  border: 1px solid #1875e8;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px #1875e8;
}

@media (max-width: 768px) {
  .title {
    font-size: 42px;
  }

  .results {
    grid-template-columns: 1fr;
  }
}
