
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&family=Montserrat:wght@500&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-48 0c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-48 0c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7z" fill="%239C92AC" fill-opacity="0.1"/%3E%3C/svg%3E');
}

.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

h1 {
    font-family: 'Roboto', sans-serif;
    color: #4a47a3;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lotto-numbers {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 -3px 3px rgba(0,0,0,0.2), inset 0 3px 3px rgba(255,255,255,0.4);
    text-shadow: 0 2px 2px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.ball-yellow {
    background: radial-gradient(circle at 20% 20%, #fde488, #fbc400);
}

.ball-blue {
    background: radial-gradient(circle at 20% 20%, #a4daff, #69c8f2);
}

.ball-red {
    background: radial-gradient(circle at 20% 20%, #ffabab, #ff7272);
}

.ball-gray {
    background: radial-gradient(circle at 20% 20%, #ccc, #aaa);
    color: #333;
}

.ball-green {
    background: radial-gradient(circle at 20% 20%, #d4e89a, #b0d840);
}


#generate-btn {
    background-color: #4a47a3;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#generate-btn:hover {
    background-color: #3b3a8a;
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.history {
    margin-top: 2rem;
}

h2 {
    color: #4a47a3;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

#history-list {
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow-y: auto;
}

#history-list li {
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}
