/* Quiz Promo Section */
.nk_quiz-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional pattern overlay */
.nk_quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.nk_quiz-promo {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nk_quiz-promo__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.nk_quiz-promo__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1rem;
}

.nk_quiz-promo__btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.nk_quiz-promo__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background-color: #f8f9fa;
}

/* Modal Overlay */
.nk_modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000000000000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nk_modal-overlay.nk_modal-open {
    display: flex;
    opacity: 1;
}

/* Modal Content */
.nk_modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.nk_modal-overlay.nk_modal-open .nk_modal-content {
    transform: translateY(0);
}

/* Close Button */
.nk_modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    transition: color 0.3s;
}

.nk_modal-close:hover {
    color: #333;
}

/* Quiz Steps */
.nk_quiz-step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.nk_quiz-step.nk_active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Quiz Typography */
.nk_quiz-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color, #0865a7);
    margin-bottom: 1rem;
    text-align: center;
}

.nk_quiz-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

/* Quiz Options */
.nk_quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nk_quiz-btn {
    padding: 1rem;
    background-color: #f0f4f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    text-align: center;
}

.nk_quiz-btn:hover {
    background-color: #e3eaf0;
    border-color: #ccc;
}

.nk_quiz-btn--primary {
    background-color: var(--primary-color, #0865a7);
    color: white;
    border: none;
    font-weight: 600;
    margin-top: 1rem;
}

.nk_quiz-btn--primary:hover {
    background-color: var(--primary-dark, #064b7d);
}

/* Results */
.nk_quiz-result-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.nk_quiz-result-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
    text-align: justify;
}

.nk_quiz-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.nk_quiz-list li {
    margin-bottom: 0.5rem;
}

.nk_quiz-actions {
    margin-top: 2rem;
    text-align: center;
}

/* Trigger Link Style */
.nk_quiz-trigger-wrapper {
    text-align: center;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.nk_quiz-trigger-link {
    font-size: 1.1rem;
    color: var(--primary-color, #0865a7);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.nk_quiz-trigger-link:hover {
    color: var(--primary-dark, #064b7d);
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .nk_modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .nk_quiz-title {
        font-size: 1.25rem;
    }
}

/* Quiz Promo Mobile Adjustments */
@media (max-width: 768px) {
    .nk_quiz-section {
        padding: 4rem 0;
    }
    
    .nk_quiz-promo__title {
        font-size: 1.8rem;
    }
    
    .nk_quiz-promo__text {
        font-size: 1.1rem;
    }
    
    .nk_quiz-promo__btn {
        width: 100%;
        max-width: 300px;
    }
}
