/* ===== Sentence CSS ===== */


.sentence{
  font-size: 26px;
  margin: 18px 0 18px;
}

.options button{
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 16px;
  font-size: 20px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #e0e7ff, #fbcfe8);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.options button:hover{
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.correct{
  background: #bbf7d0 !important;
  animation: pop 0.35s;
}

.wrong{
  background: #fecaca !important;
}

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

.star-pop{
  display: inline-block;
  animation: starPop 0.45s ease-out;
  font-size: 34px;
  color: #ff4fd8;
  text-shadow: 0 4px 0 rgba(0,0,0,0.08);
  position: relative;
  z-index: 2147483648;
}


@keyframes starPop{
  0%{ transform: scale(0.2) rotate(-20deg); opacity: 0; }
  60%{ transform: scale(1.3) rotate(10deg); opacity: 1; }
  100%{ transform: scale(1) rotate(0deg); opacity: 1; }
}

.screen-wiggle{
  animation: screenWiggle 0.45s ease-in-out;
}

@keyframes screenWiggle{
  0%{ transform: translateX(0) rotate(0deg); }
  15%{ transform: translateX(-6px) rotate(-1deg); }
  30%{ transform: translateX(6px) rotate(1deg); }
  45%{ transform: translateX(-5px) rotate(-1deg); }
  60%{ transform: translateX(5px) rotate(1deg); }
  100%{ transform: translateX(0) rotate(0deg); }
}

.global-star{
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  font-size: 54px;
  color: #ff4fd8;
  text-shadow: 0 6px 0 rgba(0,0,0,0.10);
  pointer-events: none;
  animation: globalStarPop 0.65s ease-out;
}

@keyframes globalStarPop{
  0%{
    transform: translate(-50%, -50%) scale(0.2) rotate(-20deg);
    opacity: 0;
  }
  60%{
    transform: translate(-50%, -60%) scale(1.3) rotate(10deg);
    opacity: 1;
  }
  100%{
    transform: translate(-50%, -75%) scale(1) rotate(0deg);
    opacity: 1;
  }
}

.praise{
  position: fixed;
  top: 18%;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  background: linear-gradient(135deg, #f9a8d4, #fbcfe8);
  color: #111827;
  padding: 18px 30px;
  border-radius: 28px;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  z-index: 9999;
  animation: praisePop 0.6s ease-out forwards;
}

@keyframes praisePop{
  0%{
    transform: translateX(-50%) scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  60%{
    transform: translateX(-50%) scale(1.15) rotate(4deg);
    opacity: 1;
  }
  100%{
    transform: translateX(-50%) scale(1) rotate(0deg);
    opacity: 1;
  }
}
#starFx{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}
.sentence {
  margin: 18px 0 22px;
  padding: 18px 22px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffffcc, #fde7f3cc);
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}

.help {
  margin: 16px auto 6px;
  width: fit-content;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #c7d2fe, #fbcfe8);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.help:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.hebrew {
  margin-top: 10px;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 18px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #1f2937;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  text-align: center;
}
