/* Matchmaker Floating Button */
/* .matchmaker-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #ff7f0e 0%, #2241ff 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
    cursor: pointer;
    z-index: 9990;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
}

.matchmaker-btn:hover {
    transform: scale(1.05) translateY(-5px);
} */


.matchmaker-btn {
    /* --- Positioning --- */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;

    /* --- Layout --- */
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 50px;
    border: none;

    /* --- The Animated Gradient Background --- */
    background: linear-gradient(300deg,
            #ff7f0e,
            #ff2e63,
            #2241ff,
            #00c9a7);
    background-size: 300% 300%;
    /* Makes the gradient huge so we can pan it */
    animation: cosmic-flow 6s ease infinite;

    /* --- Typography --- */
    color: white;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;

    /* --- Glow --- */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* Hover: Scale up slightly */
.matchmaker-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(34, 65, 255, 0.4);
}

/* The Background Movement Animation */
@keyframes cosmic-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


.matchmaker-btn i {
    font-size: 18px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Modal Overlay */
.mm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.85);
    /* Brand Blue with opacity */
    z-index: 10000;
    display: flex;
    /* Flex but hidden via opacity/visibility usually, creating anew */
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mm-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
.mm-modal {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mm-overlay.active .mm-modal {
    transform: scale(1);
}

/* Header */
.mm-header h2 {
    color: #002147;
    margin-bottom: 5px;
    font-size: 20px;
}

.mm-progress {
    height: 4px;
    background: #eee;
    margin: 15px 0 25px;
    border-radius: 2px;
    overflow: hidden;
}

.mm-progress-bar {
    height: 100%;
    background: #ff7f0e;
    width: 0%;
    transition: width 0.3s ease;
}

/* Content */
.mm-content {
    min-height: 150px;
}

.mm-question {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
    font-weight: 600;
}

.mm-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mm-option-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    transition: all 0.2s;
}

.mm-option-btn:hover {
    background: #fdf0e6;
    border-color: #ff7f0e;
    color: #c45d00;
}

/* Result */
.mm-result-icon {
    font-size: 50px;
    color: #ff7f0e;
    margin-bottom: 15px;
}

.mm-result-title {
    font-size: 22px;
    color: #002147;
    font-weight: 700;
    margin-bottom: 10px;
}

.mm-result-desc {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.mm-cta-btn {
    display: inline-block;
    background: #002147;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.mm-cta-btn:hover {
    background: #00152e;
}

.mm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}