.leos-modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 20px;
    background: rgba(15, 15, 20, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    box-sizing: border-box;
}

.leos-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

body.leos-modal-open {
    overflow: hidden;
}

.leos-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s ease;
}

.leos-modal-overlay.is-visible .leos-modal {
    transform: translateY(0) scale(1);
}

.leos-modal-close {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
    z-index: 2;
}

.leos-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
}

#leos-modal .l-modal-body {
    text-align: center;
    padding: 32px 28px 28px;
}

#leos-modal .l-modal-logo img {
    max-width: 140px;
    margin: 0 auto 18px;
    display: block;
}

#leos-modal .l-modal-text {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

#leos-modal .l-modal-link {
    margin-bottom: 20px;
}

#leos-modal .l-modal-link a {
    display: inline-block;
    padding: 12px 28px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

#leos-modal .l-modal-link a:hover {
    opacity: 0.85;
}

#leos-modal .l-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 18px;
    display: block;
}

#leos-modal .l-modal-footer {
    font-size: 12px;
    line-height: 1.4;
    color: #888;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

@media (max-width: 480px) {
    #leos-modal .l-modal-body {
        padding: 26px 18px 20px;
    }
}
