body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #f0f4f8, #add8e6); /* Light gradient background */
    color: #333;
}

.container {
    text-align: center;
    padding: 50px 20px; /* Added side padding */
}

header {
    margin-bottom: 40px;
    animation: fadeIn 1s; /* Animation for header fade in */
}

h1 {
    font-size: 3em;
    margin: 0;
    color: #5b0e81; /* Dark purple for the main heading */
    animation: slideIn 1s; /* Animation for h1 */
}

h2 {
    margin-top: 20px;
    color: #5b0e81; /* Updated color for h2 */
    animation: slideIn 1s; /* Animation for h2 */
}

.notification, .countdown {
    background: rgba(255, 255, 255, 0.9); /* Light background for readability */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    margin-bottom: 40px; /* Added margin for spacing */
    transition: transform 0.3s; /* Animation effect on hover */
}

.notification:hover, .countdown:hover {
    transform: scale(1.02); /* Slight scale effect on hover */
}

form {
    margin-top: 20px;
}

input[type="email"] {
    width: calc(100% - 22px); /* Full width minus padding and borders */
    max-width: 300px; /* Maximum width */
    padding: 10px;
    margin: 0; /* Remove side margins to prevent overflow */
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensure padding and border are included in the width */
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff; /* Button color */
    color: #ffffff;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3; /* Button hover color */
}

#timer {
    font-size: 2em; /* Timer font size */
    padding: 10px;
    color: #000000;
    font-weight: bold; /* Increased visibility */
}

.footer {
    margin-top: 30px;
    font-size: 1em;
}

/* Popover styles */
.popover {
    position: fixed;
    top: 20%; /* Position the popover */
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #5b0e81; /* Dark purple */
    color: white;
    padding: 15px;
    border-radius: 8px;
    display: none; /* Initially hidden */
    z-index: 1000;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}