
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column; /* To stack the containers vertically */
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed to min-height */
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 20px; /* Added padding for spacing on smaller screens */
    box-sizing: border-box;
}

.lotto-container {
    text-align: center;
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 600px; /* Added max-width */
    margin-bottom: 30px; /* Added margin-bottom for spacing */
}

h1, h2 {
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.numbers-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: 600;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    animation: bounceIn 0.5s forwards;
}

/* Color classes for numbers */
.color1 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
.color2 { background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%); }
.color3 { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
.color4 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }
.color5 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }


#generate-btn, .contact-container button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 40px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#generate-btn:hover, .contact-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

@keyframes bounceIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contact Form Styles */
.contact-container {
    text-align: center;
    background-color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box; /* To include padding in the width */
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #667eea;
    outline: none;
}

.contact-container button {
    width: 100%;
}
