/* BESLUITELOOS.NL — MODERNE TIKTOK-STIJL */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@600&family=Nunito:wght@400;600&display=swap');

body {
  font-family: 'Nunito', sans-serif;
  background-color: #A8E6CF;
  color: #2E2E2E;
}

.besluiteloos-container {
  background-color: #FFFFFF;
  border: 3px solid #56C1C1;
  border-radius: 16px;
  padding: 30px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  position: relative;
  overflow: visible;
}

.duo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 20px;
}

.duo-box {
  width: 160px;
  height: 90px;
  line-height: 90px;
  padding: 0 10px;
  border: 2px solid #B388EB;
  border-radius: 16px;
  font-size: 20px;
  background-color: #FFD166;
  color: #2E2E2E;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-family: 'Fredoka', sans-serif;
  text-align: center;
}

.duo-box.highlight {
  background-color: #FF6F61;
  color: #FFFFFF;
  transform: scale(1.05);
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 111, 97, 0.6);
}

.duo-button {
  padding: 14px 30px;
  font-size: 18px;
  cursor: pointer;
  background-color: #B388EB;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.duo-button:hover {
  background-color: #A070DA;
  transform: scale(1.05);
}

.duo-result {
  margin-top: 20px;
  font-size: 22px;
  font-family: 'Nunito', sans-serif;
  color: #2E2E2E;
}

/* ✨ CONFETTI SPARKLE EFFECT ✨ */
@keyframes sparkle {
  0%   { opacity: 0; transform: scale(0.5) translateY(0); }
  40%  { opacity: 1; transform: scale(1) translateY(-30px); }
  100% { opacity: 0; transform: scale(0.3) translateY(-100px); }
}

.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #FFFFFF 0%, #FFD166 70%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  animation: sparkle 3.5s ease-out forwards;
  box-shadow: 0 0 6px #FFD166;
  z-index: 9999;
}

/* ✨ GLOW EFFECT ✨ */
@keyframes glow {
  0%   { box-shadow: 0 0 0px rgba(255, 223, 100, 0.8); }
  50%  { box-shadow: 0 0 25px rgba(255, 223, 100, 0.9); }
  100% { box-shadow: 0 0 0px rgba(255, 223, 100, 0.8); }
}

.magic-glow {
  animation: glow 2s ease-in-out;
}
