/* Result Page Container */
.result-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    width: 400px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

/* Quiz Completion Header */
.result-container h1 {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Subtext */
.result-container p {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Score Styling */
.result-container h2 {
    font-size: 24px;
    color: #ffcc00;
    font-weight: bold;
}

/* Message Styling */
#resultMessage p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 15px;
    color: #ffffff;
}

/* Buttons Styling */
.result-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.result-container button {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    width: 100%;
}

.try-again {
    background: linear-gradient(45deg, #6e8efb, #a777e3);
    color: white;
}

.try-again:hover {
    background: linear-gradient(45deg, #4a69bd, #8e44ad);
    transform: scale(1.05);
}

.home {
    background: linear-gradient(45deg, #ff9f43, #ff6b6b);
    color: white;
}

.home:hover {
    background: linear-gradient(45deg, #e67e22, #e74c3c);
    transform: scale(1.05);
}

/* High Score Styling */
.high-score-container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 18px;
    color: white;
    font-weight: bold;
}
