.ios.popup-dark-screen.popup-ios {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.ios.popup-wrapper {
    width: 330px;
    height: 600px;
    position: relative;
    box-shadow: 0 0 15px 15px rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgb(72, 70, 70);
    z-index: 1003;
}

.ios.popup-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1004;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ios.popup-banner {
    position: absolute;
    bottom: 6%;
    width: 100%;
    height: 30%;
    z-index: 1006;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 375px;
    max-height: 215px;
}

.ios.close-button-wrapper {
    width: 65px;
    height: 65px;
    position: absolute;
    cursor: pointer;
    top: 0;
    right: 0;
    z-index: 1005;
}

.ios.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    cursor: pointer;
    font-size: 25px;
    z-index: 1010;
}

.ios.offers {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    width: 100%;
    margin-top: 10%;
    height: 60%;
    z-index: 1005;
}

.ios.offers.no-banner {
    height: 90%;
}

.ios.popup-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    height: 100%;
    margin: 0 5%;
    min-width: 90%;
    z-index: 1005;
}

.ios.brand-image {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 1006;
}


.ios.offer-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    z-index: 1007;
}

.ios.offer-details>* {
    margin: 0 auto
}

.ios.offer-cta {
    background-color: #ECAE3B;
    border-color: #fff;
    padding: 12px 20px;
    font-size: 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    z-index: 1008;
}

.ios.ios-page-num-indication-wrapper {
    position: absolute;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    bottom: 3px;
    gap: 12px;
    z-index: 1010;
}

.ios.ios-page-num-indication {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ios.ios-page-num-indication.selected {
    background: white;
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ios.hide {
    display: none !important;
}

.ios.popup-dark-screen.ios.not-visible {
    visibility: hidden;
}

.ios.popup-dark-screen.hide {
    display: none;
}

.ios.terms-and-conditions {
    position: absolute;
    bottom: 2%;
    z-index: 1007;
}

.ios.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: none;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 1010;
    pointer-events: none;
}

.ios.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.ios.carousel-btn.left {
    margin-left: 10px;
}

.ios.carousel-btn.right {
    margin-right: 10px;
}

.carousel-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 400px) {
    .ios.close-btn {
        top: 0px;
    }

    .ios.popup-wrapper {
        width: 275px;
        height: 500px;
    }
}