

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

:root {
    --bg-color: #f3f4f6; /* Light gray */
    --text-color: #1f2937; /* Dark blue-gray */
    --accent-color-primary: #3b82f6; /* Bright blue */
    --accent-color-secondary: #10b981; /* Vibrant green */
    --container-bg: #ffffff; /* White */
    --font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: linear-gradient(to bottom right, #e5e7eb, #f9fafb); /* Lighter gradient */
}

.container {
    background-color: var(--container-bg);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    width: 90%;
    border: 1px solid #e5e7eb;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    background: -webkit-linear-gradient(45deg, var(--accent-color-primary), var(--accent-color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    letter-spacing: 1px;
}


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

.ball {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    animation: pop-in 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    transform: scale(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ball:before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2) 60%, transparent 100%);
    transform: rotate(30deg);
}

.ball:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), inset 0 -2px 5px rgba(0, 0, 0, 0.1);
}

@keyframes pop-in {
    to {
        transform: scale(1);
    }
}

#draw {
    background: linear-gradient(45deg, var(--accent-color-primary), var(--accent-color-secondary));
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#draw:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}


/* Responsive styles */
@media (max-width: 480px) {
    .ball {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}
