/* Global Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Updated background color */
    background: rgb(241, 247, 255);
    /* Updated text color for readability */
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* Main Container */
.container {
    max-width: 700px;
    width: 100%;
    /* Updated for light background */
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* backdrop-filter is no longer needed */
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Countdown Timer */
#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

#countdown div {
    /* Updated background for light theme */
    background: #f4f4f9;
    padding: 15px;
    border-radius: 8px;
    min-width: 90px;
}

#countdown span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

#countdown p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Subscription Form */
.subscribe-form {
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-form p {
    font-size: 1rem;
    margin-bottom: 15px;
}

#notify-form {
    display: flex;
    gap: 10px;
}

#email-input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ddd; /* Added a light border */
    border-radius: 5px;
    font-size: 1rem;
}

#notify-form button {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    /* Updated button color to stand out */
    background-color: #4a00e0;
    color: #ffffff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#notify-form button:hover {
    background-color: #3a00b0;
}

#form-message {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    /* Updated success color for readability */
    color: #28a745;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }

    #countdown {
        flex-wrap: wrap; /* Allow wrapping on small screens */
        gap: 10px;
    }

    #countdown div {
        min-width: 70px;
        padding: 10px;
    }

    #countdown span {
        font-size: 2rem;
    }
    
    #notify-form {
        flex-direction: column;
    }
}