body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #6dd5ed, #2193b0);
    color: #fff;
    overflow: hidden;
}

.container {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 90%;
    width: 450px;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.lotto-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    min-height: 80px; /* Ensure space even when no numbers are displayed */
    align-items: center;
}

.number-ball {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #ffafbd, #ffc3a0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.number-ball:hover {
    transform: translateY(-5px) scale(1.05);
}

button {
    background: linear-gradient(45deg, #FF6B6B, #FFCD6B);
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    outline: none;
}

button:hover {
    background: linear-gradient(45deg, #FFCD6B, #FF6B6B);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8em;
    }

    .number-ball {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }

    button {
        padding: 12px 25px;
        font-size: 1em;
    }
}