/* -----------------------------
RANDOM RIDDLE GENERATOR
----------------------------- */

.riddle-generator {
  padding: 65px 20px;
  background: linear-gradient(135deg, #f857a6, #ff5858);
  border-radius: 25px;
  text-align: center;
  font-family: 'Urbanist', sans-serif;
  margin-top: 50px;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.riddle-card {
  max-width: 550px;
  margin: 0 auto;
  background: #fff;
  border-radius: 25px;
  padding: 40px 25px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  color: #333;
  position: relative;
}

.riddle-display {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 80px;
  text-align: left;
}

.riddle-btn {
  background: linear-gradient(135deg, #ff5858, #f857a6);
  padding: 14px 32px;
  border: none;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255,88,88,0.4);
}

.riddle-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 22px rgba(255,88,88,0.55);
}

.fade {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
