/* Mekanjet — Önce Keşfet, Etkileşimde Üyelik İste */

body.mj-guest-modal-open {
    overflow: hidden !important;
    touch-action: none;
}

.mj-guest-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1120px, calc(100% - 32px));
    margin: 14px auto 4px;
    padding: 15px 17px;
    border: 1px solid rgba(124, 92, 255, .14);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 56, 92, .07), rgba(124, 92, 255, .07));
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.mj-guest-banner__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.mj-guest-banner__text strong {
    color: #172033;
    font-size: 15px;
    line-height: 1.35;
}

.mj-guest-banner__text span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.mj-guest-banner__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
}

.mj-guest-banner__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.mj-guest-banner__actions a:first-child {
    background: linear-gradient(135deg, #ff385c, #7c5cff);
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 56, 92, .18);
}

.mj-guest-banner__actions a:last-child {
    border: 1px solid rgba(15, 23, 42, .10);
    background: #fff;
    color: #172033;
}

.mj-guest-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.mj-guest-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mj-guest-modal__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, .58);
    cursor: default;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.mj-guest-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    max-height: calc(100dvh - 40px);
    padding: 30px 26px 24px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(15, 23, 42, .28);
    text-align: center;
    transform: translateY(18px) scale(.98);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.mj-guest-modal.is-open .mj-guest-modal__dialog {
    transform: translateY(0) scale(1);
}

.mj-guest-modal__close {
    position: absolute;
    top: 13px;
    right: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.mj-guest-modal__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff385c, #7c5cff);
    color: #fff;
    box-shadow: 0 17px 36px rgba(124, 92, 255, .24);
    font-size: 27px;
    font-weight: 800;
}

.mj-guest-modal__dialog h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(22px, 5.6vw, 28px);
    line-height: 1.2;
}

.mj-guest-modal__dialog p {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.mj-guest-modal__actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.mj-guest-modal__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.mj-guest-modal__register {
    background: linear-gradient(135deg, #ff385c, #7c5cff);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 56, 92, .20);
}

.mj-guest-modal__login {
    border: 1px solid rgba(15, 23, 42, .10);
    background: #f8fafc;
    color: #172033;
}

.mj-guest-modal__dialog small {
    display: block;
    margin-top: 16px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.5;
}

.mj-guest-modal a:focus-visible,
.mj-guest-modal button:focus-visible,
.mj-guest-banner a:focus-visible {
    outline: 3px solid rgba(124, 92, 255, .25);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .mj-guest-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        width: calc(100% - 24px);
        margin-top: 10px;
        padding: 14px;
        border-radius: 16px;
    }

    .mj-guest-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .mj-guest-banner__actions a {
        width: 100%;
        min-height: 42px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .mj-guest-modal {
        align-items: end;
        padding: 0;
    }

    .mj-guest-modal__dialog {
        width: 100%;
        max-height: min(82dvh, 680px);
        padding: 30px 20px max(22px, env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 26px 26px 0 0;
        transform: translateY(28px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mj-guest-modal,
    .mj-guest-modal__dialog {
        transition: none !important;
    }
}
