.mm-home-welcome {
    z-index: 11000 !important;
}

.mm-home-welcome .modal-dialog {
    background: transparent !important;
    max-width: min(1160px, calc(100% - 2rem));
}

.mm-home-welcome .modal-content {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    background:transparent !important;
}

.mm-home-welcome__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mm-home-welcome__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.mm-home-welcome__link {
    display: block;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(7, 35, 60, .16);
}

.mm-home-welcome__image {
    display: block;
    width: 100%;
    min-width: 0;
    height: 100%;
    background: #fff;
    object-fit: contain;
    transition: transform .3s ease;
}

.mm-home-welcome__link:hover .mm-home-welcome__image {
    transform: scale(1.035);
}

.mm-home-welcome__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-top: 18px;
    padding: 11px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f58220, #ee6416);
    box-shadow: 0 10px 20px rgba(238, 100, 22, .28);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mm-home-welcome__register:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(238, 100, 22, .36);
}

.mm-home-welcome__close {
    position: absolute;
    z-index: 5;
    top: -18px;
    right: -18px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
    cursor: pointer;
}

.mm-home-welcome__close::before,
.mm-home-welcome__close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #152b3d;
    content: '';
}

.mm-home-welcome__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mm-home-welcome__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mm-home-welcome-backdrop {
    z-index: 10990 !important;
    background-color: #07131e !important;
    opacity: .92 !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
}

@media (max-width: 767px) {
    .mm-home-welcome .modal-dialog {
        max-width: calc(100% - 1.5rem);
    }

    .mm-home-welcome__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mm-home-welcome__link {
        height: auto;
    }

    .mm-home-welcome__image {
        height: auto;
        max-height: 400px;
    }

    .mm-home-welcome .modal-content {
        padding: 24px 18px;
    }

    .mm-home-welcome__close {
        top: -14px;
        right: -10px;
    }
}
