:root {
    --primary-blue: #00c2ff;
    --dark-blue: #090979;
    --deep-blue: #020024;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--deep-blue), var(--dark-blue), var(--primary-blue));
    color: white;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000814;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader span {
    width: 50px;
    height: 50px;
    border: 5px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    min-height: 100vh;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.slogan {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    margin-bottom: 2rem;
    color: #d3e8ff;
}

#mc_embed_signup {
    width: 100%;
    max-width: 500px;
}

.form-flex {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

input[type='email'] {
    flex: 1 1 280px;
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
}

input[type='email']::placeholder {
    color: #ccc;
}

.button {
    background-color: var(--primary-blue);
    border: none;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    background-color: #00aee0;
    transform: translateY(-2px);
}

.button i {
    margin-left: 8px;
}

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@media screen and (max-width: 600px) {
    .form-flex {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}