
/* Home page embedded styles */
.about-summary-section {
    background: #050a06;
    text-align: center;
}

.quiz-trigger-section {
    background: radial-gradient(circle at center, #133215 0%, #050a06 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-section-title {
    font-size: 2.5rem;
}

.home-section-copy {
    color: rgba(255,255,255,0.7);
    max-width: 800px;
    margin: 20px auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.home-outline-btn {
    display: inline-block;
    margin-top: 30px;
    border: 2px solid #92B775;
    background: transparent !important;
    color: white !important;
}

.quiz-trigger-icon {
    font-size: 3rem;
    color: #92B775;
    margin-bottom: 20px;
}

.quiz-start-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
    padding: 15px 40px;
}

.progress-fill {
    width: 0%;
}

.quiz-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.question-counter {
    color: #92B775;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.quiz-results {
    text-align: center;
}

.quiz-results-icon {
    font-size: 4rem;
    color: #f1c40f;
    margin-bottom: 20px;
}

.quiz-results-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.quiz-results-copy {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.result-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.quiz-apply-btn {
    width: 100%;
    justify-content: center;
}

.quiz-loading-message {
    text-align: center;
    color: white;
    margin: 40px 0;
}

.quiz-loading-spinner {
    color: #92B775;
    margin-top: 20px;
    font-size: 2rem;
}

.result-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.result-score {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

@keyframes overlayFadeIn {
        from { opacity: 0; backdrop-filter: blur(0px); }
        to { opacity: 1; backdrop-filter: blur(10px); }
    }

    @keyframes boxPopIn {
        0% { opacity: 0; transform: scale(0.8) translateY(30px); }
        100% { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: overlayFadeIn 0.3s ease forwards;
    }

    .quiz-box {
        background: #0a120b;
        border: 1px solid rgba(146, 183, 117, 0.3);
        border-radius: 20px;
        width: 90%;
        max-width: 800px;
        padding: 40px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        animation: boxPopIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    .quiz-progress { background: rgba(255, 255, 255, 0.1); height: 8px; border-radius: 10px; overflow: hidden; }
    .progress-fill { background: #92B775; height: 100%; transition: width 0.3s ease; }
    
    .question-text { font-size: 1.4rem; line-height: 1.6; margin-bottom: 30px; margin-top: 10px; font-weight: 600; color: white; }
    .options-grid { display: flex; flex-direction: column; gap: 15px; }

    .quiz-option {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 12px;
        cursor: pointer;
        text-align: left;
        color: white;
        font-size: 1rem;
        transition: all 0.2s;
        font-family: 'Inter', sans-serif;
        display: flex;
        align-items: center;
        gap: 15px;
        line-height: 1.4;
    }

    .quiz-option:hover { background: rgba(146, 183, 117, 0.15); border-color: #92B775; transform: translateX(10px); }
    .quiz-option.selected { background: #92B775; border-color: #92B775; font-weight: bold; }
    
    .opt-letter { background: rgba(0, 0, 0, 0.3); padding: 5px 12px; border-radius: 8px; font-weight: bold; color: #92B775; }
    .quiz-option:hover .opt-letter { color: white; }

    .result-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 20px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; }
    .result-item.top-1 { background: rgba(241, 196, 15, 0.15); border-color: #f1c40f; transform: scale(1.05); }
    .result-rank { font-size: 1.5rem; font-weight: 900; color: rgba(255, 255, 255, 0.5); }
    .top-1 .result-rank { color: #f1c40f; }
    .result-name { font-size: 1.2rem; font-weight: bold; color: white; }

    .close-btn {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.6);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .close-btn:hover { background: rgba(231, 76, 60, 0.15); border-color: rgba(231, 76, 60, 0.4); color: #e74c3c; transform: scale(1.1) rotate(90deg); }
    .close-btn:active { transform: scale(0.95); }

.modal-overlay.is-hidden,
.quiz-results.is-hidden {
    display: none;
}
