/* Countdown for JFN Launch. Unified styling with About Us page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    color: #f0f0f0;
    background: #0f0f0f;
}

.container {
    min-height: 100vh;
    background-image: url('../Multi_Use_Images/Launch_Page_Background.png');
    background-position: center;
    background-size: cover;
    padding: 2rem 8%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.navbar {
    margin-bottom: 2rem;
}

.navbar-brand img {
    width: 120px;
    height: auto;
    display: block;
}

.content {
    color: #fff;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.15); /*You can adjust the transparenty here of the main backplain*/
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    margin-top: 2rem;
}

.content h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 600;
}

.content h1 span {
    color: #E62F1E;
}

.content p {
    margin-bottom: 1rem;
}

.content button {
    background: transparent;
    border: 2px solid #fff;
    outline: none;
    padding: 12px 25px;
    color: #fff;
    display: flex;
    align-items: center;
    margin-top: 30px;
    cursor: pointer;
}

.content button img {
    width: 15px;
    margin-left: 10px;
}

.Launch-time {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;

}

.Launch-time div {
    flex-basis: 150px;
    text-align: left;
    margin-bottom: -4px;
}

.Launch-time div p {
    font-size: 60px;
    /* font-size: clamp(2rem, 10vw, 3.75rem); /* 32px to 60px scaling */
    margin-bottom: -6px;
}

/* Mobile styles: stack countdown vertically */
@media (max-width: 600px) {
    .Launch-time {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .Launch-time div {
        flex-basis: calc(50% - 0.5rem);
        margin-bottom: 0.5rem;
    }

    .Launch-time div p {
        font-size: 2.2rem;
        margin-bottom: -2px;
    }

    .content {
        padding: 1rem;
    }

    .content h1 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .about-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@keyframes colorPulse { /*This section list the keyframes for the fading "launching" section*/
    0% {
        color: #E62F1E;
    }
    50% {
        color: #ffffff;
    }
    100% {
        color: #E62F1E;
    }
}

.color-fade {
    animation: colorPulse 5s ease-in-out infinite; /*You can define the duration for the "launching" color fade here*/
}

.about-button { /*These are additional settings for changing the buttons color during however and transistion period*/
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2rem;
    padding: 0.75rem 1.25rem;
    background-color: #222;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 999px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.about-button:hover { /*This is the code that changes the about button's color when you however your mouse*/
    border-color: #E62F1E;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
    color: white;
}

.about-button img {
    height: 16px;
    width: auto;
    filter: invert(1);
}
html {
    overflow-y: scroll; /* Always show scrollbar to avoid layout shift */
}
