/* Profile Popup Styles - Biography card that appears when clicking a person */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #0a0e1a;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #1a1f3a;
}

.modal-year {
    color: #0066FF;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-name {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.modal-subtitle {
    color: #b8c5d6;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.achievement-box {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.achievement-label {
    color: #0066FF;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.achievement-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.bio-heading {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.bio-text {
    color: #b8c5d6;
    line-height: 1.8;
    font-size: 1rem;
}

.info-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.4);
    color: #0066FF;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.info-link-btn:hover {
    background: rgba(0, 102, 255, 0.25);
    transform: translateY(-2px);
}

.info-link-btn svg {
    flex-shrink: 0;
}

/* Quiz Call-to-Action Section */

.quiz-cta {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 25%, #f093fb 75%, #a78bfa 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.quiz-cta-title {
    font-size: 2.5rem;
    color: #1a1f3a;
    margin-bottom: 15px;
}

.quiz-cta-text {
    font-size: 1.2rem;
    color: #2d1b3d;
    margin-bottom: 25px;
}

.quiz-start-btn {
    background: #1a1f3a;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.quiz-start-btn:hover {
    transform: scale(1.05);
}
