.kids-word-scramble-module {
    max-width: 850px;
    margin: 30px auto;
    padding: 25px;
    background: linear-gradient(135deg, #e0f7fa, #fffde7);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(30,144,255,0.2);
    font-family: system-ui, -apple-system, sans-serif;
}

.kws-title {
    text-align: center;
    color: #1e90ff;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.kws-scroll-container {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.scramble-item {
    background: #fff;
    margin-bottom: 18px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.scrambled {
    font-size: 2rem;
    letter-spacing: 8px;
    text-align: center;
    background: #f0f8ff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    color: #1e90ff;
    font-weight: bold;
}

.hint { font-style: italic; color: #555; margin-bottom: 15px; }

.answer-input {
    width: 100%;
    padding: 14px;
    font-size: 1.2rem;
    border: 3px solid #1e90ff;
    border-radius: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.check-btn {
    background: #1e90ff;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 9999px;
    cursor: pointer;
}

.feedback {
    margin-top: 10px;
    font-weight: bold;
    min-height: 28px;
}

.feedback.correct { color: #00c853; }
.feedback.wrong   { color: #ff1744; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-8px); }
    75%      { transform: translateX(8px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
}

