.prelaunch-page {
    background: #0f172a;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
}

.prelaunch-video {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: fixed;
    width: 100%;
    z-index: 0;
}

.prelaunch-scrim {
    background:
        linear-gradient(90deg, rgba(8, 20, 36, 0.82), rgba(8, 20, 36, 0.46)),
        rgba(0, 0, 0, 0.18);
    inset: 0;
    position: fixed;
    z-index: 1;
}

.prelaunch-shell {
    align-items: center;
    display: flex;
    justify-content: flex-start;
    min-height: 100vh;
    padding: clamp(1.25rem, 4vw, 4rem);
    position: relative;
    z-index: 2;
}

.prelaunch-panel {
    max-width: 520px;
    width: min(100%, 520px);
}

.prelaunch-logo {
    display: block;
    height: auto;
    margin-bottom: 1.75rem;
    max-width: 210px;
    width: 48vw;
}

.prelaunch-panel h1 {
    color: #fff;
    font-size: clamp(2.15rem, 6vw, 4.9rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 1rem;
    text-wrap: balance;
}

.prelaunch-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.45;
    margin: 0 0 1.5rem;
    max-width: 35rem;
}

.prelaunch-form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    color: #101828;
    display: grid;
    gap: 0.7rem;
    max-width: 420px;
    padding: 1rem;
}

.prelaunch-form label {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 700;
}

.prelaunch-form input[type="email"],
.prelaunch-form input[type="password"] {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    font: inherit;
    padding: 0.8rem 0.85rem;
    width: 100%;
}

.prelaunch-form input[type="email"]:focus,
.prelaunch-form input[type="password"]:focus {
    border-color: var(--primary-blue, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.16);
    outline: none;
}

.prelaunch-remember {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    margin: 0.15rem 0 0.25rem;
}

.prelaunch-remember input {
    height: 1rem;
    width: 1rem;
}

.prelaunch-form button {
    background: var(--primary-blue, #007bff);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 46px;
    padding: 0.85rem 1rem;
    transition: background-color 0.2s, transform 0.2s;
}

.prelaunch-form button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.prelaunch-messages {
    margin-bottom: 1rem;
    max-width: 420px;
}

.prelaunch-message {
    background: rgba(255, 255, 255, 0.92);
    border-left: 4px solid #d92d20;
    border-radius: 8px;
    color: #7a271a;
    margin: 0 0 0.5rem;
    padding: 0.75rem 0.9rem;
}

@media (max-width: 640px) {
    .prelaunch-page {
        overflow-y: auto;
    }

    .prelaunch-shell {
        align-items: flex-end;
        padding-bottom: 2rem;
    }

    .prelaunch-panel h1 {
        font-size: 2.35rem;
    }

    .prelaunch-form {
        max-width: none;
    }
}
