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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background-image: linear-gradient(45deg, #d3d3d3 25%, transparent 25%),
                      linear-gradient(-45deg, #d3d3d3 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #d3d3d3 75%),
                      linear-gradient(-45deg, transparent 75%, #d3d3d3 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h1 {
    color: #007bff;
    margin-bottom: 30px;
}

#generate {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

#generate:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

#lotto-numbers {
    margin-top: 30px;
    display: flex;
    flex-direction: column; /* 세로로 정렬 */
    align-items: center; /* 가운데 정렬 */
    gap: 15px; /* 각 줄 사이의 간격 */
}

.lotto-number-set {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* 공 사이의 간격 */
}

.lotto-ball {
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .lotto-ball {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
