:root {
    --primary-color: #4a90e2;
    --secondary-color: #f39c12;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

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

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

.lotto-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 50px;
    transition: transform 0.2s;
}

.lotto-row:hover {
    transform: scale(1.02);
}

.ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 로또 번호대별 색상 */
.ball-1 { background-color: #fbc400; } /* 1-10 */
.ball-11 { background-color: #69c8f2; } /* 11-20 */
.ball-21 { background-color: #ff7272; } /* 21-30 */
.ball-31 { background-color: #aaa; }    /* 31-40 */
.ball-41 { background-color: #b0d840; } /* 41-45 */

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 1rem;
    width: 100%;
}

button:hover {
    background-color: #357abd;
}

button:active {
    transform: translateY(2px);
}

#result-container {
    margin-top: 20px;
}
