/* 랜덤 뽑기 추첨기 전용 스타일 */

.tab-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    font-weight: 500;
}

.tab-btn.active {
    color: var(--pastel-blue-1);
    border-bottom-color: var(--pastel-blue-1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.duplicate-option {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--pastel-blue-1);
    cursor: pointer;
}

.item-textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* 숫자 볼 결과 */
.number-balls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem 0;
}

.number-ball {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-blue-1), var(--pastel-blue-2));
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    animation: ballPop 0.3s ease both;
}

@keyframes ballPop {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.number-ball:nth-child(2) { animation-delay: 0.05s; }
.number-ball:nth-child(3) { animation-delay: 0.10s; }
.number-ball:nth-child(4) { animation-delay: 0.15s; }
.number-ball:nth-child(5) { animation-delay: 0.20s; }
.number-ball:nth-child(6) { animation-delay: 0.25s; }
.number-ball:nth-child(7) { animation-delay: 0.30s; }

/* 항목 결과 카드 */
.pick-result-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
}

.pick-result-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    animation: slideInCard 0.3s ease both;
}

@keyframes slideInCard {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pick-rank-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-blue-1), var(--pastel-blue-2));
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pick-result-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .number-ball {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1rem;
    }
}
