:root {
    --space-start: #1B2735;
    --space-end: #090A0F;
    --accent-blue: #6495ED;
    --accent-magenta: #FF00FF;
    --soothing-teal: #48D1CC;
    --soothing-purple: #9370DB;
    --primary-text: #F5F5F5;
    --secondary-text: #8A8A8A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', cursive;
    color: var(--primary-text);
    overflow: hidden;
    /* Prevent scrollbars from canvas */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom right, var(--space-start), var(--space-end));
}

#space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 90%;
    max-width: 600px;
    padding: 2rem;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--soothing-teal), var(--soothing-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(72, 209, 204, 0.3));
}

.tagline {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

.waitlist-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.waitlist-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.waitlist-card p {
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.input-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 480px) {
    .input-group {
        flex-direction: row;
    }
}

input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: var(--primary-text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus {
    border-color: var(--accent-blue);
}

button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(45deg, var(--accent-blue), var(--soothing-purple));
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 149, 237, 0.4);
}

button:active {
    transform: translateY(0);
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2em;
}

footer {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
        width: 100%;
    }

    .logo {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .waitlist-card {
        padding: 2rem 1.5rem;
    }

    .waitlist-card h2 {
        font-size: 1.5rem;
    }

    input[type="email"] {
        padding: 12px 15px;
        width: 100%;
    }

    button {
        padding: 12px 20px;
        width: 100%;
        margin-top: 10px;
        /* Space between input and button if they stack */
    }

    /* Ensure stacking happens on very small screens if not covered by flex-direction change */
    .input-group {
        flex-direction: column;
    }
}