.offers-popup-new {
    visibility: hidden;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    width: 60vw;
    max-width: 600px;
    min-width: 300px;
    pointer-events: none;
}

.offers-popup-new.show {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.offers-popup-new-content {
    background: #ffffff;
    padding: 2.5vw;
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.close-popup-new {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    line-height: 0.8;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-popup-new:hover {
    opacity: 0.7;
}

.popup-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 1.2vw 2.5vw;
    border-radius: 35px;
    text-decoration: none;
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: 2px solid transparent;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    color: #ffffff;
    text-decoration: none;
}

.popup-btn:visited {
    color: #ffffff;
}

/* Backdrop overlay */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9998;
}

.modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* Adjust typography for different sizes */
.offers-popup-new h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 1.5vw;
}

.offers-popup-new p {
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 2vw;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .offers-popup-new {
        width: 90%;
        max-width: 90%;
        min-width: unset;
    }
    
    .offers-popup-new-content {
        padding: 25px;
    }
    
    .offers-popup-new h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .offers-popup-new p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .popup-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Large screen adjustments */
@media (min-width: 1600px) {
    .offers-popup-new {
        max-width: 800px;
    }
}