/* --- Color Palette Variables --- */
:root {
    --color-dark: #1a0f30; /* Deep Violet/Charcoal for background */
    --color-light: #ffffff;
    --color-accent-1: #ff0099; /* Hot Pink */
    --color-accent-2: #33ccff; /* Electric Blue */
    --color-text-primary: #e6e6e6;
    --color-text-secondary: #999999;
}

/* --- Base & Layout --- */
body {
    background-color: var(--color-dark);
    color: var(--color-text-primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden; /* Hide the parts of the blobs that go off-screen */
    text-align: center;
}

.container {
    z-index: 10; /* Keep content above the blobs */
    max-width: 600px;
    padding: 20px;
    width: 90%;
}

/* --- Typography --- */
.logo h1 {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    /* Apply the gradient to the logo text */
    background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.headline {
    font-size: 3rem;
    font-weight: 600;
    margin: 10px 0 20px 0;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-secondary);
}

.description {
    margin: 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.highlight {
    color: var(--color-accent-2);
}

/* --- Countdown --- */
.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    /* Gradient color for the numbers */
    background: linear-gradient(90deg, var(--color-accent-1), var(--color-accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-item label {
    font-size: 0.75rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-top: 5px;
}

/* --- Form --- */
.signup-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.signup-form input[type="email"] {
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-light);
    border-radius: 50px;
    flex-grow: 1;
    max-width: 300px;
    font-size: 1rem;
    transition: all 0.3s;
}

.signup-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-accent-2);
    background-color: rgba(255, 255, 255, 0.1);
}

.submit-button {
    padding: 15px 30px;
    border: none;
    font-weight: 600;
    color: var(--color-light);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    /* The core colorful element: a gradient button */
    background: linear-gradient(90deg, var(--color-accent-1) 0%, var(--color-accent-2) 100%);
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 204, 255, 0.4);
}

/* --- Social Links --- */
.social-links {
    margin-top: 50px;
    font-size: 0.9rem;
}

.social-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-accent-1);
}

/* --- The Colorful Blob Animation (Key to the 'New Style') --- */

@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.05) rotate(5deg); opacity: 0.8; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%; /* Start with a circle */
    filter: blur(80px); /* Creates the soft, glow effect */
    opacity: 0.6;
    animation: pulse 10s infinite alternate;
    z-index: 1; /* Place behind the content */
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: var(--color-accent-1); /* Hot Pink */
    /* Use clip-path to make the blob an organic, custom shape */
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.blob-2 {
    bottom: -100px;
    right: -100px;
    background: var(--color-accent-2); /* Electric Blue */
    width: 500px;
    height: 500px;
    animation: pulse 12s infinite alternate reverse; /* Slower and reversed animation */
    /* A slightly different blob shape */
    clip-path: polygon(50% 0%, 80% 10%, 100% 30%, 100% 70%, 80% 90%, 50% 100%, 20% 90%, 0% 70%, 0% 30%, 20% 10%);
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    .headline {
        font-size: 2rem;
    }
    .countdown-item span {
        font-size: 2rem;
    }
    .signup-form {
        flex-direction: column;
        align-items: center;
    }
    .signup-form input[type="email"],
    .submit-button {
        width: 100%;
        max-width: 350px;
    }
}
