/* js/lottomuse-ads.js centered modal popup styles */

.lottomuse-modal-shell {
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
}

.lottomuse-modal-shell.show,
.lottomuse-modal-shell.in {
    display: flex;
    opacity: 1;
}

.lottomuse-modal-shell[hidden] {
    display: none !important;
}

.lottomuse-modal-shell.fade {
    opacity: 0;
}

.lottomuse-modal-shell.fade.in {
    opacity: 1;
}

.lottomuse-modal-dialog {
    width: 560px;
    max-width: calc(100vw - 40px);
    margin: 0 auto;
}

.lottomuse-modal-content {
    background-color: #16213e;
    color: #ffffff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.lottomuse-modal-header {
    position: relative;
    background-color: #1a1a2e;
    border-bottom: 2px solid #0f3460;
    padding: 20px 56px 16px 20px;
    text-align: center;
}

.lottomuse-modal-close {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    opacity: 0.85;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity 0.2s, color 0.2s;
}

.lottomuse-modal-close:hover,
.lottomuse-modal-close:focus {
    opacity: 1;
    color: #e94560;
    outline: none;
}

.lottomuse-modal-kicker {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0a5b5;
    margin-bottom: 4px;
    font-weight: 700;
}

.lottomuse-modal-title {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.lottomuse-modal-body {
    padding: 24px 24px 18px;
    text-align: center;
}

.lottomuse-modal-image-link {
    display: block;
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
}

.lottomuse-modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.lottomuse-modal-copy {
    font-size: 1.08rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.55;
}

.lottomuse-modal-footer {
    background-color: #1a1a2e;
    border-top: 2px solid #0f3460;
    text-align: center;
    padding: 16px 20px 22px;
}

.btn.lottomuse-modal-cta,
.btn.lottomuse-modal-maybe-later {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    padding: 10px 16px;
    transition: background-color 0.2s, transform 0.1s;
}

.lottomuse-modal-cta {
    background-color: #e94560;
    color: #ffffff;
}

.lottomuse-modal-cta:hover,
.lottomuse-modal-cta:focus {
    background-color: #f05a74;
    color: #ffffff;
}

.lottomuse-modal-cta .glyphicon {
    margin-right: 8px;
}

.lottomuse-modal-maybe-later {
    background-color: transparent;
    color: #a0a5b5;
    border: 1px solid #4a4e69;
    margin-top: 10px;
}

.lottomuse-modal-maybe-later:hover,
.lottomuse-modal-maybe-later:focus {
    background-color: #2a3149;
    color: #ffffff;
}

.lottomuse-modal-opt-out {
    background: transparent;
    border: none;
    color: #a0a5b5;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    min-height: 44px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-top: 6px;
}

.lottomuse-modal-opt-out:hover,
.lottomuse-modal-opt-out:focus {
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    .lottomuse-modal-shell,
    .lottomuse-modal-shell.show,
    .lottomuse-modal-shell.in,
    .lottomuse-modal-content {
        transition: none;
    }
}

@media (max-width: 768px) {
    .lottomuse-modal-shell {
        padding: 12px;
        align-items: center;
    }

    .lottomuse-modal-dialog {
        max-width: 100%;
        width: 100%;
    }

    .lottomuse-modal-content {
        border-radius: 12px;
    }

    .lottomuse-modal-header {
        padding: 18px 52px 14px 16px;
    }

    .lottomuse-modal-title {
        font-size: 1.35rem;
    }

    .lottomuse-modal-copy {
        font-size: 1rem;
    }

    .lottomuse-modal-body {
        padding: 16px;
    }

    .lottomuse-modal-footer {
        padding: 14px 16px 18px;
    }
}
