* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -110px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0));
  animation: drift 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.container {
  text-align: center;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 560px;
  animation: card-fade-in 700ms ease-out both;
  position: relative;
  z-index: 1;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h2 {
  margin: 1rem 0 0.6rem;
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: #2563eb;
  color: #ffffff;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
}

.button:hover {
  background: #1d4ed8;
}

.button.secondary {
  background: #0f766e;
}

.button.secondary:hover {
  background: #0d5f59;
}

#message {
  margin-top: 1rem;
  margin-bottom: 0;
}

.minigames {
  margin-top: 1rem;
  text-align: left;
}

.full-width {
  display: block;
  width: 100%;
  text-align: center;
}

#message.pop {
  animation: pop 280ms ease-out;
}

@keyframes card-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes drift {
  from {
    transform: translate(-10px, 0) scale(1);
  }
  to {
    transform: translate(35px, 18px) scale(1.08);
  }
}

@keyframes pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
