* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
body {
    background: linear-gradient(120deg, rgba(0, 30, 77, 0.8), rgba(0, 57, 115, 0.8)), 
                url('quiz.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.title: hover{
    color: blue;
}
.app {
    background: #ffffff;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    overflow: hidden;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}
.app h1 {
    font-size: 28px;
    color: #001e4d;
    font-weight: 700;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}
.quiz {
    padding: 15px 0;
}
.quiz h2 {
    font-size: 20px;
    color: #001e4d;
    font-weight: 600;
    text-align: left;
    margin-bottom: 15px;
}
.btn {
    background: #f9f9f9;
    color: #333;
    width: 100%;
    font-weight: 600;
    border: 2px solid #333;
    padding: 12px;
    margin: 10px 0;
    text-align: left;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s, color 0.3s;
}
.btn:hover:not([disabled]) {
    background: #333;
    color: #f4f4f4;
    transform: scale(1.05);
}
.btn:disabled {
    cursor: not-allowed;
}
#next-btn {
    background: #001e4d;
    color: #ffffff;
    font-weight: 600;
    width: auto;
    padding: 12px 30px;
    margin: 20px auto 0;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: block;
    transition: background 0.3s, transform 0.2s;
}
#next-btn:hover {
    background: #003973;
    transform: translateY(-2px);
}
.correct {
    background-color: #9aeabc;
    font-weight: bold;
    border-color: #6ccf98;
    color: #003d00;
}
.incorrect {
    background-color: #ff9393;
    font-weight: bold;
    border-color: #e76b6b;
    color: #600000;
}
/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Stylish Score Section */
.score-container {
    background: #001e4d;
    color: #fff;
    border-radius: 15px;
    text-align: center;
    padding: 40px 20px;
    margin-top: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: popIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}
.score-container h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}
.score-container p {
    font-size: 18px;
    line-height: 1.5;
}
.score-container .emoji {
    font-size: 50px;
    margin-top: 20px;
    animation: bounce 1s infinite;
}
/* Background decoration */
.score-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #42a5f5, #478ed1);
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    transform: translateX(-50%);
}
/* Pop-in Animation */
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

