body { 
    font-family: 'Times New Roman', serif; 
    text-align: center; 
    padding: 80px 10px; 
    color: #fff; 
    margin: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 0.5;
        transform: translateY(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.container { 
    max-width: 420px; 
    margin: 0 auto; 
    font-size: 1.2rem;
    color: #333;
    line-height: 2;
}
.quiz-box { 
    background: linear-gradient(135deg, #444, #000);
    padding: 40px 10px; 
    margin: 25px 0; 
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5em;
    border-radius: 6px; 
    overflow-x: auto;
}
.input-area { 
    display: flex;
    justify-content: center;
    gap: 25px;
}
input[type="number"] { 
    width: 90px; 
    padding: 12px; 
    font-size: 1rem; 
    border-radius: 6px; 
    border: 2px solid #ddd; 
    text-align: center; 
    outline: none;
}
input[type="number"]:focus {
    border-color: #666;
}
button { 
    padding: 0 24px; 
    font-size: 1rem; 
    background: linear-gradient(135deg, #78f, #56f); 
    color: #fff; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: all 0.2s;
}
button:hover { 
    background: linear-gradient(135deg, #56f, #34f);
}
.hidden { 
    display: none; 
}
.error-msg { 
    color: #f56; 
    font-size: 0.9rem; 
    margin-top: 18px; 
    font-weight: bold;
}
.success-msg {
    color: #56F; 
    font-weight: bold; 
    font-size: 1.3rem;
    letter-spacing: 0.05rem;
    margin-top: 25px;
}