body {
   font-family: "Host Grotesk", sans-serif;
    background-color: #5b2a01; /* Very light tint of the golden yellow */
    color: #3A0B10; /* Dark burgundy for sharp, readable text */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Figure container styling */
.header-figure {
    margin: 0 0 20px 0; /* Reset browser default figure margins */
    padding: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #D2A44B; /* Golden Honey border */
}

/* Image inside figure */
.header-figure img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.quiz-container {
    background-color: #EFE2CE;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(58, 11, 16, 0.12); /* Burgundy-tinted shadow */
    max-width: 600px;
    width: 100%;
    border: 2px solid #E9C86A;
}

h1 {
    font-family: "Titan One", sans-serif;
    text-align: center;
    color: #6A1A0C; /* Deep Crimson Rust */
    margin-bottom: 8px;
}

p.subtitle {
    text-align: center;
    color: #885B1F; /* Warm Ocher Brown */
    margin-top: 0;
    margin-bottom: 25px;
}

.question {
    margin-bottom: 25px;
}

.question h3 {
    margin-bottom: 12px;
    color: #3A0B10; /* Dark Burgundy */
    font-size: 1.1rem;
}

.options label {
    display: block;
    background-color: #FFFDF7;
    border: 2px solid #E9C86A; /* Golden Yellow border */
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #3A0B10;
}

.options label:hover {
    background-color: #F8E8B6; /* Soft golden hover fill */
    border-color: #D2A44B;
}

.options input[type="radio"] {
    margin-right: 10px;
    accent-color: #6A1A0C; /* Deep Crimson radio button selection */
}

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    background-color: #6A1A0C;
    color:#F8E8B6;
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Primary Submit Button - Deep Crimson */
.btn-submit {
    background-color: #6A1A0C;
    color:#F8E8B6  ;
}

.btn-submit:hover {
    background-color: #3A0B10; /* Dark Burgundy on hover */
}

/* Secondary Reset Button - Warm Ocher Brown */
.btn-reset {
    background-color: #885B1F;
    color: #F8E8B6 ;
}

.btn-reset:hover {
    background-color: #6A1A0C;
}

#result {
    margin-top: 25px;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    display: none;
    background-color: #FAF2DD;
    border: 2px solid #D2A44B;
}

#result h2 {
    margin-top: 0;
    color: #6A1A0C;
}

#result p {
    color: #3A0B10;
    font-size: 1rem;
    line-height: 1.5;
}

/* Container for the result image */
.result-figure {
    margin: 15px auto;
    padding: 0;
    max-width: 300px; /* Limits how wide the image card can get */
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #D2A44B; /* Matches your warm golden theme */
}

/* The result image itself */
.result-figure img {
    width: 100%;
    height: 220px; /* Constrains the vertical height */
    object-fit: cover; /* Crops nicely without stretching or distorting */
    display: block;
}

/* Reset button styled inside result box */
#result .btn-reset {
    margin-top: 15px;
    padding: 12px 24px;
    background-color: #6A1A0C;
    color: white;
}

#result .btn-reset:hover {
    background-color: #3A0B10;
}