﻿
@import url("/Fonts/SofiaSansCondensed.css");
@import url("/Fonts/Poppin.css");


.popup-overlay-download {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

    .popup-overlay-download.active {
        opacity: 1;
        visibility: visible;
    }

.popup-content {
    position: relative;
    background: transparent;
    border-radius: 8px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 800px;
    margin: 0 20px;
}

.popup-overlay-download.active .popup-content {
    transform: scale(1);
}

/* CLOSE BUTTON */
.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
}

/* ---------------------------------------------
       POPUP #1: Download Section
    --------------------------------------------- */
.download-section {
    background-color: rgba(53, 185, 224, 1);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    border-radius: 6px;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.download-section h2 {
    font-family: 'Sofia Sans Condensed', sans-serif;
    font-weight: 400;
    font-size: 35px;
    color: white;
    margin: 5px;
}

.download-section p {
    color: rgb(255 255 255 / 92%);
    max-width: 900px;
    margin: 10px auto 30px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.google-play-btn,
.apple-play-btn {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    padding: 7px;
    padding-right:30px;
    text-decoration: none;
    transition: transform 0.3s ease;
    min-width: 220px;
    justify-content: center;

}

    .google-play-btn:active,
    .apple-play-btn:active {
        transform: scale(0.97);
    }

.play-icon,
.appstore-icon {
    width: 30px;
    height: 38px;
    margin-right: 8px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.get-it-on {
    width: 65px;
    margin-bottom: 3px;
}

.download-on {
    width: 125px;
}

.google-play-text,
.apple-play-text {
    height: 27px;
    margin-top: 5px;
}
    .google-play-text{
        width:130px
    }
.apple-play-text {
    width: 125px
}
    .brand-icon {
        position: absolute;
        bottom: 20px;
        right: 30px;
        width: 80px;
        height: auto;
    }

/* ---------------------------------------------
       POPUP #2: Coming Soon Section
    --------------------------------------------- */
.coming-soon-section {
    background-color: rgba(53, 185, 224, 1);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    border-radius: 6px;
    color: #fff;
}

    .coming-soon-section h2 {
        font-family: 'Sofia Sans Condensed', sans-serif;
        font-weight: 400;
        font-size: 35px;
        margin-bottom: 10px;
    }

    .coming-soon-section p {
        font-size: 16px;
        max-width: 600px;
        margin: 0 auto 40px;
        line-height: 1.3;
    }

/* Countdown boxes */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.countdown-box {
    background-color: #fff;
    color: rgba(53, 185, 224, 1);
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .countdown-box .count-num {
        font-family: 'Sofia Sans Condensed';
        font-weight: 400;
        font-size: 45px;
        line-height: 100%;
        text-align: center;
    }

    .countdown-box .count-label {
        font-family: 'Sofia Sans Condensed';
        font-weight: 400;
        font-size: 20px;
        line-height: 100%;
        text-align: center;
    }

/* Watermark R icon in second popup, if needed */
.coming-soon-watermark {
    position: absolute;
    right: 30px;
    bottom: 20px;
    width: 80px;
}

/* ---------------------------------------------
       RESPONSIVE
    --------------------------------------------- */
@media (max-width: 768px) {
    .download-section h2 {
        font-size: 2rem;
    }

    .download-section p {
        font-size: 1rem;
        max-width: 90%;
    }

    .google-play-btn,
    .apple-play-btn {
        min-width: unset;
        width: auto;
        padding: 7px 10px;
    }

    .buttons-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: center;
        padding: 0 10px;
    }

    .brand-icon {
        display: none;
    }

    /* Coming soon heading */
    .coming-soon-section h2 {
        font-size: 1.8rem;
    }

    .coming-soon-section p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .countdown-box {
        width: 80px;
        height: 80px;
    }

        .countdown-box .count-num {
            font-size: 24px;
        }

        .countdown-box .count-label {
            font-size: 12px;
        }

    .coming-soon-watermark {
        display: none;
    }
}

@media (max-width: 480px) {
    .download-section {
        padding: 40px 10px;
    }

        .download-section h2 {
            font-size: 1.6rem;
        }

        .download-section p {
            font-size: 0.9rem;
            line-height: 1.2;
            margin: 8px auto 20px;
        }

    .google-play-btn,
    .apple-play-btn {
        padding: 6px 8px;
    }

    .play-icon,
    .appstore-icon {
        width: 30px;
        height: 37px;
    }

    .get-it-on {
        width: 55px;
    }

    .download-on {
        width: 110px;
    }

    .google-play-text,
    .apple-play-text {
        height: 25px;
        margin-top: 4px;
    }

    /* Further shrink for "Coming Soon" popup */
    .coming-soon-section {
        padding: 40px 10px;
    }

        .coming-soon-section h2 {
            font-size: 1.4rem;
        }

        .coming-soon-section p {
            font-size: 0.85rem;
        }

    .countdown-container {
        gap: 10px;
    }

    .countdown-box {
        width: 60px;
        height: 60px;
    }

        .countdown-box .count-num {
            font-size: 20px;
        }

        .countdown-box .count-label {
            font-size: 10px;
        }
}
