body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #c6ffdd, #fbd786, #f7797d); /* Fresh gradient background */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.quiz-container {
    width: 80%;
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

h1 {
    font-size: 38px;
    color: #333333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#question-container p {
    font-size: 24px;
    color: #333333;
    background-color: rgba(255, 235, 238, 0.7); /* Subtle pink background */
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(244, 67, 54, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

#question-container p:hover {
    box-shadow: 0 12px 24px rgba(244, 67, 54, 0.4);
}

input[type="radio"] {
    display: none;
}

label {
    display: block;
    background: linear-gradient(135deg, #fceabb, #f8b500); /* Bright gradient for options */
    border: 2px solid #f8b500;
    border-radius: 12px;
    padding: 16px;
    margin: 10px 0;
    cursor: pointer;
    font-size: 18px;
    color: #ffffff;
    transition: background-color 0.4s, border-color 0.4s, transform 0.3s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.5s;
}

label:hover::before {
    left: 0;
}

label:hover {
    background-color: #f8b500;
    border-color: #fceabb;
    box-shadow: 0 8px 16px rgba(255, 152, 0, 0.3);
}

input[type="radio"]:checked + label {
    background-color: #f57c00;
    color: white;
    border-color: #ffe082;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 138, 101, 0.5);
}

button {
    padding: 14px 28px;
    background-color: #f57c00;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 22px;
    margin: 10px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-in-out;
}

button:active::before {
    transform: translate(-50%, -50%) scale(1);
}

button:hover {
    background-color: #e65100;
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(230, 81, 0, 0.4);
}

button:active {
    background-color: #bf360c;
}

.hidden {
    display: none;
}

#score-container {
    margin-top: 20px;
    font-size: 22px;
    color: #333333;
}

.progress-bar {
    height: 10px;
    width: 100%;
    background: #ffccbc;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: #e65100;
    width: 0;
    transition: width 0.4s ease;
}
