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

body {
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(
    -45deg,
    #1e3c72,
    #2a5298,
    #6a11cb,
    #2575fc
  );
  background-size: 400% 400%;
  animation: gradientPulse 18s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

@keyframes gradientPulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
}

.card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.card h1 {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.fact {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fact.hidden {
  opacity: 0;
  transform: scale(0.95);
}

button {
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1e3c72;
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

button:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 480px) {
  .card {
    padding: 1.8rem 1.4rem;
  }

  .card h1 {
    font-size: 1.4rem;
  }

  .fact {
    font-size: 0.95rem;
  }
}