/* 로또 페이지 전용 스타일 */
.lotto-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.lotto-page h1 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.description {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.description p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

.lotto-container {
    margin: 30px 0;
}

#analyzeBtn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

#analyzeBtn:hover {
    background-color: #0056b3;
}

#analyzeBtn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* 로딩 인디케이터 */
.loader {
    color: #666;
    font-size: 1.1rem;
    margin: 20px 0;
}

.hidden {
    display: none;
}

/* 결과 스타일 */
#result {
    margin-top: 2rem;
}

.sets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.set {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.set-label {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 로또 번호 스타일 */
.lotto-num,
.lotto-ball {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.lotto-ball.bonus {
    background-color: #dc3545;
}

/* 당첨 이력 스타일 */
#history {
    margin-top: 3rem;
}

#history h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

#historyList {
    list-style: none;
    padding: 0;
}

#historyList li {
    background-color: #f8f9fa;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#historyList .round {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {

    .lotto-num,
    .lotto-ball {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1rem;
        margin: 0 3px;
    }

    .set {
        padding: 15px;
    }

    #historyList li {
        padding: 1rem;
    }
}