/* style.css - تم آبی نهایی */

body {
    font-family: 'Vazir', Tahoma, sans-serif;
    background: linear-gradient(135deg, #a0c4ff, #4361ee);
    direction: rtl;
    padding: 20px;
    margin: 0;
}

.container {
    max-width: 650px;
    margin: auto;
    background: #e0f0ff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 128, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 128, 0.35);
}

h1 {
    text-align: center;
    color: #003366;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 128, 0.3);
    font-size: 32px;
}

.question {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #cfe0ff, #a0c4ff);
    border-left: 8px solid #003366;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 128, 0.1);
    transition: transform 0.3s ease;
}

.question:hover {
    transform: scale(1.02);
}

label {
    cursor: pointer;
    display: block;
    margin: 8px 0;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 16px;
}

label:hover {
    background-color: #90b0ff;
    transform: translateX(5px);
}

button {
    background-color: #003366;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    cursor: pointer;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #001f4d;
    transform: scale(1.1);
}

#timer {
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 22px;
    color: #0033cc;
    text-align: center;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.4; }
}

#result {
    margin-top: 30px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #0033cc;
    background-color: #cfe0ff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 128, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.3s ease;
}

#result.show {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 12px 35px rgba(0, 0, 128, 0.3);
}