@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

.radial-container {
    position: fixed;
    width: 670px;
    height: 675px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0.27;
}

.radial-bottom {
    position: absolute;
    background: radial-gradient(78.45% 79.04% at 53.02% 51.6%, #FFF 0%, rgba(255, 255, 255, 0.87) 7%, rgba(255, 255, 255, 0.64) 22%, rgba(255, 255, 255, 0.45) 36%, rgba(255, 255, 255, 0.29) 50%, rgba(255, 255, 255, 0.16) 64%, rgba(255, 255, 255, 0.07) 77%, rgba(255, 255, 255, 0.02) 89%, rgba(255, 255, 255, 0.00) 100%);
    background-blend-mode: overlay;
    mix-blend-mode: overlay;
    border-radius: 50%;
}

.radial-bottom {
    width: 329px;
    height: 331px;
    top: 250px;
    left: 341px;
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo-composite {
    position: relative;
    width: 800px;
    max-width: 90vw;
}

.logo-base {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}



.countdown-container {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    z-index: 10;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.digit-pair {
    display: flex;
    gap: 15px;
}

.digit-box {
    width: 112px;
    height: 112px;
    position: relative;
}

.digit-box::before {
    content: "";
    position: absolute;
    inset: 2px;
    background-image: url("../assets/icons/digit-frame.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 15;
    pointer-events: none;
    opacity: 0.9;
    -webkit-mask-image: linear-gradient(to bottom,
            black 0%,
            black calc(50% - 4px),
            transparent calc(50% - 4px),
            transparent calc(50% + 4px),
            black calc(50% + 4px),
            black 100%);
    mask-image: linear-gradient(to bottom,
            black 0%,
            black calc(50% - 4px),
            transparent calc(50% - 4px),
            transparent calc(50% + 4px),
            black calc(50% + 4px),
            black 100%);
}

.digit-half {
    position: absolute;
    width: 100%;
    height: calc(50% - 4px);
    overflow: hidden;
    left: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.digit-half.top {
    top: 0;
    border-radius: 12px 12px 0 0;
    background: var(--white);
}

.digit-half.bottom {
    bottom: 0;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(0deg, #131F2D -48.23%, #FFF 51.42%);
}

.digit-half span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 85px;
    font-style: normal;
    font-weight: 700;
    line-height: 112px;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.digit-half.top span {
    top: 0;
}

.digit-half.bottom span {
    bottom: -1px;
}

.digit-box::after {
    display: none;
}

.unit-label {
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 25.84px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.number-pulse {
    animation: numberPulse 0.5s ease-out;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        border-color: var(--orange);
    }

    100% {
        transform: scale(1);
    }
}

/* RESPONSIVE DESIGN */

/* Tablets (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .coming-soon-content {
        padding: 40px 20px;
        justify-content: center;
        min-height: 100vh;
    }

    .logo-composite {
        width: 100%;
        max-width: 700px;
    }

    .countdown-container {
        gap: 30px;
        margin-top: 40px;
    }

    .digit-box {
        width: 100px;
        height: 100px;
    }

    .digit-half span {
        font-size: 76px;
        line-height: 100px;
    }

    .unit-label {
        font-size: 22px;
    }

    .radial-container {
        width: 500px;
        height: 500px;
        opacity: 0.15;
    }
}

/* Mobile Devices (max-width: 768px) */
@media screen and (max-width: 768px) {
    .coming-soon-content {
        min-height: 100vh;
        padding: 40px 20px;
    }

    .logo-composite {
        max-width: 90vw;
    }

    .countdown-container {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .digit-box {
        width: 75px;
        height: 80px;
    }

    .digit-half span {
        font-size: 58px;
        line-height: 80px;
    }

    .digit-half {
        height: calc(50% - 3px);
    }

    .digit-half.top {
        border-radius: 8px 8px 0 0;
    }

    .digit-half.bottom {
        border-radius: 0 0 8px 8px;
    }

    .digit-box::before {
        inset: 2px;
        -webkit-mask-image: linear-gradient(to bottom,
                black 0%,
                black calc(50% - 3px),
                transparent calc(50% - 3px),
                transparent calc(50% + 3px),
                black calc(50% + 3px),
                black 100%);
        mask-image: linear-gradient(to bottom,
                black 0%,
                black calc(50% - 3px),
                transparent calc(50% - 3px),
                transparent calc(50% + 3px),
                black calc(50% + 3px),
                black 100%);
    }

    .unit-label {
        font-size: 16px;
    }

    /* Form & Input adjustments */
    input, 
    button, 
    .form-input, 
    .login-submit {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    .coming-soon-content {
        padding: 20px 15px;
    }

    .countdown-container {
        gap: 15px;
    }

    .timer-unit {
        gap: 10px;
    }

    .digit-pair {
        gap: 8px;
    }

    .digit-box {
        width: 55px;
        height: 60px;
    }

    .digit-half span {
        font-size: 42px;
        line-height: 60px;
    }

    .digit-half {
        height: calc(50% - 2px);
    }

    .digit-box::before {
        inset: 1px;
        -webkit-mask-image: linear-gradient(to bottom,
                black 0%,
                black calc(50% - 2px),
                transparent calc(50% - 2px),
                transparent calc(50% + 2px),
                black calc(50% + 2px),
                black 100%);
        mask-image: linear-gradient(to bottom,
                black 0%,
                black calc(50% - 2px),
                transparent calc(50% - 2px),
                transparent calc(50% + 2px),
                black calc(50% + 2px),
                black 100%);
    }

    .unit-label {
        font-size: 13px;
        font-weight: 600;
    }

    .radial-container {
        display: none;
    }
}