
:root {
    --background-color: #1a1a1a;
    --text-color: #f0f0f0;
    --primary-color: #4caf50;
    --secondary-color: #ff9800;
    --font-family: 'Helvetica Neue', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

lotto-generator {
    display: block;
    width: 100%;
    max-width: 800px;
}

.lotto-container {
    background-color: #2c2c2c;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

.number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.number-circle:hover {
    transform: scale(1.1);
}

button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 40px;
}

button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.stats-container {
    width: 100%;
}

h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 10px;
}

.stat-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-bar {
    width: 100%;
    background-color: #444;
    border-radius: 5px;
    overflow: hidden;
    height: 150px; /* 고정 높이 */
    display: flex;
    flex-direction: column-reverse; /* 아래에서 위로 채워지도록 */
}

.bar-fill {
    background-color: var(--primary-color);
    width: 100%;
    transition: height 0.5s ease-in-out;
}

.stat-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
}

.stat-count {
    font-size: 12px;
    color: #aaa;
}
