@font-face{
    font-family: "Zuume";
    font-weight:800;
    font-style:normal;
    src:
        url("../fonts/zuume_extrabold-webfont.woff2") format("woff2"),
        url("../fonts/zuume_extrabold-webfont.woff") format("woff");
}

.popup-content {
    position: relative;
    width: 540px;
    max-width: 90%;
    height: auto;
    min-height: 660px;
    max-height: 90vh;
    padding: 35px;
    border-radius: 36px;
    background-image: url("../img/popup-black-mobile.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    will-change: transform;
}

.popup-overlay {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 80%);
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
    will-change: opacity;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-overlay.active  .popup-content {
    transform: scale(1);
}

.discount-text {
    max-width: 90%;
    padding-top: 170px;
    margin: 0 auto 10px;
    color: #fff;
    font-family: "Zuume", sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.discount-text  > span  {
    display: inline-block;
    margin-right: 1rem;
}

.countdown {
    display: flex;
    max-width: 210px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 20px;
    gap: 8px;
}

.countdown-item {
    min-width: 87px;
    padding: 7px;
    border-radius: 10px;
    background: #fcb900;
    font-family: "Inter", sans-serif;
}

.countdown-number{
    color: #000;
    font-size: 56px;
    line-height: 1;
}

.countdown-label{
    color: #000;
    font-size: 14px;
    line-height: 17px;
}

.cta-button {
    display: inline-flex;
    justify-content: center;
    width: fit-content;
    min-width: 201px;
    max-width: 100%;
    padding: 14px 10px;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fff;
    color: #000;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: background 0.3s;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px;
}

.cta-button:hover {
    background: #bd171b;
    color: #fff;
}

@media (min-width: 768px) {
    .popup-content {
        width: 908px;
        background-image: url("../img/popup-black-tablet.webp");
    }
    .discount-text {
        width: 908px;
        padding-top: 260px;
    }
    .countdown {
        max-width: unset;
    }
    .cta-button {
        height: 52px;
        padding: 16px 10px;
        font-size: 20px;
    }
}

@media (min-width: 1380px) {
    .popup-content {
        width: 540px;
        min-height: 546px;
        padding: 40px;
        background-image: url("../img/popup-black.webp");
    }
    .discount-text {
        max-width: 340px;
        padding-top: 170px;
    }
}