body {
    background: #111;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 0; /* Add padding for better spacing on scroll */
}

.container {
    display: flex;
    flex-direction: column;
    gap: 50px; /* Increased gap */
    width: 90%;
    max-width: 550px; /* Slightly wider */
    align-items: center;
}

.lotto-machine, .contact-form {
    background: #1e1e1e; /* Slightly lighter dark background */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Deeper shadow */
    text-align: center;
    width: 100%;
    border: 1px solid #333;
}

h1, h2 {
    color: #ffde7a; /* Softer gold */
    text-shadow: 0 0 8px #ffde7a;
    margin-top: 0;
    margin-bottom: 25px;
}

.numbers-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    min-height: 100px;
}

.number-ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 15px var(--glow-color, #fff);
    animation: pop-in 0.5s ease-out;
}

#generate-btn, .contact-form button {
    background: linear-gradient(145deg, #ffdd57, #ffc700); /* Gradient button */
    color: #333;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 12px; /* Rounded corners */
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(255, 221, 87, 0.2);
}

#generate-btn:hover, .contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 221, 87, 0.3);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap */
    text-align: left;
}

.contact-form label {
    font-size: 15px;
    font-weight: 600;
    color: #ccc;
}

.contact-form input, .contact-form select, .contact-form textarea {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 10px; /* More rounded */
    padding: 15px;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #ffde7a;
    box-shadow: 0 0 10px rgba(255, 222, 122, 0.2);
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}