@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #070b14;
    color: #f1f5f9;
}

/* Картки із тестами */
.quiz-card {
    background: linear-gradient(145deg, rgba(21, 31, 50, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

/* Плавні переходи */
.transition-all {
    transition: all 0.25s ease-in-out;
}

/* Кнопки відповідей */
.opt-btn {
    transition: all 0.15s ease-in-out;
    outline: none;
}

.opt-btn:not(:disabled):hover {
    border-color: rgba(6, 182, 212, 0.7);
    transform: translateY(-1px);
    background-color: rgba(30, 41, 59, 0.9);
}

/* Анімація появи модального вікна */
.modal-box {
    animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Скролбар */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #070b14;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}