.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    background: radial-gradient(circle, var(--accent-primary), transparent);
    border-radius: 50%;
    transition: all .4s ease;
}

.star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 50%;
    filter: blur(1px);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 0px #1E90FF;
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 25px rgba(30, 144, 255, 0.9);
    }
}


.waitlist-wrapper {
    padding: 80px 2rem 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease-out forwards;
    overflow: hidden;
}

.waitlist-date {
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 4px;
    padding: 10px 20px;
    color: var(--accent-primary);
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
    gap: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.waitlist-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.waitList-header-text {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    text-align: center;
    max-width: 900px;
    margin-top: 2.5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist-sub-header-text {
    text-align: center;
    margin-top: .5rem;
    color: var(--text-secondary);
    font-size: 20px;
    max-width: 800px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.15);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 0 8px transparent;
    }
}

.waitlist-input {
    width: 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    position: relative;
}

.waitlist-input-act {
    min-width: 300px;
    border-width: 2px;
}

.waitlist-input-act,
#join-waitlist-btn,
#waitlist-countdown {
    height: 45px;
}

#waitlist-input-act-wrapper {
    position: relative;
}

#waitlist-input-act-wrapper::before {
    content: attr(msg);
    position: absolute;
    font-size: 12px;
    bottom: -18px;
    left: 4px;
}

#waitlist-countdown::before {
    content: 'Waitlist joined!';
    position: absolute;
    font-size: 12px;
    bottom: -18px;
    left: 4px;
    color: var(--success-color);
}

#waitlist-input-act-wrapper.warn::before {
    color: var(--error-color);
}


.current-waitlist-count {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 15px;
}

#current-waitlist-num {
    font-weight: bold;
}

.waitlist-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.watilist-product-box {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 33%;
    max-width: 300px;
}

.watilist-product-box h2 {
    color: var(--text-primary);
    font-size: 18px;
}

.waitlist-product-details {
    margin-top: 5rem;
    display: flex;
    gap: 2rem;
}

.wait-sub-text {
    width: 100%;
    color: var(--text-secondary);
    text-align: center;
}

#waitlist-countdown {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    color: var(--text-secondary);
    font-weight: 600;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    padding: 0 10px;
    transition: all .4s ease;
    min-width: 300px;
}

#waitlist-countdown.active {
    position: relative;
    opacity: 1;
    pointer-events: all;
}

#waitlist-email-input.active {
    display: none;
}

@media (max-width: 800px) {
    .waitlist-product-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .watilist-product-box {
        max-width: 400px;
        width: 90%;
    }
}

@media (max-width: 550px)  {
    .waitlist-product-details {
        margin-top: 3rem;
    }
    .waitlist-input {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .waitlist-input-act, #join-waitlist-btn, #waitlist-countdown, #waitlist-input-act-wrapper {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 400px) {
    .waitlist-sub-header-text {
        font-size: 17px;
    }
}