/* ads css landing page  */

.ref-modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35); /* slightly lighter for blur effect */
    z-index: 9999;

    /* Blur effect */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(7px); /* Safari support */

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.ref-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ref-modal-box {
    width: 100%;
    max-width: 226px;
    background: #f8f7f7;
    padding: 10px;
    border-radius: 10px 20px 10px 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
}
.ref-modal-box{
    animation: slideUp 0.5s ease forwards;
    margin:auto;
}
.ref-modal-overlay.active .ref-modal-box {
    transform: translateY(0);
}

.ref-modal-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 16px;
    text-decoration: none;
    color: #28a745;
    border: 2px solid #28a745;
    background: transparent;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.ref-modal-btn:hover {
    background: #28a745;
    color: #ffffff;
}

/* end ads css */