body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #d9a7c7, #fffcdc); /* Purple-pink 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, 193, 204, 0); /* Light pink background */
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(255, 105, 180, 0.2);
    transition: box-shadow 0.3s ease-in-out;
}

#question-container p:hover {
    box-shadow: 0 12px 24px rgba(255, 105, 180, 0.4);
}

input[type="radio"] {
    display: none;
}

label {
    display: block;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4); /* Light pink gradient for options */
    border: 2px solid #ff9a9e;
    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: #ff9a9e;
    border-color: #fad0c4;
    box-shadow: 0 8px 16px rgba(255, 105, 180, 0.3);
}

input[type="radio"]:checked + label {
    background-color: #ff6f61;
    color: white;
    border-color: #fad0c4;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 105, 180, 0.5);
}

button {
    padding: 14px 28px;
    background-color: #ff6f61;
    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: #e55b5b;
    transform: scale(1.08);
    box-shadow: 0 12px 24px rgba(255, 105, 180, 0.4);
}

button:active {
    background-color: #b53b3b;
}

.hidden {
    display: none;
}

#score-container {
    margin-top: 20px;
    font-size: 22px;
    color: #333333;
}

.progress-bar {
    height: 10px;
    width: 100%;
    background: #f6c1c1;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: #ff6f61;
    width: 0;
    transition: width 0.4s ease;
}
