body.preload {
  opacity: 0 !important;
  overflow: hidden;
  background: linear-gradient(120deg, #fce4ec, #e0f7fa, #fffde7);
  background-size: 200% 200%;
  animation: gradientBG 10s ease infinite;
  min-height: 100vh;
  margin: 0;
}

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


.intro-card {
  max-width: 600px;
  margin: 0 auto;
}

.intro-card-inner {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}



.intro-card-inner {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#vote-alert {
  transition: opacity 0.4s ease;
  opacity: 0;
}

#vote-alert.show {
  opacity: 1;
}

.fact-card {
  padding: 32px 20px;
  margin-top: 40px;
}

#themes-container {
  gap: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

#theme-title small {
  font-size: 1.1rem;
  color: #444;
}

.theme-btn {
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 25px;
  min-width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#return-themes-btn {
  margin-top: 30px;
}

#fact-display {
  min-height: 0;
  transition: min-height 0.3s ease;
  margin-top: 24px;
}
