/* Manta Confetti Celebration | manta~web https://manta-web.co.il/ */
#mcc-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: mccFadeIn 0.4s ease;
}
#mcc-overlay.mcc-active {
    display: flex;
}
@keyframes mccFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#mcc-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: mccSlideUp 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
@keyframes mccSlideUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
#mcc-box img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
}
#mcc-box a img {
    cursor: pointer;
}
#mcc-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
    color: #333;
    padding: 0;
}
#mcc-close:hover {
    background: #fff;
    transform: scale(1.1);
}
#mcc-confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 100000;
}
@media (max-width: 600px) {
    #mcc-box {
        max-width: 95vw;
    }
    #mcc-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 6px;
        right: 6px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #mcc-overlay,
    #mcc-box {
        animation: none;
    }
}
