/* =========================
   UNDER CONSTRUCTION MODAL
========================= */

.construction-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 9999;
}

.construction-modal.active {
    display: flex;
}


/* Overlay */

.construction-overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 10, 35, 0.65);

    backdrop-filter: blur(5px);
}


/* Modal Box */

.construction-box {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 480px;

    padding: 40px 35px;

    background: #ffffff;

    border-radius: 22px;

    text-align: center;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);

    animation: constructionPopup .25s ease;
}


/* Close */

.construction-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 36px;
    height: 36px;

    border: none;
    border-radius: 50%;

    background: #f5f3ff;

    color: #7c3aed;

    font-size: 17px;

    cursor: pointer;

    transition: .2s;
}

.construction-close:hover {
    background: #7c3aed;
    color: #ffffff;
}


/* Icon */

.construction-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0eaff;

    color: #7c3aed;

    font-size: 26px;
}


/* Heading */

.construction-box h2 {
    margin-bottom: 12px;

    color: #222;

    font-size: 28px;
    font-weight: 700;
}


/* Description */

.construction-box > p {
    margin: 0 auto;

    max-width: 390px;

    color: #666;

    font-size: 14px;
    line-height: 24px;
}


/* Countdown */

.construction-countdown {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;

    margin: 28px 0;
}

.construction-countdown div {
    padding: 14px 5px;

    background: #faf7ff;

    border: 1px solid #eee7ff;

    border-radius: 12px;
}

.construction-countdown strong {
    display: block;

    color: #7c3aed;

    font-size: 24px;
    font-weight: 700;
}

.construction-countdown span {
    display: block;

    margin-top: 3px;

    color: #777;

    font-size: 10px;
    text-transform: uppercase;
}


/* Note */

.construction-note {
    margin-top: 5px !important;
    margin-bottom: 16px !important;

    font-size: 13px !important;
}


/* Register */

.construction-register {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 14px 20px;

    background: #7c3aed;
    color: #ffffff;

    border-radius: 10px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: .2s;
}

.construction-register:hover {
    background: #6d28d9;

    transform: translateY(-1px);
}


/* Animation */

@keyframes constructionPopup {

    from {
        opacity: 0;
        transform: translateY(15px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .construction-box {
        padding: 35px 22px;
        border-radius: 18px;
    }

    .construction-box h2 {
        font-size: 24px;
    }

    .construction-countdown {
        gap: 6px;
    }

    .construction-countdown div {
        padding: 11px 3px;
    }

    .construction-countdown strong {
        font-size: 20px;
    }

    .construction-countdown span {
        font-size: 9px;
    }

}
