body {
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at center, #1a0033, #000);
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

h1 {
    font-size: 2.5em;
    text-shadow: 0 0 20px #a64dff;
}

.draw-info {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.message {
    margin: 10px 0;
    color: #ffcc00;
}

.number-form {
    margin-bottom: 20px;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 5px;
    margin: 15px 0;
}

/* ===== SELECTABLE BALLS ===== */
.select-ball {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #fff, #ccccff);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1em;
    color: #000;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.select-ball:hover {
    box-shadow: 0 0 15px #a64dff, inset 0 0 5px #fff;
}

.select-ball input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.select-ball.selected {
    background: radial-gradient(circle, #ffeb99, #ffcc00);
    box-shadow: 0 0 20px #ffcc00, inset 0 0 10px #fff;
    transform: scale(1.05);
}

/* ===== DISPLAY BALLS (POPULAR NUMBERS) ===== */
.display-ball {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #fff, #ccccff);
    color: #000;
    font-size: 1.4em;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px #a64dff, inset 0 0 10px #fff;
}

@media (max-width: 600px) {
    .display-ball {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
}

.submit-btn {
    padding: 10px 20px;
    font-size: 1.1em;
    background: linear-gradient(45deg, #9933ff, #6600cc);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px #9933ff;
    transition: transform 0.2s;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none; /* remove hover animations if any */
}

.submit-btn:hover {
    transform: scale(1.05);
}

.top-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
