/* General Styles */
body {
    background: #0d0d0d;
    color: #fff;
    font-family: 'Cormorant Garamond', 'Baskerville', serif;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
}

header {
    background-image: url('./Moodboard/images/landing/heading.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5e8d8;
    text-align: center;
    padding: 2rem;
}

h1 {
    font-family: 'Cormorant SC', 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 8px;
    line-height: 1.15;
    margin: 0.5rem 0 0 0;
    color: #ffffff;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: #f5e8d8;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

main {
    min-height: 100vh;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

/* Intro Section */
.intro-content {
    background: rgba(10, 8, 5, 0.75);
    padding: 3.5rem 4rem;
    border: 1px solid rgba(245, 232, 216, 0.35);
    text-align: center;
    max-width: 620px;
}

.intro-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #d4af37;
    margin: 0 0 1.2rem 0;
    font-weight: 300;
}

.intro-divider {
    width: 40px;
    height: 1px;
    background: #d4af37;
    margin: 1.5rem auto;
    opacity: 0.7;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #e8ddd0;
    margin: 0 0 1.2rem 0;
    font-weight: 300;
}

.intro-cta {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #ffffff;
    margin: 1.5rem 0 2rem 0;
    font-weight: 300;
    font-style: italic;
}

.intro-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #f5e8d8;
    margin: 0 0 1.5rem 0;
    font-weight: 300;
}

.start-quiz-button {
    display: inline-block;
    background: transparent;
    color: #f5e8d8;
    border: 1px solid rgba(245, 232, 216, 0.6);
    padding: 0.7rem 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.start-quiz-button:hover {
    background: rgba(69, 41, 21, 0.7);
    border-color: #d4af37;
    color: #fff;
}

/* Quiz Section */
.quiz-section {
    max-width: 700px;
    width: 100%;
    background: #1a1612;
    padding: 2.5rem;
    border: 1px solid #d4af37;
    margin-top: 2rem;
}

#question-number {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
    margin: 0 0 1rem 0;
}

#question {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    color: #f5e8d8;
    line-height: 1.5;
}

#options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#options-container button {
    background: transparent;
    color: #f5e8d8;
    border: 1px solid #6b5a3e;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    font-family: 'Baskerville', serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    text-align: left;
    letter-spacing: 0.5px;
}

#options-container button:hover {
    background: #452915;
    border-color: #d4af37;
    color: #fff;
}

/* Progress Bar */
.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress {
    height: 100%;
    width: 0;
    background: #d4af37;
    transition: width 0.3s ease;
}

/* Result Section */
.result-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0d0d0d;
}

.fresque-band {
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.result-section {
    flex: 1;
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
    text-align: center;
    background: #1a1612;
    padding: 3rem 3.5rem;
    border: 1px solid #d4af37;
}

.result-archetype {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.9rem;
    color: #d4af37;
    margin: 0.2rem 0 1.2rem 0;
    font-weight: 300;
    letter-spacing: 1.5px;
}

.result-image {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
}

.result-caption {
    font-size: 0.75rem;
    font-style: italic;
    color: #6b5a3e;
    text-align: right;
    padding: 0.4rem 0.6rem;
    margin: 0 0 2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.result-label {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
    margin: 0 0 0.5rem 0;
}

.result-section h2 {
    font-size: 2.5rem;
    color: #f5e8d8;
    margin: 0 0 0.5rem 0;
    font-weight: normal;
    letter-spacing: 2px;
}

#result-era {
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    color: #a68a64;
    margin: 0 0 2rem 0;
    font-style: italic;
}

#result-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #d9cfc4;
    margin-bottom: 2.5rem;
    text-align: left;
    white-space: pre-line;
}

.restart-quiz-button {
    display: inline-block;
    background: transparent;
    color: #f5e8d8;
    border: 1px solid #f5e8d8;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-family: 'Baskerville', serif;
    font-weight: normal;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.restart-quiz-button:hover {
    background: #452915;
    border-color: #d4af37;
    color: #fff;
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 600px) {

    header {
        padding: 1.5rem 1.2rem 2.5rem;
        align-items: center;
        min-height: 100vh;
        height: auto;
    }

    .intro-content {
        padding: 2rem 1.5rem 2.5rem;
        max-width: 100%;
    }

    .intro-date {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    h1 {
        font-size: 1.2rem;
        letter-spacing: 5px;
    }

    .intro-tagline {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    .intro-text {
        font-size: 1rem;
        line-height: 1.75;
    }

    .intro-cta {
        font-size: 1rem;
        line-height: 1.75;
    }

    .start-quiz-button {
        font-size: 0.95rem;
        padding: 0.8rem 1.4rem;
        width: 100%;
        box-sizing: border-box;
        margin-top: 0.5rem;
    }

    main {
        padding: 2rem 1rem;
    }

    .quiz-section {
        padding: 1.5rem 1.2rem;
        margin-top: 0;
    }

    #question {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    #options-container button {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
    }

    .result-section {
        padding: 2rem 1.2rem;
    }

    .result-section h2 {
        font-size: 1.8rem;
    }

    .result-archetype {
        font-size: 1.4rem;
    }

    .result-image {
        max-height: 260px;
    }

    #result-description {
        font-size: 0.95rem;
    }

    .fresque-band {
        height: 70px;
    }

    .restart-quiz-button {
        width: 100%;
        font-size: 0.95rem;
    }
}