@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bebas+Neue&family=League+Gothic&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

.popup-overlay {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    padding: 0 5px;
  
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Додайте це до існуючого CSS */
.popup-overlay {
    display: none;
    /* Приховуємо за замовчуванням */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Клас для відображення */
.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 132, 255, 0.2) 100%);
    backdrop-filter: blur(7px);
    max-width: 400px;
    width: 100%;
    padding: 40px 20px 30px 20px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    color: #000;
    max-width: 350px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #000;
    font-size: 30px;
    font-weight: 300;
    cursor: pointer;
}

.popup-title {
    font-size: 28px;
    font-weight: bold;
    color: #01AB2A;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

.popup-subtitle {
    font-size: 14px;
}

.product-name {
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 10px;
    line-height: 128%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
    color: #000;
}

.price-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price-new {
    background: linear-gradient(134deg, #0ec63a 0%, #08a32d 100%);
    border: 1px solid #3fff00;
    color: #fff;
    padding: 0px 30px;
    width: 128px;
    max-height: 53px;
    border-radius: 8px;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Monrape', sans-serif;
}

.price-old {
    background: linear-gradient(178deg, #fff 0%, #999 100%);
    border: 1px solid #fff;
    color: #000;
    padding: 0px 20px;
    width: 128px;
    font-weight: 700;
    border-radius: 8px;
    max-height: 53px;
    pointer-events: none;
    border: 2px solid #ffffff70;
    font-size: 32px;
    position: relative;
    font-family: 'Monrape', sans-serif;
}

.price-old::after{
    content: "";
    display: block;
    position: absolute;
    top: 25px;
    left: 13px;
    width: 70%;
    height: 3px;
    background-color: #E93519;
}

.signup-form input {
    width: 100%;
    max-width: 265px;
    padding: 10px;
    background-color: #fff;
    color: #000;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
}

.join-btn {
    width: 100%;
    max-width: 265px;
    height: 42px;
    padding: 10px;
    color: white;
    font-weight: 400;
    background: linear-gradient(134deg, #0ec63a 0%, #08a32d 100%);
    border: 1px solid #3fff00;
    font-family: "Montserrat", sans-serif;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    
}

.footer-info {
    font-size: 12px;
    margin: 10px 0 10px 0;
    line-height: 1.4;
}

.timer-title {
    font-size: 14px;
    padding-bottom: 10px;
    font-weight: 700;
}

.timer-display {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.timer-block span {
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.19);
    background: #fff;
    border: 1px solid #01ab2a;
    color: black;
    font-weight: 400;
    border-radius: 150px;
    width: 51px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Bebas Neue", sans-serif;
    font-size: 24px;
}

.timer-block label {
    font-size: 10px;
    display: block;
    margin-top: 5px;
}

.popup-privacy {
    font-size: 11px;
    margin-top: 10px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media(min-width: 1150px){
    .popup-content{
        transform: scale(1.2);
    }
}
@media(min-height: 1000px){
    .popup-content{
        transform: scale(1.5);
    }
}